Update test-gencat.sh and tst-langinfo.sh
[glibc.git] / ChangeLog
bloba69c6279241d754de5d22c3dec9ece5480922f54
1 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
3         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4         (run_program_cmd): This.
5         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6         (tst_langinfo): New variable.  Use it.
8 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
10         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11         floating point opcodes.
13 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16         variable.
18         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
20         * sysdeps/mach/hurd/powerpc: Remove directory.
21         * sysdeps/mach/powerpc: Likewise.
23 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25         * scripts/check-local-headers.sh: Ignore c++ headers.
27 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30         __libc_cleanup_region_start argument.
32 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
34         [BZ #14784]
35         [BZ #14785]
36         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37         x * y using scaling, not as x * y + z.
38         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40         * math/libm-test.inc (fma_test): Add more tests.
41         (fma_test_towardzero): Likewise.
42         (fma_test_downward): Likewise.
43         (fma_test_upward): Likewise.
45 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
49 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52         New variable.
54 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61         Fix sort order.
62         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63         Likewise.
65 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68         Fix the order of the list for glibc 2.17.
69         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70         Likewise.
72 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
74         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
78         [BZ #14610]
79         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
80         for low part of x being zero before using __atanl (y).
81         * math/libm-test.inc (atan2_test): Add another test.
83         * manual/install.texi (Configuring and compiling): Document
84         general use of test-wrapper and test-wrapper-env.
85         * INSTALL: Regenerated.
87         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
88         (__fma): Do not extract and scale down low bits on after-rounding
89         systems when result rounded to normal precision would have normal
90         exponent.
91         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
92         (__fmal): Do not extract and scale down low bits on after-rounding
93         systems when result rounded to normal precision would have normal
94         exponent.
95         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
96         (__fmal): Do not extract and scale down low bits on after-rounding
97         systems when result rounded to normal precision would have normal
98         exponent.
99         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
100         macro.
101         (fma_test): Add more tests.
102         (fma_test_towardzero): Likewise.
103         (fma_test_downward): Likewise.
104         (fma_test_upward): Likewise.
106 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
108         * sysdeps/i386/tininess.h: Renamed to ...
109         * sysdeps/x86/tininess.h: This.
110         * sysdeps/x86_64/tininess.h: Removed.
112 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
114         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
115         input.  Use $(build-program-cmd).
116         ($(objpfx)tst-array1-static.out): Likewise.
117         ($(objpfx)tst-array2.out): Likewise.
118         ($(objpfx)tst-array3.out): Likewise.
119         ($(objpfx)tst-array4.out): Likewise.
120         ($(objpfx)tst-array5.out): Likewise.
121         ($(objpfx)tst-array5-static.out): Likewise.
123 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
125         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
126         if defined.
128         * nss/nsswitch.h (nss_interface_function): Provide new
129         macro for use with NSS functions.
130         * grp/initgroups.c: Use new macro.
131         * nss/getXXbyYY.c: Likewise.
132         * nss/getXXbyYY_r.c: Likewise.
133         * nss/getXXent.c: Likewise.
134         * nss/getXXent_r.c: Likewise.
135         * sysdeps/posix/getaddrinfo.c: Likewise.
137 2012-10-30  Andreas Jaeger  <aj@suse.de>
139         * po/ru.po: Update Russion translation from translation project.
141 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
143         [BZ #14152]
144         [BZ #14783]
145         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
146         result and shift together with sticky bit instead of replicating
147         round-to-nearest rounding.
148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
149         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
150         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
151         missing underflow exceptions.
152         (fma_test_towardzero): Add more tests.
153         (fma_test_downward): Likewise.
154         (fma_test_upward): Likewise.
156         [BZ #14047]
157         * sysdeps/generic/tininess.h: New file.
158         * sysdeps/i386/tininess.h: Likewise.
159         * sysdeps/sh/tininess.h: Likewise.
160         * sysdeps/x86_64/tininess.h: Likewise.
161         * stdlib/tst-strtod-underflow.c: Likewise.
162         * stdlib/tst-tininess.c: Likewise.
163         * stdlib/strtod_l.c: Include <tininess.h>.
164         (round_and_return): Do not set errno for exact underflow cases.
165         Force an underflow exception when setting errno for underflow.
166         Determine underflow based on rounding to normal precision if
167         TININESS_AFTER_ROUNDING.
168         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
169         ERANGE for exact underflow cases.
170         * stdlib/Makefile (tests): Add tst-tininess and
171         tst-strtod-underflow.
172         ($(objpfx)tst-tininess): Use $(link-libm).
173         ($(objpfx)tst-strtod-underflow): Likewise.
175 2012-10-30  Andreas Jaeger  <aj@suse.de>
177         [BZ#14767]
178         * elf/Makefile (tests): Remove conditional for have-initfini-array
179         since this is now always required and the variable does not exist
180         anymore.
181         (tests-static): Likewise.
182         (modules-names): Likewise.
184         * po/eo.po: Add Esperanto translation from translation project.
186         * elf/tst-array1.c (fini_array): Make writeable so that it can be
187         merged with constructor/destructor.
188         (init_array): Likewise.
189         * elf/tst-array2dep.c (fini_array): Likewise.
190         (init_array): Likewise.
192 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
194         * manual/message.texi: Delete @cartouche tags.
196 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
198         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
199         EOPNOTSUPP.
200         * sysdeps/mach/hurd/fsync.c: Likewise.
202         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
203         [_POSIX_REALTIME_SIGNALS]: Change condition to
204         [_POSIX_REALTIME_SIGNALS > 0].
206 2012-10-27  Andreas Jaeger  <aj@suse.de>
208         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
209         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
210         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
211         [__WORDSIZE != 64]: Likewise.
213 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
215         *  iconvdata/tst-table.sh: Remove ${SHELL}.
216         *  iconvdata/tst-tables.sh: Likewise.
218 2012-10-25  David S. Miller  <davem@davemloft.net>
220         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
221         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
222         of strtoull.
224         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
225         ifunc-impl-list.c
226         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
227         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
228         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
229         file.
231 2012-10-25  Roland McGrath  <roland@hack.frob.com>
233         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
234         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
235         __getdirentries.
237 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
238             Jim Blandy  <jimb@codesourcery.com>
240         * scripts/cross-test-ssh.sh: New file.
241         * manual/install.texi (Configuring and compiling): Document use of
242         cross-test-ssh.sh.
243         * INSTALL: Regenerated.
245 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
247         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
248         EOPNOTSUPP.
250 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
252         * Makeconfig (run-program-prefix): Fix comment.
254 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
255             Jim Blandy  <jimb@codesourcery.com>
257         * Makeconfig (test-wrapper): New variable,
258         (test-wrapper-env): Likewise.
259         [$(cross-compiling) = yes && $(test-wrapper) != ""]
260         (run-built-tests): Define to yes.
261         (run-program-prefix): Use $(test-wrapper).
262         (built-program-cmd): Likewise.
263         * Rules (make-test-out): Use $(test-wrapper-env) and
264         $(host-built-program-cmd).
265         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
266         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
267         tst-pathopt.sh.
268         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
269         $(test-wrapper-env) to tst-rtld-load-self.sh.
270         ($(objpfx)order2.out): Use $(test-wrapper).
271         ($(objpfx)tst-initorder.out): Likewise.
272         ($(objpfx)tst-initorder2.out): Likewise.
273         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
274         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
275         (test_wrapper_env): New variable.  Use it to run ld.so.
276         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
277         Use it to run ld.so.
278         (test_wrapper_env): Likewise.
279         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
280         $(test-wrapper) to run-iconv-test.sh.
281         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
282         (ICONV): Use $test_wrapper.
283         * posix/Makefile ($(objpfx)globtest.out): Pass
284         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
285         globtest.sh, not $(run-program-prefix).
286         * posix/globtest.sh (run_via_rtld_prefix): New variable.
287         (test_wrapper): Likewise.
288         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
289         set together with run_via_rtld_prefix.
290         (run_program_prefix): Define in terms of test_wrapper and
291         run_via_rtld_prefix.
293 2012-10-24  Roland McGrath  <roland@hack.frob.com>
295         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
296         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
297         Targets removed.
299         [BZ #14743]
300         * include/time.h: Remove librt_hidden_proto (clock_gettime).
301         Declare __clock_getres, __clock_gettime, __clock_settime,
302         __clock_nanosleep, and __clock_getcpuclockid.
303         * rt/clock_gettime.c: Define __clock_gettime as an alias.
304         Remove librt_hidden_def (clock_gettime).
305         * sysdeps/unix/clock_gettime.c: Likewise.
306         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
307         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
308         * rt/clock_getres.c: Define __clock_getres as an alias.
309         * sysdeps/posix/clock_getres.c: Likewise.
310         * rt/clock_settime.c: Define __clock_settime as an alias.
311         * sysdeps/unix/clock_settime.c: Likewise.
312         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
313         * sysdeps/unix/clock_nanosleep.c: Likewise.
314         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
315         * rt/clock-compat.c: New file.
316         * rt/Makefile (librt-routines): Add clock-compat and move
317         $(clock-routines) to ...
318         (routines): ... here, new variable.
319         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
320         Don't add get_clockfreq here.
321         * rt/Versions (libc: GLIBC_2.17): New version set.
322         Add clock_* symbols here.
323         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
324         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
325         (GLIBC_2.17): Add clock_* symbols.
326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
328         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
330         Likewise.
331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
332         Likewise.
333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
337         * NEWS: Mention the move.
339         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
340         Use __open, __read, __close rather than their public counterparts.
341         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
342         (__get_clockfreq_via_cpuinfo): Likewise.
343         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
344         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
346         * config.h.in (HAVE_IFUNC): New #undef.
347         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
348         was successful.
349         * configure: Regenerated.
351 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
353         * configure.in: Move READELF check to start of file.
354         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
355         libc_cv_asm_gnu_indirect_function in the process.
356         * configure: Regenerated.
358 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
360         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
361         send the output to /dev/null.
362         (libc_cv_cc_with_libunwind): Likewise.
363         (libc_cv_as_noexecstack): Likewise.
364         * configure: Regenerate.
366 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
368         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
370         * posix/globtest.sh (TMPDIR): Do not set.
371         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
372         (testout): Likewise.
374 2012-10-24  Andreas Jaeger  <aj@suse.de>
376         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
377         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
378         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
379         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
380         posix_fadvise64, posix_fallocate64.
382         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
383         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
384         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
385         Likewise.
386         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
387         Likewise.
388         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
390         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
391         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
392         <bits/fcntl-linux.h>.
393         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
395         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
396         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
397         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
398         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
399         [__WORDSIZE != 64]: Likewise.
401 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
403         * Makeconfig (run-built-tests): New variable.
404         * Rules [$(cross-compiling) = yes]: Change condition to
405         [$(run-built-tests) = no].
406         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
407         to [$(run-built-tests) = yes].
408         * elf/Makefile [$(cross-compiling) = no]: Likewise
409         * grp/Makefile [$(cross-compiling) = no]: Likewise.
410         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
411         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
412         * intl/Makefile [$(cross-compiling) = no]: Likewise.
413         * io/Makefile [$(cross-compiling) = no]: Likewise.
414         * libio/Makefile [$(cross-compiling) = no]: Likewise.
415         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
416         * misc/Makefile [$(cross-compiling) = no]: Likewise.
417         * posix/Makefile [$(cross-compiling) = no]: Likewise.
418         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
419         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
420         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
421         * string/Makefile [$(cross-compiling) = no]: Likewise.
423         * posix/Makefile ($(objpfx)globtest.out): Pass
424         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
425         $(rtld-installed-name).
426         * posix/globtest.sh (elf_objpfx): Remove variable.
427         (rtld_installed_name): Likewise.
428         (library_path): Likewise.
429         (run_program_prefix): New variable.  Use for running globtest
430         binary.
432 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
433             Joseph Myers  <joseph@codesourcery.com>
435         * Makeconfig (host-built-program-cmd): New variable.
436         * elf/Makefile (tst-stackguard1-ARGS): Use
437         $(host-built-program-cmd).
438         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
439         (tst-spawn-ARGS): Likewise.
440         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
442 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
443             Jim Blandy  <jimb@codesourcery.com>
445         * Makeconfig (run-via-rtld-prefix): New variable.
446         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
447         (built-program-cmd): Likewise.
449 2012-10-22  Andreas Jaeger  <aj@suse.de>
451         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
452         __O_RSYNC if it exists, otherwise to O_SYNC.
454 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
455             Joseph Myers  <joseph@codesourcery.com>
457         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
458         /dev/null.
459         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
460         from /dev/null
461         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
462         /dev/null.
464 2012-10-22  Andreas Jaeger  <aj@suse.de>
466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
467         Define always.
468         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
470         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
471         bits/fcntl-linux.h.
473         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
474         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
476         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
477         to __O_LARGEFILE.
478         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
479         to __O_LARGEFILE.
481 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
482             Joseph Myers  <joseph@codesourcery.com>
484         * config.make.in (NM): New variable.
486 2012-10-21  Andreas Jaeger  <aj@suse.de>
488         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
489         definitions and declarations that are provided by
490         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
492 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
494         [BZ #14683]
495         * elf/Makefile (tests-static): Add tst-leaks1-static.
496         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
497         ($(objpfx)tst-leaks1-static): New rule.
498         ($(objpfx)tst-leaks1-static-mem): Likewise.
499         (tst-leaks1-static-ENV): New macro.
500         * elf/dl-open.c (dl_open_worker): Check the main application
501         only if SHARED is defined.
502         * elf/tst-leaks1-static.c: New file.
504 2012-10-20  Andreas Jaeger  <aj@suse.de>
506         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
507         generic values for Linux.
508         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
509         and declarations that are provided by <bits/fcntl-linux.h> and
510         include <bits/fcntl-linux.h>.
511         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
512         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
514 2012-10-20  Roland McGrath  <roland@hack.frob.com>
516         * io/fcntl.h: Move include of <bits/types.h> to the top and
517         include it unconditionally.
519 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
521         * wcsmbs/Makefile (tests-ifunc): New variable.
522         (tests): Add $(tests-ifunc).
523         * wcsmbs/test-wcschr-ifunc.c: New file.
524         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
525         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
526         * wcsmbs/test-wcslen-ifunc.c: Likewise.
527         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
528         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
530         * string/Makefile (tests-ifunc): New variable.
531         (tests): Add $(tests-ifunc).
532         * string/test-memccpy.c (TEST_NAME): New macro.
533         * string/test-memchr.c (TEST_NAME): Likewise.
534         * string/test-memcmp.c (TEST_NAME): Likewise.
535         * string/test-memcpy.c (TEST_NAME): Likewise.
536         * string/test-memmem.c (TEST_NAME): Likewise.
537         * string/test-memmove.c (TEST_NAME): Likewise.
538         * string/test-memset.c (TEST_NAME): Likewise.
539         * string/test-rawmemchr.c (TEST_NAME): Likewise.
540         * string/test-stpcpy.c (TEST_NAME): Likewise.
541         * string/test-stpncpy.c (TEST_NAME): Likewise.
542         * string/test-strcasecmp.c (TEST_NAME): Likewise.
543         * string/test-strcasestr.c (TEST_NAME): Likewise.
544         * string/test-strcat.c (TEST_NAME): Likewise.
545         * string/test-strchr.c (TEST_NAME): Likewise.
546         * string/test-strcmp.c(TEST_NAME): Likewise.
547         * string/test-strcpy.c (TEST_NAME): Likewise.
548         * string/test-strcspn.c (TEST_NAME): Likewise.
549         * string/test-strlen.c (TEST_NAME): Likewise.
550         * string/test-strncasecmp.c (TEST_NAME): Likewise.
551         * string/test-strncmp.c (TEST_NAME): Likewise.
552         * string/test-strncpy.c (TEST_NAME): Likewise.
553         * string/test-strnlen.c (TEST_NAME): Likewise.
554         * string/test-strpbrk.c (TEST_NAME): Likewise.
555         * string/test-strrchr.c (TEST_NAME): Likewise.
556         * string/test-strspn.c (TEST_NAME): Likewise.
557         * string/test-strstr.c (TEST_NAME): Likewise.
558         * string/test-bcopy-ifunc.c: New file.
559         * string/test-bzero-ifunc.c: Likewise.
560         * string/test-memccpy-ifunc.c: Likewise.
561         * string/test-memchr-ifunc.c: Likewise.
562         * string/test-memcmp-ifunc.c: Likewise.
563         * string/test-memcpy-ifunc.c: Likewise.
564         * string/test-memmem-ifunc.c: Likewise.
565         * string/test-memmove-ifunc.c: Likewise.
566         * string/test-mempcpy-ifunc.c: Likewise.
567         * string/test-memset-ifunc.c: Likewise.
568         * string/test-rawmemchr-ifunc.c: Likewise.
569         * string/test-stpcpy-ifunc.c: Likewise.
570         * string/test-stpncpy-ifunc.c: Likewise.
571         * string/test-strcasecmp-ifunc.c: Likewise.
572         * string/test-strcasestr-ifunc.c: Likewise.
573         * string/test-strcat-ifunc.c: Likewise.
574         * string/test-strchr-ifunc.c: Likewise.
575         * string/test-strchrnul-ifunc.c: Likewise.
576         * string/test-strcmp-ifunc.c: Likewise.
577         * string/test-strcpy-ifunc.c: Likewise.
578         * string/test-strcspn-ifunc.c: Likewise.
579         * string/test-strlen-ifunc.c: Likewise.
580         * string/test-strncasecmp-ifunc.c: Likewise.
581         * string/test-strncat-ifunc.c: Likewise.
582         * string/test-strncmp-ifunc.c: Likewise.
583         * string/test-strncpy-ifunc.c: Likewise.
584         * string/test-strnlen-ifunc.c: Likewise.
585         * string/test-strpbrk-ifunc.c: Likewise.
586         * string/test-strrchr-ifunc.c: Likewise.
587         * string/test-strspn-ifunc.c: Likewise.
588         * string/test-strstr-ifunc.c: Likewise.
590         * debug/Makefile (tests-ifunc): New variable.
591         (tests): Add $(tests-ifunc).
592         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
593         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
594         * debug/test-stpcpy_chk-ifunc.c: New file.
595         * debug/test-strcpy_chk-ifunc.c: Likewise.
597 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
599         [BZ #13601]
600         * elf/dl-load.c (open_verify): Retry read if the entire ELF
601         header is not read in.
603 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
605         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
606         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
607         directly.  Pass built executable to script as
608         $(built-program-cmd).
609         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
610         $testprogram without using LD_LIBRARY_PATH and $ldso.
612         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
613         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
614         $(rtld-installed-name).
615         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
616         (rtld_installed_name): Likewise.
617         (library_path): Likewise.
618         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
619         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
620         $(run-program-prefix) to tst-tables.sh.
621         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
622         it to run tst-table-from and tst-table-to.
623         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
624         Pass it to tst-table.sh.
625         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
626         $(run-program-prefix) to tst-gettext.sh.
627         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
628         tst-translit.sh.
629         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
630         tst-gettext2.sh.
631         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
632         to run tst-gettext.
633         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
634         to run tst-gettext2.
635         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
636         to run tst-translit.
637         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
638         $(run-program-prefix) to tst-mtrace.sh.
639         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
640         to run tst-mtrace.
641         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
642         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
643         $(rtld-installed-name).
644         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
645         (rtld_installed_name): Likewise.
646         (run_program_prefix): New variable.  Use it to run wordexp-test.
648         * Makeconfig (ARCH): Remove all definitions.
649         (machine): Likewise.
650         [ARCH]: Remove conditional code.
651         [!objdir]: Give error.
652         [!objdir] (objpfx): Remove.
653         [!objdir] (common-objpfx): Likewise.
654         [!objdir] (common-objdir): Likewise.
655         * configure.in (config_makefile): Remove.  Hardcode Makefile in
656         AC_CONFIG_FILES call.
657         * configure: Regenerated.
659         [BZ #13888]
660         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
661         or TMPDIR.
662         (testout): Likewise.
664         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
665         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
666         $(rtld-installed-name).
667         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
668         (rtld_installed_name): Likwise.
669         (runit): Remove function.
670         (run_getconf): New variable,  Use it for running getconf binary.
672 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
674         [BZ #14716]
675         * string/test-memmem.c (check_result): New function.
676         (do_one_test): Use it.
677         (check1): New function.
678         (test_main): Use it.
680 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
682         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
684 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
686         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
687         (_G_LSEEK64): Likewise.
688         (_G_MMAP64): Likewise.
689         (_G_FSTAT64): Likewise.
690         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
691         (_G_LSEEK64): Likewise.
692         (_G_MMAP64): Likewise.
693         (_G_FSTAT64): Likewise.
694         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
695         unconditional.  Call __mmap64 directly.
696         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
697         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
698         __lseek64 directly.
699         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
700         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
701         __mmap64 directly.
702         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
703         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
704         __lseek64 directly.
705         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
706         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
707         __lseek64 directly.
708         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
709         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
710         __lseek64 directly.
711         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
712         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
713         __fxstat64 directly.
714         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
715         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
716         unconditional.
717         (freopen64) [!_G_OPEN64]: Remove conditional code.
718         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
719         unconditional.
720         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
721         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
722         unconditional.
723         (ftello64) [!_G_LSEEK64]: Remove conditional code.
724         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
725         unconditional.
726         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
727         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
728         unconditional.
729         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
730         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
731         unconditional.
732         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
733         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
734         unconditional.
735         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
736         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
737         unconditional.
738         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
740 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
742         [BZ #12140]
743         * manual/memory.texi (Malloc Tunable Parameters): Add note
744         about free list pointers overwriting some perturb bytes.
745         Wording suggested by Roland McGrath.
747 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
749         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
750         (lgamma_test): Likewise.
751         (tgamma_test): Likewise.
753 2012-10-16  Florian Weimer  <fweimer@redhat.com>
755         [BZ #14700]
756         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
757         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
759 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
761         * NEWS: Mention BZ #14716.
762         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
763         when removing AVAILABLE1_USES_J macro.
765 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
767         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
768         (__bswap_64): __uint64_t for unsigned 64-bit int.
770 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
772         * include/string.h (memmem): Declare libc hidden alias.
773         * string/memmem.c (memmem): Define libc hidden alias.
774         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
775         __read, __close instead of open, read, close.
777 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
779         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
780         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
781         global and hidden.
782         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
783         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
784         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
785         Likewise.
786         (__rawmemchr_sse2): Likewise.
787         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
788         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
789         (__strchr_sse2): Likewise.
790         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
791         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
792         (__strcasecmp_sse2): Likewise.
793         (__strncasecmp_sse2): Likewise.
794         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
795         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
796         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
797         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
798         (__strrchr_sse2): Likewise.
799         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
800         ifunc-impl-list.c.
801         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
802         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
803         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
804         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
805         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
806         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
807         * sysdeps/x86_64/multiarch/memset.S: Likewise.
808         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
809         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
810         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
811         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
812         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
813         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
814         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
815         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
816         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
817         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
818         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
819         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
820         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
821         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
822         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
823         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
824         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
825         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
826         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
827         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
828         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
829         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
830         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
832         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
833         global and hidden.
834         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
835         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
836         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
837         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
838         Likewise.
839         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
840         Likewise.
841         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
842         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
843         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
844         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
845         ifunc-impl-list.c.
846         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
847         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
848         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
849         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
850         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
851         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
852         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
853         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
854         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
855         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
856         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
857         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
858         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
859         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
860         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
861         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
862         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
863         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
864         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
865         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
866         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
867         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
868         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
869         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
870         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
871         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
872         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
873         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
874         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
875         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
876         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
877         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
878         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
879         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
880         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
881         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
882         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
883         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
884         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
885         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
886         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
888         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
889         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
890         * include/ifunc-impl-list.h: New file.
891         * misc/ifunc-impl-list.c: Likewise.
892         * misc/Makefile (routines): Add ifunc-impl-list.
893         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
894         * string/test-string.h: Include <ifunc-impl-list.h>.
895         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
896         impl_array): New variables.
897         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
898         are defined.
899         (test_init): Call __libc_ifunc_impl_list to initialize
900         func_list if TEST_IFUNC and TEST_NAME are defined.
902         * string/Makefile (strop-tests): Add bcopy and bzero.
903         * string/test-bcopy.c: New file.
904         * string/test-bzero.c: Likewise.
905         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
906         defined.
907         * string/test-memset.c: Support bzero test if TEST_BZERO is
908         defined.
909         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
910         __libc_memmove.
911         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
912         __libc_memset.
913         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
914         of memset.
916 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
918         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
919         * configure: Regenerated.
921         * Makeconfig (+link-static-before-libc): Don't include
922         $(link-static-libc).
924         * libio/libio.h (_IO_pos_t): Remove.
926 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
928         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
929         McGrath.
931 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
933         * crypt/crypt-entry.c: Include fips-private.h.
934         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
935         * crypt/md5c-test.c (main): Tolerate disabled MD5.
936         * sysdeps/unix/sysv/linux/fips-private.h: New file.
937         * sysdeps/generic/fips-private.h: New file, dummy fallback.
939 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
941         * crypt/crypt-private.h: Include stdbool.h.
942         (_ufc_setup_salt_r): Return bool.
943         * crypt/crypt-entry.c: Include errno.h.
944         (__crypt_r): Return NULL with EINVAL for bad salt.
945         * crypt/crypt_util.c (bad_for_salt): New.
946         (_ufc_setup_salt_r): Check that salt is long enough and within
947         the specified alphabet.
948         * crypt/badsalttest.c: New file.
949         * crypt/Makefile (tests): Add it.
950         ($(objpfx)badsalttest): New.
952 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
954         * NEWS: Add entry for BZ #14602.
956 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
958         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
959         type-generic.
960         * math/libm-test.inc: Update comment listing what functions and
961         macros are tested.
962         (isgreater_test): New function.
963         (isgreaterequal_test): Likewise.
964         (isless_test): Likewise.
965         (islessequal_test): Likewise.
966         (islessgreater_test): Likewise.
967         (isunordered_test): Likewise.
968         (main): Call the new functions.
970 2012-10-09  Roland McGrath  <roland@hack.frob.com>
972         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
973         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
974         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
975         * sysdeps/i386/configure: Regenerated.
976         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
977         * sysdeps/mach/configure: Regenerated.
978         * sysdeps/mach/hurd/configure: Regenerated.
979         * sysdeps/powerpc/configure: Regenerated.
980         * sysdeps/powerpc/powerpc32/configure: Regenerated.
981         * sysdeps/powerpc/powerpc64/configure: Regenerated.
982         * sysdeps/s390/s390-32/configure: Regenerated.
983         * sysdeps/s390/s390-64/configure: Regenerated.
984         * sysdeps/sh/configure: Regenerated.
985         * sysdeps/sparc/configure: Regenerated.
986         * sysdeps/unix/sysv/linux/configure: Regenerated.
987         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
988         * sysdeps/x86_64/configure: Regenerated.
990         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
991         defined.  Don't check if MAP is NULL.
993 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
995         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
996         (_G_stat64): Likewise.
997         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
998         (_G_stat64): Likewise.
999         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1000         instead of struct _G_stat64.
1001         * libio/fileops.c (mmap_remap_check): Likewise.
1002         (decide_maybe_mmap): Likewise.
1003         (_IO_new_file_seekoff): Likewise.
1004         (_IO_file_stat): Likewise.
1005         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1006         _G_off64_t.
1007         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1008         instead of struct _G_stat64.
1009         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1011 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
1013         [BZ #14602]
1014         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1015         Replace with ...
1016         (CHECK_EOL): New macro.
1017         (two_way_short_needle): Check beginning of haystack for EOL.  Use
1018         CHECK_EOL.
1019         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1020         Replace with CHECK_EOL.
1021         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1022         Replace with CHECK_EOL.
1024 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
1026         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1027         type-generic.
1028         * math/libm-test.inc: Update comment listing what functions and
1029         macros are tested.
1030         (finite_test): New function.
1031         (isinf_test): Likewise.
1032         (isnan_test): Likewise.
1033         (fpclassify_test): Test subnormal input.
1034         (isfinite_test): Likewise.
1035         (isnormal_test): Likewise.
1036         (main): Call the new functions.
1038 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
1040         [BZ #14660]
1041         * Makerules (%.dynsym): Force C locale when running
1042         $(OBJDUMP) --dynamic-syms.
1044 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1046         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1047         <stdint.h>.
1049 2012-10-06  David S. Miller  <davem@davemloft.net>
1051         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1052         upper 32-bits of the length value in %o2 since we use branch-on-register
1053         tests which consider the entire 64-bit register.
1055 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
1057         * string/test-strstr.c (check2): Add a test for page boundary.
1059 2012-10-05  David S. Miller  <davem@davemloft.net>
1061         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1062         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1063         file.
1064         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1065         sysdep_routines.
1066         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1067         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1068         and bzero when HWCAP_SPARC_CRYPTO is present.
1070 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
1072         [BZ #14602]
1073         * string/test-strstr.c (check2): New function.
1074         (test_main): Call check2.
1076         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1077         and bug-strchr1.
1078         * string/bug-strcasestr1.c (do_test): Moved to ...
1079         * string/test-strcasestr.c (check1): Here.  New function.
1080         (do_one_test): Break out result checking code into ...
1081         (check_result): This.  New function.
1082         (do_one_test): Call check_result.
1083         (test_main): Call check1.
1084         * string/bug-strchr1.c (do_test): Moved to ...
1085         * string/test-strchr.c (check1): Here.  New function.
1086         (do_one_test): Break out result checking code into ...
1087         (check_result): This.  New function.
1088         (do_one_test): Call check_result.
1089         (test_main): Call check1.
1090         * string/bug-strstr1.c (main): Moved to ...
1091         * string/test-strchr.c (check1): Here.  New function.
1092         (do_one_test): Break out result checking code into ...
1093         (check_result): This.  New function.
1094         (do_one_test): Call check_result.
1095         (test_main): Call check1.
1096         * string/bug-strcasestr1.c: Removed.
1097         * string/bug-strchr1.c: Likewise.
1098         * string/bug-strstr1.c: Likewise.
1100         * elf/Makefile (dl-routines): Add hwcaps.
1101         * elf/dl-support.c (_dl_important_hwcaps): Removed.
1102         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1103         (_dl_important_hwcaps): Moved to ...
1104         * elf/dl-hwcaps.c: Here.  New file.
1105         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1107         [BZ #14557]
1108         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1109         if IS_IN_rtld isn't defined.
1111         * elf/dl-support.c (_dl_sysinfo_map): New.
1112         Include "get-dynamic-info.h" and "setup-vdso.h".
1113         (_dl_non_dynamic_init): Call setup_vdso.
1114         * elf/dynamic-link.h: Don't include <assert.h>.
1115         (elf_get_dynamic_info): Moved to ...
1116         * elf/get-dynamic-info.h: Here.  New file.
1117         * elf/dynamic-link.h: Include "get-dynamic-info.h".
1118         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1119         * elf/setup-vdso.h: Here.  New file.
1120         * elf/rtld.c: Include "setup-vdso.h".
1121         (dl_main): Call setup_vdso.
1123 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
1125         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1126         creal in comment listing functions tested.  List finite, isinf,
1127         isnan, isless, islessequal, isgreater, isgreaterequal,
1128         islessgreater, isunordered, lgamma_r and pow10 as functions and
1129         macros not tested.  Mention which functions not tested are aliases
1130         for other functions.  Fix typo.  Note that signs of NaNs are not
1131         tested.
1133         * scripts/config.guess: Update from config.git.
1134         * scripts/config.sub: Likewise.
1136 2012-10-04  Roland McGrath  <roland@hack.frob.com>
1138         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1139         * misc/madvise.c (madvise): Renamed to __madvise.
1140         Make madvise a weak alias.
1141         * include/sys/mman.h: Declare __madvise.
1142         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1143         * sysdeps/unix/syscalls.list
1144         (madvise): Make __madvise the strong name, and madvise a weak alias.
1145         * sysdeps/unix/sysv/linux/syscalls.list
1146         (madvise, mmap): Remove redundant entries.
1147         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1148         * malloc/malloc.c (mtrim): Likewise.
1149         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1151 2012-10-03  Roland McGrath  <roland@hack.frob.com>
1153         * sysdeps/mach/hurd/dl-cache.c: File removed.
1154         * config.h.in (USE_LDCONFIG): New #undef.
1155         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1156         * configure: Regenerated.
1157         * elf/Makefile (dl-routines): Add dl-cache only under
1158         [$(use-ldconfig) = yes].
1159         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1160         cache on [USE_LDCONFIG].
1161         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1162         [USE_LDCONFIG].
1163         * elf/rtld.c (dl_main): Likewise.
1165 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
1167         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1168         _SC_LEVEL4_CACHE_LINESIZE.
1170 2012-10-03  Roland McGrath  <roland@hack.frob.com>
1172         * sysdeps/unix/bsd/confstr.h: File removed.
1174 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
1176         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1177         sys/sdt-config.h.
1179 2012-10-02  Roland McGrath  <roland@hack.frob.com>
1181         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1182         Make 'mapoff' field ElfW(Off) rather than off_t.
1184 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
1186         * nscd/Makefile: Remove nscd-cflags and all its users.
1187         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1188         (CFLAGS-nonlib): Add compiler flags for nscd modules.
1190         [BZ #10631]
1191         * malloc.c (malloc_printerr): Clarify error message.
1193 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
1195         [BZ #14648]
1196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1197         Set bit_FMA_Usable if FMA is supported.
1198         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1199         macro.
1200         (bit_FMA4_Usable): Updated.
1201         (index_FMA_Usable): New macro.
1202         (CPUID_FMA): Likewise
1203         (HAS_FMA): Defined with bit_FMA_Usable.
1205 2012-10-01  Roland McGrath  <roland@hack.frob.com>
1207         * bits/types.h (__swblk_t): Type removed.
1208         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1209         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1210         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1211         (__SWBLK_T_TYPE): Likewise.
1212         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1213         (__SWBLK_T_TYPE): Likewise.
1214         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1215         (__SWBLK_T_TYPE): Likewise.
1216         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1217         (__SWBLK_T_TYPE): Likewise.
1219 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
1220             Honza Horak <hhorak@redhat.com>
1222         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1223         (xdr_mapname): Use YPMAXMAP as maxsize.
1224         (xdr_peername): Use YPMAXPEER as maxsize.
1225         (xdr_keydat): Use YPAXRECORD as maxsize.
1226         (xdr_valdat): Use YPMAXRECORD as maxsize.
1228 2012-10-01  Roland McGrath  <roland@hack.frob.com>
1230         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1232         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1233         * csu/init-first.c: ... here.
1234         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1235         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1236         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1237         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1238         * sysdeps/i386/init-first.c: File removed.
1239         * sysdeps/sh/init-first.c: File removed.
1241 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
1243         [BZ #14645]
1244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1245         if x * y might underflow to zero and z is zero.
1246         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1247         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1248         * math/libm-test.inc (min_subnorm_value): New variable.
1249         (fma_test): Add more tests.
1250         (fma_test_towardzero): Likewise.
1251         (fma_test_downward): Likewise
1252         (fma_test_upward): Likewise.
1253         (initialize): Set min_subnorm_value.
1255 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
1257         [BZ #14638]
1258         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1259         0 + 0.
1260         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1261         mode for addition resulting in exact zero.
1262         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1263         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1264         exact 0 + 0.
1265         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1266         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1267         * math/libm-test.inc (fma_test): Add more tests.
1268         (fma_test_towardzero): New function.
1269         (fma_test_downward): Likewise.
1270         (fma_test_upward): Likewise.
1271         (main): Call the new functions.
1273 2012-09-28  David S. Miller  <davem@davemloft.net>
1275         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1277 2012-09-28  Roland McGrath  <roland@hack.frob.com>
1279         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1280         instead of SIGALRM.
1282         * sysdeps/gnu/_G_config.h: Moved to ...
1283         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1284         * sysdeps/mach/hurd/_G_config.h: Moved to ...
1285         * sysdeps/generic/_G_config.h: ... here.
1287         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
1289         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1291         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1292         Conditionalize target on [libnss_test1.so-version].
1294         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1296         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1297         (elfobjdir): Move out of conditionals.
1299         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1300         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1301         (__nss_lookup_function): Conditionalize label remove_from_tree on
1302         [!DO_STATIC_NSS || SHARED], matching its only use.
1304 2012-09-28  David S. Miller  <davem@davemloft.net>
1306         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1307         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1308         file.
1309         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1310         sysdep_routines.
1311         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1312         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1313         when HWCAP_SPARC_CRYPTO is present.
1315 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
1317         * io/tst-mknodat.c: Create a FIFO instead of a socket.
1319 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
1321         [BZ #6530]
1322         * stdio-common/vfprintf.c (process_string_arg): Revert
1323         2000-07-22 change.
1325 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
1327         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1328         for testcase.
1329         * stdio-common/tst-sprintf.c: Include <locale.h>
1330         (main): Test sprintf's handling of incomplete multibyte
1331         characters.
1333 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
1335         * elf/dl-runtime.c (VERSYMIDX): Removed.
1336         * elf/dl-version.c (VERSYMIDX): Likewise.
1337         * elf/do-rel.h (VERSYMIDX): Likewise.
1338         (VALIDX): Likewise.
1339         * elf/dynamic-link.h (VERSYMIDX): Likewise.
1340         * elf/rtld.c (VALIDX): Likewise.
1341         (ADDRIDX): Likewise.
1342         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1343         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1344         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
1345         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1346         (VALIDX): Likewise.
1347         (ADDRIDX): Likewise.
1349 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
1351         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1353 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
1355         [BZ #11438]
1356         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1357         to global scope.
1358         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1359         addresses are in the same scope as 192.0.2/24.
1360         * posix/gai.conf: Document new scope table defaults.
1362 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1364         [BZ #5298]
1365         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1366         for ftell.  Compute offsets from write pointers instead.
1367         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1369 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1371         [BZ #14543]
1372         * libio/Makefile (tests): New test case tst-fseek.
1373         * libio/tst-fseek.c: New test case to verify that fseek/ftell
1374         combination works in wide mode.
1375         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1376         state when the external buffer state changes.
1378 2012-09-27  David S. Miller  <davem@davemloft.net>
1380         [BZ #14376]
1381         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1382         pass reloc->r_addend in as the 'high' argument to
1383         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1387 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
1389         * rt/tst-aio2.c: Include <pthread.h>.
1390         * rt/tst-aio3.c: Likewise.
1392 2012-09-27  Steve Ellcey  <sellcey@mips.com>
1394         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1396 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
1398         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1399         contents on [SHARED].
1401 2012-09-26  Marek Polacek  <polacek@redhat.com>
1403         [BZ #14530]
1404         [BZ #13741]
1405         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1406         for C++ and GCC <4.3 as well as for non GCC compilers.
1408 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
1410         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1412 2012-09-25  Roland McGrath  <roland@hack.frob.com>
1414         * Makefile.in (all, install): Declare with .PHONY.
1415         Reported by Michael Hope <michael.hope@linaro.org>.
1417 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1419         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1420         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1421         system header.
1422         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1423         Likewise.
1424         (sydep_routines): Add the new and the internal functions.
1425         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1426         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1428         (GLIBC_2.17): Add the new function.
1429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1430         (GLIBC_2.17): Likewise.
1431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1432         (GLIBC_2.17): Likewise.
1433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1434         (GLIBC_2.17): Likewise.
1435         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1437 2012-09-25  Alan Modra  <amodra@gmail.com>
1439         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1440         Add release barrier before setting once_control to say
1441         initialisation is done.  Add hints on lwarx.  Use macro in
1442         place of isync.
1443         (clear_once_control): Add release barrier.
1445 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
1447         [BZ #13629]
1448         * math/s_clog.c (__clog): Handle more values close to |z| = 1
1449         specially.
1450         * math/s_clog10.c (__clog10): Likewise.
1451         * math/s_clog10f.c (__clog10f): Likewise.
1452         * math/s_clog10l.c (__clog10l): Likewise.
1453         * math/s_clogf.c (__clogf): Likewise.
1454         * math/s_clogl.c (__clogl): Likewise.
1455         * math/Makefile (libm-calls): Add x2y2m1.
1456         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1457         (__x2y2m1): Likewise.
1458         (__x2y2m1l): Likewise.
1459         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1460         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1461         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1462         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1463         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1464         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1465         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1466         * sysdeps/i386/fpu/libm-test-ulps: Update.
1467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1469         [BZ #14621]
1470         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1471         int as type of variable DEPTH.
1472         (glob): Use size_t instead of int as type of variables NEWCOUNT
1473         and OLD_PATHC.
1475 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1477         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1478         Add s_sincosf-sse2.
1479         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1480         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1481         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1482         macros for using routine as __sincosf_ia32.
1483         Use macro for function declaration and weak_alias.
1484         * sysdeps/i386/fpu/libm-test-ulps: Update.
1486         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1489         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1490         subnormal argument.
1491         * math/s_cexpf.c (__cexpf): Likewise.
1492         * math/s_csinf.c (__csinf): Likewise.
1493         * math/s_csinhf.c (__csinhf): Likewise.
1494         * math/s_ctanf.c (__ctanf): Likewise.
1495         * math/s_ctanhf.c (__ctanhf): Likewise.
1496         * math/s_ccosh.c (__ccoshf): Likewise.
1497         * math/s_cexp.c (__cexpl): Likewise.
1498         * math/s_csin.c (__csin): Likewise.
1499         * math/s_csinh.c (__csinh): Likewise.
1500         * math/s_ctan.c (__ctan): Likewise.
1501         * math/s_ctanh.c (ctanh): Likewise.
1502         * math/s_ccoshl.c (__ccoshl): Likewise.
1503         * math/s_cexpl.c (__cexpl): Likewise.
1504         * math/s_csinl.c (__csinl): Likewise.
1505         * math/s_csinhl.c (__csinhl): Likewise.
1506         * math/s_ctanl.c (__ctanl): Likewise.
1507         * math/s_ctanhl.c (__ctanhl): Likewise.
1509 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
1511         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1512         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1513         (_IO_off_t): Define to __off_t, not _G_off_t.
1514         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1515         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1516         (_IO_wint_t): Define to wint_t, not _G_wint_t.
1517         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1518         type of __dummy and __dummy2 fields.
1519         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1520         (_G_ssize_t): Likewise.
1521         (_G_off_t): Likewise.
1522         (_G_pid_t): Likewise.
1523         (_G_uid_t): Likewise.
1524         (_G_wchar_t): Likewise.
1525         (_G_wint_t): Likewise.
1526         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1527         (_G_ssize_t): Likewise.
1528         (_G_off_t): Likewise.
1529         (_G_pid_t): Likewise.
1530         (_G_uid_t): Likewise.
1531         (_G_wchar_t): Likewise.
1532         (_G_wint_t): Likewise.
1533         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1534         (_G_ssize_t): Likewise.
1535         (_G_off_t): Likewise.
1536         (_G_pid_t): Likewise.
1537         (_G_uid_t): Likewise.
1538         (_G_wchar_t): Likewise.
1539         (_G_wint_t): Likewise.
1541 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1543         * malloc/arena.c: Include malloc-sysdep.h.
1544         (shrink_heap): Use check_may_shrink_heap to decide if madvise
1545         is sufficient to shrink the heap or an unmap is needed.
1546         * sysdeps/generic/malloc-sysdep.h: New file.  Define
1547         new function check_may_shrink_heap.
1548         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
1549         new function check_may_shrink_heap.
1551 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1553         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1554         comments.
1556 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
1558         * catgets/test-gencat.sh: Add "set -e".
1559         * elf/tst-pathopt.sh: Likewise.
1560         * grp/tst_fgetgrent.sh: Likewise.
1561         * iconvdata/run-iconv-test.sh: Likewise.
1562         * intl/tst-gettext.sh: Likewise.
1563         * intl/tst-gettext2.sh: Likewise.
1564         * intl/tst-gettext4.sh: Likewise.
1565         * intl/tst-gettext6.sh: Likewise.
1566         * intl/tst-translit.sh: Likewise.
1567         * io/ftwtest-sh: Likewise.
1568         * libio/test-freopen.sh: Likewise.
1569         * malloc/tst-mtrace.sh: Likewise.
1570         * posix/globtest.sh: Likewise.
1571         * posix/tst-getconf.sh: Likewise.
1572         * posix/wordexp-tst.sh: Likewise.
1573         * stdio-common/tst-printf.sh: Likewise.
1574         * stdio-common/tst-unbputc.sh: Likewise.
1575         * stdlib/tst-fmtmsg.sh: Likewise.
1576         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1577         * catgets/Makefile: Do not specify -e option when running
1578         testsuite shell scripts.
1579         * elf/Makefile: Likewise.
1580         * grp/Makefile: Likewise.
1581         * iconvdata/Makefile: Likewise.
1582         * intl/Makefile: Likewise.
1583         * io/Makefile: Likewise.
1584         * libio/Makefile: Likewise.
1585         * malloc/Makefile: Likewise.
1586         * posix/Makefile: Likewise.
1587         * stdio-common/Makefile: Likewise.
1588         * stdlib/Makefile: Likewise.
1589         * sysdeps/x86_64/Makefile: Likewise.
1591         * io/ftwtest-sh: Add copyright header.
1592         * posix/globtest.sh: Likewise.
1593         * posix/tst-getconf.sh: Likewise.
1594         * posix/wordexp-tst.sh: Likewise.
1595         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1597 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
1599         [BZ #13679]
1600         * Makeconfig (+link): Defined as $(+link-static) if
1601         $(build-shared) isn't yes.
1602         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1603         isn't yes.
1604         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1606         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1608         [BZ #14562]
1609         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1610         new chunk size with MALLOC_ALIGN_MASK.
1612 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
1614         [BZ #5044]
1615         * stdio-common/printf_fphex.c: Include <stdbool.h> and
1616         <rounding-mode.h>.
1617         (__printf_fphex): Determine rounding using get_rounding_mode and
1618         round_away.
1619         * stdio-common/tst-printf-round.c (struct hex_test): New
1620         structure.
1621         (hex_tests): New variable.
1622         (test_hex_in_one_mode): New function.
1623         (do_test): Also run tests for hex float output.
1625 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
1627         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1628         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1629         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1630         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1631         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1632         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1633         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1634         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1636 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
1638         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1639         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1640         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1641         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1643 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
1645         [BZ #14579]
1646         * elf/rtld.c (dl_main): Limit the check for self loading to normal
1647         mode only.
1648         * elf/tst-rtld-load-self.sh: New test.
1649         * elf/Makefile: Run it.
1651 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
1653         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1654         (tst-writev-ENV): Remove.
1655         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1657 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
1659         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1661 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
1663         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1664         unconditional.
1665         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1666         Likewise.
1667         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1668         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1669         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1670         Likewise.
1672 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
1674         [BZ #14587]
1675         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1676         * config.make.in (have-cpp-asm-debuginfo): Removed.
1677         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1678         * configure: Regenerated.
1680 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
1682         [BZ #5044]
1683         * stdio-common/printf_fp.c: Include <stdbool.h> and
1684         <rounding-mode.h>.
1685         (___printf_fp): Determine rounding using get_rounding_mode and
1686         round_away.
1687         * stdio-common/tst-printf-round.c: New file.
1688         * stdio-common/Makefile (tests): Add tst-printf-round.
1689         (link-libm): New variable.
1690         ($(objpfx)tst-printf-round): Depend in $(link-libm).
1692 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
1694         [BZ #14576]
1695         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1696         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1697         Likewise.
1698         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1699         Likewise.
1701 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
1703         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1704         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1705         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1706         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1708 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
1710         [BZ #14518]
1711         * include/rounding-mode.h: New file.
1712         * sysdeps/generic/get-rounding-mode.h: Likewise.
1713         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1714         * stdlib/strtod_l.c: Include <rounding-mode.h>.
1715         (MAX_VALUE): New macro.
1716         (MIN_VALUE): Likewise.
1717         (overflow_value): New function.
1718         (underflow_value): Likewise.
1719         (round_and_return): Use overflow_value and underflow_value to
1720         determine return values in overflow and underflow cases.  Use
1721         round_away to determine rounding depending on rounding mode.
1722         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1723         determine return values in overflow and underflow cases.
1724         * stdlib/tst-strtod-round.c: Include <fenv.h>.
1725         (struct test_results): New structure.
1726         (struct test): Use struct test_results to store expected results
1727         for all rounding modes.
1728         (TEST): Include expected results for all rounding modes.
1729         (test_in_one_mode): New function.
1730         (do_test): Use test_in_one_mode to compute and check results.
1731         Check results for all rounding modes.
1732         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1733         $(link-libm).
1735 2012-12-09  Allan McRae  <allan@archlinux.org>
1737         * sysdeps/i386/fpu/libm-test-ulps: Update
1739 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
1741         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1742         (_G_int32_t): Likewise.
1743         (_G_uint16_t): Likewise.
1744         (_G_uint32_t): Likewise.
1745         (_G_HAVE_BOOL): Likewise.
1746         (_G_HAVE_ATEXIT): Likewise.
1747         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1748         (_G_HAVE_IO_FILE_OPEN): Likewise.
1749         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1750         (_G_int32_t): Likewise.
1751         (_G_uint16_t): Likewise.
1752         (_G_uint32_t): Likewise.
1753         (_G_HAVE_BOOL): Likewise.
1754         (_G_HAVE_ATEXIT): Likewise.
1755         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1756         (_G_HAVE_IO_FILE_OPEN): Likewise.
1757         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1758         (_G_int32_t): Likewise.
1759         (_G_uint16_t): Likewise.
1760         (_G_uint32_t): Likewise.
1761         (_G_HAVE_BOOL): Likewise.
1762         (_G_HAVE_ATEXIT): Likewise.
1763         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1764         (_G_HAVE_IO_FILE_OPEN): Likewise.
1766 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
1768         * csu/libc-tls.c: Update copyright years.
1770 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
1772         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1773         [!_G_USING_THUNKS]: Remove conditional code.
1774         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1775         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1777         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1778         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1779         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1780         (_G_VTABLE_LABEL_PREFIX): Likewise.
1781         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1782         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1783         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1784         (_G_VTABLE_LABEL_PREFIX): Likewise.
1785         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1786         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1787         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1788         (_G_VTABLE_LABEL_PREFIX): Likewise.
1789         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1791 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
1793         * libio/Makefile: Include ../Makeconfig before tests.
1794         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1795         only if $(build-shared) is yes.
1797         * iconv/gconv_db.c: Update copyright years.
1799 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1801         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1802         unwind info if defined PIC. Fix special cases description.
1803         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1805         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1806         DP_HI_MASK entry.
1807         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1809 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
1811         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1813         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1814         is NULL.
1816         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1817         (LDLIBS-tst-chk4): This.
1818         (LDFLAGS-tst-chk5): Renamed to ...
1819         (LDLIBS-tst-chk5): This.
1820         (LDFLAGS-tst-chk6): Renamed to ...
1821         (LDLIBS-tst-chk6): This.
1822         (LDFLAGS-tst-lfschk4): Renamed to ...
1823         (LDLIBS-tst-lfschk4): This.
1824         (LDFLAGS-tst-lfschk5): Renamed to ...
1825         (LDLIBS-tst-lfschk5): This.
1826         (LDFLAGS-tst-lfschk6): Renamed to ...
1827         (LDLIBS-tst-lfschk6): This.
1829         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1830         on $(common-objpfx)soversions.mk.
1832 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
1834         [BZ #10014]
1835         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1836         example host name.
1838 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1840         * malloc/arena.c (arena_get_retry): New function that gets
1841         another arena for the caller to try its request on.
1842         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1843         current arena cannot fulfill the request.
1844         (__libc_memalign): Likewise.
1845         (__libc_memalign): Likewise.
1846         (__libc_pvalloc): Likewise.
1847         (__libc_calloc): Likewise.
1849 2012-09-05  John Tobey  <john.tobey@gmail.com>
1851         [BZ #13542]
1852         * manual/arith.texi (Operations on Complex): Fix description
1853         of carg branch cut.
1855 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
1857         [BZ #10014]
1858         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1859         host name.
1861         [BZ #10038]
1862         * manual/memory.texi (Memory): Make order of menu items match
1863         order of sections.
1865 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1867         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1868         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
1869         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1871 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1873         * csu/libc-tls.c (static_dtv): Renamed to ...
1874         (_dl_static_dtv): This.  Make it global.
1875         (_dl_initial_dtv): Removed.
1876         (__libc_setup_tls): Updated.
1877         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1878         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1879         DL_INITIAL_DTV.
1881 2012-09-06  Petr Machata  <pmachata@redhat.com>
1883         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1884         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1885         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1886         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1888 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1890         [BZ #14545]
1891         * csu/libc-tls.c (_dl_initial_dtv): New variable.
1892         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1893         freeing dtv[-1].
1895 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1897         [BZ #14544]
1898         * Makeconfig (link-static-before-libc): Replace $(+prector)
1899         with $(+prectorT).
1900         (link-static-after-libc): Replace $(+postctor) with
1901         $(+postctorT).
1902         (link-bounded): Replace $(+prector)/$(+postctor) with
1903         $(+prectorT)/$(+postctorT).
1904         (+prectorT): New macro.
1905         (+postctorT): Likewise.
1907 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
1909         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1910         (round_str): Handle values above the maximum for IBM long double
1911         as inexact.
1912         * stdlib/tst-strtod-round.c (tests): Regenerated.
1914 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1916         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1917         assembler flag.
1918         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1919         zarch_nohighgprs around the zarch optimized routines.
1920         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1921         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1922         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1923         for zarch.
1925 2012-09-05  David S. Miller  <davem@davemloft.net>
1927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1929         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1930         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1931         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1932         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1933         entries.
1935 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1937         * malloc/arena.c: Fold copyright years.
1938         * malloc/mcheck.c, malloc/memusage.c: Likewise.
1940 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1942         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1944 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1946         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
1948 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1950         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1951         change internal state upon failure.
1953 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1955         * malloc/mcheck.c (mcheck_check_all): Fix typo.
1956         * malloc/memusage.c (mmap): Likewise.
1957         (mmap64, mremap): Likewise.  Adjust name in comment.
1959 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1961         * libio/fileops.c: Fix typos in comments.
1962         * libio/oldfileops.c: Likewise.
1963         * libio/wfileops.c: Likewise.
1965 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1967         [BZ #1349]
1968         * malloc/Makefile (tests): Add tst-malloc-usable test case.
1969         (tst-malloc-usable-ENV): Set environment for test case.
1970         * malloc/hooks.c (malloc_check_get_size): New function to get
1971         requested size.
1972         * malloc/malloc.c (musable): Use malloc_check_get_size.
1973         * malloc/tst-malloc-usable.c: New test case.
1975 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
1977         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1979 2012-09-05  Allan McRae  <allan@archlinux.org>
1981         [BZ #13966]
1982         * configure.in (CXX_SYSINCLUDES): Use compiler output to
1983         determine header location.
1984         * configure: Regenerated.
1986 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
1988         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1989         float format.
1990         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
1991         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1992         format.
1993         (test): Regenerate.
1995 2012-09-04  David S. Miller  <davem@davemloft.net>
1997         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1998         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1999         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2001 2012-09-04  Florian Weimer  <fweimer@redhat.com>
2003         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2004         failures.
2006         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2008 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
2010         [BZ #9914]
2011         * libio/iogetdelim.c: Include <limits.h>.
2012         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2013         + len + 1 would overflow.
2015 2012-09-03  Andreas Jaeger  <aj@suse.de>
2017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2018         * sysdeps/i386/fpu/libm-test-ulps: Update.
2020 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2022         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2023         Add s_sinf-sse2, s_conf-sse2.
2025         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2026         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2027         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2028         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2030         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2031         for using routine as __sinf_ia32.
2032         Use macro for function declaration and weak_alias.
2033         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2034         for using routine as __cosf_ia32.
2035         Use macro for function declaration and weak_alias.
2037         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2038         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2040         * sysdeps/x86_64/fpu/s_sinf.S: New file.
2041         * sysdeps/x86_64/fpu/s_cosf.S: New file.
2042         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2044         * math/libm-test.inc (cos_test): Add more test cases.
2045         (sin_test): Likewise.
2046         (sincos_test): Likewise.
2048 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2050         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2051         (IFUNC_RESOLVE): Make pointers to the specialized implementations
2052         hidden.
2053         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2055 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
2057         [BZ #14538]
2058         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2059         first element of the GOT.
2060         (elf_machine_load_address): Return the difference between
2061         the runtime address of _DYNAMIC and elf_machine_dynamic ().
2063 2012-09-01  Allan McRae  <allan@archlinux.org>
2065         [BZ #13412]
2066         * configure.in (AWK): Require gawk version 3.0 or later.
2067         * configure: Regenerated.
2069 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
2071         * sysdeps/unix/sysv/linux/kernel-features.h
2072         (__ASSUME_POSIX_CPU_TIMERS): Remove.
2073         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2074         [__NR_clock_getres]: Make code unconditional.
2075         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2076         (clock_getcpuclockid): Remove code left unreachable by removal of
2077         conditionals.
2078         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2079         code unconditional.
2080         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2081         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2082         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2083         Make code unconditional.
2084         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2085         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2086         * sysdeps/unix/sysv/linux/clock_settime.c
2087         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2088         conditional code.
2089         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2090         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2092 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
2094         [BZ #14476]
2095         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2096         scripts/test-installation.pl.
2098         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2099         and $ld_so_version if it is set.
2101 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2103         [BZ #14516]
2104         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2105         failure if reading from procfs failed.
2106         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2108 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
2110         * sysdeps/unix/sysv/linux/kernel-features.h
2111         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2112         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2113         Remove conditional code.
2114         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2115         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2116         Remove conditional code.
2117         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2118         * sysdeps/unix/sysv/linux/i386/fxstat.c
2119         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2120         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2121         * sysdeps/unix/sysv/linux/i386/fxstatat.c
2122         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2123         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2124         * sysdeps/unix/sysv/linux/i386/lxstat.c
2125         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2126         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2127         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2128         Remove conditional code.
2129         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2130         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2131         Remove conditional code.
2132         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2133         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2134         <kernel-features.h>.
2135         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2136         Remove.
2137         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2138         Remove conditional code.
2139         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2140         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2141         Remove conditional.
2143 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
2145         [BZ #5400]
2146         * NEWS: Add fixed bug number.
2148 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
2150         [BZ #14519]
2151         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2152         underflowing exponent in case of negative sign.
2153         * stdlib/tst-strtod-round-data: Add more tests.
2154         * stdlib/tst-strtod-round.c (tests): Regenerated.
2156         [BZ #3479]
2157         * stdlib/strtod_l.c (NDIG): Remove.
2158         (HEXNDIG): Likewise.
2159         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2160         smallest representable value.
2161         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2162         lie within an exact representation of 1/2 ulp of the result.
2163         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2164         unconditionally.
2165         (TENS_P9_IDX): Define unconditionally.
2166         (TENS_P9_SIZE): Likewise.
2167         (TENS_P10_IDX): Likewise.
2168         (TENS_P10_SIZE): Likewise.
2169         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2170         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2171         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2172         entries for 10^2^13 and 10^2^14.
2173         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2174         (TENS_P13_IDX): Define.
2175         (TENS_P13_SIZE): Likewise.
2176         (TENS_P14_IDX): Likewise.
2177         (TENS_P14_SIZE): Likewise.
2178         (_fpioconst_pow10): Change array size to
2179         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
2180         unconditional.
2181         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2182         1024]: Add entries for 10^2^13 and 10^2^14.
2183         [LAST_POW10 > _LAST_POW10]: Remove #error.
2184         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2185         (_fpioconst_pow10): Change array size to
2186         FPIOCONST_POW10_ARRAY_SIZE.
2187         * stdlib/gen-fpioconst.c: New file.
2188         * stdlib/gen-tst-strtod-round.c: Likewise.
2189         * stdlib/tst-strtod-round-data: Likewise.
2190         * stdlib/tst-strtod-round.c: Likewise.
2191         * stdlib/Makefile (tests): Add tst-strtod-round.
2193         [BZ #14459]
2194         * stdlib/strtod_l.c: Include <stdint.h>.
2195         (NDEBUG): Do not define.
2196         (round_and_return): Change EXPONENT parameter to type intmax_t.
2197         Rearrange calculations to avoid internal overflow possibilities.
2198         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2199         Rearrange calculations to avoid internal overflow possibilities.
2200         Assert that number fits inside MPNSIZE limbs.
2201         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2202         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
2203         calculations and add assertions to avoid internal overflow
2204         possibilities.  Add casts to avoid signed/unsigned operations.
2205         * stdlib/tst-strtod-overflow.c: New file.
2206         * stdlib/Makefile (tests): Add tst-strtod-overflow.
2208 2012-08-25  Marek Polacek  <polacek@redhat.com>
2210         * time/time.h: Fix some typos in comments.
2212 2012-08-23  Roland McGrath  <roland@hack.frob.com>
2214         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2215         * posix/tst-rfc3484-2.c: Likewise.
2216         * posix/tst-rfc3484-3.c: Likewise.
2218 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
2220         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2221         (EF_ARM_ABI_FLOAT_HARD): Likewise.
2223 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
2225         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2226         #include of fxstatat64.c.
2228 2012-08-22  Roland McGrath  <roland@hack.frob.com>
2230         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2231         * shadow/getspent_r.c: Likewise.
2232         * shadow/getspnam.c: Likewise.
2233         * shadow/getspnam_r.c: Likewise.
2234         * gshadow/getsgent.c: Likewise.
2235         * gshadow/getsgent_r.c: Likewise.
2236         * gshadow/getsgnam.c: Likewise.
2237         * gshadow/getsgnam_r.c: Likewise.
2238         * inet/getnetbyad.c: Likewise.
2239         * inet/getnetbyad_r.c: Likewise.
2240         * inet/getnetbynm.c: Likewise.
2241         * inet/getnetbynm_r.c: Likewise.
2242         * inet/getnetent.c: Likewise.
2243         * inet/getnetent_r.c: Likewise.
2244         * inet/getproto.c: Likewise.
2245         * inet/getproto_r.c: Likewise.
2246         * inet/getprtent.c: Likewise.
2247         * inet/getprtent_r.c: Likewise.
2248         * inet/getprtname.c: Likewise.
2249         * inet/getprtname_r.c: Likewise.
2250         * inet/getrpcbyname.c: Likewise.
2251         * inet/getrpcbyname_r.c: Likewise.
2252         * inet/getrpcbynumber.c: Likewise.
2253         * inet/getrpcbynumber_r.c: Likewise.
2254         * inet/getrpcent.c: Likewise.
2255         * inet/getrpcent_r.c: Likewise.
2256         * inet/getaliasent.c: Likewise.
2257         * inet/getaliasent_r.c: Likewise.
2258         * inet/getaliasname.c: Likewise.
2259         * inet/getaliasname_r.c: Likewise.
2260         * nscd/getgrgid_r.c: Likewise.
2261         * nscd/getgrnam_r.c: Likewise.
2262         * nscd/gethstbyad_r.c: Likewise.
2263         * nscd/gethstbynm3_r.c: Likewise.
2264         * nscd/getpwnam_r.c: Likewise.
2265         * nscd/getpwuid_r.c: Likewise.
2266         * nscd/getsrvbynm_r.c: Likewise.
2267         * nscd/getsrvbypt_r.c: Likewise.
2268         * nscd/gai.c: Likewise.
2270         * configure.in (build_nscd): New substituted variable, set
2271         by --disable-build-nscd and defaults to $use_nscd.
2272         * configure: Regenerated.
2273         * config.make.in (build-nscd): New substituted variable.
2274         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2275         Change conditional to require [$(build-nscd) = yes] as well.
2276         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2278         [BZ# 13696]
2279         * configure.in (use_nscd): New substituted variable, set by
2280         --disable-nscd.  If enabled, define USE_NSCD.
2281         * configure: Regenerated.
2282         * config.h.in: Add USE_NSCD.
2283         * config.make.in (use-nscd): New substituted variable.
2284         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2285         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2286         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2287         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2288         (CFLAGS-getgrnam_r.c): Likewise.
2289         (CFLAGS-initgroups.c): Likewise.
2290         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2291         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2292         Variables removed.
2293         * inet/getnetgrent_r.c
2294         (nscd_setnetgrent): New function, broken out of ...
2295         (setnetgrent): ... here.  Call it.
2296         (innetgr): Conditionalize nscd bits on [USE_NSCD].
2297         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2298         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2299         * nscd/Makefile (routines, aux): Move definitions after include of
2300         Makeconfig.  Conditionalize on [$(use-nscd) != no].
2301         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2302         Conditionalize on [USE_NSCD].
2303         (is_nscd, nscd_init_cb): Likewise.
2304         (nss_load_library): Conditionalize init callback on [USE_NSCD].
2305         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2306         * nss/nss_db/db-init.c: Likewise.
2307         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2308         [USE_NSCD].
2309         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2310         (make_request): Use it.
2311         (cache_valid_p): New function.
2312         (__check_pf): Use it.
2313         * NEWS: Add item for --disable-nscd.
2315 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
2317         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2318         to support sed >= 4.2.1-20-ga9bf076.
2319         * configure: Regenerated.
2321 2012-08-22  Roland McGrath  <roland@hack.frob.com>
2323         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2324         Conditionalize whole body on [IREL].
2326 2012-08-22  Jeff Law <law@redhat.com>
2328         [BZ #14505]
2329         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2330         if the family is PF_UNSPEC.
2332 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
2334         * Makerules (lib-version): Rename from V.
2335         (install-lib-nosubdir): Change V to lib-version.
2337 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
2339         [BZ #14252]
2340         * powerpc32/power6/wcschr.c: New file.
2341         * powerpc32/power6/wcscpy.c: New file.
2342         * powerpc32/power6/wcsrchr.c: New file.
2343         * powerpc64/power6/wcschr.c: New file.
2344         * powerpc64/power6/wcscpy.c: New file.
2345         * powerpc64/power6/wcsrchr.c: New file.
2347 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
2349         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2350         (two_way_short_needle): Use it.
2351         * string/strstr.c (AVAILABLE1_USES_J): Define.
2352         * string/strcasestr.c: Likewise.
2354         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2355         array references.
2356         * string/strcasestr.c (TOLOWER): Make side-effect safe.
2358         [BZ #11607]
2359         * NEWS: Add an entry.
2360         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2361         define their defaults.
2362         (two_way_short_needle): Detect end-of-string on-the-fly.
2363         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2364         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2365         * string/bug-strcasestr1.c: New test.
2366         * string/Makefile: Run it.
2368 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
2370         [BZ #11607]
2371         * string/str-two-way.h (two_way_short_needle): Optimize matching of
2372         the first character.
2374 2012-08-21  Roland McGrath  <roland@hack.frob.com>
2376         * csu/elf-init.c (__libc_csu_irel): Function removed.
2377         * csu/libc-start.c (apply_irel): New function.
2378         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2380 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
2382         * sysdeps/unix/sysv/linux/kernel-features.h
2383         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2384         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2385         <kernel-features.h>.
2386         [__NR_fadvise64_64]: Make code unconditional.
2387         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2388         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2389         !__NR_fadvise64_64)]: Likewise.
2390         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2391         !__NR_fadvise64_64))]: Likewise.
2392         [__NR_fadvise64]: Make code unconditional.
2393         [!__NR_fadvise64]: Remove conditional code.
2394         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2395         <kernel-features.h>.
2396         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2397         unconditional.
2398         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2399         conditional code.
2400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2401         not include <kernel-features.h>.
2402         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2403         unconditional.
2404         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2405         conditional code.
2406         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2407         include <kernel-features.h>.
2408         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2409         unconditional.
2410         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2411         conditional code.
2413 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
2415         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2416         slight instruction rearrangements per scrollpipe analysis.
2417         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2419 2012-08-20  Roland McGrath  <roland@hack.frob.com>
2421         * manual/syslog.texi (syslog; vsyslog, closelog):
2422         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2423         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2425         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2426         DSOCAPS to match condition on defining it.
2428 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
2430         * sysdeps/unix/sysv/linux/kernel-features.h
2431         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2433         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2434         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2436         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2437         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2439         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2440         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2442         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2443         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2445         * sysdeps/unix/sysv/linux/kernel-features.h
2446         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2447         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2448         unconditional.
2449         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2450         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2451         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2452         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2453         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2454         Make code unconditional.
2455         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2456         (__mmap64) [!__NR_mmap2]: Likewise.
2457         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2458         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2459         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2460         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2461         [__NR_mmap2]: Make code unconditional.
2462         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2463         (__mmap64) [!__NR_mmap2]: Likewise.
2465 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2467         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2469 2012-08-18  Andreas Jaeger  <aj@suse.de>
2471         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2473 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
2475         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2476         * include/unistd.h (__have_sock_cloexec): Likewise.
2477         (__have_pipe2): Likewise.
2478         (__have_dup3): Likewise.
2480 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
2482         [BZ #9685]
2483         * include/unistd.h (__have_pipe2): Change define into an extern int.
2484         (__have_dup3): Likewise.
2485         * socket/have_sock_cloexec.c: Include fcntl.h.
2486         (__have_pipe2): New variable.
2487         (__have_dup3): Likewise.
2489 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
2491         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2493 2012-08-17  Marek Polacek  <polacek@redhat.com>
2495         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2496         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2498 2012-08-17  Roland McGrath  <roland@hack.frob.com>
2500         * configure.in: Add AC_SUBST for sysheaders.
2501         * configure: Regenerated.
2502         * config.make.in (sysheaders): New substituted variable.
2504         * sysdeps/unix/mkfifo.c: Moved ...
2505         * sysdeps/posix/mkfifo.c: ... here.
2506         * sysdeps/unix/mkfifoat.c: Moved ...
2507         * sysdeps/posix/mkfifoat.c: ... here.
2509         * sysdeps/unix/utime.c: Moved ...
2510         * sysdeps/posix/utime.c: ... here.
2512         * sysdeps/unix/time.c: Moved ...
2513         * sysdeps/posix/time.c: ... here.
2514         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2515         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2517         * sysdeps/unix/nice.c: Moved ...
2518         * sysdeps/posix/nice.c: ... here.
2520         * sysdeps/unix/alarm.c: Moved ...
2521         * sysdeps/posix/alarm.c: ... here.
2523         * intl/Makefile ($(codeset_mo)): Depend on the input file.
2525 2012-08-17  Jeff Law <law@redhat.com>
2527         * intl/Makefile (codeset_mo): New variable.
2528         ($(codeset_mo)): New target.
2529         (tst-codeset.out): Depend on that.  Remove explicit rule.
2530         (tst-gettext3.out, tst-gettext5.out): Likewise.
2531         (LOCPATH-ENV, tst-codeset-ENV): New variables.
2532         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2533         * intl/tst-codeset.sh: Remove.
2534         * intl/tst-gettext3.sh: Likewise.
2535         * intl/tst-gettext5.sh: Likewise.
2537 2012-08-17  Roland McGrath  <roland@hack.frob.com>
2539         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
2540         * sysdeps/unix/syscalls.list: ... here.
2542         * sysdeps/posix/getaddrinfo.c
2543         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2544         (gaiconf_init, gaiconf_reload): Use them.
2545         [!_STATBUF_ST_NSEC]
2546         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2547         Define using time_t rather than struct timespec.
2549         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2550         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2551         Macros removed.
2552         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2553         [!NO_THREADS].
2554         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2555         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2556         Likewise.
2558         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2559         __libc_cleanup_push argument.
2561         * bits/param.h: New file.
2562         * misc/sys/param.h: New file.
2563         * include/sys/param.h: New file.
2564         * misc/Makefile (headers): Add bits/param.h.
2565         * sysdeps/generic/sys/param.h: File removed.
2566         * sysdeps/unix/sysv/linux/bits/param.h: New file.
2567         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2568         * sysdeps/mach/hurd/bits/param.h: New file.
2569         * sysdeps/mach/hurd/sys/param.h: File removed.
2571         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2572         last change.
2574         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2575         [_IO_MTSAFE_IO].
2576         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2577         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2578         New macros.
2580         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2581         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2582         rather than -D_IO_MTSAFE_IO conditionally.
2583         * stdio-common/Makefile (CPPFLAGS): Likewise.
2584         * wcsmbs/Makefile (CPPFLAGS): Likewise.
2585         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2586         Use $(libio-mtsafe).
2587         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2588         of -D_IO_MTSAFE_IO.
2589         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2590         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2591         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2592         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2593         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2594         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2595         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2596         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2597         (CFLAGS-fread_u_chk.c): Likewise.
2598         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2599         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2600         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2601         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2602         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2603         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2604         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2605         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2606         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2608         * libio/Makefile: Test [$(libc-reentrant) = yes]
2609         instead of [$(filter %REENTRANT, $(defines)) nonempty].
2611         * Makeconfig
2612         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2613         * sysdeps/pthread/configure: File removed.
2614         * sysdeps/pthread/Makeconfig: New file.
2615         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2616         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2618 2012-08-16  Gary Benson  <gbenson@redhat.com>
2620         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2621         unmapping the first object in a namespace.
2623 2012-08-16  Roland McGrath  <roland@hack.frob.com>
2625         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2626         (__internal_setnetgrent): ... this.  Add internal_function to
2627         definition.  Add libc_hidden_def.
2628         (setnetgrent): Update caller.
2629         (internal_endnetgrent): Renamed to ...
2630         (__internal_endnetgrent): ... this.  Add internal_function to
2631         definition.  Add libc_hidden_def.
2632         (endnetgrent): Update caller.
2633         (internal_getnetgrent_r): Renamed to ...
2634         (__internal_getnetgrent_r): ... this.  Add internal_function to
2635         definition.  Add libc_hidden_def.
2636         (__getnetgrent_r): Update caller.
2637         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
2639 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
2641         * stdlib/longlong.h: Update from GCC.
2643 2012-08-16  Roland McGrath  <roland@hack.frob.com>
2645         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2646         on _QL, which is set by umul_ppmm but never used.
2647         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2648         variables, which are set by GMP macros but never used.
2649         * stdio-common/_itowa.c (_itowa): Likewise.
2650         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2651         * stdlib/mod_1.c (mpn_mod_1): Likewise.
2653 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
2655         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2656         struct La_sh_regs is not constant.
2657         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2658         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2659         and struct La_sparc64_regs are not constant.
2661 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
2663         * sysdeps/unix/sysv/linux/kernel-features.h
2664         (__ASSUME_POSIX_TIMERS): Remove.
2665         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2666         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2667         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2668         Make code unconditional.
2669         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2670         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2671         Make code unconditional.
2672         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2673         * sysdeps/unix/sysv/linux/clock_nanosleep.c
2674         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2675         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2676         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2677         Make code unconditional.
2678         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2679         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2680         (__libc_missing_posix_timers): Remove.
2682 2012-08-15  Roland McGrath  <roland@hack.frob.com>
2684         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2685         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2687         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2689         * elf/dl-sym.c: Include <stdlib.h>.
2691         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2692         constants, which avoids warnings in 32-bit builds.
2694         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2695         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2697         * misc/lseek.c: File moved to ...
2698         * io/lseek.c: ... here.
2700         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2702         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2703         shifting LEN more than 31 bits at once.
2705 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2707         [BZ #14195]
2708         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2709         segmentation fault for a case of two empty input strings.
2710         * string/test-strncasecmp.c (check1): Renamed to...
2711         (bz12205): ...this.
2712         (bz14195): Add new testcase for two empty input strings and N > 0.
2713         (test_main): Call new testcase, adapt for renamed function.
2715 2012-08-15  Andreas Jaeger  <aj@suse.de>
2717         [BZ #14090]
2718         * crypt/md5test2.c: New test, based on test supplied by Serge
2719         Belyshev <belyshev@depni.sinp.msu.ru>.
2720         * crypt/Makefile (xtests): Add md5test-giant..
2721         * crypt/Makefile ($(objpfx)md5test-giant): Add.
2723 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
2725         [BZ #14090]
2726         * crypt/md5.c (md5_process_block): Don't assume the buffer
2727         length is less than 2**32.
2728         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2729         length is less than 2**64.
2731 2012-08-15  Roland McGrath  <roland@hack.frob.com>
2733         * string/str-two-way.h: Include <sys/param.h>.
2734         (MAX): Macro removed.
2736         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2737         Move #define and #undef of memmove to just before and after
2738         including <string.h>.
2740         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2741         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2742         and after including <string.h>.  Move declarations of
2743         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2744         to before #include "string/memmove.c".
2746         * include/dirent.h: Declare __getdirentries.
2748         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2749         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2751 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
2753         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2754         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2755         * sysdeps/i386/configure: Regenerated.
2756         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2757         STABS_CURRENT_FILE, and STABS_FUN.
2758         (END): Remove call to STABS_FUN_END.
2759         (STABS_CURRENT_FILE1): Delete.
2760         (STABS_CURRENT_FILE): Likewise.
2761         (STABS_FUN): Likewise.
2762         (STABS_FUN_END): Likewise.
2763         (STABS_FUN2): Likewise.
2764         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2765         * sysdeps/x86_64/configure: Regenerated.
2767 2012-08-14  Roland McGrath  <roland@hack.frob.com>
2769         * elf/dl-open.c: Include <atomic.h>.
2770         * elf/dl-lookup.c: Likewise.
2772 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
2774         * sysdeps/unix/sysv/linux/kernel-features.h
2775         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2776         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2777         unconditionally.
2778         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2779         unconditionally.
2780         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2781         condition on __ASSUME_CLONE_THREAD_FLAGS.
2783 2012-08-14  Andreas Jaeger  <aj@suse.de>
2785         * sysdeps/i386/fpu/libm-test-ulps: Update.
2787 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
2789         * include/atomic.h (atomic_exchange_and_add): Split into ...
2790         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2791         New atomic macros.
2793 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
2795         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2797 2012-08-13  Jeff Law <law@redhat.com>
2799         * manual/stdio.texi (snprintf): Clarify handling of the trailing
2800         null byte in the output string.
2802 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
2804         * sysdeps/unix/sysv/linux/kernel-features.h
2805         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2806         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2807         (__ASSUME_ARG_MAX_STACK_BASED): Define.
2808         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2809         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2810         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
2811         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2813 2012-08-09  Jeff Law <law@redhat.com>
2815         [BZ #13939]
2816         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2817         When avoid_arena is set, don't retry in the that arena.  Pick the
2818         next one, whatever it might be.
2819         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2820         (arena_lock): Pass in new parameter to arena_get2.
2821         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2822         arena_get2.
2823         (__libc_malloc): Unify retrying after main arena failure with
2824         __libc_memalign version.
2825         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2827 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
2829         [BZ #14166]
2830         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2831         to __redirect_strstr.
2832         (__strstr_sse42): Use typeof __redirect_strstr.
2833         (__strstr_ia32): Likewise.
2834         (__libc_strstr): New prototype.
2835         (strstr): Renamed to ...
2836         (__libc_strstr): This.
2837         (strstr): New strong alias of __libc_strstr.
2838         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2839         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2840         __redirect_time.
2841         Include <time.h>.
2842         (__libc_time): New prototype.
2843         (time_ifunc): Replace time with __libc_time.
2844         (time): New strong alias and hidden definition of __libc_time.
2845         (__GI_time): Remove strong alias.
2846         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2847         Include <stddef.h>.
2848         (memmove): Redefined to __redirect_memmove.
2849         (__memmove_sse2): Use typeof __redirect_memmove.
2850         (__memmove_ssse3): Likewise.
2851         (__memmove_ssse3_back): Likewise.
2852         (__libc_memmove): New prototype.
2853         (memmove): Renamed to ...
2854         (__libc_memmove): This.
2855         (memmove): New strong alias of __libc_memmove.
2857 2012-08-08  Mark Salter  <msalter@redhat.com>
2859         * elf/elf.h
2860         (R_MN10300_TLS_GD): Define.
2861         (R_MN10300_TLS_LD): Likewise.
2862         (R_MN10300_TLS_LDO): Likewise.
2863         (R_MN10300_TLS_GOTIE): Likewise.
2864         (R_MN10300_TLS_IE): Likewise.
2865         (R_MN10300_TLS_LE): Likewise.
2866         (R_MN10300_TLS_DTPMOD): Likewise.
2867         (R_MN10300_TLS_DTPOFF): Likewise.
2868         (R_MN10300_TLS_TPOFF): Likewise.
2869         (R_MN10300_SYM_DIFF): Likewise.
2870         (R_MN10300_ALIGN): Likewise.
2871         (R_MN10300_NUM): Update.
2873 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
2875         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2876         Remove.
2878 2012-08-08  Roland McGrath  <roland@hack.frob.com>
2880         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2882         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2883         sysdeps/unix -> sysdeps/posix move.
2884         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2886 2012-08-07      Allan McRae     <allan@archlinux.org>
2888         [BZ #14303]
2889         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2890         (SUNOS_CPP): Likewise.
2891         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2892         not found.
2893         (open_input): Call CPP using execvp.
2895 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
2897         * sysdeps/unix/sysv/linux/kernel-features.h
2898         (__ASSUME_PROT_GROWSUPDOWN): Remove.
2899         (__ASSUME_NO_CLONE_DETACHED): Likewise.
2900         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2901         (__ASSUME_WAITID_SYSCALL): Likewise.
2902         * sysdeps/unix/sysv/linux/dl-execstack.c
2903         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2904         code unconditional.
2905         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2906         conditional code.
2907         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2908         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2909         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2910         code.
2911         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2912         unconditional.
2913         [__ASSUME_WAITID_SYSCALL]: Likewise.
2914         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2916 2012-08-07  Roland McGrath  <roland@hack.frob.com>
2918         * sysdeps/unix/closedir.c: Renamed to ...
2919         * sysdeps/posix/closedir.c: ... here.
2920         * sysdeps/unix/dirfd.c: Renamed to ...
2921         * sysdeps/posix/dirfd.c: ... here.
2922         * sysdeps/unix/dirstream.h: Renamed to ...
2923         * sysdeps/posix/dirstream.h: ... here.
2924         * sysdeps/unix/fdopendir.c: Renamed to ...
2925         * sysdeps/posix/fdopendir.c: ... here.
2926         * sysdeps/unix/opendir.c: Renamed to ...
2927         * sysdeps/posix/opendir.c: ... here.
2928         * sysdeps/unix/readdir.c: Renamed to ...
2929         * sysdeps/posix/readdir.c: ... here.
2930         * sysdeps/unix/readdir_r.c: Renamed to ...
2931         * sysdeps/posix/readdir_r.c: ... here.
2932         * sysdeps/unix/rewinddir.c: Renamed to ...
2933         * sysdeps/posix/rewinddir.c: ... here.
2934         * sysdeps/unix/seekdir.c: Renamed to ...
2935         * sysdeps/posix/seekdir.c: ... here.
2936         * sysdeps/unix/telldir.c: Renamed to ...
2937         * sysdeps/posix/telldir.c: ... here.
2938         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2939         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2940         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2941         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2943         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2944         * bits/fcntl.h: ... here.
2946         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2947         not 0.
2948         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2949         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2950         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2951         (struct flock): Move l_start, l_len to the beginning.
2952         Use __pid_t for l_pid.
2953         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2954         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2955         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2956         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2957         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2958         [__USE_LARGEFILE64] (struct flock64): New type.
2959         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2961         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2962         * bits/dirent.h: ... here.
2964         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2965         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2967 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
2969         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2970         Change from 2.6.0 to 2.6.16.
2971         * sysdeps/unix/sysv/linux/configure: Regenerated.
2972         * sysdeps/unix/sysv/linux/kernel-features.h
2973         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2974         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2975         version.
2976         (__ASSUME_UTIMES): Likewise.
2977         (__ASSUME_CLONE_STOPPED): Remove.
2978         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2979         architectures, not kernel version.
2980         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2981         (__ASSUME_NO_CLONE_DETACHED): Likewise.
2982         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2983         (__ASSUME_WAITID_SYSCALL): Likewise.
2984         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2985         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2986         * README: State 2.6.16 as minimum Linux kernel version.  Do not
2987         refer to older versions.
2989 2012-08-06  Roland McGrath  <roland@hack.frob.com>
2991         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2992         Define alphasort64 as an alias.
2993         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2994         Define versionsort64 as an alias.
2995         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2996         Define scandir64 as an alias.
2997         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2998         Define scandirat64 as an alias.
2999         * dirent/alphasort64.c (alphasort64):
3000         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3001         * dirent/versionsort64.c: Likewise.
3002         * dirent/scandir64.c: Likewise.
3003         * dirent/scandirat64.c: Likewise.
3004         * sysdeps/wordsize-64/alphasort.c: File removed.
3005         * sysdeps/wordsize-64/alphasort64.c: File removed.
3006         * sysdeps/wordsize-64/scandir.c: File removed.
3007         * sysdeps/wordsize-64/scandir64.c: File removed.
3008         * sysdeps/wordsize-64/scandirat.c: File removed.
3009         * sysdeps/wordsize-64/scandirat64.c: File removed.
3010         * sysdeps/wordsize-64/versionsort.c: File removed.
3011         * sysdeps/wordsize-64/versionsort64.c: File removed.
3012         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3013         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3014         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3015         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3016         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3017         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3018         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3019         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3021         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3022         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3023         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3024         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3025         [defined __arch64__ || defined __sparcv9]
3026         (__INO_T_MATCHES_INO64_T): New macro.
3027         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3028         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3029         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3030         * sysdeps/unix/sysv/linux/bits/dirent.h
3031         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3032         (_DIRENT_MATCHES_DIRENT64): New macro.
3034         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3035         Define lockf64 as an alias.
3036         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3037         Define fseeko64 as an alias.
3038         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3039         Define ftello64 as an alias.
3040         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3041         Define _IO_fgetpos64 and fgetpos64 as aliases.
3042         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3043         Define _IO_fsetpos64 and fsetpos64 as aliases.
3044         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3045         Conditionalize body on this.
3046         * libio/fseeko64.c: Likewise.
3047         * libio/ftello64.c: Likewise.
3048         * libio/iofgetpos64.c: Likewise.
3049         * libio/iofsetpos64.c: Likewise.
3050         * sysdeps/wordsize-64/lockf.c: File removed.
3051         * sysdeps/wordsize-64/lockf64.c: File removed.
3052         * sysdeps/wordsize-64/fseeko.c: File removed.
3053         * sysdeps/wordsize-64/fseeko64.c: File removed.
3054         * sysdeps/wordsize-64/ftello.c: File removed.
3055         * sysdeps/wordsize-64/ftello64.c: File removed.
3056         * sysdeps/wordsize-64/iofgetpos.c: File removed.
3057         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3058         * sysdeps/wordsize-64/iofsetpos.c: File removed.
3059         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3060         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3061         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3062         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3063         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3064         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3065         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3066         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3067         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3068         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3069         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3071         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3072         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3073         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3074         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3075         [defined __arch64__ || defined __sparcv9]
3076         (__OFF_T_MATCHES_OFF64_T): New macro.
3077         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3078         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3079         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3080         (__OFF_T_MATCHES_OFF64_T): New macro.
3082 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
3084         * stdlib/secure-getenv.c (__secure_getenv): Replace
3085         GLIBC_2_16 with GLIBC_2_17.
3087 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
3089         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3090         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3092 2012-08-03  David S. Miller  <davem@davemloft.net>
3094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3096 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
3098         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3099         Remove.
3100         (__ASSUME_CORRECT_SI_PID): Likewise.
3101         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3102         (__ASSUME_TMPFS_NAME): Likewise.
3103         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3104         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3105         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3106         (HAVE_AUX_SECURE): Make definition unconditional.
3107         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3108         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3110 2012-08-03  Roland McGrath  <roland@hack.frob.com>
3112         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3113         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3114         * sysdeps/mach/hurd/eloop-threshold.h: New file.
3115         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3116         __eloop_threshold instead of SYMLOOP_MAX.
3118         * sysdeps/generic/eloop-threshold.h: New file.
3119         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3120         of MAXSYMLINKS.
3121         * elf/chroot_canon.c (chroot_canon): Likewise.
3123 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
3125         [BZ #13717]
3126         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3127         Change to 2.6.0 everywhere.
3128         * sysdeps/unix/sysv/linux/configure: Regenerated.
3129         * sysdeps/unix/sysv/linux/kernel-features.h
3130         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3131         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3132         kernel versions.
3133         (__ASSUME_POSIX_TIMERS): Define unconditionally.
3134         (__ASSUME_FUTEX_REQUEUE): Remove.
3135         (__ASSUME_STATFS64): Define unconditionally.
3136         (__ASSUME_AT_SECURE): Likewise.
3137         (__ASSUME_CORRECT_SI_PID): Likewise.
3138         (__ASSUME_TGKILL): Define without depending on kernel version for
3139         i386.
3140         (__ASSUME_UTIMES): Likewise.
3141         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3142         kernel version.
3143         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3144         (__ASSUME_TMPFS_NAME): Likewise.
3145         * README: Update reference to Linux kernel versions.
3147 2012-08-02  Marek Polacek  <polacek@redhat.com>
3149         [BZ# 14150]
3150         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
3151         libc_cv_asm_type_prefix with %.
3152         * configure: Regenerated.
3153         * include/libc-symbols.h: Remove comment about
3154         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3155         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3156         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3157         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3158         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3159         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3160         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3161         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3162         * elf/tst-unique2mod1.c: Likewise.
3163         * elf/tst-unique1mod2.c: Likewise.
3164         * elf/tst-unique1mod1.c: Likewise.
3165         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3166         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3167         Replace ASM_TYPE_DIRECTIVE with .type.
3168         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3169         * sysdeps/i386/sysdep.h: Likewise.
3170         * sysdeps/x86_64/sysdep.h: Likewise.
3171         * sysdeps/sh/sysdep.h: Likewise.
3172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3173         Do not define ASM_TYPE_DIRECTIVE.
3174         * sysdeps/powerpc/sysdep.h: Likewise.
3175         * sysdeps/powerpc/powerpc32/sysdep.h:
3176         Replace ASM_TYPE_DIRECTIVE with .type.
3177         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3178         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3179         * sysdeps/i386/fpu/e_powf.S: Likewise.
3180         * sysdeps/i386/fpu/e_expl.S: Likewise.
3181         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3182         * sysdeps/i386/fpu/e_acosh.S: Likewise.
3183         * sysdeps/i386/fpu/e_pow.S: Likewise.
3184         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3185         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3186         * sysdeps/i386/fpu/s_expm1.S: Likewise.
3187         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3188         * sysdeps/i386/fpu/e_log2.S: Likewise.
3189         * sysdeps/i386/fpu/e_log2l.S: Likewise.
3190         * sysdeps/i386/fpu/e_scalb.S: Likewise.
3191         * sysdeps/i386/fpu/e_powl.S: Likewise.
3192         * sysdeps/i386/fpu/e_log10f.S: Likewise.
3193         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3194         * sysdeps/i386/fpu/e_logl.S: Likewise.
3195         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3196         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3197         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3198         * sysdeps/i386/fpu/e_log2f.S: Likewise.
3199         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3200         * sysdeps/i386/fpu/e_log.S: Likewise.
3201         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3202         * sysdeps/i386/fpu/e_logf.S: Likewise.
3203         * sysdeps/i386/fpu/e_log10l.S: Likewise.
3204         * sysdeps/i386/fpu/e_atanh.S: Likewise.
3205         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3206         * sysdeps/i386/fpu/e_log10.S: Likewise.
3207         * sysdeps/i386/fpu/s_frexp.S: Likewise.
3208         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3209         * sysdeps/i386/fpu/s_asinh.S: Likewise.
3210         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3211         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3212         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3213         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3214         * sysdeps/i386/i686/strtok.S: Likewise.
3215         * sysdeps/i386/i386-mcount.S: Likewise.
3216         * sysdeps/i386/strtok.S: Likewise.
3217         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3218         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3219         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3220         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3221         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3222         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3223         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3224         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3225         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3226         * sysdeps/x86_64/_mcount.S: Likewise.
3227         * sysdeps/x86_64/strtok.S: Likewise.
3228         * sysdeps/sh/_mcount.S: Likewise.
3230 2012-08-01  Roland McGrath  <roland@hack.frob.com>
3232         * libio/iofopen.c: Include <fcntl.h>.
3233         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3234         (_IO_fopen64, fopen64): Define as aliases.
3235         * libio/iofopen64.c: Include <fcntl.h>.
3236         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3237         Conditionalize body on this.
3238         * sysdeps/wordsize-64/iofopen.c: File removed.
3239         * sysdeps/wordsize-64/iofopen64.c: File removed.
3241 2012-08-01  Marek Polacek  <polacek@redhat.com>
3243         * libc/Makeconfig: Use elf in place of binfmt-subdir.
3244         Use dlfcn directly instead of a variable.
3245         (binfmt-subdir): Do not define.
3246         (dlfcn): Likewise.
3248 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
3250         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3251         Remove all definitions.
3252         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3253         <kernel-features.h>.
3254         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3255         (miss_F_GETOWN_EX): Remove all definitions.
3256         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3257         macro definition.
3258         [!__ASSUME_FCNTL64]: Remove conditional code.
3259         [__ASSUME_FCNTL64]: Make code unconditional.
3260         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3261         <kernel-features.h>.
3262         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3263         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3264         (lockf64) [__NR_fcntl64]: Make code unconditional.
3265         (lockf64) [__ASSUME_FCNTL64]: Likewise.
3267         * sysdeps/unix/sysv/linux/kernel-features.h
3268         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3269         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3270         Make code unconditional.
3271         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3272         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3274         [__NR_vfork]: Make code unconditional.
3275         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3276         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3278         [__NR_vfork]: Make code unconditional.
3279         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3280         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3282 2012-08-01  Roland McGrath  <roland@hack.frob.com>
3284         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3285         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3287         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3288         Define mkstemp64 as an alias.
3289         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3290         Define mkstemps64 as an alias.
3291         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3292         Define mkostemp64 as an alias.
3293         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3294         Define mkostemps64 as an alias.
3295         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3296         Conditionalize body on this.
3297         * misc/mkostemp64.c: Likewise.
3298         * misc/mkostemps64.c: Likewise.
3299         * misc/mkstemps64.c: Likewise.
3300         * sysdeps/wordsize-64/mkstemp64.c: File removed.
3301         * sysdeps/wordsize-64/mkostemp64.c: File removed.
3302         * sysdeps/wordsize-64/mkostemp.c: File removed.
3303         * sysdeps/wordsize-64/mkstemp.c: File removed.
3304         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3305         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3306         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3307         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3309         [BZ #14138]
3310         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3311         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3312         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3313         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3315         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3316         compat_symbol macros from <shlib-compat.h> rather than the underlying
3317         default_symbol_version and symbol_version macros, so that DEFAULT
3318         lines in shlib-versions are respected.
3319         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3321 2012-08-01  Florian Weimer  <fweimer@redhat.com>
3323         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3324         Declare with warn_unused_result.
3325         (setgid, setregid, setegid, setresgid): Likewise.
3326         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3327         Likewise.
3328         * WUR-REPORT: Remove set*id functions.
3330 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
3332         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3334 2012-07-31  Roland McGrath  <roland@hack.frob.com>
3336         * include/sys/socket.h (__libc_accept, __libc_accept4):
3337         Add attribute_hidden.
3338         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3340         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3341         use of PTR_MANGLE.
3342         * inet/getnetgrent_r.c (setup): Likewise.
3344         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3346 2012-07-31  David S. Miller  <davem@davemloft.net>
3348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3350 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
3352         [BZ #13629]
3353         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3354         value between 1.0 and 2.0 and smaller part has absolute value less
3355         than 1.0.
3356         * math/s_clog10.c (__clog10): Likewise.
3357         * math/s_clog10f.c (__clog10f): Likewise.
3358         * math/s_clog10l.c (__clog10l): Likewise.
3359         * math/s_clogf.c (__clogf): Likewise.
3360         * math/s_clogl.c (__clogl): Likewise.
3361         * math/libm-test.inc (clog_test): Add more tests.
3362         (clog10_test): Likewise.
3363         * sysdeps/i386/fpu/libm-test-ulps: Update.
3364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3366 2012-07-31  Florian Weimer  <fweimer@redhat.com>
3368         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3369         Exit with zero in case no suitable GID is found, and write a
3370         message to standard error.
3372 2012-07-30  Roland McGrath  <roland@hack.frob.com>
3374         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3375         rather than to 1.
3376         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3377         (MAXPATHLEN): Removed.
3378         (NOGROUP, NODEV): New macros.
3379         (setbit, clrbit, isset, isclr): New macros.
3380         (howmany, roundup, powerof2): New macros.
3381         (DEV_BSIZE): New macro.
3383         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3384         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3386         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3387         definition on [!__NO_LONG_DOUBLE_MATH].
3389         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3390         PTR_MANGLE and PTR_DEMANGLE.
3392         * socket/accept4.c (accept4): Rename to __libc_accept4.
3393         Define accept4 as a weak alias.
3395         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3396         on [_DIRENT_HAVE_D_TYPE].
3397         * io/ftw.c (ftw_dir): Likewise.
3399         * io/xmknod.c (__xmknod): Don't check PATH for being null.
3401         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3403         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3404         Use the BSD numbers rather than the arbitrary ones we had.
3405         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3406         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3407         (SIGXCPU, SIGXFSZ): New macros.
3408         (_NSIG): Now 32.
3410         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3411         initializer on [_LIBC_REENTRANT].
3413         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3414         definitions inside [_POSIX_MAPPED_FILES].
3416         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3418         * dirent/opendir.c: Include <fcntl.h>.
3420         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3421         (__libc_getspecific): Likewise.
3422         (__libc_key_create): Likewise.
3424         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3425         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3426         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3427         (tmpfile64): Define as alias.
3428         * sysdeps/wordsize-64/tmpfile.c: File removed.
3429         * sysdeps/wordsize-64/tmpfile64.c: File removed.
3430         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3431         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3433         * stdio-common/vfscanf.c: Include <stdbool.h>.
3434         * nss/makedb.c: Likewise.
3435         * stdio-common/_i18n_number.h: Likewise.
3436         * argp/argp-help.c: Likewise.
3437         * posix/wordexp.c: Likewise.
3438         * sysdeps/posix/spawni.c: Likewise.
3439         * nss/nss_files/files-initgroups.c: Likewise.
3440         * stdio-common/reg-modifier.c: Include <stdlib.h>.
3441         * nss/nss_files/files-initgroups.c: Likewise.
3442         * nss/nss_db/db-netgrp.c: Likewise.
3443         * nss/nss_db/db-initgroups.c: Likewise.
3444         * io/fchmodat.c: Include <sys/stat.h>.
3446         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3447         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3449         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3450         [HAVE_MMAP].
3452         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3453         Add multiple inclusion protection.
3455 2012-07-27  David S. Miller  <davem@davemloft.net>
3457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3459 2012-07-27  Gary Benson  <gbenson@redhat.com>
3461         [BZ #14298]
3462         * elf/rtld.c: Include <stap-probe.h>.
3463         (dl_main): Added static probes "init_start" and "init_complete".
3464         * elf/dl-load.c: Include <stap-probe.h>.
3465         (lose): Take new parameter "nsid".
3466         Added static probe "map_failed".
3467         (_dl_map_object_from_fd): Pass namespace id to lose.
3468         Added static probe "map_start".
3469         (open_verify): Pass namespace id to lose.
3470         * elf/dl-open.c: Include <stap-probe.h>.
3471         (dl_open_worker) Added static probes "map_complete", "reloc_start"
3472         and "reloc_complete".
3473         * elf/dl-close.c: Include <stap-probe.h>.
3474         (_dl_close_worker): Added static probes "unmap_start" and
3475         "unmap_complete".
3476         * elf/rtld-debugger-interface.txt: New file documenting the above.
3478 2012-07-26  Roland McGrath  <roland@hack.frob.com>
3480         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3481         rather than a string variable.
3482         * sunrpc/rpc_main.c (h_output): Likewise.
3483         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3485 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
3487         * inet/check_native.c: New file.
3489 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
3491         [BZ #13629]
3492         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3493         if larger part has absolute value 1.0.
3494         * math/s_clog10.c (__clog10): Likewise.
3495         * math/s_clog10f.c (__clog10f): Likewise.
3496         * math/s_clog10l.c (__clog10l): Likewise.
3497         * math/s_clogf.c (__clogf): Likewise.
3498         * math/s_clogl.c (__clogl): Likewise.
3499         * math/libm-test.inc (clog_test): Add more tests.
3500         (clog10_test): Likewise.
3501         * sysdeps/i386/fpu/libm-test-ulps: Update.
3502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3504         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3505         (pltexit): Likewise.
3506         (La_regs): Likewise.
3507         (La_retval): Likewise.
3508         (int_retval): Likewise.
3509         Update #error for removed macros to refer only to definitions in
3510         tst-audit.h.
3511         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3512         macro.
3513         (pltexit): Likewise.
3514         (La_regs): Likewise.
3515         (La_retval): Likewise.
3516         (int_retval): Likewise.
3517         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3518         macro.
3519         (pltexit): Likewise.
3520         (La_regs): Likewise.
3521         (La_retval): Likewise.
3522         (int_retval): Likewise.
3523         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3524         macro.
3525         (pltexit): Likewise.
3526         (La_regs): Likewise.
3527         (La_retval): Likewise.
3528         (int_retval): Likewise.
3529         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3530         macro.
3531         (pltexit): Likewise.
3532         (La_regs): Likewise.
3533         (La_retval): Likewise.
3534         (int_retval): Likewise.
3535         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3536         macro.
3537         (pltexit): Likewise.
3538         (La_regs): Likewise.
3539         (La_retval): Likewise.
3540         (int_retval): Likewise.
3541         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3542         macro.
3543         (pltexit): Likewise.
3544         (La_regs): Likewise.
3545         (La_retval): Likewise.
3546         (int_retval): Likewise.
3547         * sysdeps/generic/tst-audit.h: Update comment to refer only to
3548         macro definitions in tst-audit.h.
3549         * sysdeps/i386/tst-audit.h: New file.
3550         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3551         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3552         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3553         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3554         * sysdeps/sh/tst-audit.h: Likewise.
3555         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3556         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3557         * sysdeps/x86_64/tst-audit.h: Likewise.
3559 2012-07-26  Andreas Jaeger  <aj@suse.de>
3561         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3562         ptrace.
3564         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3565         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3566         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3567         PTRACE_O_MASK.
3568         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3569         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3570         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3572         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3573         value.
3575         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3576         _sigsys.
3577         (si_call_addr, si_syscall, si_arch): Define new macro.
3578         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3579         _sigsys.
3580         (si_call_addr, si_syscall, si_arch): Define new marcro.
3581         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3582         _sigsys.
3583         (si_call_addr, si_syscall, si_arch): Define new macro.
3584         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3585         _sigsys.
3586         (si_call_addr, si_syscall, si_arch): Define new macro.
3588 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
3590         [BZ #13717]
3591         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3592         Change to 2.4.21 where previously 2.4.1.
3593         * sysdeps/unix/sysv/linux/configure: Regenerated.
3594         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3595         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3596         Linux kernel version.
3597         (__ASSUME_STD_AUXV): Remove.
3598         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3599         kernel version.
3600         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3601         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3602         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3603         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3604         (__ASSUME_NETLINK_SUPPORT): Likewise.
3605         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3606         (__no_netlink_support): Remove conditional definition.
3607         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3608         Remove.
3609         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3610         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3611         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3612         (if_nameindex_ioctl): Remove.
3613         (if_nameindex_netlink): Do not handle __no_netlink_support.
3614         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3615         code.
3616         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3617         Remove conditional code.
3618         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3619         code.
3620         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3621         unconditional.
3622         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3623         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3624         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3625         Remove.
3626         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3627         [!__ASSUME_STD_AUXV]: Remove conditional code.
3628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3629         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3630         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3632         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3633         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3634         code.
3635         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3637         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3638         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3639         conditional code.
3640         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3642         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3643         code.
3644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3645         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3646         conditional code.
3647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3648         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3649         code unconditional.
3650         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3651         conditional code.
3652         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3653         unconditional.
3654         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3655         conditional code.
3656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3657         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3658         unconditional.
3659         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3660         conditional code.
3661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3662         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3663         code unconditional.
3664         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3665         conditional code.
3666         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3667         unconditional.
3668         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3669         conditional code.
3670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3671         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3672         code unconditional.
3673         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3674         conditional code.
3675         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3676         unconditional.
3677         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3678         conditional code.
3680 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
3682         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3683         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3684         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3685         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3686         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3687         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3688         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3689         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3690         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3691         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3692         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3693         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3694         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3695         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3696         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3697         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3698         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3699         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3700         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3701         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3702         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3703         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3704         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3706 2012-07-25  Florian Weimer  <fweimer@redhat.com>
3708         * Versions.def: Add GLIBC_2.17.
3709         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3710         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3711         Introduce __libc_secure_getenv.
3712         * stdlib/Versions (2.17): Add secure_getenv
3713         (GLIBC_PRIVATE): Add __libc_secure_getenv.
3714         * stdlib/secure-getenv.c: Rename __secure_getenv to
3715         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
3716         symbol __secure_getenv for GLIBC_2.0.
3717         * stdlib/tst-secure-getenv.c: New.
3718         * stdlib/Makefile (tests): Add testcase.
3719         * manual/startup.texi (Environment Access): Document
3720         secure_getenv.
3721         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3722         __libc_secure_getenv.
3723         * inet/ruserpass.c (ruserpass): Likewise.
3724         * malloc/mtrace.c (mtrace): Likewise.
3725         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3726         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3727         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3728         * sysdeps/posix/tempname.c: Likewise.  Evaluate
3729         HAVE_SECURE_GETENV.
3730         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3731         __secure_getenv to __libc_secure_getenv.
3732         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3734         Likewise.
3735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3736         Likewise.
3737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3739         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3745 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
3747         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3748         (struct La_i86_retval): Likewise.
3749         (struct La_x86_64_regs): Likewise.
3750         (struct La_x86_64_retval): Likewise.
3751         (struct La_x32_regs): Likewise.
3752         (struct La_x32_retval): Likewise.
3753         (struct La_ppc32_regs): Likewise.
3754         (struct La_ppc32_retval): Likewise.
3755         (struct La_ppc64_regs): Likewise.
3756         (struct La_ppc64_retval): Likewise.
3757         (struct La_sh_regs): Likewise.
3758         (struct La_sh_retval): Likewise.
3759         (struct La_s390_32_regs): Likewise.
3760         (struct La_s390_32_retval): Likewise.
3761         (struct La_s390_64_regs): Likewise.
3762         (struct La_s390_64_retval): Likewise.
3763         (struct La_sparc32_regs): Likewise.
3764         (struct La_sparc32_retval): Likewise.
3765         (struct La_sparc64_regs): Likewise.
3766         (struct La_sparc64_retval): Likewise.
3767         (struct audit_ifaces): Remove architecture-specific pltenter and
3768         pltexit members.
3769         * sysdeps/i386/ldsodefs.h: New file.
3770         * sysdeps/powerpc/ldsodefs.h: Likewise.
3771         * sysdeps/s390/ldsodefs.h: Likewise.
3772         * sysdeps/sh/ldsodefs.h: Likewise.
3773         * sysdeps/sparc/ldsodefs.h: Likewise.
3774         * sysdeps/x86_64/ldsodefs.h: Likewise.
3776 2012-07-25  Marek Polacek  <polacek@redhat.com>
3778         [BZ #6808]
3779         * math/libm-test.inc (yn_test): Add another test.
3780         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3781         to ERANGE when the result is +-Inf.
3782         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3783         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3784         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3785         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3787 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
3789         * conform/data/time.h-data (NULL): Use macro-constant.  Require
3790         equal to 0.
3791         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
3792         clock_t.
3793         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
3795 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
3797         * configure.in <sysdeps resolving>: Correct printing
3798         Implies_before.
3799         * configure: Regenerate.
3801 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
3803         * math/w_ilogb.c: Include <limits.h>.
3804         * math/w_ilogbl.c: Likewise.
3806 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
3808         * manual/lang.texi (__va_copy): Document primarily as ISO C99
3809         va_copy.  Document allowing for unavailable va_copy only as
3810         pre-C99 compatibility.
3811         * manual/string.texi (Copying and Concatenation): Use va_copy
3812         instead of __va_copy in concat example.
3814 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
3816         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3817         (__sendto): Use create_address_port.  Initialize APORT and deallocate
3818         it if not null.
3820         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3821         with O_NOLINK passed to __file_name_lookup.
3823         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3824         with O_NOLINK passed to __file_name_lookup.
3826         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3827         negative N or less than NGIDS.
3829         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3830         type to string_t.  Set ERANGE as errno and return it if NAME is not big
3831         enough.  Use memcpy instead of strncpy.
3833 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
3835         * elf/Makefile (check-data): Remove.
3836         (localplt.data): New vpath directive.
3837         ($(objpfx)check-localplt.out): Use localplt.data from vpath
3838         instead of $(check-data).
3839         * scripts/data/localplt-generic.data: Move to ...
3840         * sysdeps/generic/localplt.data: ... here.
3841         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3842         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3843         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3845         ... here.
3846         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3848         ... here.
3849         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3851         ... here.
3852         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3854         ... here.
3855         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3857         ... here.
3858         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3860         ... here.
3862 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3864         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3865         PPC32 and PPC64 files.
3866         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3867         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3869 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3871         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3872         __makecontext_ret to ...
3873         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3874         ... here and call exit if uc_link is NULL.  New file.
3875         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3876         __makecontext_ret.S.
3877         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3878         __makecontext_ret to ...
3879         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3880         ... here and call exit if uc_link is NULL.  New file.
3881         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3882         __makecontext_ret.S.
3884 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3886         * elf/elf.h (R_390_IRELATIVE): New definition.
3887         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3888         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
3889         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3890         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3891         (elf_machine_lazy_rel): Likewise.
3892         * sysdeps/s390/dl-irel.h: New file.
3893         * sysdeps/s390/s390-64/memcpy.S: New asm code.
3894         * sysdeps/s390/s390-64/memset.S: New asm code.
3895         * sysdeps/s390/s390-64/memcmp.S: New asm code.
3896         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3897         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3898         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3899         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3900         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3901         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3902         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3903         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3904         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3905         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3906         * sysdeps/s390/s390-32/memcpy.S: New asm code.
3907         * sysdeps/s390/s390-32/memset.S: New asm code.
3908         * sysdeps/s390/s390-32/memcmp.S: New asm code.
3910 2012-07-17  Marek Polacek  <polacek@redhat.com>
3912         [BZ #14349]
3913         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3914         * sysdeps/s390/s390-64/configure.in: Likewise.
3915         * sysdeps/sparc/configure.in: Likewise.
3916         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3917         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3918         * sysdeps/i386/configure.in: Likewise.
3919         * sysdeps/x86_64/configure.in: Likewise.
3920         * sysdeps/sh/configure.in: Likewise.
3921         * sysdeps/s390/s390-32/configure: Regenerated.
3922         * sysdeps/s390/s390-64/configure: Likewise.
3923         * sysdeps/x86_64/configure: Likewise.
3924         * sysdeps/sh/configure: Likewise.
3925         * sysdeps/powerpc/powerpc64/configure: Likewise.
3926         * sysdeps/powerpc/powerpc32/configure: Likewise.
3927         * sysdeps/sparc/configure: Likwise.
3928         * sysdeps/i386/configure: Likewise.
3930         * elf/dl-open.c: Comment fixes.
3932 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
3934         * Makefile [CXX] (check-data): Remove.
3935         [CXX] (c++-types.data): New vpath directive.
3936         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3937         vpath.  Do not allow for C++ type data being missing.
3938         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3939         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3940         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3941         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3942         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3943         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3944         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3946         ... here.
3947         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3949         ... here.
3950         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3952         ... here.
3953         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3955         ... here.
3956         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3958         ... here.
3959         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3961         ... here.
3962         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3964         ... here.
3965         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3968         * elf/tls-macros.h (TLS_LE): Move architecture-specific
3969         definitions to architecture-specific files.
3970         (TLS_IE): Likewise.
3971         (TLS_LD): Likewise.
3972         (TLS_GD): Likewise.
3973         * sysdeps/i386/tls-macros.h: New file.
3974         * sysdeps/powerpc/tls-macros.h: Likewise.
3975         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3976         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3977         * sysdeps/sh/tls-macros.h: Likewise.
3978         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3979         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3980         * sysdeps/x86_64/tls-macros.h: Likewise.
3982 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
3984         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3985         zero value for regular exit case.
3987         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3988         (__start_context): Preserve zero value for regular exit case.
3990 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
3991             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3993         * manual/setjmp.texi (setcontext): Clarify normal process
3994         termination when uc_link is the null pointer.
3995         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3996         exit call.
3998 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
4000         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4001         preprocessor.  Test for each exception mask separately.
4003 2012-07-16  Andreas Jaeger  <aj@suse.de>
4005         * po/ru.po: Update from translation team.
4007 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
4009         * conform/data/string.h-data (NULL): Use macro-constant.  Require
4010         equal to 0.
4011         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4012         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4013         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4014         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4015         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4017 2012-07-13  Andreas Jaeger  <aj@suse.de>
4019         * po/fr.po: Update from translation team.
4021 2012-07-12  Marek Polacek  <polacek@redhat.com>
4023         [BZ #14173]
4024         * math/libm-test.inc (yn_test): Add test for BZ #14173.
4025         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4026         loop condition.
4028 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
4030         [BZ #13717]
4031         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4032         Change to 2.4.1 where previously 2.4.0.
4033         * sysdeps/unix/sysv/linux/configure: Regenerated.
4034         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4035         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4036         version.
4037         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4038         (__ASSUME_AT_CLKTCK): Remove.
4039         (__ASSUME_AT_PAGESIZE): Likewise.
4040         (__ASSUME_AT_XID): Likewise.
4041         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4042         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4043         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4044         unconditionally.
4045         (HAVE_AUX_PAGESIZE): Likewise.
4046         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4047         [__ASSUME_AT_CLKTCK]: Make code unconditional.
4048         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4050 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
4052         [BZ #14307]
4053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4054         the temporary buffer used to invoke __gethostbyname2_r,
4055         __gethostbyaddr_r and gethostbyname4_r to make room for struct
4056         host_data / struct gaih_addrtuple.
4057         * resolv/nss_dns/dns-host.c (global scope): Move definition of
4058         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4059         header file nss/nsswitch.h.
4060         * nss/nsswitch.h (global scope): Add definition of implementation
4061         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4062         resolv/nss_dns/dns-host.c).
4064 2012-07-11  Andreas Jaeger  <aj@suse.de>
4066         * po/fr.po: Update from translation team.
4068         * po/sv.po: Update from translation team
4069         * po/fr.po: Another update from translation team.
4071 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4073         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4074         for subnormals or multiply small sinh result by itself.
4075         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4078 2012-07-11  David S. Miller  <davem@davemloft.net>
4080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4082 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
4084         [BZ #14347]
4085         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4086         (INTERNAL_MARK): Shift it here.
4088 2012-07-10  Marek Polacek  <polacek@redhat.com>
4090         [BZ #14151]
4091         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
4092         libc_cv_asm_global_directive with .globl.
4093         * configure: Regenerated.
4094         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4095         with .globl.
4096         * sysdeps/i386/configure: Regenerated.
4097         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4098         with .globl.
4099         * sysdeps/x86_64/configure: Regenerated.
4100         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4101         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4102         * elf/tst-unique2mod2.c: Likewise.
4103         * elf/tst-unique2mod1.c: Likewise.
4104         * elf/tst-unique1mod2.c: Likewise.
4105         * elf/tst-unique1mod1.c: Likewise.
4106         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4107         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4108         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4109         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4110         * sysdeps/mach/sysdep.h: Likewise.
4111         * sysdeps/i386/sysdep.h: Likewise.
4112         * sysdeps/i386/i386-mcount.S: Likewise.
4113         * sysdeps/x86_64/_mcount.S: Likewise.
4114         * sysdeps/x86_64/sysdep.h: Likewise.
4115         * sysdeps/sh/_mcount.S: Likewise.
4116         * sysdeps/sh/sysdep.h: Likewise.
4117         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4118         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4119         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4120         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4121         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4122         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4123         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4124         * locale/localeinfo.h: Likewise.
4125         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4126         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4128 2012-07-09  Roland McGrath  <roland@hack.frob.com>
4130         [BZ #14336]
4131         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4132         system".
4133         * manual/message.texi (The Uniforum approach): Likewise.
4134         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4135         (glibc iconv Implementation): Likewise.
4137 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
4139         [BZ #14337]
4140         * math/s_clog.c (__clog): Avoid scaling a value down where that
4141         could result in underflow.
4142         * math/s_clog10.c (__clog10): Likewise.
4143         * math/s_clog10f.c (__clog10f): Likewise.
4144         * math/s_clog10l.c (__clog10l): Likewise.
4145         * math/s_clogf.c (__clogf): Likewise.
4146         * math/s_clogl.c (__clogl): Likewise.
4147         * math/libm-test.inc (clog_test): Add more tests.
4148         (clog10_test): Likewise.
4149         * sysdeps/i386/fpu/libm-test-ulps: Update.
4150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4152 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
4154         [BZ #14283]
4155         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4156         by 7 not 8 to examine high bit of fractional part.
4158         [BZ #14042]
4159         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4160         for call to __mcount_internal.
4161         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4162         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4163         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4165 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
4167         [BZ #14154]
4168         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4169         approximation for values within 0x1p-13f of an odd multiple of
4170         pi/4.
4171         * math/libm-test.inc (tan_test): Do not allow spurious underflow
4172         exception.  Add more tests.
4173         * sysdeps/i386/fpu/libm-test-ulps: Update.
4175         [BZ #6778]
4176         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4177         inputs and return -1 for them.  Do not check for +Inf in case not
4178         reachable for +Inf.
4179         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4180         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4181         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4182         and return -1 for them.  Do not check for +Inf in case not
4183         reachable for +Inf.
4184         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4185         define.
4186         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4187         and return -1 for them.  Do not check for +Inf in case not
4188         reachable for +Inf.
4189         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
4190         spurious underflow.
4191         * sysdeps/i386/fpu/libm-test-ulps: Update.
4192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4194 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
4196         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4198 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
4200         [BZ #14157]
4201         [BZ #14331]
4202         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4203         could result in spurious underflow.  Scale down values above
4204         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4205         * math/s_csqrtf.c (__csqrtf): Likewise.
4206         * math/s_csqrtl.c (__csqrtl): Likewise.
4207         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
4208         spurious underflow.
4209         * sysdeps/i386/fpu/libm-test-ulps: Update.
4210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4212 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
4214         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4215         xopen-msg.sed.
4216         * catgets/xopen-msg.awk: New file.
4217         * catgets/xopen-msg.sed: Removed.
4219         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4220         po2text.sed.
4221         * intl/po2test.awk: New file.
4222         * intl/po2test.sed: Removed.
4224 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
4226         [BZ #14328]
4227         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4228         or multiply small sinh result by itself.
4229         * math/s_ctanf.c (__ctanf): Likewise.
4230         * math/s_ctanh.c (__ctanh): Likewise.
4231         * math/s_ctanhf.c (__ctanhf): Likewise.
4232         * math/s_ctanhl.c (__ctanhl): Likewise.
4233         * math/s_ctanl.c (__ctanl): Likewise.
4234         * math/libm-test.inc (ctan_test_tonearest): New function.
4235         (ctan_test_towardzero): Likewise.
4236         (ctan_test_downward): Likewise.
4237         (ctan_test_upward): Likewise.
4238         (ctanh_test_tonearest): Likewise.
4239         (ctanh_test_towardzero): Likewise.
4240         (ctanh_test_downward): Likewise.
4241         (ctanh_test_upward): Likewise.
4242         (main): Call these new functions.
4243         * sysdeps/i386/fpu/libm-test-ulps: Update.
4244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4246 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
4248         * .gitignore: Delete /ports entry.
4250 2012-07-03  Andreas Jaeger  <aj@suse.de>
4252         * po/bg.po: Update from translation team.
4253         * po/cs.po: Likewise.
4254         * po/de.po: Likewise.
4255         * po/hr.po: Likewise.
4256         * po/nl.pl: Likewise.
4257         * po/pl.po: Likewise.
4258         * po/vi.po: Likewise.
4260 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
4262         * Makeconfig [!+link] (+link-before-libc): New variable.
4263         [!+link] (+link-after-libc): Likewise.
4264         [!+link] (+link-tests): Likewise.
4265         [!+link] (+link): Define in terms of $(+link-before-libc) and
4266         $(+link-after-libc).
4267         [!+link-static] (+link-static-before-libc): New variable.
4268         [!+link-static] (+link-static-after-libc): Likewise.
4269         [!+link-static] (+link-static-tests): Likewise.
4270         [!+link-static] (+link-static): Define in terms of
4271         $(+link-static-before-libc) and $(+link-static-after-libc).
4272         [build-shared] (link-libc-before-gnulib): New variable.
4273         [build-shared] (link-libc-tests): Likewise.
4274         [build-shared] (link-libc): Define in terms of
4275         $(link-libc-before-gnulib).
4276         [!build-shared] (link-libc-tests): New variable.
4277         (link-libc-static-tests): New variable.
4278         [!gnulib] (gnulib-arch): New variable.
4279         [!gnulib] (gnulib-tests): Likewise.
4280         [!gnulib] (static-gnulib-arch): Likewise.
4281         [!gnulib] (static-gnulib-tests): Likewise.
4282         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
4283         Define with "=" instead of ":=".
4284         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
4285         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
4286         * Rules (binaries-all-notests): New variable.
4287         (binaries-all-tests): Likewise.
4288         (binaries-static-notests): Likewise.
4289         (binaries-static-tests): Likewise.
4290         (binaries-all): Define using $(binaries-all-notests) and
4291         $(binaries-all-tests).
4292         (binaries-static): Define using $(binaries-static-notests) and
4293         $(binaries-static-tests).
4294         (binaries-shared-tests): New variable.
4295         (binaries-shared-notests): Likewise.
4296         (binaries-shared): Remove variable.
4297         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4298         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4299         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4300         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4301         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4302         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4303         * elf/Makefile (sln-modules): New variable.
4304         (extra-objs): Add $(sln-modules:=.o).
4305         (ldconfig-modules): Add static-stubs.
4306         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4307         * elf/static-stubs.c: New file.
4309         [BZ #14283]
4310         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4311         by 7 not 8 to examine high bit of fractional part.  Use volatile
4312         variables when splitting into final array of floats if
4313         __FLT_EVAL_METHOD__ != 0.
4314         * math/libm-test.inc (cos_test): Add another test.
4315         (sin_test): Likewise.
4316         * sysdeps/i386/fpu/libm-test-ulps: Update.
4318         [BZ #14273]
4319         * math/libm-test.inc (cosh_test): Add more tests.
4321         * version.h (RELEASE): Set to "development".
4322         (VERSION): Set to "2.16.90".
4324 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
4326         * NEWS: Update copyright. Remove last-updated date.
4327         Mention math library bug fixes and timezone data changes.
4328         * README: Mention GNU/Hurd, x32, and HPPA support status.
4330 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
4332         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4334 2012-06-27  Andreas Jaeger  <aj@suse.de>
4336         * manual/contrib.texi (Contributors): Add Samuel Thibault.
4338 2012-06-25  Andreas Jaeger  <aj@suse.de>
4340         * sysdeps/s390/fpu/libm-test-ulps: Update.
4342 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
4343             Thomas Schwinge  <thomas@codesourcery.com>
4345         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4346         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4347         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4348         fanotify_mark.
4350 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
4352         * sysdeps/mach/start.c: Remove file.
4353         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4354         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4355         * sysdeps/sh/init-first.c: Likewise.
4357         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4358         registers for frame unwinding purposes, add CFI directives.
4359         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4360         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4361         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4362         Likewise.
4364         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4365         __fortify_fail returning.
4366         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4368         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4369         sysdeps/sh/____longjmp_chk.S.
4370         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4371         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4372         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4373         (gen-as-const-headers): Append sigaltstack-offsets.sym.
4375         * sysdeps/sh/abort-instr.h: New file.
4376         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4377         process in case exit returns.
4379         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4380         initialize the GOT register before use.
4382         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4383         calculation of ARGC > 4.
4385         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4386         meaningful names to some local labels.
4388 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
4389             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4391         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4392         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4393         (__arch_compare_and_exchange_val_16_acq): Likewise.
4394         (__arch_compare_and_exchange_val_32_acq): Likewise.
4395         (atomic_exchange_and_add): Fix gUSA sequence.
4396         (atomic_add): Likewise.
4397         (atomic_add_negative): Likewise.
4398         (atomic_add_zero): Likewise.
4399         (atomic_bit_test_set): Likewise.
4401 2012-06-22  Andreas Schwab  <schwab@redhat.com>
4403         [BZ #13579]
4404         * include/link.h (struct link_map): Add l_free_initfini.
4405         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4406         l_initfini.
4407         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4408         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4409         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4410         set.
4412 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
4414         * configure.in: Use AC_LANG_SOURCE.
4415         * configure: Regenerate.
4417 2012-06-22  Roland McGrath  <roland@hack.frob.com>
4419         * configure.in (libc_cv_localstatedir): New substituted variable.
4420         * configure: Regenerated.
4421         * config.make.in (localstatedir): New variable, substituted from
4422         libc_cv_localstatedir.
4423         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4424         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4425         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4426         * sysdeps/gnu/configure: Regenerated.
4428 2012-06-21  Jeff Law  <law@redhat.com>
4430         [BZ #14277]
4431         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4432         free.  Simplify list management for _LIBC case.
4434 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
4436         [BZ #14273]
4437         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4438         Clear sign bit of 64-bit integer value before comparing against
4439         overflow value.
4441         * sysdeps/mach/configure: Regenerated.
4443 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
4445         [BZ #14278]
4446         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4448 2012-06-21  Jeff Law  <law@redhat.com>
4450         [BZ #13882]
4451         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
4452         uint16_t for elements in the "seen" array to avoid char overflows.
4453         * elf/dl-fini.c (_dl_sort_fini): Likewise.
4454         * elf/dl-open.c (dl_open_worker): Likewise.
4456 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
4458         * scripts/list-sources.sh: Scan PORTS for translations.
4459         * po/libc.pot: Regenerated.
4461 2012-06-21  Andreas Jaeger  <aj@suse.de>
4463         [BZ #12194]
4464         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4465         warning.
4466         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4467         * bits/byteswap-16.h (__bswap_16): Likewise.
4468         * bits/byteswap.h (__bswap_constant_16): Likewise.
4470 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
4472         [BZ #14117]
4473         * sysdeps/i386/fpu_control.h: Removed.
4474         * sysdeps/x86_64/fpu_control.h: Moved to ...
4475         * sysdeps/x86/fpu_control.h: Here.
4477         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4478         (_FPU_SETCW): Likewise.
4480 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
4482         [BZ #14117]
4483         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4484         * sysdeps/x86/fpu/bits/mathinline.h: This.
4485         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4487         [BZ #14050]
4488         [BZ #14117]
4489         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4490         functions if __x86_64__ is defined.
4492 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
4494         * string/endian.h: Add !__ASSEMBLER__ condition for including
4495         conversion interfaces.
4497 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
4499         [BZ #14241]
4500         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4501         of ABS(x) in calculating zero to negative powers other than odd
4502         integers.
4503         * math/libm-test.inc (pow_test): Add more tests.
4505 2012-06-15  Andreas Jaeger  <aj@suse.de>
4507         * manual/contrib.texi (Contributors): Update entry of Liubov
4508         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4509         Machado Filho.
4511 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
4513         * string/string.h: Add __wur to GNU version of strerror_r.
4515 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
4517         [BZ #14229]
4518         * string/Makefile (tests): Add tst-strtok_r.
4519         * string/tst-strtok_r.c: New file.
4520         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4521         RAX_LP/RDX_LP on SAVE_PTR.
4523 2012-06-14  Roland McGrath  <roland@hack.frob.com>
4525         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4527 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
4529         * libm_test.inc (csqrt_test): Allow more spurious underflow
4530         exceptions.
4531         (j0_test): Likewise.
4532         (j1_test): Likewise.
4533         (y0_test): Likewise.
4534         (y1_test): Likewise.
4536 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
4538         * po/Makefile (libc.pot): Use UTF-8 charset.
4540 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
4542         [BZ #14210]
4543         Suppress sign-conversion warning from FD_SET.
4544         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4545         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4546         not unsigned long int.
4547         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4549 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
4551         [BZ #14050]
4552         [BZ #14117]
4553         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4554         __extern_always_inline instead of __extern_inline.
4555         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4556         (__signbit): Likewise.
4557         (__signbitl): Support C++ namespace.
4558         (lrintf): New inline function.
4559         (lrint): Likewise.
4560         (llrintf): Likewise.
4561         (llrint): Likewise.
4562         (fmaxf): Likewise.
4563         (fmax): Likewise.
4564         (fminf): Likewise.
4565         (fmin): Likewise.
4566         (rint): Likewise.
4567         (rintf): Likewise.
4568         (ceil): Likewise.
4569         (ceilf): Likewise.
4570         (floor): Likewise.
4571         (floorf): Likewise.
4572         (nearbyint): Likewise.
4573         (nearbyintf): Likewise.
4575 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
4577         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4578         non-default versions.
4580 2012-06-11  Roland McGrath  <roland@hack.frob.com>
4582         [BZ #14218]
4583         * manual/argp.texi (Argp): Reword argp_parse description slightly.
4585 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
4587         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4588         (FE_UPWARD, FE_DOWNWARD): Don't define.
4589         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4590         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4592         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4593         reading it.
4594         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4595         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4597 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4599         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4600         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4601         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4602         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4604 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4606         [BZ #14117]
4607         * sysdeps/i386/fpu/bits/fenv.h: Removed.
4608         * sysdeps/i386/fpu/Implies: New file.
4609         * sysdeps/x86_64/fpu/Implies: Likewise.
4610         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4611         * sysdeps/x86/fpu/bits/fenv.h: This.
4613         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4614         __SSE_MATH__.
4616 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4618         [BZ #14134]
4619         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4620         character 0xffff that matches the last element of the
4621         conversion table.
4623 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4625         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4626         fmodl commit.
4628 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4630         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4631         values higher than 25.6283.
4633 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4635         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4636         subnormal exponent extraction and add some __builtin_expect.
4637         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4638         Fix for subnormal mantissa calculation.
4640 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
4642         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4643         cpu2 is -1 and errno is not ENOSYS.
4645 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
4647         [BZ #14117]
4648         * sysdeps/i386/i486/bits/string.h: Renamed to ...
4649         * sysdeps/x86/bits/string.h: This.
4650         * sysdeps/x86_64/bits/string.h: Removed.
4652         * sysdeps/i386/i486/bits/string.h: Define inline functions only
4653         if not compiling for x86-64, but compiling for >= i486.
4655         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4656         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4658         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4659         New macro from Linux kernel 3.4.0.
4660         (FP_XSTATE_MAGIC2): Likewise.
4661         (FP_XSTATE_MAGIC2_SIZE): Likewise.
4662         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4663         (struct _fpx_sw_bytes): New struct.
4664         (struct _xsave_hdr): Likewise.
4665         (struct _ymmh_state): Likewise.
4666         (struct _xstate): Likewise.
4668         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4669         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4670         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4671         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4672         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4673         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4675         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4676         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4677         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4678         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4679         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4680         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4682 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4684         [BZ #13743]
4685         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4686         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4687         (sysdep_headers): Include sys/platform/ppc.h.
4688         * sysdeps/powerpc/test-gettimebase.c: Test for
4689         __ppc_get_timebase() to catch future ISA opcode/insn changes.
4690         * manual/Makefile (appendices): Include platform.texi.
4691         * manual/contrib.texi (Contributors): Update @node pointers.
4692         * manual/maint.texi (Maintenance): Likewise.
4693         (Platform): New node.
4694         * manual/platform.texi: New file.  Document the new features.
4696 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4697             Jakub Jelinek  <jakub@redhat.com>
4699         [BZ #14188]
4700         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4701         where __builtin_expect is unavailable.
4703 2012-06-03  David S. Miller  <davem@davemloft.net>
4705         * stdlib/longlong.h: Updated from GCC.
4707 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
4709         [BZ #14042]
4710         * sysdeps/powerpc/powerpc32/mcount.c: New file.
4711         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4712         __mcount_internal.
4713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4714         (GLIBC_2.16): Likewise.
4716 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
4718         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4720 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
4722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4723         (default-abi): New variable.
4724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4725         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4726         variable.
4727         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4728         Likewise.
4729         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4730         Likewise.
4731         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4732         Likewise.
4734         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4735         definition.  Document in comment.
4737 2012-06-01  David S. Miller  <davem@davemloft.net>
4739         * stdlib/longlong.h: Updated from GCC.
4741 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
4743         [BZ #14117]
4744         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4745         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4746         sys/debugreg.h sys/io.h here.
4747         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4748         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4749         sys/io.h.
4750         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4751         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4752         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4753         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4754         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4755         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4757         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4758         Define only if __x86_64__ is defined.
4760 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
4762         [BZ #14048]
4763         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4764         Use int64_t for variable i.
4765         * math/libm-test.inc (fmod_test): Add more tests.
4767         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4768         z computation is not scheduled after fetestexcept.
4769         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4770         Use math_force_eval instead of asm to ensure calculation scheduled
4771         before exception test.
4772         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4773         Ensure a1 + u.d computation is not scheduled after fetestexcept.
4775 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
4777         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4778         computation is not scheduled after fetestexcept.
4780 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
4782         [BZ #14117]
4783         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4784         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4786 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4788         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4789         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4791 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
4793         [BZ #14117]
4794         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4795         <bits/wordsize.h>.
4796         (__WCHAR_MIN): Support __WORDSIZE == 64.
4797         (__WCHAR_MAX): Likewise.
4799         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4800         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4802         [BZ #14183]
4803         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4804         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4806         [BZ #14117]
4807         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4808         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4810         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4811         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4813         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4814         Defined to 1 if __x86_64__ isn't defined.
4815         (_STAT_VER_LINUX_OLD): New.
4816         (st_atime): Remove duplicate.
4817         (st_mtime): Likewise.
4818         (st_ctime): Likewise.
4820 2012-05-31  David S. Miller  <davem@davemloft.net>
4822         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4823         entries.
4825 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
4827         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4828         gen-libm-test.pl.
4830         [BZ #14132]
4831         * elf/dl-reloc.c: Include <_itoa.h>.
4832         (_dl_reloc_bad_type): Remove use of INTUSE.
4833         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4834         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4835         * stdio-common/psiginfo.c (psiginfo): Likewise.
4836         * stdio-common/psignal.c (psignal): Likewise.
4837         * string/strsignal.c (strsignal): Likewise.
4838         * include/signal.h (_sys_siglist): Declare hidden proto.
4839         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
4840         INTVARDEF with libc_hidden_data_def.
4841         * stdio-common/itoa-udigits.c: Likewise.
4842         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4843         (_itoa_lower_digits_internal): Remove declaration.
4844         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4845         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4846         (_sys_sigabbrev_internal): Remove aliases.
4847         (_sys_siglist): Define hidden alias.
4849 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
4851         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4852         bits/sysctl.h.
4854 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
4856         [BZ #14117]
4857         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4858         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4860         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4861         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4862         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4863         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4864         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4865         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4867         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4868         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4869         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4871         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4872         with __addr.
4873         (insw): Likewise.
4874         (insl): Likewise.
4875         (outsb): Likewise.
4876         (outsw): Likewise.
4877         (outsl): Likewise.
4879         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4880         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4881         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4883         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4884         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4885         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4886         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4887         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4888         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4890         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4891         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4893         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4894         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4896         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4897         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4898         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4900         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4901         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4902         to ...
4903         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4905         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4906         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4907         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4909         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4910         for x86-64.
4911         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4913 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
4915         * math/math.h (M_El): Use two more decimal places.
4916         (M_LOG2El): Likewise.
4917         (M_LOG10El): Likewise.
4918         (M_LN2l): Likewise.
4919         (M_LN10l): Likewise.
4920         (M_PIl): Likewise.
4921         (M_PI_2l): Likewise.
4922         (M_PI_4l): Likewise.
4923         (M_1_PIl): Likewise.
4924         (M_2_PIl): Likewise.
4925         (M_2_SQRTPIl): Likewise.
4926         (M_SQRT2l): Likewise.
4927         (M_SQRT1_2l): Likewise.
4929 2012-05-31  David S. Miller  <davem@davemloft.net>
4931         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4932         values between float registers.
4933         * sysdeps/sparc/sparc64/memset.S: Likewise.
4934         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4936 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
4938         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4939         -D_FORTIFY_SOURCE=1.
4940         (CPPFLAGS-tst-longjmp_chk.c): Define.
4941         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4942         (CPPFLAGS-tst-longjmp_chk2.c): Define.
4943         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4944         CFLAGS-tst-wchar-h.c.
4946 2012-05-31  Marek Polacek  <polacek@redhat.com>
4948         [BZ #14132]
4949         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4950         __endmntent_internal): Remove declaration.
4951         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4952         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4953         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4955 2012-05-30  David S. Miller  <davem@davemloft.net>
4957         * sysdeps/sparc/sparc32/soft-fp/q_util.c
4958         (___Q_simulate_exceptions): Use real FP ops rather than writing
4959         into the %fsr.
4960         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4961         Likewise.
4963 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4965         [BZ #14117]
4966         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4967         * sysdeps/x86/bits/xtitypes.h: This.
4969         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4970         * sysdeps/x86/bits/wordsize.h: This.
4972         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4973         * sysdeps/x86/bits/huge_vall.h: This.
4975         * sysdeps/i386/bits/select.h: Removed.
4976         * sysdeps/x86_64/bits/select.h: Renamed to ...
4977         * sysdeps/x86/bits/select.h: This.
4979         * sysdeps/i386/bits/setjmp.h: Removed.
4980         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4981         * sysdeps/x86/bits/setjmp.h: This.
4983         * sysdeps/i386/bits/mathdef.h: Removed.
4984         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4985         * sysdeps/x86/bits/mathdef.h: This.
4987 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
4989         [BZ #14132]
4990         * include/sys/socket.h (__connect_internal)
4991         (__libc_sa_len_internal): Remove declaration.
4992         (__connect, __libc_sa_len): Declare hidden_proto.
4993         (SA_LEN): Remove use of INTUSE.
4994         * socket/connect.c: Add libc_hidden_def.
4995         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4996         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4997         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4998         alias.
4999         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5000         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5001         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5002         of adding _internal alias.
5004 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
5006         [BZ #14117]
5007         * sysdeps/i386/bits/link.h: Removed.
5008         * sysdeps/i386/bits/linkmap.h: Likewise.
5009         * sysdeps/x86_64/bits/link.h: Renamed to ...
5010         * sysdeps/x86/bits/link.h: This.
5011         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5012         * sysdeps/x86/bits/linkmap.h: This.
5014         * sysdeps/i386/bits/endian.h: Removed.
5015         * sysdeps/x86_64/bits/endian.h: Renamed to ...
5016         * sysdeps/x86/bits/endian.h: This.
5018         * sysdeps/i386/bits/byteswap.h: Removed.
5019         * sysdeps/i386/bits/byteswap-16.h: Likewise.
5020         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5021         * sysdeps/x86/bits/byteswap.h: This.
5022         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5023         * sysdeps/x86/bits/byteswap-16.h: This.
5024         * sysdeps/i386/Implies: Add x86.
5025         * sysdeps/x86_64/Implies: Likewise.
5027 2012-05-30  David S. Miller  <davem@davemloft.net>
5029         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5030         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5031         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5032         (FP_TRAPPING_EXCEPTIONS): Define.
5033         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5034         (FP_TRAPPING_EXCEPTIONS): Define.
5035         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5036         subnormals only when inexact has been signalled or underflow
5037         exceptions are enabled.
5038         (_FP_PACK_CANONICAL): Likewise.
5040 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
5042         [BZ #14183]
5043         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5044         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5046 2012-05-30  Richard Henderson  <rth@twiddle.net>
5048         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5049         with #ifndef NOT_IN_libc.
5051         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
5052         marked to avoid plt entry.
5054 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
5056         [BZ #14112]
5057         * Makeconfig (default-abi): New macro.
5058         (abi-includes): Likewise.
5059         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
5060         $(abi-$(default-abi)-lib-soname) for soname if defined.
5061         ($(common-objpfx)gnu/lib-names.stmp): Generate from
5062         abi-variants.
5063         * Makefile (installed-stubs): Likewise.
5064         * include/stubs-biarch.h: Removed.
5065         * scripts/lib-names.awk: Only handle one library at a time.
5066         * scripts/soversions.awk: Remove WORDSIZE support.
5067         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5068         entries.
5069         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5070         Removed.
5071         (syscall-list-default-condition): Likewise.
5072         (syscall-list-default-condition): Likewise.
5073         (syscall-list-includes): Likewise.
5074         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5075         syscall-list-* with abi-*.  Handle undefined abi-variants.
5076         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5077         * sysdeps/unix/sysv/linux/i386/Implies: New file.
5078         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5079         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5080         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5081         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5082         Removed.
5083         (syscall-list-32-options): Likewise.
5084         (syscall-list-32-condition): Likewise.
5085         (syscall-list-64-options): Likewise.
5086         (syscall-list-64-condition): Likewise.
5087         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5088         macro.
5089         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5090         Renamed to ...
5091         (abi-*): This.
5092         (abi-64-ld-soname): New macro.
5093         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5094         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5095         Renamed to ...
5096         (abi-*): This.
5097         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5098         * sysdeps/x86_64/x32/shlib-versions: Likewise.
5100 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
5102         * sysdeps/unix/sysv/linux/kernel-features.h
5103         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5104         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5105         include <kernel-features.h>.
5106         [!__NR_ftruncate64]: Remove conditional code.
5107         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5108         [__NR_ftruncate64]: Make code unconditional.
5109         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5110         * sysdeps/unix/sysv/linux/truncate64.c: Do not
5111         include <kernel-features.h>.
5112         [!__NR_ftruncate64]: Remove conditional code.
5113         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5114         [__NR_ftruncate64]: Make code unconditional.
5115         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5117         include <kernel-features.h>.
5118         [!__NR_ftruncate64]: Remove conditional code.
5119         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5120         [__NR_ftruncate64]: Make code unconditional.
5121         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5123         include <kernel-features.h>.
5124         [!__NR_ftruncate64]: Remove conditional code.
5125         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5126         [__NR_ftruncate64]: Make code unconditional.
5127         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5129         * configure.in (libc_cv_fpie): Weaken to a compile test using
5130         LIBC_TRY_CC_OPTION.
5131         * configure: Regenerated.
5133 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5139         Refreshed.
5140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5146         Refreshed.
5148 2012-05-27  David S. Miller  <davem@davemloft.net>
5150         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5151         (___Q_zero): New.
5152         (__Q_simulate_exceptions): Return void.  Change to simulate
5153         exceptions by writing into the %fsr.
5154         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5155         (__Qp_handle_exceptions): Likewise.
5156         (numbers): Delete.
5157         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5158         __Qp_handle_exceptions.
5159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5160         __Qp_handle_exceptions.
5161         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5162         as unused and give dummy FP_RND_NEAREST initializer.
5163         (FP_INHIBIT_RESULTS): Define.
5164         (___Q_simulate_exceptions): Update declaration.
5165         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5166         formatting.
5167         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5168         as unused and give dummy FP_RND_NEAREST initializer.
5169         (__Qp_handle_exceptions): Update declaration.
5170         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5171         formatting.
5173 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
5175         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5176         the temporary FPU control word.
5177         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5178         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5179         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5180         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5181         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5182         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5183         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5184         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5185         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5186         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5187         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5189 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5191         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5192         fields.
5194 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
5196         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5197         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5198         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5199         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5200         Likewise.
5201         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5202         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5203         Likewise.
5205 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
5207         * po/h.po: Update from translation team.
5209 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
5211         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5213         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5214         handling of denormals.
5215         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5216         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5217         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5218         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5219         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5220         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5221         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5222         Likewise.
5224 2012-05-26  Marek Polacek  <polacek@redhat.com>
5226         [BZ #14152]
5227         * math/libm-test.inc (fma_test): Don't always expect underflow
5228         exception.
5230 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5232         [BZ #12416]
5233         * elf/tst-execstack.c: Include stackinfo.h.
5234         (do_test): Adjust test case to ensure that pthread_getattr_np
5235         behaviour remains the same after marking stack executable.
5237 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
5239         * sysdeps/unix/sysv/linux/kernel-features.h
5240         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5241         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5242         kernel-features.h.
5243         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5244         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5245         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5246         kernel-features.h.
5247         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5248         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5250 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
5252         * configure.in: Define the default includes to being none.
5253         * configure: Regenerated.
5255 2012-05-25  Roland McGrath  <roland@hack.frob.com>
5257         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5258         * sysdeps/x86_64/setjmp.S: Likewise.
5259         * sysdeps/i386/bsd-setjmp.S: Likewise.
5260         * sysdeps/i386/bsd-_setjmp.S: Likewise.
5261         * sysdeps/i386/setjmp.S: Likewise.
5262         * sysdeps/i386/__longjmp.S: Likewise.
5263         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5264         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5266         * include/stap-probe.h: New file.
5267         * configure.in: Handle --enable-systemtap.
5268         * configure: Regenerated.
5269         * config.h.in (USE_STAP_PROBE): New #undef.
5270         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5271         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5272         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5274 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
5276         [BZ #13717]
5277         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5278         to 2.4.0 where earlier.
5279         * sysdeps/unix/sysv/linux/configure: Regenerated.
5280         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5281         <kernel-features.h>.
5282         [__ASSUME_32BITUIDS]: Make code unconditional.
5283         [!__ASSUME_32BITUIDS]: Remove conditional code.
5284         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5285         <kernel-features.h>.
5286         [__ASSUME_32BITUIDS]: Make code unconditional.
5287         [!__ASSUME_32BITUIDS]: Remove conditional code.
5288         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5289         [__ASSUME_32BITUIDS]: Make code unconditional.
5290         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5291         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5292         <kernel-features.h>.
5293         [__ASSUME_32BITUIDS]: Make code unconditional.
5294         [!__ASSUME_32BITUIDS]: Remove conditional code.
5295         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5296         <kernel-features.h>.
5297         [__ASSUME_32BITUIDS]: Make code unconditional.
5298         [!__ASSUME_32BITUIDS]: Remove conditional code.
5299         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5300         <kernel-features.h>.
5301         [__ASSUME_32BITUIDS]: Make code unconditional.
5302         [!__ASSUME_32BITUIDS]: Remove conditional code.
5303         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5304         <kernel-features.h>.
5305         [__ASSUME_32BITUIDS]: Make code unconditional.
5306         [!__ASSUME_32BITUIDS]: Remove conditional code.
5307         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5308         <kernel-features.h>.
5309         [__ASSUME_32BITUIDS]: Make code unconditional.
5310         [!__ASSUME_32BITUIDS]: Remove conditional code.
5311         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5312         <kernel-features.h>.
5313         [__ASSUME_32BITUIDS]: Make code unconditional.
5314         [!__ASSUME_32BITUIDS]: Remove conditional code.
5315         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5316         <kernel-features.h>.
5317         [__ASSUME_32BITUIDS]: Make code unconditional.
5318         [!__ASSUME_32BITUIDS]: Remove conditional code.
5319         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5320         <kernel-features.h>.
5321         [__ASSUME_32BITUIDS]: Make code unconditional.
5322         [!__ASSUME_32BITUIDS]: Remove conditional code.
5323         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5324         <kernel-features.h>.
5325         [__ASSUME_32BITUIDS]: Make code unconditional.
5326         [!__ASSUME_32BITUIDS]: Remove conditional code.
5327         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5328         <kernel-features.h>.
5329         [__ASSUME_32BITUIDS]: Make code unconditional.
5330         [!__ASSUME_32BITUIDS]: Remove conditional code.
5331         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5332         <kernel-features.h>.
5333         [__NR_setresgid] (__setresgid): Do not declare.
5334         [__ASSUME_32BITUIDS]: Make code unconditional.
5335         [!__ASSUME_32BITUIDS]: Remove conditional code.
5336         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5337         <kernel-features.h>.
5338         [__NR_setresuid] (__setresuid): Do not declare.
5339         [__ASSUME_32BITUIDS]: Make code unconditional.
5340         [!__ASSUME_32BITUIDS]: Remove conditional code.
5341         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5342         <kernel-features.h>.
5343         [__ASSUME_32BITUIDS]: Make code unconditional.
5344         [!__ASSUME_32BITUIDS]: Remove conditional code.
5345         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5346         <kernel-features.h>.
5347         [__ASSUME_32BITUIDS]: Make code unconditional.
5348         [!__ASSUME_32BITUIDS]: Remove conditional code.
5349         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5350         <kernel-features.h>.
5351         [__ASSUME_32BITUIDS]: Make code unconditional.
5352         [!__ASSUME_32BITUIDS]: Remove conditional code.
5353         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5354         <kernel-features.h>.
5355         [__ASSUME_32BITUIDS]: Make code unconditional.
5356         [!__ASSUME_32BITUIDS]: Remove conditional code.
5357         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5358         <kernel-features.h>.
5359         [__ASSUME_32BITUIDS]: Make code unconditional.
5360         [!__ASSUME_32BITUIDS]: Remove conditional code.
5361         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5362         <kernel-features.h>.
5363         [__ASSUME_32BITUIDS]: Make code unconditional.
5364         [!__ASSUME_32BITUIDS]: Remove conditional code.
5365         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5366         <kernel-features.h>.
5367         [__ASSUME_32BITUIDS]: Make code unconditional.
5368         [!__ASSUME_32BITUIDS]: Remove conditional code.
5369         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5370         <kernel-features.h>.
5371         [__ASSUME_32BITUIDS]: Make code unconditional.
5372         [!__ASSUME_32BITUIDS]: Remove conditional code.
5373         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5374         <kernel-features.h>.
5375         [__ASSUME_32BITUIDS]: Make code unconditional.
5376         [!__ASSUME_32BITUIDS]: Remove conditional code.
5377         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5378         <kernel-features.h>.
5379         [__ASSUME_32BITUIDS]: Make code unconditional.
5380         [!__ASSUME_32BITUIDS]: Remove conditional code.
5381         * sysdeps/unix/sysv/linux/kernel-features.h
5382         (__ASSUME_SETRESUID_SYSCALL): Remove.
5383         (__ASSUME_SETRESGID_SYSCALL): Likewise.
5384         (__ASSUME_32BITUIDS): Likewise.
5385         (__ASSUME_LDT_WORKS): Likewise.
5386         (__ASSUME_O_DIRECTORY): Likewise.
5387         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5388         architecture but not kernel version.
5389         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5390         (__ASSUME_MMAP2_SYSCALL): Likewise.
5391         (__ASSUME_STAT64_SYSCALL): Likewise.
5392         (__ASSUME_IPC64): Likewise.
5393         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5394         <kernel-features.h>.
5395         [__ASSUME_32BITUIDS]: Make code unconditional.
5396         [!__ASSUME_32BITUIDS]: Remove conditional code.
5397         * sysdeps/unix/sysv/linux/opendir.c: Do not include
5398         <kernel-features.h>.
5399         [__ASSUME_O_DIRECTORY]: Make code unconditional.
5400         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5401         132096]: Remove conditional code.
5402         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5403         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5404         <kernel-features.h>.
5405         [__ASSUME_32BITUIDS]: Make code unconditional.
5406         [!__ASSUME_32BITUIDS]: Remove conditional code.
5407         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5408         <kernel-features.h>.
5409         [__ASSUME_32BITUIDS]: Make code unconditional.
5410         [!__ASSUME_32BITUIDS]: Remove conditional code.
5411         * sysdeps/unix/sysv/linux/setegid.c: Do not include
5412         <kernel-features.h>.
5413         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5414         unconditional.
5415         (__setresgid): Do not declare.
5416         [__ASSUME_32BITUIDS]: Make code unconditional.
5417         [!__ASSUME_32BITUIDS]: Remove conditional code.
5418         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5419         <kernel-features.h>.
5420         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5421         unconditional.
5422         (__setresuid): Do not declare.
5423         [__ASSUME_32BITUIDS]: Make code unconditional.
5424         [!__ASSUME_32BITUIDS]: Remove conditional code.
5425         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5426         <kernel-features.h>.
5427         [__ASSUME_32BITUIDS]: Make code unconditional.
5428         [!__ASSUME_32BITUIDS]: Remove conditional code.
5429         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5430         <kernel-features.h>.
5431         [__ASSUME_32BITUIDS]: Make code unconditional.
5432         [!__ASSUME_32BITUIDS]: Remove conditional code.
5434 2012-05-25  Richard Henderson  <rth@twiddle.net>
5436         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5437         dl_hwcap to ifunc resolver.
5438         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5439         elf_ifunc_invoke.
5440         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5441         dl_hwcap to ifunc resolver.
5442         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5444 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
5446         [BZ #14153]
5447         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5448         for |x| <= 2**-26, not 2**-57.
5449         * math/libm-test.inc (acos_test): Do not allow spurious underflow
5450         exception.
5452 2012-05-24  Jeff Law  <law@redhat.com>
5454         * stdio-common/Makefile (tests): Add bug25.
5455         * stdio-common/bug25.c: New test.
5457 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5459         [BZ #13576]
5460         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5461         multiple of MALLOC_ALIGNMENT in size.
5462         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5464 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
5466         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5467         Require >= 256.
5468         (FILENAME_MAX): Use macro-int-constant.
5469         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
5470         (_IOFBF): Use macro-int-constant.
5471         (_IOLBF): Likewise.
5472         (_IONBF): Likewise.
5473         (SEEK_CUR): Likewise.
5474         (SEEK_END): Likewise.
5475         (SEEK_SET): Likewise.
5476         (TMP_MAX): Likewise.
5477         (EOF): Use macro-int-constant.  Require < 0.
5478         (NULL): Use macro-constant.  Require == 0.
5479         (stdin): Require type to be FILE *.
5480         (stdout): Likewise.
5481         (stderr): Likewise.
5482         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5483         macro-int-constant.
5484         (EXIT_SUCCESS): Likewise.
5485         (NULL): Use macro-constant.  Require == 0.
5486         (RAND_MAX): Use macro-int-constant.
5487         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5488         [C99-based standards] (strtof): Require function.
5489         [C99-based standards] (strtold): Likewise.
5490         [C99-based standards] (strtoll): Likewise.
5491         [C99-based standards] (strtoull): Likewise.
5492         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5493         [ISO || ISO99 || ISO11] (limits.h): Likewise.
5494         [ISO || ISO99 || ISO11] (math.h): Likewise.
5495         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5496         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5497         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5499 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
5501         [BZ #14132]
5502         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5503         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5504         * intl/dgettext.c (DCGETTEXT): Likewise.
5505         * intl/gettext.c (DCGETTEXT): Likewise.
5506         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5507         * posix/regex_internal.h (gettext): Likewise.
5508         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5509         Remove declaration.
5510         * include/argz.h (__argz_count_internal)
5511         (__argz_stringify_internal): Remove declaration.
5512         (__argz_count, __argz_stringify): Declare hidden proto.
5513         * intl/dcgettext.c: Remove use of INTDEF.
5514         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5515         * string/argz-stringify.c: Likewise.
5516         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5517         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5518         Declare hidden proto.
5519         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5520         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5521         Declare hidden proto.
5522         * include/stdio.h (__asprintf_internal): Don't declare.
5523         (__asprintf): Don't define as macro.  Declare hidden proto.
5524         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5525         (__fsetlocking): Declare hidden proto.
5526         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5527         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5528         hidden proto.
5529         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5530         (_IO_setlinebuf): Remove use of INTUSE.
5531         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5532         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5533         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5534         Remove declaration.
5535         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5536         (_IO_do_flush): Remove use of INTUSE.
5537         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5538         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5539         (_IO_adjust_column, _IO_least_wmarker)
5540         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5541         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5542         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5543         (_IO_default_doallocate, _IO_wdefault_doallocate)
5544         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5545         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5546         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5547         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5548         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5549         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5550         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5551         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5552         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5553         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5554         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5555         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5556         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5557         proto.
5558         (_IO_flush_all_internal, _IO_adjust_column_internal)
5559         (_IO_default_uflow_internal, _IO_default_finish_internal)
5560         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5561         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5562         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5563         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5564         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5565         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5566         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5567         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5568         (_IO_file_close_internal, _IO_file_close_it_internal)
5569         (_IO_file_underflow_internal, _IO_file_overflow_internal)
5570         (_IO_file_init_internal, _IO_file_attach_internal)
5571         (_IO_file_fopen_internal, _IO_file_read_internal)
5572         (_IO_file_sync_internal, _IO_file_seek_internal)
5573         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5574         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5575         (_IO_str_underflow_internal, _IO_str_overflow_internal)
5576         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5577         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5578         (_IO_list_all_internal, _IO_link_in_internal)
5579         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5580         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5581         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5582         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5583         (_IO_do_write_internal, _IO_padn_internal)
5584         (_IO_getline_info_internal, _IO_getline_internal)
5585         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5586         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5587         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5588         (_IO_vfscanf_internal, _IO_vfprintf_internal)
5589         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5590         (_IO_init_internal, _IO_un_link_internal): Don't declare.
5591         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5592         with libc_hidden_ver, remove use of INTUSE.
5593         * libio/genops.c: Likewise.
5594         * libio/freopen.c: Likewise.
5595         * libio/freopen64.c: Likewise.
5596         * libio/iofclose.c: Likewise.
5597         * libio/iofdopen.c: Likewise.
5598         * libio/iofflush.c: Likewise.
5599         * libio/iofflush_u.c: Likewise.
5600         * libio/iofgets.c: Likewise.
5601         * libio/iofgets_u.c: Likewise.
5602         * libio/iofopen.c: Likewise.
5603         * libio/iofopncook.c: Likewise.
5604         * libio/iofread.c: Likewise.
5605         * libio/iofread_u.c: Likewise.
5606         * libio/ioftell.c: Likewise.
5607         * libio/iofwrite.c: Likewise.
5608         * libio/iogetline.c: Likewise.
5609         * libio/iogets.c: Likewise.
5610         * libio/iogetwline.c: Likewise.
5611         * libio/iopadn.c: Likewise.
5612         * libio/iopopen.c: Likewise.
5613         * libio/ioseekoff.c: Likewise.
5614         * libio/ioseekpos.c: Likewise.
5615         * libio/iosetbuffer.c: Likewise.
5616         * libio/iosetvbuf.c: Likewise.
5617         * libio/ioungetc.c: Likewise.
5618         * libio/ioungetwc.c: Likewise.
5619         * libio/iovdprintf.c: Likewise.
5620         * libio/iovsprintf.c: Likewise.
5621         * libio/iovsscanf.c: Likewise.
5622         * libio/memstream.c: Likewise.
5623         * libio/obprintf.c: Likewise.
5624         * libio/oldfileops.c: Likewise.
5625         * libio/oldiofclose.c: Likewise.
5626         * libio/oldiofdopen.c: Likewise.
5627         * libio/oldiofopen.c: Likewise.
5628         * libio/oldiopopen.c: Likewise.
5629         * libio/oldstdfiles.c: Likewise.
5630         * libio/putc.c: Likewise.
5631         * libio/setbuf.c: Likewise.
5632         * libio/setlinebuf.c: Likewise.
5633         * libio/stdfiles.c: Likewise.
5634         * libio/strops.c: Likewise.
5635         * libio/vasprintf.c: Likewise.
5636         * libio/vscanf.c: Likewise.
5637         * libio/vsnprintf.c: Likewise.
5638         * libio/vswprintf.c: Likewise.
5639         * libio/wfiledoalloc.c: Likewise.
5640         * libio/wfileops.c: Likewise.
5641         * libio/wgenops.c: Likewise.
5642         * libio/wmemstream.c: Likewise.
5643         * libio/wstrops.c: Likewise.
5644         * libio/__fpurge.c: Likewise.
5645         * libio/__fsetlocking.c: Likewise.
5646         * assert/assert.c: Likewise.
5647         * debug/fgets_chk.c: Likewise.
5648         * debug/fgets_u_chk.c: Likewise.
5649         * debug/fread_chk.c: Likewise.
5650         * debug/fread_u_chk.c: Likewise.
5651         * debug/gets_chk.c: Likewise.
5652         * debug/obprintf_chk.c: Likewise.
5653         * debug/vasprintf_chk.c: Likewise.
5654         * debug/vdprintf_chk.c: Likewise.
5655         * debug/vsnprintf_chk.c: Likewise.
5656         * debug/vsprintf_chk.c: Likewise.
5657         * malloc/mtrace.c: Likewise.
5658         * misc/error.c: Likewise.
5659         * misc/syslog.c: Likewise.
5660         * stdio-common/asprintf.c: Likewise.
5661         * stdio-common/fxprintf.c: Likewise.
5662         * stdio-common/getw.c: Likewise.
5663         * stdio-common/isoc99_fscanf.c: Likewise.
5664         * stdio-common/isoc99_scanf.c: Likewise.
5665         * stdio-common/isoc99_vfscanf.c: Likewise.
5666         * stdio-common/isoc99_vscanf.c: Likewise.
5667         * stdio-common/isoc99_vsscanf.c: Likewise.
5668         * stdio-common/printf-prs.c: Likewise.
5669         * stdio-common/printf_fp.c: Likewise.
5670         * stdio-common/printf_fphex.c: Likewise.
5671         * stdio-common/printf_size.c: Likewise.
5672         * stdio-common/putw.c: Likewise.
5673         * stdio-common/scanf.c: Likewise.
5674         * stdio-common/sprintf.c: Likewise.
5675         * stdio-common/tmpfile.c: Likewise.
5676         * stdio-common/vfprintf.c: Likewise.
5677         * stdio-common/vfscanf.c: Likewise.
5678         * stdlib/strfmon_l.c: Likewise.
5679         * sunrpc/openchild.c: Likewise.
5680         * sunrpc/xdr_stdio.c: Likewise.
5681         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5682         * sysdeps/mach/hurd/tmpfile.c: Likewise.
5684 2012-05-24  Roland McGrath  <roland@hack.frob.com>
5686         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5688         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5689         in the third column, to generate for the shared library an IFUNC
5690         that uses _dl_vdso_vsym.
5691         * Makerules (COMPILE.c, compile-stdin.c): New variables.
5692         * Makeconfig (object-suffixes-noshared): New variable.
5694         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5695         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5696         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5697         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5699         [BZ #14132]
5700         * include/sys/time.h (__gettimeofday): Remove macro.
5701         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5702         * time/gettimeofday.c (__gettimeofday): Remove #undef.
5703         Remove INTDEF.
5704         (__gettimeofday): Add libc_hidden_def.
5705         (gettimeofday): Add libc_hidden_weak.
5706         * sysdeps/mach/gettimeofday.c: Likewise.
5707         * sysdeps/posix/gettimeofday.c: Likewise.
5708         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5709         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5710         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5711         (__gettimeofday_internal): Remove strong_alias.
5712         (__gettimeofday): Add libc_hidden_def.
5713         (gettimeofday): Add libc_hidden_weak.
5714         * sysdeps/unix/syscalls.list (gettimeofday):
5715         Remove __gettimeofday_internal alias.
5717 2012-05-24  Daniel Jacobowitz  <drow@false.org>
5718             H.J. Lu  <hongjiu.lu@intel.com>
5720         [BZ #12495]
5721         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5722         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5723         (largebin_index_32_big): New.
5724         (largebin_index): Use it for 16-byte alignment.
5725         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
5726         correction with front_misalign.
5728 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5732         Likewise.
5733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5734         Likewise.
5735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5736         Likewise.
5737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5738         Likewise.
5739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5740         Likewise.
5741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5742         Likewise.
5743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5744         Likewise.
5745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5746         Likewise.
5747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5748         Likewise.
5749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5750         Likewise.
5751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5752         Likewise.
5753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5754         Likewise.
5756         * scripts/data/c++-types-x32-linux-gnu.data: New file.
5757         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5759 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
5761         [BZ #10846]
5762         [BZ #14036]
5763         * math/libm-test.inc (exp_test): Add test from bug 14036.
5764         (pow_test): Add test from bug 10846.
5766         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5767         and other flags.
5768         (special_function): Do not include flags in test name.
5769         (parse_args): Likewise.
5770         * sysdeps/i386/fpu/libm-test-ulps: Update.
5771         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5772         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5773         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5776         * math/gen-libm-test.pl (%beautify): Add entries for underflow
5777         exceptions.
5778         * math/libm-test.inc ("Philosophy"): Update comment about
5779         exception testing.
5780         (UNDERFLOW_EXCEPTION): New macro.
5781         (UNDERFLOW_EXCEPTION_OK): Likewise.
5782         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5783         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5784         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5785         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5786         (INVALID_EXCEPTION_OK): Update value.
5787         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5788         (OVERFLOW_EXCEPTION_OK): Likewise.
5789         (IGNORE_ZERO_INF_SIGN): Likewise.
5790         (test_exceptions): Handle underflow exceptions.
5791         (acos_test): Update for underflow exception expectations.
5792         (cexp_test): Likewise.
5793         (clog_test): Likewise.
5794         (clog10_test): Likewise.
5795         (csqrt_test): Likewise.
5796         (ctan_test): Likewise.
5797         (ctanh_test): Likewise.
5798         (exp_test): Likewise.
5799         (exp10_test): Likewise.
5800         (exp2_test): Likewise.
5801         (expm1_test): Likewise.
5802         (fma_test): Likewise.
5803         (j0_test): Likewise.
5804         (jn_test): Likewise.
5805         (nexttoward_test): Likewise.
5806         (pow_test): Likewise.
5807         (scalbn_test): Likewise.
5808         (scalbln_test): Likewise.
5809         (tan_test): Likewise.
5810         (y1_test): Likewise.
5811         * sysdeps/i386/fpu/libm-test-ulps: Update.
5812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5814 2012-05-23  David S. Miller  <davem@davemloft.net>
5816         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5817         (__libc_sigaction): Remove unused local variables.
5819 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
5821         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5823 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
5825         mktime: avoid signed integer overflow
5826         * time/mktime.c (__mktime_internal): Do not mishandle the case
5827         where diff == INT_MIN.
5829         mktime: simplify computation of average
5830         * time/mktime.c (ranged_convert): Use new time_t_avg function
5831         instead of rolling our own (probably-slower) code.
5833         mktime: do not assume signed right shift propagates sign bit
5834         * time/mktime.c (isdst_differ): New static function.
5835         (__mktime_internal): No need to normalize tm_isdst now.
5836         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5837         tm_isdst values.
5839         mktime: merge another wrapv change from gnulib
5840         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5841         from some compilers.
5843         mktime: remove incorrect attempt at unusual arithmetics
5844         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5845         The code didn't really work on such machines anyway.
5846         (TYPE_MINIMUM): Assume two's complement.
5847         (twos_complement_arithmetic): Verify that long_int and time_t
5848         are two's complement (or unsigned, in the latter case).
5850         mktime: check signed shifts on long_int and time_t, too
5851         * time/mktime.c (SHR): Check that shifts work as desired
5852         on the types long_int and time_t too, as SHR is used on
5853         such types.
5855         mktime: do not assume 'long' is wide enough
5856         * time/mktime.c (verify): Move decl up.
5857         (long_int): New type.
5858         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5859         to remove assumption in the code that 'long' is wide enough to
5860         store year values.  This assumption is not true on x32 and on
5861         some non-glibc platforms.
5863         mktime: merge wrapv change from gnulib
5864         * time/mktime.c (WRAPV): New macro.
5865         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5866         (guess_time_tm, __mktime_internal): Do not assume that signed
5867         integer overflow wraps around; modern compilers generate code
5868         where this assumption is no longer valid.
5870 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
5872         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5873         Replace "jmp L(pseudo_end)" with "ret".
5874         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5875         Likewise.
5877 2012-05-23  Andreas Jaeger  <aj@suse.de>
5879         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5880         * sysdeps/unix/sysv/linux/poll.c: Remove file.
5882 2012-05-23  Andreas Jaeger  <aj@suse.de>
5883             Maximilian Attems  <max@stro.at>
5885         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5886         New macros.
5888 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
5890         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5891         code so that pseudo_end is just ret and the stack pointer is
5892         correct also for static library in error case.
5894 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
5896         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5897         move to syscalls.list.
5898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5903         * manual/install.texi (Running make install): Do not mention Linux
5904         kernel version for which pt_chown is not needed.
5905         (Linux): Do not mention problems with nscd with 2.0 kernels.
5906         * INSTALL: Regenerated.
5908 2012-05-23  Andreas Jaeger  <aj@suse.de>
5910         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5911         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5912         macro.
5913         * sysdeps/unix/sysv/linux/s390/bits/mman.h
5914         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5915         * sysdeps/unix/sysv/linux/sh/bits/mman.h
5916         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5917         * sysdeps/unix/sysv/linux/i386/bits/mman.h
5918         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5919         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5920         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5921         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5922         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5923         * sysdeps/unix/sysv/linux/bits/in.h
5924         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5926 2012-05-22  Roland McGrath  <roland@hack.frob.com>
5928         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5929         (PREPARE_VERSION): Just use assert instead, it will be elided
5930         under [NDEBUG] anyway.
5932 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5934         * sysdeps/unix/sysv/linux/Makefile: Include
5935         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5936         (sysdep_routines): Remove sysctl.
5937         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5938         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5939         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5940         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5941         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5943 2012-05-22  Andreas Jaeger  <aj@suse.de>
5945         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5946         that pseudo_end is just ret and the stack pointer is correct also
5947         for static library in error case.
5949 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5951         [BZ #14122]
5952         * nss/nsswitch.c (defconfig_entries): New variable.
5953         (__nss_database_lookup): Don't leak defconfig entries.
5954         (nss_parse_service_list): Don't leak on error paths.
5955         (free_database_entries): New function.
5956         (free_defconfig): New function.
5957         (free_mem): Move common code to free_database_entries.
5959 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5961         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5962         Add arch_prctl.
5963         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5965         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5966         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5967         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5968         New macro.
5969         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5970         (INTERNAL_SYSCALL_TYPES): Likewise.
5971         (LOAD_ARGS_TYPES_[1-6]): Likewise.
5972         (LOAD_REGS_TYPES_[1-6]): Likewise.
5973         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5974         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5976 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5978         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5979         copysignl for GLIBC_2_0.
5980         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5981         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5982         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5983         logbl for GLIBC_2_0.
5984         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5985         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5987 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5989         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5990         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
5992         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5993         Use "neg %eax".
5995         * time/mktime.c: Update copyright years.
5997 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5999         mktime: merge comment-quoting-style change from gnulib
6000         * time/mktime.c: Quote 'like this' in comments.
6001         The GNU coding standards suggest that we no longer quote `like this',
6002         as "`" and "'" are typically rendered asymmetrically nowadays.
6003         The typical gnulib style is to quote 'like this' when quoting
6004         code, and "like this" when quoting English.
6006         * time/mktime.c (compile-command): Add "-I.".
6008         mktime: merge mktime-internal.h change from gnulib
6009         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6011         mktime: merge time_r change from gnulib
6012         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6014         mktime: merge DEBUG change from gnulib
6015         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6016         case system <time.h> has a #define.
6018         mktime: merge <sys/types.h> change from gnulib
6019         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6020         since <time.t> is now guaranteed to define time_t.
6022         mktime: merge HAVE_CONFIG_H change from gnulib
6023         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6025 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
6027         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6028         Use "neg %eax".
6030         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6031         __rlim_t cast.
6032         (struct rusage): Use anonymous union to pad each field to
6033         __syscall_slong_t.
6035 2012-05-21  David S. Miller  <davem@davemloft.net>
6037         * Makefules (o-iterator): Remove .s cases.
6038         (compile-command.s): Delete.
6039         (COMPILE.s): Delete.
6040         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6042 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
6044         * configure.in (libc_cv_predef_stack_protector): Only consider
6045         "foobar" and "__stack_chk_fail" lines in libc_undefs.
6046         * configure: Regenerated.
6048 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
6050         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6051         New macro.  Use R*LP on int and pointer.
6052         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
6053         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6054         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
6055         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6057         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6058         [__WORDSIZE_TIME64_COMPAT32] instead of
6059         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6060         (struct utmp): Likewise.
6061         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6062         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6063         Renamed to ...
6064         (__WORDSIZE_TIME64_COMPAT32): This.
6065         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6066         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6067         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6068         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6069         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6070         (__WORDSIZE_TIME64_COMPAT32): New macro.
6072 2012-05-21  Andreas Jaeger  <aj@suse.de>
6074         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6075         only if [SHARED]. Add prototype for __wcschr_ia32.
6077 2012-05-21  Roland McGrath  <roland@hack.frob.com>
6079         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6080         of %rbp unmolested in the jmp_buf while mangling the low bits.
6081         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6082         unmolested high bits of %rbp while demangling the low bits.
6083         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6085 2012-05-21  Andreas Jaeger  <aj@suse.de>
6087         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6088         * sunrpc/svc_simple.c: Use it for registerrpc.
6089         * sunrpc/xcrypt.c: Use it for passwd2des.
6091         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6093 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
6095         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6096         Don't define if [__SYSCALL_WORDSIZE != 32].
6097         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6098         New macro.
6100 2012-05-21  Bruno Haible  <bruno@clisp.org>
6101             Andreas Jaeger  <aj@suse.de>
6103         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6104         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6105         inptr and inend for must_buffer_ch.
6106         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6107         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6108         * stdio-common/Makefile (tests): Remove bug15.
6109         (bug15-ENV): Remove macro.
6110         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6111         anymore.
6113 2012-05-19  Andreas Jaeger  <aj@suse.de>
6114             Roland McGrath  <roland@hack.frob.com>
6116         * manual/contrib.texi: Completely rewritten. It contains now an
6117         alphabetical list of contributors and their contributions.
6119 2012-05-21  Richard Henderson  <rth@twiddle.net>
6121         * misc/getauxval.c (__getauxval): Use unsigned long int.
6122         * misc/sys/auxv.h: Include <sys/cdefs.h>.
6123         (getauxval): Use unsigned long int.
6125 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
6127         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6129 2012-05-21  Roland McGrath  <roland@hack.frob.com>
6131         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6132         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6133         __alignof__ (long double).
6135 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6139 2012-05-20  Richard Henderson  <rth@twiddle.net>
6141         * misc/getauxval.c: New file.
6142         * misc/sys/auxv.h: New file.
6143         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6144         (routines): Add getauxval.
6145         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6146         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6147         * elf/dl-sysdep.c (_dl_auxv): Remove.
6148         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6149         * elf/dl-support.c (_dl_auxv): New variable.
6150         (_dl_aux_init): Initialize it.
6151         * manual/startup.texi (Auxiliary Vector): New node.
6152         * sysdeps/generic/bits/hwcap.h: New file.
6153         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6154         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
6155         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6156         * sysdeps/sparc/sysdep.h: ... here.  Include it.
6157         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6158         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
6159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6160         Update.
6161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6164         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6170 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6174 2012-05-19  David S. Miller  <davem@davemloft.net>
6176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6178 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
6180         [BZ #14123]
6181         * math/s_ccosh.c: Include <float.h>
6182         (__ccosh): Avoid internal overflow calculating sinh and cosh
6183         values before multiplying by sin and cos values.
6184         * math/s_ccoshf.c: Likewise.
6185         * math/s_ccoshl.c: Likewise.
6186         * math/s_csin.c: Likewise.
6187         * math/s_csinf.c: Likewise.
6188         * math/s_csinl.c: Likewise.
6189         * math/s_csinh.c: Likewise.
6190         * math/s_csinhf.c: Likewise.
6191         * math/s_csinhl.c: Likewise.
6192         * math/libm-test.inc (ccos_test): Add more tests.
6193         (ccosh_test): Likewise.
6194         (csin_test): Likewise.
6195         (csinh_test): Likewise.
6196         * sysdeps/i386/fpu/libm-test-ulps: Update.
6197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6199 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6201         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6202         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6204         * sysdeps/x86_64/x32/_itoa.h: Add comment.
6206 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
6208         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6209         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6210         * sysdeps/powerpc/soft-fp/Versions: Likewise.
6211         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6212         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6213         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6214         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6215         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6216         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6217         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6218         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6219         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6220         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6221         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6222         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6223         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6224         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6225         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6226         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6227         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6228         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6229         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6230         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6231         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6232         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6233         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6234         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6235         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6236         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6237         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6238         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6240 2012-05-18  Andreas Jaeger  <aj@suse.de>
6242         * csu/.gitignore: Delete.
6244 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6246         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6247         (timex): Use __syscall_slong_t.
6249 2012-05-18  Andreas Jaeger  <aj@suse.de>
6250             Carlos O'Donell  <carlos_odonell@mentor.com>
6252         * manual/install.texi (Configuring and compiling): Update
6253         description about files modified in the source directory.
6254         * INSTALL: Regenerated.
6256 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6258         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6259         value.  Use "or" to set return value to -1.
6260         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6261         negate return value.
6263 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6265         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6266         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6267         failure if the compiler has Graphite support disabled.
6268         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6269         Likewise.
6270         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6271         CFLAGS-memmove.c): Likewise.
6272         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6273         Likewise.
6275 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6277         * sysdeps/x86_64/x32/_itoa.h: New file.
6279         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6280         getdents system call only if kernel and user dirents have the
6281         same d_ino and d_off.
6283         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6284         LLONG_MAX != LONG_MAX.
6285         (_itoa_word): Use _ITOA_WORD_TYPE on value.
6286         (_fitoa_word): Likewise.
6288         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6289         years.
6290         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6291         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6292         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6294         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6295         include <bits/wordsize.h>.  Check __x86_64__ instead of
6296         __WORDSIZE.
6297         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6298         if __x86_64__ is defined.  Use anonymous union on fpstate.
6300         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6301         anonymous union.
6303 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
6305         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6306         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6307         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6308         Refer to _rtld_local_ro instead of _rtld_global_ro.
6309         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6310         Likewise.
6311         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6312         Likewise.
6313         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6314         Likewise.
6315         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6316         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6317         of _rtld_global, and rtld_progname instead of _dl_argv[0].
6319         * sysdeps/powerpc/powerpc32/dl-machine.c
6320         (__elf_machine_runtime_setup) [PROF]: Don't reference
6321         _dl_prof_resolve.
6323 2012-05-18  Andreas Jaeger  <aj@suse.de>
6325         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6326         function only available for GCCs before 3.4 since GCC 3.4
6327         introduced a builtin.
6328         (lrint): Likewise.
6329         (llrintf): Likewise.
6330         (llrint): Likewise.
6331         (fmaxf): Likewise.
6332         (fmax): Likewise.
6333         (fminf): Likewise.
6334         (fmin): Likewise.
6335         (rint): Likewise.
6336         (rintf): Likewise.
6337         (nearbyint): Likewise.
6338         (nearbyintf): Likewise.
6339         (ceil): Likewise.
6340         (ceilf): Likewise.
6341         (floor): Likewise.
6342         (floorf): Likewise.
6344 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
6346         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6347         on both fields and cast pointer to __syscall_ulong_t.
6349         * bits/types.h (__fsword_t): New type.
6350         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6351         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6352         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6353         (__FSWORD_T_TYPE): Likewise.
6354         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6355         (__FSWORD_T_TYPE): Likewise.
6356         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6357         (__FSWORD_T_TYPE): Likewise.
6358         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6359         (__FSWORD_T_TYPE): Likewise.
6360         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6361         __SWORD_TYPE with __fsword_t.
6362         (statfs64): Likewise.
6364 2012-05-17  David S. Miller  <davem@davemloft.net>
6366         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6368 2012-05-17  Andreas Jaeger  <aj@suse.de>
6370         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6371         warning.
6373 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
6375         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6377 2012-05-17  Andreas Jaeger  <aj@suse.de>
6379         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6380         when it is used.
6382 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
6384         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6386 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
6388         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6389         * sysdeps/x86_64/tst-mallocalign1.c: New file.
6391 2012-05-17  Andreas Jaeger  <aj@suse.de>
6392             Carlos O'Donell  <carlos_odonell@mentor.com>
6394         [BZ #14059]
6395         * sysdeps/x86_64/multiarch/init-arch.h
6396         (bit_YMM_Usable): Rename to...
6397         (bit_AVX_Usable): ... this.
6398         (bit_FMA4_Usable): New macro.
6399         (bit_XMM_state): New macro.
6400         (bit_YMM_state): New macro.
6401         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6402         [__ASSEMBLER__] (index_AVX_Usable): ... this.
6403         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6404         (CPUID_OSXSAVE): New macro.
6405         (CPUID_AVX): New macro.
6406         (CPUID_FMA4): New macro.
6407         (index_YMM_Usable): Rename to...
6408         (index_AVX_Usable): ... this.
6409         (HAS_AVX): Use HAS_ARCH_FEATURE.
6410         (HAS_FMA4): Likewise.
6411         (HAS_YMM_USABLE): Remove.
6412         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6413         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6414         are present.
6415         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6416         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6417         * sysdeps/x86_64/multiarch/Makefile: Likewise.
6418         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6419         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6421 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
6423         * math/libm-test.c: Support platforms without multiple rounding modes.
6424         * math/bug-nextafter.c: Support platforms without FP exceptions.
6425         * math/bug-nexttoward.c: Likewise.
6426         * math/test-fenv.c: Likewise.
6427         * math/test-misc.c: Likewise.
6428         * stdlib/bug-getcontext.c: Likewise.
6430 2012-05-17  Andreas Jaeger  <aj@suse.de>
6432         * manual/examples/search.c (critter_cmp): Change signature to
6433         avoid warnings.
6434         * manual/string.texi (Collation Functions): Likewise.
6436 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6438         * bits/types.h: Fold copyright years.
6439         * bits/typesizes.h: Likewise.
6440         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6441         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6442         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6443         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6444         * time/time.h: Likewise.
6446 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
6448         [BZ #208]
6449         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6450         in instead of returning them.  Return void.
6451         (__libc_mallinfo): Accumulate over all arenas.
6452         (__malloc_stats): Adjust for change in int_mallinfo interface.
6454 2012-05-16  Roland McGrath  <roland@hack.frob.com>
6456         [BZ #10375]
6457         * configure.in (NM): Add AC_CHECK_TOOL for it.
6458         (libc_extra_cflags): New substituted variable.
6459         Check for -fstack-protector being used implicitly.
6460         * configure: Regenerated.
6461         * config.make.in (config-extra-cflags): New variable,
6462         gets @libc_extra_cflags@.
6463         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6465         [BZ #10375]
6466         * configure.in: Check for _FORTIFY_SOURCE being predefined.
6467         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6468         * configure: Regenerated.
6469         * config.make.in (CPPUNDEFS): New substituted variable.
6470         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6471         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6472         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6474 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6476         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6477         (mq_attr): Use __syscall_slong_t.
6479 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6481         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6482         Check __x86_64__ instead of __WORDSIZE.
6483         (_STAT_VER_LINUX): Likewise.
6484         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
6485         __syscall_ulong_t and __syscall_slong_t.
6486         (stat64): Likewise.
6488 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6490         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6492 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6494         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6496 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6498         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6499         __syscall_ulong_t.
6501         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6502         include <bits/wordsize.h>.  Check __x86_64__ instead of
6503         __WORDSIZE.
6504         (greg_t): Use "__extension__ long long int" if __x86_64__ is
6505         defined.
6506         (mcontext_t): Replace "unsigned long" with "unsigned long long".
6508         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6509         include <bits/wordsize.h>.  Check __x86_64__ instead of
6510         __WORDSIZE.
6511         (user_regs_struct): Use "__extension__ unsigned long long"
6512         instead of "unsigned long" if __x86_64__ is defined.
6513         (user): Likewise.  Pad after pointer field if __ILP32__ is
6514         defined.
6516 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
6518         * configure.in (makeinfo): Require version 4.5 or later.  Allow
6519         versions 5 to 9.
6520         * configure: Regenerated.
6521         * manual/install.texi (texinfo): Increase version requirement to
6522         4.5 or later.
6523         * INSTALL: Regenerated.
6525         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6527 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6529         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6531         * sysdeps/x86_64/x32/ffs.c: New file.
6533         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6534         __syscall_ulong_t.
6535         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6536         defined.  Use __syscall_ulong_t.
6537         (shminfo): Use __syscall_ulong_t.
6538         (shm_info): Likewise.
6540         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6541         __syscall_ulong_t.
6543         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6544         <bits/wordsize.h>.
6545         (msgqnum_t): Use __syscall_ulong_t.
6546         (msglen_t): Likewise.
6547         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
6548         __syscall_ulong_t.
6550         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6551         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
6553         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6555         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6556         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6558         * sysvipc/sys/msg.h (msgbuf): Replace long int with
6559         __syscall_slong_t.
6561         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6562         include <bits/wordsize.h>.  Check __x86_64__ instead of
6563         __WORDSIZE.
6565         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6566         "unsigned long long int" if __x86_64__ is defined.
6567         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6569         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6570         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
6571         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6573         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6574         <stdint.h>.
6575         (GET_PC): Cast to uintptr_t first.
6576         (GET_FRAME): Likewise.
6577         (GET_STACK): Likewise.
6579         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6580         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6581         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6582         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6583         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6584         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6585         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6586         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6587         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6588         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6589         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6590         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6591         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6592         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6593         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6594         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6595         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6596         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6597         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6598         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6599         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6600         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6601         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6602         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6603         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6604         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6605         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6606         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6607         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6609 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
6611         * Makerules (+depfiles): Also collect depfiles from .oS in
6612         $(extra-objs).
6613         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6614         .oS, $(libnldbl-routines)).
6616         * Makerules (native-compile-mkdep-flags): Define.
6617         * sunrpc/Makefile (extra-objs): Add $(addprefix
6618         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6619         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6620         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
6621         calling $(make-target-directory).
6623 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6625         * bits/types.h (__snseconds_t): Removed.
6626         * time/time.h (struct timespec): Replace __snseconds_t with
6627         __syscall_slong_t.
6628         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6629         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6630         Likewise.
6631         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6632         (__SNSECONDS_T_TYPE): Likewise.
6633         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6634         (__SNSECONDS_T_TYPE): Likewise.
6635         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6636         (__SNSECONDS_T_TYPE): Likewise.
6638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6640         * sysdeps/mach/hurd/bits/typesizes.h
6641         (__SYSCALL_SLONG_TYPE): New macro.
6642         (__SYSCALL_ULONG_TYPE): Likewise.
6644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6646         * bits/types.h (__syscall_slong_t): New type.
6647         (__syscall_ulong_t): Likewise.
6649         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6650         (__SYSCALL_ULONG_TYPE): Likewise.
6651         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6652         (__SYSCALL_SLONG_TYPE): Likewise.
6653         (__SYSCALL_ULONG_TYPE): Likewise.
6654         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6655         (__SYSCALL_SLONG_TYPE): Likewise.
6656         (__SYSCALL_ULONG_TYPE): Likewise.
6657         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6658         (__SYSCALL_SLONG_TYPE): Likewise.
6659         (__SYSCALL_ULONG_TYPE): Likewise.
6661 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6663         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6664         Add sigaltstack-offsets.sym.
6665         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6666         <sigaltstack-offsets.h>.
6667         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
6668         longjmp_msg pointer.
6669         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
6670         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6671         signal stack.
6672         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6674 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
6676         * elf/stackguard-macros.h: Remove file.
6677         * sysdeps/generic/stackguard-macros.h: New file.
6678         * sysdeps/i386/stackguard-macros.h: Likewise.
6679         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6680         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6681         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6682         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6683         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6684         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6685         * sysdeps/x86_64/stackguard-macros.h: Likewise.
6686         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6687         <elf/stackguard-macros.h>.
6689         [BZ #14109]
6690         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6691         __aligned__ in attribute.
6692         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6693         (gregset_t): Likewise.
6695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6697         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6698         * sysdeps/x86_64/64/Implies-after: Here.  New file.
6699         * sysdeps/x86_64/x32/Implies-after: New file.
6701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6703         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6704         and access return value for _dl_profile_fixup.  Use R10_LP to
6705         load frame size.
6707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6709         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6713         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6714         * sysdeps/x86_64/x32/sysdep.h: New file.
6716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6718         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6719         * sysdeps/x86_64/setjmp.S: Likewise.
6721 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6723         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6724         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6725         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6726         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6727         remove unused global constant.
6729 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
6731         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6732         include of <not-cancel.h>.
6734 2012-05-15  Roland McGrath  <roland@hack.frob.com>
6736         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6738 2012-05-15  Jeff Law  <law@redhat.com>
6739             Andreas Jaeger  <aj@suse.de>
6741         [BZ #13594]
6742         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6743         out from...
6744         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6745         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6746         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6747         code changing __hst_map_handle.map.
6749 2012-05-15  Roland McGrath  <roland@hack.frob.com>
6751         * configure.in (sysnames): Look for Implies-before and Implies-after
6752         files.
6753         * configure: Regenerated.
6755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6757         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6758         8-byte data alignment with LP_SIZE alignment.
6760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6762         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6763         into R10_LP.
6765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6767         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6771         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6772         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6773         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6774         Likewise.
6775         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6779         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6780         (stackinfo_sub_sp): Likewise.
6782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6784         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6785         RAX_LP.
6787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6789         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6790         into R*_LP.
6792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6794         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6795         sizes into R*_LP.
6797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6799         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6803         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6804         into R11_LP and load __x86_64_shared_cache_size_half into
6805         R8_LP.
6807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6809         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6810         R8_LP.
6812 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6814         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6815         logb for POWER7.
6816         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6817         logbf for POWER7.
6818         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6819         logbl for POWER7.
6820         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6821         powerpc32/power7/fpu/s_logb.c via #include.
6822         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6823         powerpc32/power7/fpu/s_logbf.c via #include.
6824         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6825         powerpc32/power7/fpu/s_logbl.c via #include.
6827 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
6829         * README.libm: Remove file.
6831 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6833         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6834         count for x32.  Use R*_LP and omit operand-size suffix.
6836 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6838         * shlib-versions: Move x86_64-.*-linux.* entries to ...
6839         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
6840         * sysdeps/x86_64/x32/shlib-versions: New file.
6842 2012-05-14  Roland McGrath  <roland@hack.frob.com>
6844         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6845         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6846         Use _dl_fatal_printf instead.
6848 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
6850         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6851         set if not set by the user.  Do not allow for being unset.
6852         * sysdeps/unix/sysv/linux/configure: Regenerated.
6854 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6856         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6857         the `q' suffix from lea and replace .quad with ASM_ADDR.
6859 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6861         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6862         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
6863         instead of $17.
6864         (PTR_DEMANGLE): Likewise.
6866 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6868         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6869         (LP_OP): Likewise.
6870         (ASM_ADDR): Likewise.
6871         (RAX_LP): Likewise.
6872         (RBP_LP): Likewise.
6873         (RBX_LP): Likewise.
6874         (RCX_LP): Likewise.
6875         (RDI_LP): Likewise.
6876         (RSI_LP): Likewise.
6877         (RSP_LP): Likewise.
6878         (R8_LP): Likewise.
6879         (R9_LP): Likewise.
6880         (R10_LP): Likewise.
6881         (R10_LP): Likewise.
6882         (R11_LP): Likewise.
6883         (R12_LP): Likewise.
6884         (R13_LP): Likewise.
6885         (R14_LP): Likewise.
6886         (R15_LP): Likewise.
6888 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6890         * sysdeps/x86_64/x32/dl-machine.h: New file.
6892 2012-05-14  Andreas Jaeger  <aj@suse.de>
6894         * manual/Makefile (subdir): Remove export of subdir.
6895         (all): Remove target.
6896         (.PHONY): Remove all from list.
6897         (mkinstalldirs): Remove.
6898         (.PHONY): Remove installdirs from list.
6899         ($(inst_infodir)/libc.info): Use make-target-directory.
6900         (installdirs): Remove.
6901         (subdir_%): Remove.
6902         (glibc-targets): Remove.
6903         (lib): Remove.
6904         (stubs): Remove.
6905         ($(objpfx)stubs ../po/manual.pot): Remove.
6906         ($(objpfx)stamp%): Remove.
6907         (make-target-directory): Remove.
6908         (subdir_install): Remove.
6909         (routines): Remove.
6910         (aux): Remove.
6911         (sources): Remove.
6912         (objects): Remove.
6913         (headers): Remove.
6915         [BZ #13750]
6916         * manual/.gitignore: Remove, it's not needed anymore.
6917         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6918         all files in it.
6919         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6920         directory.
6921         (texis): Renamed to $(objpfx)texis.
6922         (texis-path): New, contains path to generated files.
6923         (chapters.%): Use texis-path for complete path, add extra argument
6924         libc-texinfo.sh.
6925         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6926         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6927         (summary,texi, stamp-summary): Use complete path of
6928         files. Generate files in build dir.
6929         (dir-add.texi): Build in build dir.
6930         (libm-err.texi,stamp-libm-err): Likewise.
6931         (version.texi, stamp-version): Likewise.
6932         (.%c.texi): Likewise.
6933         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6934         (mostlyclean): Remove target.
6935         (realclean): Remove target.
6936         (generated): Add new variable with contents from mostlyclean and
6937         realclean, remove entries duplicated in common-mostlyclean, add
6938         stamp-libm-err and stamp-version.
6939         (generated-dirs): Add libc directory.
6940         ($(inst_infodir)/libc.info): Install files from build dir.
6942         * manual/install.texi (Configuring and compiling): Adjust since
6943         the info files are not part of the tar ball anymore.
6945 2012-05-14  Andreas Jaeger  <aj@suse.de>
6947         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6948         variable.
6950 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
6952         [BZ #13717]
6953         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6954         to 2.2.0 where earlier.
6955         * sysdeps/unix/sysv/linux/configure: Regenerated.
6956         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6957         Remove conditional code.
6958         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6959         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6960         Remove conditional code.
6961         [!__NR_lchown]: Likewise.
6962         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6963         [__NR_lchown]: Likewise.
6964         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6965         comment referencing __ASSUME_LCHOWN_SYSCALL.
6966         * sysdeps/unix/sysv/linux/i386/sigaction.c
6967         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6968         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6969         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6970         Remove conditional code.
6971         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6972         (__protocol_available): Remove #if 0 code.
6973         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6974         conditional code.
6975         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6976         * sysdeps/unix/sysv/linux/kernel-features.h
6977         (__ASSUME_GETCWD_SYSCALL): Don't define.
6978         (__ASSUME_REALTIME_SIGNALS): Likewise.
6979         (__ASSUME_PREAD_SYSCALL): Likewise.
6980         (__ASSUME_PWRITE_SYSCALL): Likewise.
6981         (__ASSUME_POLL_SYSCALL): Likewise.
6982         (__ASSUME_LCHOWN_SYSCALL): Likewise.
6983         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6984         non-SPARC.
6985         (__ASSUME_SIOCGIFNAME): Don't define.
6986         (__ASSUME_MSG_NOSIGNAL): Likewise.
6987         (__ASSUME_SENDFILE): Define unconditionally.
6988         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6989         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6990         conditional code.
6991         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6992         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6993         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6994         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6995         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6996         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6997         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6999         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7000         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7002         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7003         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7005         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7006         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7008         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7009         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7011         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7012         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7014         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7015         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7017         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7018         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7020         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7021         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7022         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7023         Remove conditional code.
7024         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7025         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7026         Remove conditional code.
7027         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7028         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7029         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7030         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7031         Remove conditional code.
7032         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7033         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7034         Remove conditional code.
7035         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7036         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7037         Remove conditional code.
7038         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7039         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7040         Remove conditional code.
7041         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7042         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7043         Remove conditional code.
7044         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7045         * sysdeps/unix/sysv/linux/sh/pwrite64.c
7046         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7047         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7048         * sysdeps/unix/sysv/linux/sigaction.c
7049         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7050         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7051         * sysdeps/unix/sysv/linux/sigpending.c
7052         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7053         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7054         * sysdeps/unix/sysv/linux/sigprocmask.c
7055         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7056         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7057         * sysdeps/unix/sysv/linux/sigsuspend.c
7058         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7059         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7060         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7061         (__libc_missing_rt_sigs): Remove.
7062         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7063         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7064         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7065         Remove conditional code.
7066         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7067         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7068         return 1.
7069         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7070         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7071         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7072         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7074 2012-05-14  Andreas Jaeger  <aj@suse.de>
7076         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7077         it's not used in glibc.
7078         (__coshm1): Likewise.
7079         (__acosh1p): Likewise.
7080         (__sgn): Likewise.
7082         * manual/string.texi (Copying and Concatenation): Add missing
7083         variable in concat example.
7084         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7086 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
7088         [BZ #14103]
7089         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7090         __builtin_clzl with __builtin_clzll.
7092 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
7094         [BZ #14104]
7095         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7096         libc_freeres_ptr.
7098 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7100         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7101         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7102         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7103         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7105 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
7107         * NEWS: Update ia64 info.
7109 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
7111         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7112         used as bcopy.
7114 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
7116         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7117         * sysdeps/unix/syscalls.list (dup3): Likewise.
7118         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7119         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7121 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
7123         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7124         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7126 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
7128         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7129         thread pointer.
7130         (TLS_IE): Use mov/add instead of movq/addq to load thread
7131         pointer.
7132         (TLS_GD_PREFIX): New.
7133         (TLS_GD): Use it.
7135 2012-05-11  David S. Miller  <davem@davemloft.net>
7137         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7138         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7139         (_FPU_SETCW): Likewise.
7141 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
7143         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7144         is 32-byte aligned.
7146 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
7148         [BZ #11837]
7149         * iconvdata/gb18030.c: Update tables.
7150         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
7151         characters specially.
7152         (BODY for TO_LOOP): Add encoding of missing ranges.
7154 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
7156         [BZ #13673]
7157         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7158         * sysdeps/mach/hurd/dup3.c: Likewise.
7159         * sysdeps/mach/hurd/readlinkat.c: Likewise.
7160         * sysdeps/powerpc/memmove.c:: Likewise.
7162 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
7164         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7165         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7167 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
7169         * elf/elf.h (R_X86_64_RELATIVE64): New.
7170         (R_X86_64_NUM): Updated.
7171         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7172         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
7173         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7174         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7175         tst-quad1pie tst-quad2pie
7176         (modules-names): Add tst-quadmod1 tst-quadmod2.
7177         ($(objpfx)tst-quad1): New dependency.
7178         ($(objpfx)tst-quad2): Likewise.
7179         ($(objpfx)tst-quad1pie): Likewise.
7180         ($(objpfx)tst-quad2pie): Likewise.
7181         * sysdeps/x86_64/tst-quad1.c: New file.
7182         * sysdeps/x86_64/tst-quad1pie.c: New file.
7183         * sysdeps/x86_64/tst-quad2.c: Likewise.
7184         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7185         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7186         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7187         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7188         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7190 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7192         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7193         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7194         * streams/stropts.h (t_scalar_t): Define type.
7196         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7197         (_PATH_PRESERVE): Set to "/var/lib".
7198         (_PATH_RWHODIR): Set to "/var/spool/rwho".
7200         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7201         instead of int.
7203         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7204         if __dir_mkfile succeeded.
7206         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7207         checking for _hurd_dtablesize.  Unlock it right after having
7208         finished _hurd_dtable allocation.
7210 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7212         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7213         * sysdeps/mach/hurd/configure: Regenerated.
7214         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7215         special-casing to...
7216         * sysdeps/gnu/configure.in: ... this new file.
7217         * sysdeps/unix/sysv/linux/configure: Regenerated.
7218         * sysdeps/gnu/configure: New generated file.
7220         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7221         for Linux: use nsec instead of usec, as well as:
7222         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7223         members of type struct timespec.
7224         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7225         New macros.
7226         (struct stat64): Likewise.
7227         (_STATBUF_ST_NSEC): New macro.
7228         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7230         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7231         __strtoul_internal rather than strtoul.
7233 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7235         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7236         and reject them.
7238 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7240         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7241         which preserves existing values.
7242         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7244 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7246         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7247         TIMEOUT values.  Return EINVAL for NFDS values either negative or
7248         greater than FD_SETSIZE.
7250 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7252         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7253         allocated, call __vm_protect to finish enabling the existing space, and
7254         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7255         allocate the remainder.
7257 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7259         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7260         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
7262 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7264         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7265         sysdeps/mach/hurd/readlink.c.
7267         * posix/tst-sysconf.c (posix_options): Only use
7268         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7269         _POSIX_SYNCHRONIZED_IO when they are defined
7270         * sysdeps/mach/hurd/bits/posix_opt.h:
7271         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7272         (_XOPEN_REALTIME): Undefine macro.
7273         (_XOPEN_REALTIME_THREADS): Undefine macro.
7274         (_XOPEN_SHM): Undefine macro.
7275         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7276         macro to -1.
7277         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7278         macro to -1.
7279         (_POSIX_ASYNC_IO): Undefine macro.
7280         (_POSIX_PRIORITIZED_IO): Undefine macro.
7281         (_POSIX_SPIN_LOCKS): Define macro to -1.
7283         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7284         SA_NODEFER, SA_RESETHAND.
7285         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7286         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7287         F_DUPFD_CLOEXEC.
7289 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7291         * elf/Makefile (pldd-modules): Define unconditionally.
7293 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7295         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7297 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7299         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7300         Return ENOENT when name is empty.
7301         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7303 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7305         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7307         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7309 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7311         Fix mlock in all cases except non-readable pages.
7312         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7313         instead of VM_PROT_ALL as parameter to __vm_wire function.
7315         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7316         (__mkdir): When path is `/', just fail with EEXIST.
7317         * sysdeps/mach/hurd/mkdirat.c: Likewise.
7319 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7321         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7322         <sys/uio.h> (for writev).
7323         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7324         and <sys/param.h> (for MIN).
7326 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7328         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7329         REQUESTED_TIME.  Properly set the remaining time and return EINTR
7330         if interrupted.
7332 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7334         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7335         Depend on against $(link-rpcuserlibs).
7337 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7339         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7340         (__libc_stack_end): Do not use attribute_relro.
7341         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7342         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
7343         to libthread-provided value.
7344         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7345         attribute_relro.
7347 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7349         [BZ #3748]
7350         * bits/libc-lock.h (__libc_once_get): New macro.
7351         * sysdeps/mach/bits/libc-lock.h: Likewise.
7352         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7353         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7354         instead of using implementation details.
7356         * libio/fileops.c: Unconditionally include <kernel-features.h>.
7357         * libio/freopen.c: Likewise.
7358         * libio/freopen64.c: Likewise.
7359         * misc/syslog.c: Likewise.
7360         * nscd/connections.c: Likewise.
7361         * nscd/netgroupcache.c: Likewise.
7362         * sysdeps/posix/getcwd.c: Likewise.
7364 2012-05-10  Roland McGrath  <roland@hack.frob.com>
7366         * math/w_ilogbf.c: Add #include <limits.h>.
7368 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7370         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
7371         path instead of returning without unlocking.
7373         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7374         immediate-write ioctls.
7375         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7377 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7379         * sysdeps/mach/hurd/i386/init-first.c (init): Use
7380         __builtin_frame_address instead of making assumptions about the
7381         location of the return address relative to DATA.  Force early load of
7382         the return address.
7383         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7384         __builtin_frame_address.
7386         dup3 for GNU Hurd.
7387         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7388         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
7389         implement dup3 and do some further code clean-ups.
7390         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7391         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7393 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7395         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7397         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7398         HURD_CRITICAL_END around holding _hurd_dtable_lock.
7399         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7400         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7401         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7402         d->port.lock.
7404         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7405         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
7406         when handler == SIG_ERR, not when handler != SIG_ERR.
7408 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7410         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7411         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7412         definitions.
7414         accept4 for GNU Hurd.
7415         * include/sys/socket.h (__libc_accept4): New prototype.
7416         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
7417         to implement __libc_accept4.
7418         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7419         __libc_accept4.
7420         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7422         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7423         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7424         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7425         signal-defines.sym.
7427 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7429         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7431 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7433         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7434         assertion on O_CLOEXEC flag.
7435         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7436         * hurd/intern-fd.c: Likewise.
7437         * hurd/port2fd.c: Likewise.
7439 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7441         [BZ #3906]
7442         * bits/in.h (IPV6_PKTINFO): Define new macro.
7443         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7445 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7447         [BZ #13954]
7448         [BZ #13955]
7449         [BZ #13956]
7450         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7451         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7452         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7453         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7454         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7455         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7456         * math/libm-test.inc (logb_test) : Additional logb tests.
7458 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
7459             Andreas Jaeger  <aj@suse.de>
7461         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7462         * configure: Regenerated.
7463         * config.h.in (LINK_OBSOLETE_RPC): New macro.
7464         * config.make.in (link-obsolete-rpc): New substituted variable.
7465         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7466         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7467         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7468         (shared-only-routines): Don't set it under [link-obsolete-rpc],
7469         so that libc.a contains the symbols.
7470         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7471         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7472         * sunrpc/auth_none.c: Likewise.
7473         * sunrpc/auth_unix.c: Likewise.
7474         * sunrpc/authdes_prot.c: Likewise.
7475         * sunrpc/authuxprot.c: Likewise.
7476         * sunrpc/clnt_gen.c: Likewise.
7477         * sunrpc/clnt_perr.c: Likewise.
7478         * sunrpc/clnt_raw.c: Likewise.
7479         * sunrpc/clnt_simp.c: Likewise.
7480         * sunrpc/clnt_tcp.c: Likewise.
7481         * sunrpc/clnt_udp.c: Likewise.
7482         * sunrpc/clnt_unix.c: Likewise.
7483         * sunrpc/des_crypt.c: Likewise.
7484         * sunrpc/des_soft.c: Likewise.
7485         * sunrpc/get_myaddr.c: Likewise.
7486         * sunrpc/key_call.c: Likewise.
7487         * sunrpc/key_prot.c: Likewise.
7488         * sunrpc/netname.c: Likewise.
7489         * sunrpc/pm_getmaps.c: Likewise.
7490         * sunrpc/pm_getport.c: Likewise.
7491         * sunrpc/pmap_clnt.c: Likewise.
7492         * sunrpc/pmap_prot.c: Likewise.
7493         * sunrpc/pmap_prot2.c: Likewise.
7494         * sunrpc/pmap_rmt.c: Likewise.
7495         * sunrpc/publickey.c: Likewise.
7496         * sunrpc/rpc_cmsg.c: Likewise.
7497         * sunrpc/rpc_common.c: Likewise.
7498         * sunrpc/rpc_dtable.c: Likewise.
7499         * sunrpc/rpc_prot.c: Likewise.
7500         * sunrpc/rpc_thread.c: Likewise.
7501         * sunrpc/rtime.c: Likewise.
7502         * sunrpc/svc.c: Likewise.
7503         * sunrpc/svc_auth.c: Likewise.
7504         * sunrpc/svc_raw.c: Likewise.
7505         * sunrpc/svc_run.c: Likewise.
7506         * sunrpc/svc_tcp.c: Likewise.
7507         * sunrpc/svc_udp.c: Likewise.
7508         * sunrpc/svc_unix.c: Likewise.
7509         * sunrpc/svcauth_des.c: Likewise.
7510         * sunrpc/xcrypt.c: Likewise.
7511         * sunrpc/xdr.c: Likewise.
7512         * sunrpc/xdr_array.c: Likewise.
7513         * sunrpc/xdr_float.c: Likewise.
7514         * sunrpc/xdr_intXX_t.c: Likewise.
7515         * sunrpc/xdr_mem.c: Likewise.
7516         * sunrpc/xdr_rec.c: Likewise.
7517         * sunrpc/xdr_ref.c: Likewise.
7518         * sunrpc/xdr_sizeof.c: Likewise.
7519         * sunrpc/xdr_stdio.c: Likewise.
7521 2012-05-10  Roland McGrath  <roland@hack.frob.com>
7523         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7524         change.  Update copyright years.
7526 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
7528         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7530 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
7531             Joseph Myers  <joseph@codesourcery.com>
7532             Paul Pluzhnikov  <ppluzhnikov@google.com>
7534         [BZ #14012]
7535         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7536         requiring rpcgen.
7537         [cross-compiling] (extra-libs): Likewise.
7538         [cross-compiling] (extra-libs-others): Likewise.
7539         [cross-compiling] (librpcsvc-routines): Likewise.
7540         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7541         [cross-compiling] (omit-deps): Likewise.
7542         (sunrpc-CPPFLAGS): New variable.
7543         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7544         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7545         (cross-rpcgen-objs): New variable.
7546         (extra-objs): Append $(cross-rpcgen-objs).
7547         ($(cross-rpcgen-objs)): New rule.
7548         ($(objpfx)cross-rpcgen): Likewise.
7549         (rpcgen-cmd): Define to use $(built-program-file).  Expand
7550         comment.
7551         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7552         ($(objpfx)x%.stmp): Likewise.
7553         * sunrpc/proto.h [IS_IN_build] (_): Define.
7554         [IS_IN_build] (_libc_intl_domainname): Likewise.
7556 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
7558         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7559         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7560         and R_X86_64_TPOFF64.
7562 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
7564         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7565         sysdeps/unix/sysv/syscalls.list.
7566         (stime): Likewise.
7567         (utime): Likewise.
7568         * sysdeps/unix/sysv/syscalls.list: Remove file.
7570 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
7572         [BZ #3440]
7573         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7574         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7575         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7576         (__LC_IDENTIFICATION): Make these macros useful in #if
7577         expressions, as required by C99.
7579 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
7581         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7582         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
7583         after this.
7585 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
7587         * stdlib/longlong.h: Updated from GCC.
7589 2012-05-09  Andreas Jaeger  <aj@suse.de>
7591         * nscd/nscd.c (run_modes): Make named enum, reorder so that
7592         default is first entry.
7593         (run_mode): Set type.
7594         (main): Remove informal message about syslog.
7595         (options): Fix typo.
7597         [BZ #14053]
7598         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7599         to asm.
7600         (lrint): Likewise.
7601         (llrintf): Likewise.
7602         (llrint): Likewise.
7603         (rint): Likewise.
7604         (rintf): Likewise.
7605         (nearbyint): Likewise.
7606         (nearbyintf): Likewise.
7608 2012-05-09  Andreas Jaeger  <aj@suse.de>
7609             Pedro Alves  <palves@redhat.com>
7611         * nscd/nscd.c (run_mode): Use enum.
7612         (main): Cleanup coding style issue.
7614 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
7615             Andreas Jaeger  <aj@suse.de>
7617         * nscd/nscd.c (go_background): Replaced with...
7618         (run_mode): ... this.
7619         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7620         (options): Add -F --foreground.
7621         (main): Implement it.
7622         (parse_opt): Parse it.
7624 2012-05-09  Andreas Jaeger  <aj@suse.de>
7626         [BZ #14083]
7627         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7628         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7629         -Wconversion warning.
7630         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7631         Likewise.
7633 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
7635         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
7636         == 0.
7637         (LC_ALL): Use macro-int-constant.
7638         (LC_COLLATE): Likewise.
7639         (LC_CTYPE): Likewise.
7640         (LC_MESSAGES): Likewise.
7641         (LC_MONETARY): Likewise.
7642         (LC_NUMERIC): Likewise.
7643         (LC_TIME): Likewise.
7644         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7645         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7646         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7647         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7648         Specify type.
7649         [C99-based standards] (float_t): Expect type.
7650         [C99-based standards] (double_t): Expect type.
7651         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
7652         type.
7653         [C99-based standards] (HUGE_VALL): Likewise.
7654         [C99-based standards] (INFINITY): Likewise.
7655         [C99-based standards] (NAN): Likewise.
7656         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7657         [C99-based standards] (FP_NAN): Likewise.
7658         [C99-based standards] (FP_NORMAL): Likewise.
7659         [C99-based standards] (FP_SUBNORMAL): Likewise.
7660         [C99-based standards] (FP_ZERO): Likewise.
7661         [C99-based standards] (FP_FAST_FMA): Use
7662         optional-macro-int-constant.  Specify type.  Require == 1.
7663         [C99-based standards] (FP_FAST_FMAF): Likewise.
7664         [C99-based standards] (FP_FAST_FMAL): Likewise.
7665         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7666         [C99-based standards] (FP_ILOGBNAN): Likewise.
7667         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7668         Specify type.
7669         [C99-based standards] (MATH_ERREXCEPT): Likewise.
7670         [C99-based standards] (math_errhandling): Specify type.
7671         [ISO99 || ISO11] (signgam): Do not allow.
7672         [non-C99-based standards] (copysignf): Do not allow.
7673         [non-C99-based standards] (exp2f): Likewise.
7674         [non-C99-based standards] (log2f): Likewise.
7675         [non-C99-based standards] (modff): Allow.
7676         [non-C99-based standards] (erff): Do not allow.
7677         [non-C99-based standards] (erfcf): Likewise.
7678         [non-C99-based standards] (gammaf): Likewise.
7679         [non-C99-based standards] (hypotf): Likewise.
7680         [non-C99-based standards] (j0f): Likewise.
7681         [non-C99-based standards] (j1f): Likewise.
7682         [non-C99-based standards] (jnf): Likewise.
7683         [non-C99-based standards] (lgammaf): Likewise.
7684         [non-C99-based standards] (tgammaf): Likewise.
7685         [non-C99-based standards] (y0f): Likewise.
7686         [non-C99-based standards] (y1f): Likewise.
7687         [non-C99-based standards] (ynf): Likewise.
7688         [non-C99-based standards] (isnanf): Likewise.
7689         [non-C99-based standards] (acoshf): Likewise.
7690         [non-C99-based standards] (asinhf): Likewise.
7691         [non-C99-based standards] (atanhf): Likewise.
7692         [non-C99-based standards] (cbrtf): Likewise.
7693         [non-C99-based standards] (expm1f): Likewise.
7694         [non-C99-based standards] (ilogbf): Likewise.
7695         [non-C99-based standards] (log1pf): Likewise.
7696         [non-C99-based standards] (logbf): Likewise.
7697         [non-C99-based standards] (nextafterf): Likewise.
7698         [non-C99-based standards] (remainderf): Likewise.
7699         [non-C99-based standards] (rintf): Likewise.
7700         [non-C99-based standards] (scalbf): Likewise.
7701         [non-C99-based standards] (copysignl): Likewise.
7702         [non-C99-based standards] (exp2l): Likewise.
7703         [non-C99-based standards] (log2l): Likewise.
7704         [non-C99-based standards] (modfl): Allow.
7705         [non-C99-based standards] (erfl): Do not allow.
7706         [non-C99-based standards] (erfcl): Likewise.
7707         [non-C99-based standards] (gammal): Likewise.
7708         [non-C99-based standards] (hypotl): Likewise.
7709         [non-C99-based standards] (j0l): Likewise.
7710         [non-C99-based standards] (j1l): Likewise.
7711         [non-C99-based standards] (jnl): Likewise.
7712         [non-C99-based standards] (lgammal): Likewise.
7713         [non-C99-based standards] (tgammal): Likewise.
7714         [non-C99-based standards] (y0l): Likewise.
7715         [non-C99-based standards] (y1l): Likewise.
7716         [non-C99-based standards] (ynl): Likewise.
7717         [non-C99-based standards] (isnanl): Likewise.
7718         [non-C99-based standards] (acoshl): Likewise.
7719         [non-C99-based standards] (asinhl): Likewise.
7720         [non-C99-based standards] (atanhl): Likewise.
7721         [non-C99-based standards] (cbrtl): Likewise.
7722         [non-C99-based standards] (expm1l): Likewise.
7723         [non-C99-based standards] (ilogbl): Likewise.
7724         [non-C99-based standards] (log1pl): Likewise.
7725         [non-C99-based standards] (logbl): Likewise.
7726         [non-C99-based standards] (nextafterl): Likewise.
7727         [non-C99-based standards] (remainderl): Likewise.
7728         [non-C99-based standards] (rintl): Likewise.
7729         [non-C99-based standards] (scalbl): Likewise.
7730         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7731         [non-C99-based standards] (FP_*): Do not allow.
7732         [C99-based standards] (FP_*): Change to
7733         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7734         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7735         allow.
7736         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7737         (SIG_ERR): Likewise.
7738         [X/Open-based standards] (SIG_HOLD): Likewise.
7739         (SIG_IGN): Likewise.
7740         (SIGABRT): Use macro-int-constant.  Specify type.  Require
7741         positive value.
7742         (SIGFPE): Likewise.
7743         (SIGILL): Likewise.
7744         (SIGINT): Likewise.
7745         (SIGSEGV): Likewise.
7746         (SIGTER): Likewise.
7747         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7748         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7749         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7750         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7751         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7752         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7753         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7754         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7755         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7756         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7757         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7758         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7759         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7760         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7761         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7762         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7763         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7764         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7765         [X/Open-based standards] (SIGTRAP): Likewise.
7766         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7767         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7768         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7769         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7770         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7771         allow.
7773 2012-05-08  Ian Wienand  <ianw@vmware.com>
7775         [BZ #14080]
7776         * time/tzset.c (__tzset_parse_tz): Update default rules for
7777         daylight time changes in the Energy Policy Act of 2005.
7779 2012-05-09  Andreas Jaeger  <aj@suse.de>
7781         [BZ #13983]
7782         * elf/ldconfig.c (parse_conf): Change string to make clear that
7783         ldconfig only issued a warning if ld.so.conf does not exist.
7785 2012-05-08  David S. Miller  <davem@davemloft.net>
7787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7788         movxtod instead of popping the value on the stack.
7790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7792 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
7794         * config.h.in: Add HAVE_ARM_PCS_VFP.
7796 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
7798         [BZ #13979]
7799         * include/features.h: Warn if user requests __FORTIFY_SOURCE
7800         checking but the checks are disabled for any reason.
7802 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
7804         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7805         and ELF64_R_TYPE with ELFW(R_TYPE).
7807 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
7809         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7810         (ulimit): Likewise.
7812         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7813         (settimeofday): Likewise.
7815 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
7817         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
7818         a struct th_u2 inside the union, and move tu_block/tu_code into
7819         a new th_u3 union of tu_block/tu_code inside of that.  Move
7820         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
7821         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
7822         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7823         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7824         (th_stuff): Change to th_u1.tu_stuff.
7825         (th_data): Define.
7826         (th_msg): Change to th_u1.th_u2.tu_data.
7828 2012-05-07  David S. Miller  <davem@davemloft.net>
7830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7832         [BZ #14074]
7833         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7834         (SETUP_PIC_REG): Use it.
7835         (SETUP_PIC_REG_LEAF): Use it.
7837 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
7839         [BZ #13885]
7840         [BZ #13923]
7841         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7842         USE_AS_EXPM1L.
7843         (EXPL_FINITE): Likewise.
7844         (FLDLOG): Likewise.
7845         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7846         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7847         e_expl.S.
7848         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7849         USE_AS_EXPM1L.
7850         (EXPL_FINITE): Likewise.
7851         (FLDLOG): Likewise.
7852         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7853         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7854         e_expl.S.
7855         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
7856         test of -max_value argument for long double.
7857         * sysdeps/i386/fpu/libm-test-ulps: Update.
7858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7860 2012-05-06  David S. Miller  <davem@davemloft.net>
7862         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7863         quad soft-float symbols whose references which are compiler
7864         generated.
7865         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7867 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
7869         [BZ #13884]
7870         [BZ #13914]
7871         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7872         USE_AS_EXP10L.
7873         (EXPL_FINITE): Likewise.
7874         (FLDLOG): Likewise.
7875         (c0): Likewise.
7876         (c1): Likewise.
7877         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
7878         Adjust comments for base varying.
7879         (__expl_finite): Change alias to EXPL_FINITE.
7880         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7881         e_expl.S.
7882         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7883         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7884         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7885         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7886         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7887         USE_AS_EXP10L.
7888         (EXPL_FINITE): Likewise.
7889         (FLDLOG): Likewise.
7890         (c0): Likewise.
7891         (c1): Likewise.
7892         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
7893         Adjust comments for base varying.
7894         (__expl_finite): Change alias to EXPL_FINITE.
7895         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
7896         tests for bugs.
7897         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7899         [BZ #14064]
7900         * math/libm-test.inc (check_float_internal): Correct ulp
7901         calculation for subnormal expected results.
7903 2012-05-06  Andreas Jaeger  <aj@suse.de>
7905         * Makeconfig (+math-flags): New, set to -frounding-math.
7906         (+cflags): Add +math-flags so that all of glibc gets compiled with
7907         it.
7909         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7911 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
7913         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7914         Disable one test.
7916         [BZ #13787]
7917         [BZ #13922]
7918         [BZ #14036]
7919         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7920         (__ieee754_expl): Allow for and saturate large arguments.
7921         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7922         (u_threshold): Likewise.
7923         (__exp): Call __ieee754_exp before checking for overflow and
7924         underflow.
7925         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7926         (u_threshold): Likewise.
7927         (__expf): Call __ieee754_expf before checking for overflow and
7928         underflow.
7929         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7930         (u_threshold): Likewise.
7931         (__expl): Call __ieee754_expl before checking for overflow and
7932         underflow.
7933         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7934         (__ieee754_expl): Allow for and saturate large arguments.
7935         * math/libm-test.inc (exp_test): Add another test.  Do not allow
7936         missing overflow exception on overflow.
7937         (expm1_test): Do not allow missing overflow exception on overflow.
7939         * sysdeps/i386/fpu/e_expl.c: Move to ...
7940         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
7941         rather than using inline asm.
7942         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7943         * sysdeps/x86_64/fpu/e_expl.S: Copy from
7944         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7946         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7947         (nice): Likewise.
7948         (poll): Likewise.
7949         (signal): Likewise.
7950         (time): Likewise.
7951         (times): Likewise.
7953 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
7955         * sysdeps/unix/syscalls.list (adjtime): Add entry from
7956         sysdeps/unix/common/syscalls.list.
7957         (fchmod): Likewise.
7958         (fchown): Likewise.
7959         (ftruncate): Likewise.
7960         (getrusage): Likewise.
7961         (gettimeofday): Likewise.
7962         (setpgid): Likewise.
7963         (setregid): Likewise.
7964         (setreuid): Likewise.
7965         (sigaction): Likewise.
7966         (truncate): Likewise.
7967         (vhangup): Likewise.
7968         * sysdeps/unix/common/syscalls.list: Remove file.
7969         * sysdeps/unix/bsd/Implies: Don't include unix/common.
7970         * sysdeps/unix/sysv/linux/Implies: Likewise.
7972 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
7974         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7976         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7977         Moved to ...
7978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7979         Here.
7980         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7981         to ...
7982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7983         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7984         to ...
7985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7986         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7987         to ...
7988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7989         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7990         to ...
7991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7992         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7993         to ...
7994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7995         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7996         to ...
7997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7998         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7999         to ...
8000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8001         Here.
8002         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8003         to ...
8004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8005         Here.
8006         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8007         to ...
8008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8009         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8010         Moved to ...
8011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8012         Here.
8013         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8014         to ...
8015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8017 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
8019         * sysdeps/unix/common/bits/dirent.h: Remove file.
8020         * sysdeps/unix/common/bits/fcntl.h: Likewise.
8022         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8023         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8024         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8025         * sysdeps/unix/bsd/isatty.c: Likewise.
8026         * sysdeps/unix/bsd/tcdrain.c: Likewise.
8027         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8028         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8030 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8032         [BZ #13563]
8033         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8034         long double comparison inaccuracies.
8035         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8038 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
8040         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8041         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8043 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
8045         [BZ #14049]
8046         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8047         nonzero digits before rounding a hex value.
8048         * stdlib/tst-strtod.c (tests): Add another test.
8050 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8052         * sysdeps/s390/fpu/libm-test-ulps: Update.
8054 2012-05-03  Andreas Jaeger  <aj@suse.de>
8056         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8057         does not get optimized out.
8058         (malloc_opt_barrier): New.
8060 2012-05-03  Andreas Jaeger  <aj@suse.de>
8061             Roland McGrath  <roland@hack.frob.com>
8063         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
8064         intermediate file deletion.
8065         (generated): Add .symlist files.
8067 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
8069         [BZ #13775]
8070         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8071         Redirect under this condition.
8072         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8073         [__USE_GNU] (__dprintf_chk): Not under this condition.
8074         [__USE_GNU] (__vdprintf_chk): Likewise.
8075         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8076         under this condition.
8077         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8078         [__USE_XOPEN2K8] (dprintf): Define under this condition.
8079         [__USE_XOPEN2K8] (vdprintf): Likewise.
8080         [__USE_GNU] (__dprintf_chk): Not under this condition.
8081         [__USE_GNU] (__vdprintf_chk): Likewise.
8082         [__USE_GNU] (dprintf): Likewise.
8083         [__USE_GNU] (vdprintf): Likewise.
8085 2012-05-03  Roland McGrath  <roland@hack.frob.com>
8087         * elf/Makefile (common-generated): Set this instead of generated for
8088         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
8089         $(all-built-dso)-derived lists.
8091 2012-05-03  Andreas Jaeger  <aj@suse.de>
8093         * sysdeps/i386/fpu/libm-test-ulps: Update.
8095         * FAQ: Removed.
8096         * FAQ.in: Likewise.
8097         * scripts/gen-FAQ.pl: Likewise.
8098         * manual/install.texi (Installation): Point to online location of
8099         FAQ.
8100         * Makefile (files-for-dist): Remove FAQ.
8101         (FAQ): Remove.
8103 2012-05-02  Allan McRae  <allan@archlinux.org>
8105         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8106         (LDFLAGS-reldepmod5.so): Likewise.
8107         (LDFLAGS-reldep6mod1.so): Likewise.
8108         (LDFLAGS-reldep6mod4.so): Likewise.
8109         (LDFLAGS-reldep8mod3.so): Likewise.
8110         (LDFLAGS-unload4mod1.so): Likewise.
8111         (LDFLAGS-unload4mod2.so): Likewise.
8112         (LDFLAGS-tst-initorder): Likewise.
8113         (LDFLAGS-tst-initordera2.so): Likewise.
8114         (LDFLAGS-tst-initordera3.so): Likewise.
8115         (LDFLAGS-tst-initordera4.so): Likewise.
8116         (LDFLAGS-tst-initorderb2.so): Likewise.
8117         (LDFLAGS-noload): Likewise.
8118         (LDFLAGS-next): Likewise.
8119         (LDFLAGS-order2mod1.so): Likewise.
8120         (LDFLAGS-order2mod2.so): Likewise.
8121         (LDFLAGS-tst-initorder2): Likewise.
8122         (LDFLAGS-tst-initorder2a.so): Likewise.
8123         (LDFLAGS-tst-initorder2b.so): Likewise.
8124         (LDFLAGS-tst-initorder2c.so): Likewise.
8125         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8127 2012-05-02  David S. Miller  <davem@davemloft.net>
8129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8131 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
8133         [BZ #14055]
8134         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8136 2012-05-02  Andreas Jaeger  <aj@suse.de>
8138         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8139         since we manipulate rounding mode.
8140         (CPPFLAGS-test-idouble.c): Likewise.
8141         (CPPFLAGS-test-ifloat.c): Likewise.
8142         (CFLAGS-test-ldouble.c): Likewise.
8143         (CFLAGS-test-double.c): Likewise.
8144         (CFLAGS-test-float.c): Likewise.
8145         (CFLAGS-test-misc.c): Likewise.
8146         (CFLAGS-test-test-fenv.c): Likewise.
8148 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8150         [BZ #2550]
8151         [BZ #2570]
8152         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8153         comparisons to determine direction to adjust input.
8155 2012-05-01  Roland McGrath  <roland@hack.frob.com>
8157         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8158         output to the target.
8160         * scripts/localplt.awk: New file.
8161         * elf/Makefile ($(objpfx)check-localplt): Target removed.
8162         (check-localplt-CFLAGS): Variable removed.
8163         ($(all-built-dso:=.jmprel)): New static pattern rule.
8164         (generated): Add those targets.
8165         (localplt-built-dso): New variable.
8166         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8168         * elf/check-localplt.c: File removed.
8170         * scripts/check-execstack.awk: New file.
8171         * elf/Makefile ($(objpfx)check-execstack): Target removed.
8172         (check-execstack-CFLAGS): Variable removed.
8173         ($(objpfx)check-execstack.h): Target removed.
8174         ($(objpfx)execstack-default): New target.
8175         (generated): Add that instead of check-execstack.h.
8176         ($(all-built-dso:=.phdr)): New static pattern rule.
8177         (generated): Add those targets.
8178         * elf/check-execstack.c: File removed.
8180         * scripts/check-textrel.awk: New file.
8181         * elf/Makefile ($(objpfx)check-textrel): Target removed.
8182         (check-textrel-CFLAGS): Variable removed.
8183         (all-built-dso): Use := to define.o
8184         ($(all-built-dso:=.dyn)): New static pattern rule.
8185         (generated): Add those targets.
8186         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8187         * config.make.in (READELF): New substituted variable.
8188         * elf/check-textrel.c: File removed.
8190 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
8192         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8193         allow.
8194         * conform/data/ctype.h-data [C99-based standards] (isblank):
8195         Expect function.
8196         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8197         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8198         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8199         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8200         Specify type.  Require positive value.
8201         (EILSEQ): Likewise.
8202         (ERANGE): Likewise.
8203         [ISO || POSIX] (EILSEQ): Do not expect.
8204         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8205         Specify type.  Require positive value.
8206         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8207         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8208         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8209         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8210         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8211         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8212         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8213         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8214         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8215         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8216         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8217         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8218         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8219         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8220         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8221         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8222         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8223         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8224         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8225         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8226         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8227         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8228         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8229         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8230         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8231         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8232         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8233         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8234         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8235         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8236         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8237         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8238         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8239         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8240         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8241         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8242         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8243         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8244         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8245         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8246         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8247         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8248         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8249         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8250         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8251         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8252         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8253         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8254         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8255         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8256         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8257         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8258         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8259         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8260         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8261         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8262         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8263         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8264         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8265         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8266         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8267         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8268         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8269         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8270         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8271         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8272         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8273         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8274         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8275         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8276         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8277         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8278         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8279         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8280         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8281         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8282         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8283         Require >= 2.
8284         (FLT_ROUNDS): Expect as macro, not constant.
8285         (FLT_MANT_DIG): Use macro-int-constant.
8286         (DBL_MANT_DIG): Likewise.
8287         (LDBL_MANT_DIG): Likewise.
8288         (FLT_DIG): Likewise.
8289         (DBL_DIG): Likewise.
8290         (LDBL_DIG): Likewise.
8291         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
8292         (DBL_MIN_EXP): Likewise.
8293         (LDBL_MIN_EXP): Likewise.
8294         (FLT_MAX_EXP): Use macro-int-constant.
8295         (DBL_MAX_EXP): Likewise.
8296         (LDBL_MAX_EXP): Likewise.
8297         (FLT_MAX_10_EXP): Likewise.
8298         (DBL_MAX_10_EXP): Likewise.
8299         (LDBL_MAX_10_EXP): Likewise.
8300         (FLT_MAX): Use macro-constant.
8301         (DBL_MAX): Likewise.
8302         (LDBL_MAX): Likewise.
8303         (FLT_EPSILON): Use macro-constant.  Give upper bound.
8304         (DBL_EPSILON): Likewise.
8305         (LDBL_EPSILON): Likewise.
8306         (FLT_MIN): Likewise.
8307         (DBL_MIN): Likewise.
8308         (LDBL_MIN): Likewise.
8309         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8310         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8311         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8312         [ISO11] (FLT_HAS_SUBNORM): Likewise.
8313         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8314         [ISO11] (DBL_DECIMAL_DIG): Likewise.
8315         [ISO11] (FLT_DECIMAL_DIG): Likewise.
8316         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8317         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8318         [ISO11] (FLT_TRUE_MIN): Likewise.
8319         [ISO11] (LDBL_TRUE_MIN): Likewise.
8320         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8321         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8322         (SCHAR_MIN): Use macro-int-constant.  Specify type.
8323         (SCHAR_MAX): Likewise.
8324         (UCHAR_MAX): Likewise.
8325         (CHAR_MIN): Likewise.
8326         (CHAR_MAX): Likewise.
8327         (MB_LEN_MAX): Use macro-int-constant.
8328         (SHRT_MIN): Use macro-int-constant.  Specify type.
8329         (SHRT_MAX): Likewise.
8330         (USHRT_MAX): Likewise.
8331         (INT_MAX): Likewise.
8332         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
8333         bound negative.
8334         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
8335         bound with "U".
8336         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
8337         bound with "L".
8338         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
8339         bound negative.  Suffix upper bound with "L".
8340         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
8341         bound with "UL".
8342         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8343         Specify type.
8344         [C99-based standards] (LLONG_MAX): Likewise.
8345         [C99-based standards] (ULLONG_MAX): Likewise.
8346         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
8347         == 0.
8348         [ISO11] (max_align_t): Require type.
8349         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8351         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8352         from $CFLAGS, without defining away __attribute__ calls.
8353         (checknamespace): Use $CFLAGS_namespace.
8355         * conform/conformtest.pl (@keywords): Only include C99 keywords
8356         for standards based on C99 or C11.
8358         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8359         Disable tests.
8360         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8361         UNIX98]: Likewise.
8363         * conform/conformtest.pl: Handle "macro-int-constant" and test for
8364         usability of symbols in #if.
8366         * conform/conformtest.pl: If macro or constant types start
8367         "promoted:", expect the symbol to be of the following type
8368         promoted by the integer promotions.
8370         * conform/conformtest.pl: Parse all "constant" and "macro" lines
8371         in one place.  Also handle "macro-constant".
8373         * conform/conformtest.pl: Only accept expected macro values with
8374         "==".  Parse all "macro" lines in one place.
8375         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8377         * conform/conformtest.pl: Handle braced types on "constant" lines
8378         instead of handling "typed-constant".
8379         * conform/data/signal.h-data: Use "constant" instead of
8380         "typed-constant".
8382         * conform/conformtest.pl: Handle "optional-" at start of lines in
8383         one place rather than duplicating several cases.  Handle each
8384         format of "macro" line with initial "optional-".
8386         * conform/conformtest.pl: Only accept expected constant or
8387         optional-constant values with "==".  Parse all "constant" lines in
8388         one place.  Parse all "optional-constant" lines in one place.
8389         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8390         * conform/data/fmtmsg.h-data: Likewise.
8391         * conform/data/netinet/in.h-data: Likewise.
8392         * conform/data/tar.h-data: Likewise.
8393         * conform/data/limits.h-data: Use "==" form on "constant" and
8394         "optional-constant" lines.
8396         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8397         Use -std=c99 for XOPEN2K.
8398         (@knownproblems): Remove.
8399         (newtoken): Don't check %isknown.
8401         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8402         Do not expect macro.
8403         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8404         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8405         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8406         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8407         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8408         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8409         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8410         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8411         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8412         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8413         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8414         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8415         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8416         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8417         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8418         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8419         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8420         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8421         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8422         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8423         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8424         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8425         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8426         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8427         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8428         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8429         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8430         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8431         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8432         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8433         [XPG3] (acosh): Likewise.
8434         [XPG3] (asinh): Likewise.
8435         [XPG3] (atanh): Likewise.
8436         [XPG3] (cbrt): Likewise.
8437         [XPG3] (expm1): Likewise.
8438         [XPG3] (ilogb): Likewise.
8439         [XPG3] (log1p): Likewise.
8440         [XPG3] (logb): Likewise.
8441         [XPG3] (nextafter): Likewise.
8442         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8443         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8444         [XPG3] (remainder): Likewise.
8445         [XPG3] (rint): Likewise.
8446         [XPG3 || XPG4 || UNIX98] (round): Likewise.
8447         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8448         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8449         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8450         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8451         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8452         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8453         [UNIX98 || XOPEN2K] (scalb): Expect.
8454         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8455         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8456         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8457         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8458         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8459         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8460         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8461         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8462         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8463         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8464         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8465         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8466         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8467         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8468         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8469         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8470         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8471         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8472         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8473         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8474         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8475         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8476         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8477         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8478         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8479         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8480         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8481         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8482         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8483         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8484         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8485         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8486         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8487         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8488         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8489         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8490         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8491         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8492         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8493         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8494         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8495         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8496         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8497         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8498         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8499         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8500         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8501         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8502         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8503         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8504         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8505         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8506         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8507         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8508         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8509         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8510         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8511         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8512         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8513         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8514         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8515         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8516         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8517         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8518         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8519         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8520         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8521         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8522         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8523         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8524         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8525         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8526         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8527         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8528         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8529         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8530         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8531         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8532         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8533         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8534         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8535         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8536         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8537         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8538         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8539         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8540         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8541         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8542         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8543         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8544         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8545         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8546         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8547         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8548         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8549         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8550         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8551         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8552         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8553         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8554         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8555         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8556         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8557         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8558         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8559         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8560         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8561         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8562         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8563         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8564         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8565         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8566         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8567         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8568         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8569         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8570         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8571         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8572         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8573         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8574         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8575         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8576         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8577         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8578         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8579         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8580         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8581         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8582         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8583         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8584         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8585         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8586         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8587         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8588         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8589         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8590         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8592         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8593         _XOPEN_SOURCE_EXTENDED for XPG4.
8595         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8597         * Makeconfig (localtime): Remove variable.
8598         (inst_localtime-file): Likewise.
8600 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8603         Update.
8604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8605         Update.
8606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8607         Update.
8608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8609         Update.
8610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8611         Update.
8612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8613         Update.
8614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8615         Update.
8616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8617         Update.
8618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8619         Update.
8621 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
8623         [BZ #2550]
8624         [BZ #2570]
8625         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8626         comparisons to determine direction to adjust input.
8627         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8628         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8629         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8630         Likewise.
8631         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8632         Likewise.
8633         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8634         Likewise.
8635         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8636         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8637         Likewise.
8638         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8639         Likewise.
8640         * math/libm-test.inc (nexttoward_test): Add more tests.
8642 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8644         [BZ #14040]
8645         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8646         in version GLIBC_2.1, not GLIBC_2.0.
8647         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8648         Likewise.
8650 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
8652         [BZ #13942]
8653         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8654         (1 - x) * (1 + x).
8655         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8656         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8657         * math/libm-test.inc (acos_test): Add more tests.
8658         (asin_test): Likewise.
8659         * sysdeps/i386/fpu/libm-test-ulps: Update.
8660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8662         [BZ #14034]
8663         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8664         of square root.
8665         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8666         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8667         * math/libm-test.inc (acos_test_tonearest): New function.
8668         (acos_test_towardzero): Likewise.
8669         (acos_test_downward): Likewise.
8670         (acos_test_upward): Likewise.
8671         (asin_test_tonearest): Likewise.
8672         (asin_test_towardzero): Likewise.
8673         (asin_test_downward): Likewise.
8674         (asin_test_upward): Likewise.
8675         (main): Call the new functions.
8676         * sysdeps/i386/fpu/libm-test-ulps: Update.
8677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8679         [BZ #13884]
8680         [BZ #13924]
8681         * math/e_exp10.c: Include <float.h>.
8682         (__ieee754_exp10): Handle underflow here rather than multiplying
8683         large negative argument by M_LN10.
8684         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8685         of __ieee754_expf.
8686         * math/e_exp10l.c: Include <float.h>.
8687         (__ieee754_exp10l): Handle underflow here rather than multiplying
8688         large negative argument by M_LN10l.
8689         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
8690         spurious overflow exception on underflow.
8692 2012-04-29  Marek Polacek  <polacek@redhat.com>
8694         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8695         (__fortify_function): New macro.
8696         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8697         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8698         __extern_always_inline.
8699         * libio/bits/stdio2.h: Likewise.
8700         * libio/bits/stdio.h: Likewise.
8701         * string/string.h: Likewise.
8702         * string/bits/string3.h: Likewise.
8703         * include/stdio.h: Likewise.
8704         * stdlib/bits/stdlib.h: Likewise.
8705         * stdlib/stdlib.h: Likewise.
8706         * rt/bits/mqueue2.h: Likewise.
8707         * rt/mqueue.h: Likewise.
8708         * posix/bits/unistd.h: Likewise.
8709         * posix/unistd.h: Likewise.
8710         * io/bits/poll2.h: Likewise.
8711         * io/bits/fcntl2.h: Likewise.
8712         * io/fcntl.h: Likewise.
8713         * io/sys/poll.h: Likewise.
8714         * misc/bits/syslog.h: Likewise.
8715         * misc/bits/syslog-ldbl.h: Likewise.
8716         * misc/sys/syslog.h: Likewise.
8717         * socket/bits/socket2.h: Likewise.
8718         * socket/sys/socket.h: Likewise.
8719         * debug/tst-chk1.c: Likewise.
8720         * wcsmbs/bits/wchar2.h: Likewise.
8721         * wcsmbs/bits/wchar-ldbl.h: Likewise.
8722         * wcsmbs/wchar.h: Likewise.
8724 2012-04-29  Andreas Jaeger  <aj@suse.de>
8726         * Makerules (tests): Remove enable-check-abi protection.
8727         (check-abi-warn): Remove.
8728         (check-abi-%): Remove check-abi-warn usage.
8730         * configure.in: Remove check-abi configure option.
8731         * configure: Regenerated.
8732         * config.make.in (enable-check-abi): Remove.
8734 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
8736         [BZ #14033]
8737         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8738         double functions to double *_finite functions.
8740         [BZ #13941]
8741         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8742         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8743         LDBL_MIN_EXP.
8744         * stdio-common/Makefile (tests): Add tst-sprintf3.
8745         * stdio-common/tst-sprintf3.c: New file.
8747         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8748         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8750 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
8752         * conform/conformtest.pl: Remove duplicate typed-constant
8753         handling.
8755 2012-04-28  David S. Miller  <davem@davemloft.net>
8757         * Makerules (%.abilist): Add vpath on sysdep_dirs.
8758         (check-abi-%): Remove AWK script prerequisite and explicit
8759         abilist directory.
8760         (check-abi): Rewrite to just diff the symlist with the abilist.
8761         (config-tls, config-abi-config): Delete, no longer used.
8762         (update-abi-%): Remove AWK script and explicit abilist directory.
8763         (update-abi): Rewrite to simply compare and conditionally copy the
8764         symlist and the sysdep abilist file.  Remove update-abi-config
8765         checks.
8766         * abilist/ld.abilist: Remove.
8767         * abilist/libBrokenLocale.abilist: Remove.
8768         * abilist/libanl.abilist: Remove.
8769         * abilist/libcrypt.abilist: Remove.
8770         * abilist/libdl.abilist: Remove.
8771         * abilist/librt.abilist: Remove.
8772         * abilist/libthread_db.abilist: Remove.
8773         * abilist/libutil.abilist: Remove.
8774         * scripts/extract-abilist.awk: Remove.
8775         * scripts/merge-abilist.awk: Remove.
8776         * sysdeps/generic/libcidn.abilist: New file.
8777         * sysdeps/generic/libnss_compat.abilist: New file.
8778         * sysdeps/generic/libnss_db.abilist: New file.
8779         * sysdeps/generic/libnss_dns.abilist: New file.
8780         * sysdeps/generic/libnss_files.abilist: New file.
8781         * sysdeps/generic/libnss_hesiod.abilist: New file.
8782         * sysdeps/generic/libnss_nis.abilist: New file.
8783         * sysdeps/generic/libnss_nisplus.abilist: New file.
8784         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8785         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8786         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8787         file.
8788         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8789         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8790         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8791         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8792         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8793         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8794         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8795         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8796         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8797         file.
8798         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8799         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8800         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8801         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8802         file.
8803         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8804         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8805         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8806         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8807         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8808         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8809         file.
8810         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8811         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8812         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8813         file.
8814         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8815         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8816         New file.
8817         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8818         New file.
8819         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8820         New file.
8821         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8822         New file.
8823         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8824         New file.
8825         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8826         New file.
8827         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8828         New file.
8829         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8830         New file.
8831         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8832         New file.
8833         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8834         New file.
8835         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8836         New file.
8837         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8838         New file.
8839         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8840         New file.
8841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8842         file.
8843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8844         New file.
8845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8846         New file.
8847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8848         file.
8849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8850         New file.
8851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8852         New file.
8853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8854         file.
8855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8856         New file.
8857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8858         New file.
8859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8860         New file.
8861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8862         New file.
8863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8864         New file.
8865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8866         New file.
8867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8869         file.
8870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8871         New file.
8872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8873         file.
8874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8875         file.
8876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8877         file.
8878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8879         file.
8880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8881         file.
8882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8883         New file.
8884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8885         file.
8886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8887         file.
8888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8889         New file.
8890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8891         file.
8892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8894         file.
8895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8896         New file.
8897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8898         file.
8899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8900         file.
8901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8902         file.
8903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8904         file.
8905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8906         file.
8907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8908         New file.
8909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8910         file.
8911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8912         file.
8913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8914         New file.
8915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8916         file.
8917         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8918         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8919         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8920         file.
8921         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8922         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8923         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8924         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8925         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8926         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8927         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8928         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8929         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8930         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8933         file.
8934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8935         New file.
8936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8937         file.
8938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8939         file.
8940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8941         file.
8942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8943         file.
8944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8945         file.
8946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8947         New file.
8948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8949         New file.
8950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8951         file.
8952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8953         New file.
8954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8955         file.
8956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8958         file.
8959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8960         New file.
8961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8962         file.
8963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8964         file.
8965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8966         file.
8967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8968         file.
8969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8970         file.
8971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8972         New file.
8973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8974         New file.
8975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8976         file.
8977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8978         New file.
8979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8980         file.
8982 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
8984         * conform/conformtest.pl: Fix typo in handling typed-constant from
8985         allow-header.
8987 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
8989         * README: Cut down references to pre-2.6 Linux kernels and
8990         Linuxthreads.  Update lists of configurations in libc and ports
8991         and sort alphabetically.  Say "or newer" with Linux kernel version
8992         requirements.
8994         * config.h.in [IS_IN_build]: Allow compiling without optimization.
8996 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8998         [BZ #887]
8999         * math/libm-test.inc (logb_test_downward): New test to expose
9000         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9001         rounding mode.
9003 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
9005         [BZ #14027]
9006         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9007         to be done.
9008         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9009         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9011 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
9013         * sysdeps/unix/i386/brk.S: Remove file.
9014         * sysdeps/unix/i386/dl-brk.S: Likewise.
9015         * sysdeps/unix/i386/pipe.S: Likewise.
9016         * sysdeps/unix/i386/sigreturn.S: Likewise.
9017         * sysdeps/unix/i386/syscall.S: Likewise.
9018         * sysdeps/unix/i386/vfork.S: Likewise.
9019         * sysdeps/unix/i386/wait.S: Likewise.
9021         * sysdeps/unix/common/tcsendbrk.c: Move to ...
9022         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9024         * configure.in (arm*-none*): Do not allow without
9025         --enable-hacker-mode.
9026         (netbsd*): Remove case setting base_os.
9027         (386bsd*): Likewise.
9028         (freebsd*): Likewise.
9029         (bsdi*): Likewise.
9030         (osf*): Likewise.
9031         (sunos*): Likewise.
9032         (ultrix*): Likewise.
9033         (newsos*): Likewise.
9034         (dynix*): Likewise.
9035         (*bsd*): Likewise.
9036         (sysv*): Likewise.
9037         (isc*): Likewise.
9038         (esix*): Likewise.
9039         (sco*): Likewise.
9040         (minix*): Likewise.
9041         (irix4*): Likewise.
9042         (irix6*): Likewise.
9043         (solaris[2-9]*): Likewise.
9044         (none): Likewise.
9045         * configure: Regenerated.
9047 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9049         [BZ #11521]
9050         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9051         overflow or cancellation in calculating denominator.
9052         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9053         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9054         down expression to avoid unexpected rounding in newer GCCs.
9055         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9057 2012-04-26  David S. Miller  <davem@davemloft.net>
9059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9060         long-double compat symbols.
9061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9075 2012-04-25  David S. Miller  <davem@davemloft.net>
9077         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9078         HWCAP_* values only after the memory barriers have been defined.
9079         (atomic_full_barrier): Define.
9080         (atomic_read_barrier): Define.
9081         (atomic_write_barrier): Define.
9083 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9085         * shlib-versions: Add libgcc_s version information.
9086         * sysdeps/generic/libgcc_s.h: Remove.
9087         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9088         libgcc_s.h.
9089         * sysdeps/gnu/unwind-resume.c: Likewise.
9090         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9092 2012-04-25  David S. Miller  <davem@davemloft.net>
9094         * sysdeps/unix/sparc/brk.S: Delete.
9095         * sysdeps/unix/sparc/dl-brk.S: Delete.
9096         * sysdeps/unix/sparc/pipe.S: Delete.
9097         * sysdeps/unix/sparc/sysdep.S: Delete.
9098         * sysdeps/unix/sparc/sysdep.h: Delete.
9099         * sysdeps/unix/sparc/vfork.S: Delete.
9100         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9101         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9102         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9103         ret_ERRVAL, r0, r1, MOVE): Define.
9104         (JUMPTARGET): Remove.
9105         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9106         sysdeps/unix/sparc/sysdep.h
9107         (ENTRY, END): Remove.
9108         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9110 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
9112         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9113         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9114         -DIS_IN_build.
9116         * timezone/README: Update upstream location and email address for
9117         tzcode and tzdata.
9118         * timezone/zdump.c: Update from tzcode 2012b.
9119         * timezone/zic.c: Likewise.
9121         * configure.in (libc_cv_as_needed): Remove test.
9122         * configure: Regenerated.
9123         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9124         conditional definition.
9125         [$(have-as-needed) != yes] (no-as-needed): Likewise.
9126         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9127         * config.make.in (have-as-needed): Remove variable.
9129 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9130             Paul Pluzhnikov  <ppluzhnikov@google.com>
9132         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9133         strings correctly.
9135 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9137         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9138         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9139         * sysdeps/sh/strlen.S: Likewise.
9141 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
9143         * sysdeps/unix/fork.S: Remove file.
9144         * sysdeps/unix/i386/fork.S: Likewise.
9145         * sysdeps/unix/sparc/fork.S: Likewise.
9147         * sysdeps/unix/system.c: Remove file.
9148         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9150         * sysdeps/unix/getegid.S: Remove file.
9151         * sysdeps/unix/geteuid.S: Likewise.
9153 2012-04-24  Roland McGrath  <roland@hack.frob.com>
9155         * scripts/check-localplt.awk: New file.
9156         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9157         of diff.
9158         * scripts/data/localplt-generic.data: Add a comment.
9160         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9161         NODE when __dir_mkfile failed.
9162         * sysdeps/mach/hurd/symlinkat.c: Likewise.
9163         Reported by Ludovic Courtès <ludo@gnu.org>.
9165 2012-04-24  Andreas Jaeger  <aj@suse.de>
9167         * Makerules (common-clean): Also remove gen-as-const-headers
9168         files.
9170 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
9172         * Makerules (native-compile): Do not change working directory for
9173         build.  Use $(OUTPUT_OPTION) in command.
9174         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9176 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9178         [BZ #13886]
9179         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9180         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9181         * math/libm-test.inc (floor_test): Add more tests.
9182         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9184 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
9186         * sysdeps/unix/getdents.c: Remove file.
9187         * sysdeps/unix/sysv/getdents.c: Likewise.
9188         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9190         * sysdeps/unix/syscalls.list (madvise): Add syscall from
9191         sysdeps/unix/mman/syscalls.list.
9192         (mmap): Likewise.
9193         (mprotect): Likewise.
9194         (msync): Likewise.
9195         (munmap): Likewise.
9196         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9197         * sysdeps/unix/mman/syscalls.list: Remove.
9198         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9200         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9201         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9202         * configure: Regenerated.
9203         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9204         $(libgcc_s_suffix).
9205         * config.make.in (libgcc_s_suffix): Remove variable.
9207 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
9209         * sysdeps/unix/sysv/gethostname.c: Move to ...
9210         * sysdeps/posix/gethostname.c: ... here.
9212         * sysdeps/unix/execve.S: Remove file.
9214         * sysdeps/unix/_exit.S: Remove file.
9216 2012-04-23  Andreas Jaeger  <aj@suse.de>
9218         [BZ #13739]
9219         * manual/Makefile: Remove make dist support, there's no
9220         need for a stand-alone documentation tar ball.
9221         (TEXI2DVI): Define always, it's not in Makeconfig.
9222         (dist): Removed.
9223         (tar-it): Removed.
9224         (edition): Removed.
9225         (glibc-doc-$(edition).tar): Removed
9226         (%.Z): Removed.
9227         (%.gz): Removed.
9228         (%.uu): Removed.
9229         (ETAGS): Remove, it's in Makeconfig.
9230         (move-if-change): Remove, it's in Makeconfig.
9232 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
9234         [BZ #13970]
9235         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9236         (strtod, strtof, strtold, strtol, strtoul, strtoq)
9237         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9238         (strtod_l, strtof_l, strtold_l): Remove __wur.
9239         It is not necessarily an error to ignore strtol's return value.
9240         One can reliably look at the stored endptr to decide whether
9241         the number had valid syntax.
9243 2012-04-21  Andreas Jaeger  <aj@suse.de>
9245         [BZ #13739]
9246         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9248 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
9250         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9251         * sysdeps/unix/sysv/Versions: Remove file.
9253 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
9255         [BZ #13927]
9256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9258 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
9260         [BZ #7064]
9261         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9262         version from __vm86.
9264 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
9266         * sysdeps/unix/common/lxstat.c: Remove file.
9267         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9269         * sysdeps/unix/sysv/Makefile: Remove file.
9271         * sysdeps/unix/sysv/direct.h: Remove file.
9273         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9274         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9275         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9276         * sysdeps/unix/sysv/bits/signum.h: Likewise.
9277         * sysdeps/unix/sysv/bits/stat.h: Likewise.
9278         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9279         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9281         * sysdeps/unix/sysv/setrlimit.c: Remove file.
9283         * sysdeps/unix/xmknod.c: Remove file.
9284         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9286         * sysdeps/unix/sysv/settimeofday.c: Remove file.
9288         * sysdeps/unix/sysv/i386/time.S: Remove file.
9290         * sysdeps/unix/fxstat.c: Remove file.
9291         * sysdeps/unix/xstat.c: Likewise.
9292         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9294         * sysdeps/unix/sysv/sigaction.c: Remove file.
9296         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9297         (sysdep_headers): Remove variable.
9298         [termio.h not in sysdep_headers] (generated): Likewise.
9299         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9300         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9301         * sysdeps/unix/sysv/tcdrain.c: Likewise.
9302         * sysdeps/unix/sysv/tcflow.c: Likewise.
9303         * sysdeps/unix/sysv/tcflush.c: Likewise.
9304         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9305         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9306         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9307         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9308         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9310         * sysdeps/unix/siglist.c: Remove file.
9312         * sysdeps/unix/getppid.S: Remove file.
9314         * sysdeps/unix/mkdir.c: Remove file.
9315         * sysdeps/unix/rmdir.c: Likewise.
9317 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
9319         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9320         ERR_MAX value.
9321         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9322         errlist-compat value.
9324 2012-04-18  David S. Miller  <davem@davemloft.net>
9326         * sysdeps/generic/memcopy.h (reg_char): Delete.
9327         * debug/strcat_chk.c: Use char, not reg_char.
9328         * debug/strcpy_chk.c: Likewise.
9329         * debug/strncat_chk.c: Likewise.
9330         * debug/strncpy_chk.c: Likewise.
9331         * string/memchr.c: Likewise.
9332         * string/memrchr.c: Likewise.
9333         * string/rawmemchr.c: Likewise.
9334         * string/strcat.c: Likewise.
9335         * string/strchr.c: Likewise.
9336         * string/strchrnul.c: Likewise.
9337         * string/strcmp.c: Likewise.
9338         * string/strcpy.c: Likewise.
9339         * string/strncat.c: Likewise.
9340         * string/strncmp.c: Likewise.
9341         * string/strncpy.c: Likewise.
9343 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
9345         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9346         __builtin_memcopy is called when src and dest ranges are known to not
9347         overlap.
9349 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
9351         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9352         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9353         fwd_align_merge macro call.
9354         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9355         bwd_align_merge macro call.
9356         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9358 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
9360         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9361         bwd_align_merge macros.
9362         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9363         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9364         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9366 2012-04-18  David S. Miller  <davem@davemloft.net>
9368         * sysdeps/sparc/sparc64/memcopy.h: Delete.
9370 2012-04-18  Andreas Jaeger  <aj@suse.de>
9372         [BZ# 6794]
9373         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9374         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9375         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9377         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9378         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9379         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9381         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9382         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9383         Adjust for changed ldbl-128 files.
9385         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9386         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9387         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9389 2012-04-17  David S. Miller  <davem@davemloft.net>
9391         * sysdeps/sparc/sparc32/memcopy.h: Delete.
9393 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
9395         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9396         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9397         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9398         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9399         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9400         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9402 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9404         [BZ #6794]
9405         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9406         * math/libm-test.inc: Add ilogb errno and exception tests.
9407         * math/w_ilogb.c: New file: ilogb wrapper.
9408         * math/w_ilogbf.c: New file: ilogbf wrapper.
9409         * math/w_ilogbl.c: New file: ilogbl wrapper.
9410         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9411         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9412         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9413         exception being thrown with 0.0 as argument.
9414         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9415         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9416         exception being thrown with 0.0 as argument.
9417         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9418         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9419         exception being thrown with 0.0 as argument.
9420         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9421         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9422         exception being thrown with 0.0 as argument.
9423         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9424         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9425         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9426         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9427         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9428         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9429         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9430         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9431         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9433 2012-04-17  Petr Baudis  <pasky@ucw.cz>
9435         * include/sys/uio.h: Change __vector to __iovec to avoid clash
9436         with altivec.
9438 2012-04-16  Marek Polacek  <polacek@redhat.com>
9440         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9442 2012-04-16  Marek Polacek  <polacek@redhat.com>
9444         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9445         operands of fdivp instruction.
9447 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
9449         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9450         * elf/tst-auditmod3b.c: Likewise.
9451         * elf/tst-auditmod4b.c: Likewise.
9452         * elf/tst-auditmod5b.c: Likewise.
9453         * elf/tst-auditmod6b.c: Likewise.
9454         * elf/tst-auditmod6c.c: Likewise.
9455         * elf/tst-auditmod7b.c: Likewise.
9456         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9457         * sysdeps/x86_64/preconfigure.in: Likewise.
9458         * sysdeps/x86_64/preconfigure: Regenerated.
9460 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
9462         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9463         __ILP32__.
9465 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
9467         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9468         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9470 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
9472         [BZ #13973]
9473         * locale/iso-639.def: Fix gl language name. Spotted by
9474         Yaron Shahrabani.
9476 2012-04-12  Roland McGrath  <roland@hack.frob.com>
9478         [BZ #2074]
9479         * libio/libio.h (__io_write_fn): Update comment.
9481 2012-04-12  Petr Baudis  <pasky@ucw.cz>
9483         [BZ #2074]
9484         * stdio.texi (Hook Functions): The user provided writer function
9485         is not allowed to return -1.
9487 2012-04-11  David S. Miller  <davem@davemloft.net>
9489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9491 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
9493         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9494         Add a leading slash to rtkaio.
9496 2012-04-11  Jim Meyering  <meyering@redhat.com>
9498         [BZ #11959]
9499         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9500         It is not necessarily an error to ignore fwrite's return
9501         value.  One can reliably use ferror to test for errors after
9502         the fact.
9504 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
9506         * bits/types.h (__snseconds_t): New type.
9507         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9509         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9510         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9511         (__SNSECONDS_T_TYPE): Likewise.
9512         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9513         (__SNSECONDS_T_TYPE): Likewise.
9514         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9515         (__SNSECONDS_T_TYPE): Likewise.
9517 2012-04-10  Andreas Jaeger  <aj@suse.de>
9519         [BZ #2636]
9520         * manual/time.texi (Processor Time): Return type of times is
9521         elapsed real time since an arbitrary point in the past.
9522         (CPU Time): Move CLK_TCK from here...
9523         (Processor Time): ...to here.  Correct description.
9524         * manual/conf.texi (Constants for Sysconf): Correct description of
9525         _SC_CLK_TCK.
9527 2012-04-10  David S. Miller  <davem@davemloft.net>
9529         [BZ #13967]
9530         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9531         where the is a gap between DT_REL(A) and DT_JMPREL.
9533 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
9535         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9536         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9537         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9539 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9541         * elf/dl-support.c (_dl_inhibit_cache): New variable.
9542         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9543         (dl_main): Handle --inhibit-cache.
9544         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9545         _dl_inhibit_cache.
9546         * elf/dl-load.c (_dl_map_object): Use it.
9547         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9549 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
9551         [BZ #13872]
9552         * sysdeps/i386/fpu/e_powl.S (p78): New object.
9553         (__ieee754_powl): Saturate large exponents rather than testing for
9554         overflow of y*log2(x).
9555         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9556         * math/libm-test.inc (pow_test): Do not permit spurious overflow
9557         exceptions.
9559         [BZ #11521]
9560         * math/s_ctan.c: Include <float.h>.
9561         (__ctan): Avoid internal overflow or cancellation in calculating
9562         denominator.
9563         * math/s_ctanf.c: Likewise.
9564         * math/s_ctanl.c: Likewise.
9565         * math/s_ctanh.c: Likewise.
9566         * math/s_ctanhf.c: Likewise.
9567         * math/s_ctanhl.c: Likewise.
9568         * math/libm-test.inc (ctan_test): Add more tests.
9569         (ctanh_test): Likewise.
9570         * sysdeps/i386/fpu/libm-test-ulps: Update.
9571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9573 2012-04-09  Andreas Jaeger  <aj@suse.de>
9575         [BZ #6894]
9576         * manual/filesys.texi (Directory Entries): Mention that d_namlen
9577         is an optional BSD extension.
9579         [BZ #10254]
9580         * manual/stdio.texi (Opening Streams): Document additional fopen
9581         parameters.
9583 2012-04-09  Roland McGrath  <roland@hack.frob.com>
9585         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9586         %eax without telling the compiler.
9588 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
9590         [BZ # 13963]
9591         * manual/install.texi: Use sourceware.org.
9593 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
9595         [BZ #13873]
9596         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9597         (__ieee754_pow): Generate overflow and underflow using huge*huge
9598         and tiny*tiny rather than just returning constant infinity or zero
9599         for large exponents.
9600         * math/libm-test.inc (pow_test): Require overflow exceptions for
9601         applicable cases of large exponents.
9603         [BZ #706]
9604         * sysdeps/i386/fpu/e_pow.S (p10): New object.
9605         (__ieee754_pow): Use iterative multiplication algorithm only for
9606         integer exponents with absolute value below 1024.  Check for odd
9607         integer exponents when using algorithm for real exponents.
9608         * math/libm-test.inc (pow_test): Add more tests.
9609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9611 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
9613         [BZ #13705]
9614         * math/libm-test.inc (exp_test): Do not allow overflow exception
9615         on underflow test.
9617 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
9619         [BZ #13705]
9620         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9621         instead of __kernel_standard_f.
9623 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
9625         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9626         * sysdeps/x86_64/memset_chk.S: Likewise.
9628 2012-04-08  Andreas Jaeger  <aj@suse.de>
9630         [BZ #10153]
9631         * manual/startup.texi (Environment Access): Describe return value
9632         for putenv and setenv.
9634         [BZ #6895]
9635         * manual/filesys.texi (Directory Entries): Add description for
9636         DT_LNK.
9638         [BZ #6890]
9639         * manual/filesys.texi (Directory Entries): Clarify that it's file
9640         system not operating system in the description of DT_UNKNOWN.
9642         [BZ #6578]
9643         * manual/syslog.texi (closelog): Fix reference, it's openlog.
9645 2012-04-08  Stephen Compall  <s11@member.fsf.org>
9647         [BZ #6649]
9648         * manual/llio.texi (Opening and Closing Files): Add cross
9649         reference to explain mode argument.
9651 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
9653         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9654         * sysdeps/x86_64/memset_chk.S: Likewise.
9656 2012-04-07  David S. Miller  <davem@davemloft.net>
9658         * elf/elf.h (R_SPARC_WDISP10): Define.
9659         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9660         R_SPARC_SIZE32.
9661         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9662         R_SPARC_SIZE64 and R_SPARC_H34.
9664 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
9666         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9667         conditions and remove no longer applicable assertion.
9669 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
9671         * bits/byteswap.h: Include <features.h>.
9672         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9673         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9675 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
9677         * bits/byteswap.h (__bswap_16): Removed.
9678         Include <bits/byteswap-16.h> to get __bswap_16.
9679         * sysdeps/i386/bits/byteswap.h: Likewise.
9680         * sysdeps/s390/bits/byteswap.h: Likewise.
9681         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9682         * bits/byteswap-16.h: New file.
9683         * sysdeps/i386/bits/byteswap-16.h: Likewise.
9684         * sysdeps/s390/bits/byteswap-16.h: Likewise.
9685         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9686         * string/Makefile (headers): Add bits/byteswap-16.h.
9688 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9690         [BZ #13895]
9691         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9692         extra indirection.
9693         * nss/Makefile (tests-static, tests): Add tst-nss-static.
9694         * nss/tst-nss-static.c: New.
9696 2012-04-06  Robert Millan  <rmh@gnu.org>
9698         [BZ #6486]
9699         * manual/llio.texi (File Position Primitive): lseek
9700         refers to WHENCE when it really means OFFSET.
9702 2012-04-06  Andreas Jaeger  <aj@suse.de>
9704         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9705         strncmp declarations.
9707         * abilist/libc.abilist: Add __poll and __ppoll.
9709 2012-04-05  David S. Miller  <davem@davemloft.net>
9711         * scripts/check-local-headers.sh: Accept a host triplet in the
9712         path matched by the exclude regexp.
9714         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9715         definition.
9716         * sysdeps/powerpc/powerpc32/dl-machine.h
9717         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9718         * sysdeps/s390/s390-32/dl-machine.h
9719         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9720         * sysdeps/sparc/sparc32/dl-machine.h
9721         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9722         * sysdeps/sparc/sparc64/dl-machine.h
9723         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9725         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9726         lazy binding.
9727         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9728         undefined symbol errors.
9730         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9731         DT_NEEDED entries.
9733 2012-04-05  Michael Matz  <matz@suse.de>
9735         [BZ #13592]
9736         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9738 2012-04-05  Andreas Jaeger  <aj@suse.de>
9740         [BZ #13908]
9741         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9742         comment.
9744 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9746         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9747         which ROUND is no valid rounding mode.
9749 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9751         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9752         read again.
9753         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9755 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9757         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9758         an exception using FPU order intentionally.
9760 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9762         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9763         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9764         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9765         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9767 2012-04-05  Simon Josefsson  <simon@josefsson.org>
9769         [BZ #12340]
9770         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9771         EINVAL when BUFLEN is too smal.
9773 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9775         [BZ #13553]
9776         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9777         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9779 2012-04-03  Andreas Jaeger  <aj@suse.de>
9781         [BZ #13938]
9782         * manual/setjmp.texi (System V contexts): Fix sentence.
9784         [BZ #13926]
9785         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9786         New macro for this case.
9787         [!__GNUC__] (__bswap_64): New inline function for this case.
9788         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9789         * bits/byteswap.h: Likewise.
9790         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9791         ull, guard with __GLIBC_HAVE_LONG_LONG.
9793         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9794         __GLIBC_HAVE_LONG_LONG.
9796         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9797         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9799 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9801         [BZ #13691]
9802         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9803         inptr and inend, rather than using last_ch.
9805 2012-04-02  David S. Miller  <davem@davemloft.net>
9807         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9808         * stdio-common/printf-parse.h (read_int): Change return type to
9809         'int', return -1 on INT_MAX overflow.
9810         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9811         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
9812         overflows INT_MAX.  Check for overflow of in-format-string precision
9813         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
9814         SIZE_MAX not INT_MAX for integer overflow test.
9815         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9816         skip the construct in the format string but do not record anything.
9817         * stdio-common/bug22.c: Adjust to test both width/prevision
9818         INT_MAX overflow as well as total length INT_MAX overflow.  Check
9819         explicitly for proper errno values.
9821 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
9823         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9824         CHAR_MAX.
9825         * string/test-strcmp.c [! WIDE]: Likewise.
9826         * time/tst-mktime2.c: Likewise for INT_MAX.
9827         * string/test-string.h: #include <sys/param.h> for MIN.
9829         * csu/init-first.c (__libc_init_first): Call __ctype_init.
9830         * sysdeps/i386/init-first.c (init): Likewise.
9831         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9832         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9833         * sysdeps/sh/init-first.c (init): Likewise.
9835 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
9837         * po/ru.po: Update from translation team.
9838         * po/vi.po: Likewise.
9840 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9842         * resolv/nss_dns/dns-host.c: Merge copyright years.
9844 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9846         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9847         Optimize memcpy with prefetch if
9848         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
9849         src, dst pointers have unequal 16 byte alignments.
9851 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9853         [BZ #13928]
9854         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9855         from a CNAME entry and return the minimum ttl for the query.
9856         (gaih_getanswer_slice): Likewise.
9858 2012-03-30  Jeff Law  <law@redhat.com>
9860         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9861         due to long keys.
9862         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9863         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9865         * resolv/nss_dns/dns-host.c: Update copyright year.
9867 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
9869         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9870         requests to save a system call.  Fix check that all bytes are sent.
9872         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9873         comments for sendmmsg.
9875 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9877         [BZ #13691]
9878         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9879         with only 1 character between 0x0041 and 0x01b0.
9880         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9881         * wcsmbs/tst-mbsnrtowcs.c: New file.
9883 2012-03-29  David S. Miller  <davem@davemloft.net>
9885         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9886         small copies by hand.
9888 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9890         [BZ #13761]
9891         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9892         _nss_compat_initgroups_dyn): Fall back to malloc/free
9893         for large group memberships.
9895 2012-03-28  David S. Miller  <davem@davemloft.net>
9897         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9898         that branches into memcpy.
9899         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9900         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9901         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9902         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9903         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9904         bits.
9905         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9906         implementation too.
9907         * sysdeps/sparc/mempcpy.S: New file.
9909         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9910         the IFUNC routine in the libc case.
9911         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9913         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9914         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9915         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9916         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9917         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9918         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9919         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9920         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9922         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9923         loop to 256 bytes instead of 64 bytes and fix test signedness.
9925         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9926         * sysdeps/sparc/sparc32/Makefile: rather than here...
9927         * sysdeps/sparc/sparc64/Makefile: and here.
9929 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
9931         * malloc/mallocbug.c: Avoid warnings about unused variables.
9933 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9935         [BZ #13760]
9936         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9937         in the right place. Discard and retry query if response is
9938         larger than input buffer size.
9940 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
9942         [BZ #369]
9943         [BZ #2678]
9944         [BZ #3866]
9945         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9946         x for large integer exponent.
9947         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9948         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
9949         sign of result as needed afterwards.
9950         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9951         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9952         result for underflowing pow the same as for overflow.
9953         (__kernel_standard_l): Handle powl overflow and underflow here
9954         rather than calling __kernel_standard.
9955         * math/libm-test.inc (pow_test): Add more tests.
9957         [BZ #3868]
9958         [BZ #13879]
9959         [BZ #13910]
9960         [BZ #13911]
9961         [BZ #13912]
9962         [BZ #13913]
9963         [BZ #13915]
9964         [BZ #13916]
9965         [BZ #13917]
9966         [BZ #13918]
9967         [BZ #13919]
9968         [BZ #13920]
9969         [BZ #13921]
9970         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9971         * sysdeps/ieee754/k_standard.c: Include <float.h>.
9972         (__kernel_standard_l): New function.
9973         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9974         __kernel_standard.
9975         * math/w_acosl.c (__acosl): Likewise.
9976         * math/w_asinl.c (__asinl): Likewise.
9977         * math/w_atan2l.c (__atan2l): Likewise.
9978         * math/w_atanhl.c (__atanhl): Likewise.
9979         * math/w_coshl.c (__coshl): Likewise.
9980         * math/w_exp10l.c (__exp10l): Likewise.
9981         * math/w_exp2l.c (__exp2l): Likewise.
9982         * math/w_fmodl.c (__fmodl): Likewise.
9983         * math/w_hypotl.c (__hypotl): Likewise.
9984         * math/w_j0l.c (__j0l, __y0l): Likewise.
9985         * math/w_j1l.c (__j1l, __y1l): Likewise.
9986         * math/w_jnl.c (__jnl, __ynl): Likewise.
9987         * math/w_lgammal.c (__lgammal): Likewise.
9988         * math/w_log10l.c (__log10l): Likewise.
9989         * math/w_log2l.c (__log2l): Likewise.
9990         * math/w_logl.c (__logl): Likewise.
9991         * math/w_powl.c (__powl): Likewise.
9992         * math/w_remainderl.c (__remainderl): Likewise.
9993         * math/w_scalbl.c (sysv_scalbl): Likewise.
9994         * math/w_sinhl.c (__sinhl): Likewise.
9995         * math/w_sqrtl.c (__sqrtl): Likewise.
9996         * math/w_tgammal.c (__tgammal): Likewise.
9997         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9998         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9999         * math/libm-test.inc (acos_test): Add more tests.
10000         (acosh_test): Likewise.
10001         (asin_test): Likewise.
10002         (atanh_test): Likewise.
10003         (exp_test): Likewise.
10004         (exp10_test): Likewise.
10005         (exp2_test): Likewise.
10006         (expm1_test): Likewise.
10007         (lgamma_test): Likewise.
10008         (log_test): Likewise.
10009         (log10_test): Likewise.
10010         (log1p_test): Likewise.
10011         (log2_test): Likewise.
10012         (pow_test): Do not allow some spurious overflow exceptions.
10013         (sqrt_test): Add more tests.
10014         (tgamma_test): Likewise.
10015         (y0_test): Likewise.
10016         (y1_test): Likewise.
10017         (yn_test): Likewise.
10019 2012-03-27  Anton Blanchard  <anton@samba.org>
10021         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10022         MAP_HUGETLB.
10023         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10024         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10025         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10027 2012-03-27  David S. Miller  <davem@davemloft.net>
10029         * conform/Makefile: Run run-conformtest.sh using $(BASH).
10031         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10032         have-as-vis3 check.
10034 2012-03-27  Andreas Jaeger  <aj@suse.de>
10036         * sysdeps/x86_64/elf/configure.in: Moved to ...
10037         * sysdeps/x86_64/configure.in: ... here.
10038         * sysdeps/x86_64/elf/start.S: Moved to ...
10039         * sysdeps/x86_64/start.S: ... here.
10040         * sysdeps/x86_64/elf/configure: Delete.
10042         * sysdeps/x86_64/configure.in: Merge contents from
10043         sysdeps/i386/configure.in (without i686 check).
10045         * sysdeps/i386/elf/Versions: Merge into ...
10046         * sysdeps/i386/Versions: ... this.
10047         * sysdeps/i386/elf/Versions: Delete file.
10048         * sysdeps/i386/elf/start.S: Moved to ...
10049         * sysdeps/i386/start.S: ...here.
10050         * sysdeps/i386/elf/configure.in: Merge into...
10051         * sysdeps/i386/configure.in: ...here.
10052         * sysdeps/i386/elf/configure.in: Delete file.
10053         * sysdeps/i386/elf/configure: Delete file.
10055         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10056         * debug/backtracesyms.c: ... here.
10057         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10058         * debug/backtracesymsfd.c: ... here.
10059         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10060         * sysdeps/generic/ifunc-sel.h: ... here.
10062         * sysdeps/unix/i386/start.c: Delete file.
10063         * sysdeps/unix/sparc/start.c: Delete file.
10064         * sysdeps/unix/start.c: Delete file.
10066         * sysdeps/sh/elf/configure.in: Moved to ...
10067         * sysdeps/sh/configure.in: ... here.
10068         * sysdeps/sh/elf/start.S: Moved to ...
10069         * sysdeps/sh/start.S: ... here.
10070         * sysdeps/sh/elf/configure: Delete file.
10072         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10073         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10074         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10075         * sysdeps/powerpc/powerpc64/entry.h: ... here.
10076         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10077         * sysdeps/powerpc/powerpc64/start.S: here.
10078         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10079         * sysdeps/powerpc/powerpc64/Makefile: ... this.
10080         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10081         * sysdeps/powerpc/powerpc64/configure.in: ... this.
10082         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10084         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10085         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10086         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10087         * sysdeps/powerpc/powerpc32/start.S: ... here.
10088         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10089         * sysdeps/powerpc/powerpc32/configure.in: ... this.
10090         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10092         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10093         * sysdeps/powerpc/ifunc-sel.h: ... here.
10094         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10095         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10097         * sysdeps/sparc/elf/configure.in: Moved to ...
10098         * sysdeps/sparc/configure.in: ... here.
10099         * sysdeps/sparc/elf/configure: Delete file.
10100         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10101         * sysdeps/sparc/sparc32/start.S: ... here.
10102         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10103         * sysdeps/sparc/sparc64/start.S: ... here.
10104         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10105         * sysdeps/sparc/sparc32/Makefile: ... this.
10106         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10107         * sysdeps/sparc/sparc64/Makefile: ... this.
10109         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10110         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10111         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10112         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10113         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10114         * sysdeps/s390/s390-32/setjmp.S: ... here.
10115         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10116         * sysdeps/s390/s390-32/configure.in: ... here.
10117         * sysdeps/s390/s390-32/elf/configure: Delete file.
10118         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10119         * sysdeps/s390/s390-32/start.S: ... here.
10121         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10122         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10123         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10124         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10125         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10126         * sysdeps/s390/s390-64/setjmp.S: ... here.
10127         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10128         * sysdeps/s390/s390-64/configure.in: ... here
10129         * sysdeps/s390/s390-64/elf/configure: Delete file.
10130         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10131         * sysdeps/s390/s390-64/start.S: ... here.
10132         * sysdeps/s390/s390-64/elf/configure: Delete.
10134         * configure.in: Remove support for elf directories in sysdeps.
10136         * configure: Regenerated.
10137         * sysdeps/i386/configure: Regenerated.
10138         * sysdeps/powerpc/powerpc32/configure: Regenerated.
10139         * sysdeps/powerpc/powerpc64/configure: Regenerated.
10140         * sysdeps/s390/s390-32/configure: Regenerated.
10141         * sysdeps/s390/s390-64/configure: Regenerated.
10142         * sysdeps/sh/configure: Regenerated.
10143         * sysdeps/sparc/configure: Regenerated.
10144         * sysdeps/x86_64/configure: Regenerated.
10146 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
10148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10150         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10151         denormal result into account.
10153 2012-03-25  Roland McGrath  <roland@hack.frob.com>
10155         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10156         Reported by Allan McRae <allan@archlinux.org>.
10158 2012-03-23  Jeff Law  <law@redhat.com>
10160         * nss/getnssent.c (__nss_getent): Fix typo.
10162 2012-03-23  David S. Miller  <davem@davemloft.net>
10164         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10166 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
10168         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10169         to pad to uint64_t for each field.
10170         (dl_tls_index): Replace unsigned long with uint64_t.
10172 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
10173         Paul Pluzhnikov  <ppluzhnikov@google.com>
10175         [BZ #6528]
10176         * grp/Makefile (otherlibs): Don't set it.
10177         * inet/Makefile (otherlibs): Likewise.
10178         * login/Makefile (otherlibs): Likewise.
10179         * nscd/Makefile (otherlibs): Likewise.
10180         * posix/Makefile (otherlibs): Likewise.
10181         * pwd/Makefile (otherlibs): Likewise.
10182         * rt/Makefile (otherlibs): Likewise.
10183         * sunrpc/Makefile (otherlibs): Likewise.
10184         * nss/Makefile (otherlibs): Likewise.
10185         Add libnss_files to routines and static-only-routines.
10186         ($(objpfx)getent): Remove rule.
10187         * resolv/Makefile: Add libnss_dns and libresolv to routines and
10188         static-only-routines.
10190 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
10192         [BZ #13892]
10193         * math/s_cexp.c: Include <float.h>.
10194         (__cexp): Handle exp result overflowing not necessarily
10195         overflowing both real and imaginary parts of result.
10196         * math/s_cexpf.c: Likewise.
10197         * math/s_cexpl.c: Likewise.
10198         * math/libm-test.inc (cexp_test): Add more tests.
10199         * sysdeps/i386/fpu/libm-test-ulps: Update.
10200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10202 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10204         * include/link.h (ELFW): New macro.
10205         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10206         Replace ELF64_R_TYPE with ELFW(R_TYPE).
10208 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10210         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10211         with uint64_t.
10213 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10215         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10216         declaration.
10217         (struct La_x32_retval): Likewise.
10219 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10221         * sysdeps/x86_64/preconfigure.in: New file.
10222         * sysdeps/x86_64/preconfigure: New generated file.
10224 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
10226         [BZ #13824]
10227         * math/e_exp2l.c: Include <float.h>.
10228         (__ieee754_exp2l): Handle overflow and underflow cases
10229         separately.  Only pass fractional part of argument to
10230         __ieee754_expl.
10231         * math/libm-test.inc (exp2_test): Add more tests.
10233         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10234         negating x to take absolute value.
10235         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10236         Likewise.
10237         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10238         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10239         Likewise.
10240         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10241         computing low part if x was negated.
10242         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10244 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10246         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10247         la_x32_gnu_pltexit.
10248         (pltexit): Cast int_retval to ptrdiff_t.
10249         * elf/tst-auditmod3b.c: Likewise.
10250         * elf/tst-auditmod4b.c: Likewise.
10251         * elf/tst-auditmod5b.c: Likewise.
10252         * elf/tst-auditmod6b.c: Likewise.
10253         * elf/tst-auditmod6c.c: Likewise.
10254         * elf/tst-auditmod7b.c: Likewise.
10256         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10257         and x32_gnu_pltexit.
10259         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10260         __ELF_NATIVE_CLASS.
10261         (La_x32_regs): New macro.
10262         (La_x32_retval): Likewise.
10263         (la_x32_gnu_pltenter): New function prototype.
10264         (la_x32_gnu_pltexit): Likewise.
10266 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
10268         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10269         exponent.
10271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10273         * configure.in (libc_cv_cc_nofma): Check for option to disable
10274         generation of FMA instructions.
10275         * configure: Regenerate.
10276         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10277         * sysdeps/ieee754/dbl-64/Makefile: New file.
10278         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10279         Remove brandred-fma4.
10280         (CFLAGS-brandred-fma4.c): Remove.
10281         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10282         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10283         define.
10284         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10285         define.
10287 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10289         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10290         LLONG_MAX != LONG_MAX.
10291         (_itoa_word): Use _ITOA_WORD_TYPE on value.
10292         (_fitoa_word): Likewise.
10293         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10294         LLONG_MAX != LONG_MAX.
10295         * stdio-common/_itowa.h: Include <_itoa.h>.
10296         (_itowa_word): Use _ITOA_WORD_TYPE on value.
10297         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
10298         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
10299         only if not defined.
10300         (_ITOA_WORD_TYPE): Likewise.
10301         (_itoa_word): Use _ITOA_WORD_TYPE on value.
10302         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10304 2012-03-21  David S. Miller  <davem@davemloft.net>
10306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10308 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10310         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10311         of x86_64 when setting libc_cv_slibdir, libdir and
10312         libc_cv_localedir.
10313         * sysdeps/unix/sysv/linux/configure: Regenerated.
10315 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
10317         * manual/lang.texi (Old Varargs): Remove section.
10318         (How Variadic): Update menu.
10319         (va_start): Do not mention varargs.h.
10321 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10322             Joseph Myers  <joseph@codesourcery.com>
10324         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10325         link test.
10326         * configure: Regenerated.
10328 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10330         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10331         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10332         conformtest.pl
10334 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
10336         * NOTES: Remove.
10337         * Makefile (files-for-dist): Remove NOTES.
10338         (NOTES): Remove rule.
10339         * README: Don't refer to NOTES.
10340         * manual/creature.texi: Don't include macros.texi.
10341         * manual/intro.texi (creature.texi): Remove comment referring to
10342         NOTES.
10344         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10345         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10346         * configure: Regenerated.
10347         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10348         LIBC_TRY_CC_OPTION.
10349         (libc_cv_as_i686): Likewise.
10350         (libc_cv_cc_avx): Likewise.
10351         (libc_cv_cc_sse2avx): Likewise.
10352         (libc_cv_cc_fma4): Likewise.
10353         (libc_cv_cc_novzeroupper): Likewise.
10354         * sysdeps/i386/configure: Regenerated.
10356         [BZ #13883]
10357         * sysdeps/i386/fpu/s_cexp.S: Remove.
10358         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10359         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10360         * math/libm-test.inc (cexp_test): Add more tests.
10361         * sysdeps/i386/fpu/libm-test-ulps: Update.
10362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10364 2012-03-21  Allan McRae  <allan@archlinux.org>
10366         * timezone/Makefile: Do not install iso3166.tab and zone.tab
10368 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
10370         [BZ #13871]
10371         * math/w_exp2.c: Do not include <float.h>.
10372         (o_threshold, u_threshold): Remove.
10373         (__exp2): Calculate result before checking finiteness and calling
10374         __kernel_standard.
10375         * math/w_exp2f.c: Likewise.
10376         * math/w_exp2l.c: Likewise.
10377         * math/libm-test.inc (exp2_test): Require overflow exception for
10378         1e6 input.
10380         [BZ #3866]
10381         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10382         range of signed 64-bit integers before using fistpll.  Remove
10383         checks for whether integers fit in mantissa bits.
10384         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10385         the range of signed 32-bit integers before using fistpl.  Remove
10386         checks for whether integers fit in mantissa bits.
10387         * sysdeps/i386/fpu/e_powl.S (p64): New object.
10388         (__ieee754_powl): Test for y outside the range of signed 64-bit
10389         integers before using fistpll.  Reduce 64-bit values to 63-bit
10390         ones as needed.
10391         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10392         divide-by-zero is raised for zero to large negative powers.
10393         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10394         (__ieee754_powl): Test for y outside the range of signed 64-bit
10395         integers before using fistpll.  Reduce 64-bit values to 63-bit
10396         ones as needed.
10397         * math/libm-test.inc (pow_test): Add more tests.
10399 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10401         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10402         <stdio-common/_itoa.h>.
10403         * debug/segfault.c: Likewise.
10404         * elf/dl-cache.c: Likewise.
10405         * elf/dl-minimal.c: Likewise.
10406         * elf/dl-misc.c: Likewise.
10407         * elf/dl-sysdep.c: Likewise.
10408         * elf/dl-version.c: Likewise.
10409         * elf/rtld.c: Likewise.
10410         * hurd/hurdsock.c: Likewise.
10411         * hurd/lookup-retry.c: Likewise.
10412         * malloc/malloc.c: Likewise.
10413         * malloc/mtrace.c: Likewise.
10414         * nscd/nscd_getgr_r.c: Likewise.
10415         * nscd/nscd_getpw_r.c: Likewise.
10416         * nscd/nscd_getserv_r.c: Likewise.
10417         * posix/getopt_init.c: Likewise.
10418         * posix/wordexp.c: Likewise.
10419         * stdio-common/_itoa.c: Likewise.
10420         * stdio-common/printf_fphex.c: Likewise.
10421         * stdio-common/vfprintf.c: Likewise.
10422         * string/_strerror.c: Likewise.
10423         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10424         * sysdeps/i386/i686/hp-timing.h: Likewise.
10425         * sysdeps/mach/_strerror.c: Likewise.
10426         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10427         * sysdeps/mach/hurd/sethostid.c: Likewise.
10428         * sysdeps/mach/hurd/xmknodat.c: Likewise.
10429         * sysdeps/mach/xpg-strerror.c: Likewise.
10430         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10431         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10432         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10433         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10434         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10435         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10436         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10437         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10438         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10439         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10440         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10441         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10442         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10443         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10444         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10445         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10446         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10447         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10448         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10449         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10450         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10452         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10454         * stdio-common/_itoa.h: Moved to ...
10455         * sysdeps/generic/_itoa.h: Here.
10457         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10459         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10460         instead of "_itoa.h" and "_itowa.h".
10461         * stdio-common/vfprintf.: Likewise.
10463 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10465         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10466         <bits/wordsize.h>.
10467         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10468         (__signbit): Likwise.
10469         (llrintf): Likwise.
10470         (llrint): Likwise.
10472 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10474         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10475         __WORDSIZE != 64.
10477 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
10479         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10480         OVERFLOW_EXCEPTION_OK.
10481         * math/libm-test.inc ("Philosophy"): Update comment about
10482         exception testing.
10483         (OVERFLOW_EXCEPTION): Define.
10484         (OVERFLOW_EXCEPTION_OK): Likewise.
10485         (INVALID_EXCEPTION_OK): Renumber.
10486         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10487         (IGNORE_ZERO_INF_SIGN): Likewise.
10488         (test_exceptions): Handle FE_OVERFLOW.
10489         (exp10_test): Expect overflow exceptions.
10490         (exp2_test): Likewise.
10491         (expm1_test): Likewise.
10492         (nextafter_test): Likewise.
10493         (pow_test): Likewise.
10494         (scalbn_test): Likewise.
10495         (scalbln_test): Likewise.
10497 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10499         * sysdeps/x86_64/bits/atomic.h
10500         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10501         64bit integer.
10502         (atomic_exchange_acq): Likewise.
10503         (__arch_exchange_and_add_body): Likewise.
10504         (__arch_add_body): Likewise.
10505         (atomic_add_negative): Likewise.
10506         (atomic_add_zero): Likewise.
10508 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10510         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10511         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10513 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10515         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10516         Check __x86_64__ instead of __WORDSIZE.
10518 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10520         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10522 2012-03-19  David S. Miller  <davem@davemloft.net>
10524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10526         * sysdeps/sparc/fpu/fenv_private.h: New file.
10527         * sysdeps/sparc/fpu/math_private.h: Use it.
10528         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10529         Remove.
10530         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10531         (libc_feholdexcept_setroundl): Remove.
10532         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10533         Remove.
10534         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10535         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10537 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10539         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10540         int64_t instead of long int.
10541         (INSERT_WORDS64): Likwise.
10543 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10545         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10546         _Unwind_GetCFA return to _Unwind_Ptr first.
10548 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
10550         [BZ #13629]
10551         * math/s_clog.c: Include <float.h>.
10552         (__clog): Scale large or subnormal inputs.
10553         * math/s_clogf.c: Likewise.
10554         * math/s_clogl.c: Likewise.
10555         * math/s_clog10.c: Include <float.h>.
10556         (M_LOG10_2): Define.
10557         (__clog10): Scale large or subnormal inputs.
10558         * math/s_clog10f.c: Likewise.
10559         * math/s_clog10l.c: Likewise.
10560         * math/libm-test.inc (clog_test): Add more tests.
10561         (clog10_test): Likewise.
10562         * sysdeps/i386/fpu/libm-test-ulps: Update.
10563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10565         [BZ #11451]
10566         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10567         x and y.
10568         * math/libm-test.inc (atan2_test): Add another test.
10570         * Makerules (common-objdir-compile): Remove.
10571         * sysdeps/unix/Makefile (config-generated): Do not add
10572         $(unix-generated) to variable.
10573         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10574         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10575         Remove rule.
10576         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10577         Likewise.
10578         [generic bits/local_lim.h] (before-compile): Do not append to
10579         variable.
10580         [generic bits/local_lim.h] (common-generated): Likewise.
10581         [generic sys/param.h] (before-compile): Do not append to variable.
10582         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10583         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10584         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10585         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10586         include.
10587         [generic sys/param.h] (sys/param.h-includes): Remove variable.
10588         [generic sys/param.h] (sys/param.h-includes): Remove rule.
10589         [generic sys/param.h] ($(addprefix
10590         $(common-objpfx),$(sys/param.h-includes))): Likewise.
10591         [generic sys/param.h] (common-generated): Do not append to
10592         variable.
10593         [generic sys/param.h] (sysdep_headers): Likewise.
10594         [generic bits/errno.h] (before-compile): Do not append to
10595         variable.
10596         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10597         rule.
10598         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10599         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10600         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10601         [generic bits/errno.h] (common-generated): Do not append to
10602         variable.
10603         [generic bits/ioctls.h] (before-compile): Do not append to
10604         variable.
10605         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10606         rule.
10607         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10608         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10609         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10610         rule.
10611         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10612         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10613         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10614         [generic bits/ioctls.h] (common-generated): Do not append to
10615         variable.
10616         [generic sys/syscall.h] (syscall.h): Remove variable.
10617         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10618         rule.
10619         [generic sys/syscall.h] (before-compile): Do not append to
10620         variable.
10621         [generic sys/syscall.h] (common-generated): Likewise.
10622         * sysdeps/unix/errnos-tmpl.c: Remove file.
10623         * sysdeps/unix/errnos.awk: Likewise.
10624         * sysdeps/unix/ioctls-tmpl.c: Likewise.
10625         * sysdeps/unix/ioctls.awk: Likewise.
10626         * sysdeps/unix/mk-local_lim.c: Likewise.
10627         * sysdeps/unix/snarf-ioctls: Likewise.
10629 2012-03-19  Richard Henderson  <rth@twiddle.net>
10631         * sysdeps/i386/fpu/fenv_private.h: New file.
10632         * sysdeps/i386/fpu/math_private.h: Use it.
10633         (math_opt_barrier, math_force_eval): Remove.
10634         (libc_feholdexcept_setround_53bit): Remove.
10635         (libc_feupdateenv_53bit): Remove.
10636         * sysdeps/x86_64/fpu/math_private.h: Likewise.
10637         (math_opt_barrier, math_force_eval): Remove.
10638         (libc_feholdexcept): Remove.
10639         (libc_feholdexcept_setround): Remove.
10640         (libc_fetestexcept, libc_fesetenv): Remove.
10641         (libc_feupdateenv_test): Remove.
10642         (libc_feupdateenv, libc_feholdsetround): Remove.
10643         (libc_feresetround): Remove.
10645         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10646         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10648         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10649         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10650         (libc_feupdateenv_testl): New.
10651         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10652         (libc_feupdateenv_testf): New.
10653         (libc_feupdateenv): Use libc_feupdateenv_test.
10654         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10655         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10657         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10658         (libc_feholdsetroundf, libc_feholdsetroundl): New.
10659         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10660         (libc_feresetround_noex): New.
10661         (libc_feresetround_noexf): New.
10662         (libc_feresetround_noexl): New.
10663         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10664         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10665         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10666         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10667         SET_RESTORE_ROUND.
10668         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10669         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10670         (__cos): Likewise.
10671         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10672         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10673         SET_RESTORE_ROUND_NOEX.
10674         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10675         SET_RESTORE_ROUND_NOEXF.
10676         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10677         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10678         (libc_feholdsetroundf): New.
10679         (libc_feresetround, libc_feresetroundf): New.
10681         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10682         (libc_feholdexcept_setround_53bit): Convert from macro to function.
10683         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
10685         * sysdeps/generic/math_private.h: Include <fenv.h>.
10686         (default_libc_feholdexcept): New.
10687         (default_libc_feholdexcept_setround): New.
10688         (default_libc_fesetenv, default_libc_feupdateenv): New.
10689         (libc_feholdexcept): Only define if undefined.
10690         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10691         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10692         (libc_feholdexcept_setroundl): Likewise.
10693         (libc_feholdexcept_setround_53bit): Likewise.
10694         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10695         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10696         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10697         (libc_feupdateenv_53bit): Likewise.
10698         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10699         (libc_feholdexcept): Convert from macro to inline function.
10700         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10701         (libc_fesetenv, libc_feupdateenv): Likewise.
10703         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10704         not previously defined.
10705         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10706         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10707         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10708         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10709         * sysdeps/ieee754/flt-32/math_private.h: New file.
10710         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10711         math_private.h below SET_FLOAT_WORD.
10712         (__isnan, __isinf_ns, __finite): Remove.
10713         (__isnanf, __isinf_nsf, __finitef): Remove.
10715 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
10717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10719 2012-03-17  David S. Miller  <davem@davemloft.net>
10721         [BZ #6471]
10722         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10723         for 2.16.
10725 2012-03-16  David S. Miller  <davem@davemloft.net>
10727         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10728         warnings.
10730         [BZ #6471]
10731         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10732         properly.
10733         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10734         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10735         sysdep_routines when subdir is sysvipc.
10736         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10737         __getshmlba helper.
10739         * sysdeps/sparc/fpu/libm-test/ulps: Update.
10741 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10743         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10744         [__LP64__].
10746 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10748         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10749         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10750         (__lround): Renamed to ...
10751         (__llround): This.  Replace long int with long long int.
10752         Define lround functions as aliases of llround functions.
10753         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10755 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10757         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10758         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
10759         adresses to uintptr_t.  Replace "long int" and "unsigned long
10760         int" with "greg_t" on va_arg.
10762 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10764         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10765         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10767         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10768         Move e_machine check before EI_CLASS check.  Handle x32
10769         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10770         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10771         SKIP_EM_IA_64 and include
10772         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10774         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10775         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10776         (add_system_dir): New macro.
10778         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10779         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10781 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
10783         [BZ #2551]
10784         [BZ #2552]
10785         [BZ #2553]
10786         [BZ #2554]
10787         [BZ #2562]
10788         [BZ #2563]
10789         [BZ #2565]
10790         [BZ #2566]
10791         [BZ #2576]
10792         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10793         (y0): Likewise.
10794         * math/w_j0f.c (j0f): Likewise.
10795         (y0f): Likewise.
10796         * math/w_j0l.c (__j0l): Likewise.
10797         (__y0l): Likewise.
10798         * math/w_j1.c (j1): Likewise.
10799         (y1): Likewise.
10800         * math/w_j1f.c (j1f): Likewise.
10801         (y1f): Likewise.
10802         * math/w_j1l.c (__j1l): Likewise.
10803         (__y1l): Likewise.
10804         * math/w_jn.c (jn): Likewise.
10805         (yn): Likewise.
10806         * math/w_jnf.c (jnf): Likewise.
10807         (ynf): Likewise.
10808         * math/w_jnl.c (__jnl): Likewise.
10809         (__ynl): Likewise.
10810         * math/libm-test.inc (j0_test): Add more tests.
10811         (j1_test): Likewise.
10812         (jn_test): Likewise.  Add trailing semicolon to existing test.
10813         (y0_test): Likewise.
10814         (y1_test): Likewise.
10815         * sysdeps/i386/fpu/libm-test-ulps: Update.
10816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10818         [BZ #13851]
10819         [BZ #13854]
10820         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10821         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10822         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10823         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10824         (__tanl): Set errno for infinite argument.
10825         * sysdeps/i386/fpu/mptan.c: Remove.
10826         * sysdeps/i386/fpu/s_tan.S: Likewise.
10827         * sysdeps/i386/fpu/s_tanl.S: Likewise.
10828         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10829         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10830         * math/libm-test.inc (tan_test): Add more tests and enable more
10831         tests for double and long double.
10832         * sysdeps/i386/fpu/libm-test-ulps: Update.
10833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10835 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10837         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10838         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10840 2012-03-16  Roland McGrath  <roland@hack.frob.com>
10842         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10843         * configure.in: Use it for both main tree and add-ons.
10844         * configure: Regenerated.
10846 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10848         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10850 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
10852         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10853         in comment.
10855         [BZ #13851]
10856         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10857         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10858         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10859         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10860         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10861         infinite argument.
10862         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10863         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10864         != 0 for prec == 2.
10865         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10866         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10867         * sysdeps/i386/fpu/s_cosl.S: Likewise.
10868         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10869         * sysdeps/i386/fpu/s_sinl.S: Likewise.
10870         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10871         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10872         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10873         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10874         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10875         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10876         * math/libm-test.inc (cos_test): Add more tests and enable more
10877         tests for long double.
10878         (sin_test): Likewise.
10879         (sincos_test): Likewise.
10880         * sysdeps/i386/fpu/libm-test-ulps: Update.
10881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10883 2012-03-16  David S. Miller  <davem@davemloft.net>
10885         * sysdeps/sparc/fpu/math_private.h: New file.
10887 2012-03-15  David S. Miller  <davem@davemloft.net>
10889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10890         file.
10891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10893         file.
10894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10895         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10896         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10897         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10898         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10899         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10900         sysdep routines.
10901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10903         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10904         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10906         * sysdeps/sparc/sparc-ifunc.h: New file.
10907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10908         sparc-ifunc.h
10909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10911         Likewise.
10912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10913         Likewise.
10914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10918         Likewise.
10919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10924         Likewise.
10925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10926         Likewise.
10927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10932         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10933         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10934         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10935         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10936         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10937         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10938         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10939         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10940         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10941         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10942         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10943         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10944         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10945         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10946         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10947         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10948         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10949         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10950         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10952 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
10954         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10955         scaling.
10956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10958 2012-03-15  Andreas Jaeger  <aj@suse.de>
10960         [BZ #13852]
10961         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10962         ieee754/flt-32 implementation for sin, cos and sincos.
10963         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10964         * sysdeps/i386/fpu/s_cosf.S: Likewise.
10965         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10966         * sysdeps/i386/fpu/s_sinf.S: Likewise.
10967         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10968         ieee754/flt-32 implementation for tan.
10970         * math/libm-test.inc (cos_test): Enable some large input tests for
10971         float as well
10972         (sin_test): Likewise.
10973         (sincos_test): Likewise.
10974         (tan_test): Add tests for large input.
10976         * sysdeps/i386/fpu/libm-test-ulps: Update.
10978 2012-03-15  Andreas Jaeger  <aj@suse.de>
10980         [BZ #13658]
10981         * math/libm-test.inc (cos_test): Add more test cases.
10982         (sin_test): Likewise.
10983         (sincos_test): Likewise.
10985 2012-03-15  Andreas Jaeger  <aj@suse.de>
10987         [BZ #13837]
10988         * math/libm-test.inc (cos_test): Add a test case for large input
10989         value.
10990         (sin_test): Likewise.
10991         (sincos_test): Likewise.
10993 2012-03-15  Andreas Jaeger  <aj@suse.de>,
10994         Joseph Myers  <joseph@codesourcery.com>
10996         [BZ #13658]
10997         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10998         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10999         * sysdeps/i386/fpu/branred.c: Likewise.
11000         * sysdeps/i386/fpu/dosincos.c: Likewise.
11001         * sysdeps/i386/fpu/mpa.c: Likewise.
11002         * sysdeps/i386/fpu/s_cos.S: Likewise.
11003         * sysdeps/i386/fpu/s_sin.S: Likewise.
11004         * sysdeps/i386/fpu/s_sincos.S: Likewise.
11005         * sysdeps/i386/fpu/sincos32.c: Likewise.
11007         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11008         Define.
11009         (libc_feupdateenv_53bit): Define.
11010         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11011         Define.
11012         (libc_feupdateenv_53bit): Define.
11014         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11015         53 bit (without extend i386 double precision).
11017         * math/libm-test.inc (sincos_test): Add tests for large input.
11018         (sin): Likewise.
11019         (cos): Likewise.
11021         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11023 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
11025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11027 2012-03-15  David S. Miller  <davem@davemloft.net>
11029         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11030         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11031         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11032         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11037         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11038         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11039         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11040         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11041         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11042         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11043         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
11044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11045         file.
11046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
11047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11048         file.
11049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
11050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11051         file.
11052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
11053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11054         file.
11055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11056         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11057         fmin/fmax sysdep routines.
11058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11060 2012-03-14  David S. Miller  <davem@davemloft.net>
11062         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11063         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11064         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11065         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11066         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11067         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11068         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11069         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11071         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11072         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11073         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11074         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11075         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11076         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11077         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11078         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11079         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11080         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11081         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11082         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11083         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11084         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11085         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11086         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11087         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11088         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11089         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
11090         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11091         routines.
11092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11093         file.
11094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
11095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11096         file.
11097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
11098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11099         file.
11100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
11101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11102         file.
11103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
11104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11105         file.
11106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
11107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11108         file.
11109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11110         file.
11111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11112         file.
11113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11114         file.
11115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11116         New file.
11117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11118         file.
11119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11120         file.
11121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
11122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11123         file.
11124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
11125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11126         file.
11127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
11128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11129         file.
11130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
11131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11132         VIS3 routines.
11134         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11135         New file.
11137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11139         * sysdeps/sparc/configure.in: New file.
11140         * sysdeps/sparc/configure: Generate.
11141         * configure.in (libc_cv_sparc_as_vis3): Substitute.
11142         * configure: Regenerate.
11143         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11144         * config.make.in (have-as-vis3): New.
11145         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11146         available use -Av9d instead of -Av9a.
11147         * sysdeps/sparc/sparc64/Makefile: Likewise.
11148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
11149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11150         New file.
11151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11152         file.
11153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11154         New file.
11155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11156         file.
11157         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11158         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11159         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11160         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11161         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11163         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11164         fzeros/fnegs to load 0x80000000 into a float register instead of
11165         using the stack.
11166         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11168 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
11170         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11171         bits/syscall.h.
11172         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11173         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11174         ($(inst_includedir)/bits/syscall.h): Remove rule.
11175         ($(objpfx)bits/syscall.d): Include instead of
11176         $(objpfx)syscall-list.d.
11177         (generated): Change syscall-list.h and syscall-list.d to
11178         bits/syscall.h and bits/syscall.d.
11180 2012-03-14  Roland McGrath  <roland@hack.frob.com>
11182         [BZ #13846]
11183         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11185 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
11187         [BZ #13841]
11188         * math/s_csqrt.c: Include <float.h>.
11189         (__csqrt): Scale large or subnormal inputs.
11190         * math/s_csqrtf.c: Likewise.
11191         * math/s_csqrtl.c: Likewise.
11192         * math/libm-test.inc (csqrt_test): Add more tests.
11193         * sysdeps/i386/fpu/libm-test-ulps: Update.
11194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11196         [BZ #13840]
11197         * math/libm-test.inc (hypot_test): Add more tests.
11199 2012-03-13  David S. Miller  <davem@davemloft.net>
11201         [BZ #13840]
11202         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11203         double-precision for the calculation instead of scaling.
11205 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
11207         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11208         manipulate bits before adding and subtracting TWO52[sx].
11209         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11210         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11211         Likewise.
11212         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11214 2012-03-13  David S. Miller  <davem@davemloft.net>
11216         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11217         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11218         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11219         rtld-global-offsets.h
11220         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11222         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11223         large parameters.
11225         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11227         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11228         'err' in the ifdef scope in which it is actually used.
11230         * nss/nss_db/db-init.c: Include string.h
11232 2012-03-12  David S. Miller  <davem@davemloft.net>
11234         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11235         masking out of the most significant byte of random value used.
11236         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11237         Fix coding style in previous change.
11239         * sysdeps/unix/sysv/linux/kernel-features.h
11240         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11241         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11242         expression.
11243         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11244         later.
11246 2012-03-11  David S. Miller  <davem@davemloft.net>
11248         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11249         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11250         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11251         for 'resultvar' otherwise things get truncated on 64-bit.
11253         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11254         Fix masking out of the most significant byte of random value used.
11256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11258 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
11260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11262 2012-03-09  David S. Miller  <davem@davemloft.net>
11264         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11265         variables with appropriate CPP guards.
11266         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11267         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
11268         on resulting framesize and the management of the outregs buffer for pltexit.
11269         Preserve floating point return values across _dl_call_pltexit call.
11270         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11271         framesize and the management of the outregs buffer for pltexit.
11272         Preserve floating point return values across _dl_call_pltexit
11273         call.
11274         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11275         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11276         (print_exit): Fix format string for return register value.
11278 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
11280         * sunrpc/Makefile (others): Add rpcgen.
11281         ($(objpfx)rpcgen): Remove special build rule and dependency on
11282         libc.
11283         * sunrpc/rpcgen.c: New file.
11285 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
11287         [BZ #13673]
11288         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11289         * stdio-common/bug-vfprintf-nargs.c: Likewise.
11290         * sysdeps/i386/crti.S: Likewise.
11291         * sysdeps/i386/crtn.S: Likewise.
11292         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11293         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11294         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11295         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11296         * sysdeps/sh/crti.S: Likewise.
11297         * sysdeps/sh/crtn.S: Likewise.
11298         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11300         [BZ #13673]
11301         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11302         with URL.
11303         * locale/programs/locfile-kw.gperf: Likewise.
11304         * locale/programs/charmap-kw.h: Regenerated.
11305         * locale/programs/locfile-kw.h: Likewise.
11307         [BZ #13673]
11308         * intl/plural.y: Replace FSF snail mail address with URL.
11309         * intl/plural.c: Regenerated.
11311 2012-03-09  Richard Henderson  <rth@twiddle.net>
11313         * include/math_private.h: Remove file.
11314         * math/math_private.h: Move file ...
11315         * sysdeps/generic/math_private.h: ... here.
11317         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11318         * sysdeps/powerpc/fpu/math_private.h: Likewise.
11319         * sysdeps/x86_64/fpu/math_private.h: Likewise.
11321         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
11322         and <math_private.h>.
11323         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11324         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11325         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11326         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11327         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11328         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11329         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11330         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11331         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11332         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11333         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11334         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11335         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11336         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11337         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11338         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11339         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11340         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11341         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11342         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11343         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11344         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11345         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11346         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11347         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11348         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11349         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11350         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11351         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11352         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11353         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11354         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11355         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11356         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11357         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11358         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11359         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11360         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11361         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11362         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11363         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11364         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11365         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11366         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11367         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11368         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11369         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11370         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11371         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11372         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11373         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11374         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11375         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11376         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11377         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11378         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11379         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11380         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11381         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11382         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11383         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11384         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11385         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11386         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11387         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11388         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11389         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11390         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11391         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11392         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11393         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11394         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11395         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11396         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11397         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11398         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11399         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11400         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11401         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11402         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11403         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11404         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11405         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11406         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11407         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11408         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11409         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11410         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11411         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11412         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11413         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11414         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11415         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11416         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11417         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11418         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11419         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11420         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11421         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11422         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11423         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11424         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11425         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11426         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11427         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11428         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11429         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11430         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11431         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11432         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11433         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11434         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11435         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11436         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11437         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11438         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11439         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11440         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11441         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11442         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11443         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11444         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11445         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11446         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11447         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11448         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11449         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11450         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11451         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11452         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11453         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11454         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11455         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11456         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11457         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11458         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11459         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11460         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11461         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11462         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11463         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11464         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11465         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11466         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11467         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11468         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11469         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11470         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11471         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11472         * sysdeps/ieee754/k_standard.c: Likewise.
11473         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11474         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11475         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11476         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11477         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11478         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11479         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11480         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11481         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11482         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11483         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11484         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11485         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11486         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11487         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11488         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11489         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11490         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11491         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11492         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11493         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11494         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11495         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11496         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11497         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11498         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11499         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11500         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11501         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11502         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11503         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11504         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11505         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11506         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11507         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11508         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11509         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11510         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11511         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11512         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11513         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11514         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11515         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11516         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11517         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11518         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11519         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11520         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11521         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11522         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11523         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11524         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11525         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11526         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11527         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11528         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11529         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11530         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11531         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11532         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11533         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11534         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11535         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11536         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11537         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11538         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11539         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11540         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11541         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11542         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11543         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11544         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11545         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11546         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11547         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11548         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11549         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11550         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11551         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11552         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11553         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11554         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11555         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11556         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11557         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11558         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11559         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11560         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11561         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11562         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11563         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11564         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11565         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11566         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11567         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11568         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11569         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11570         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11571         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11572         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11573         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11574         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11575         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11576         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11577         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11578         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11579         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11580         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11581         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11582         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11583         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11584         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11585         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11586         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11587         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11588         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11589         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11590         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11591         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11592         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11593         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11594         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11595         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11596         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11597         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11598         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11599         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11600         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11601         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11602         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11603         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11604         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11605         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11606         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11607         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11608         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11609         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11610         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11611         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11612         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11613         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11614         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11615         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11616         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11617         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11618         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11619         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11620         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11621         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11622         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11623         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11624         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11625         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11626         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11627         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11628         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11629         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11630         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11631         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11632         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11633         * sysdeps/ieee754/s_lib_version.c: Likewise.
11634         * sysdeps/ieee754/s_matherr.c: Likewise.
11635         * sysdeps/ieee754/s_signgam.c: Likewise.
11636         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11637         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11638         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11639         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11640         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11641         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11642         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11643         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11644         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11645         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11646         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11647         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11648         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11649         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11650         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11651         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11652         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11653         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11654         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11655         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11656         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11658 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
11660         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11661         * sunrpc/rpc_main.c: Likewise.
11662         * sunrpc/rpc_svcout.c: Likewise.
11664 2012-03-09  David S. Miller  <davem@davemloft.net>
11666         * include/math_private.h: New file.
11668 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
11670         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11671         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11672         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11673         from <bits/socket_type.h>.
11674         (enum __socket_type): Don't define here.
11675         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11676         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11677         bits/socket_type.h.
11679         [BZ #13566]
11680         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11681         checking __USE_GNU.
11683         * Makerules ($(inst_includedir)/%.h): New rule.
11684         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11685         (install-others): Remove variable setting.
11686         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11688 2012-03-08  Richard Henderson  <rth@twiddle.net>
11690         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11691         from macro to inline function; merge with the
11692         !__LIBC_INTERNAL_MATH_INLINES version.
11693         (__ieee754_sqrtf): Likewise.
11695         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11696         to inline function.
11697         (__rintf, __floor, __floorf): Likewise.
11699         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11700         macro to inline function.
11701         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11703         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11704         not <math/math_private.h>.
11706 2012-03-08  David S. Miller  <davem@davemloft.net>
11708         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11709         copyright year.
11710         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11712 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
11714         * resolv/gai_misc.c (handle_requests): Fix struct timespec
11715         normalization.
11716         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11717         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11719 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
11721         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
11722         be defined individually, they must be defined as a block.  Define
11723         S for printing a string instead of hidint the different by using a
11724         macro for adding the 'l'.
11725         * stdio-common/tst-fphex-wide.c: Adjust.
11727 2012-03-07  Marek Polacek  <polacek@redhat.com>
11729         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11731 2012-03-08  Marek Polacek  <polacek@redhat.com>
11733         [BZ #13806]
11734         * stdio-common/Makefile (tests): Add tst-fphex-wide.
11735         * stdio-common/tst-fphex.c: Define a few macros to make the
11736         test reusable.  Use them.
11737         * stdio-common/tst-fphex-wide.c: New file.
11739 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
11741         [BZ #6911]
11742         * manual/macros.texi (gnusystems): New macro.
11743         (nongnusystems): Likewise.
11744         (gnulinuxhurdsystems): Likewise.
11745         (gnuhurdsystems): Likewise..
11746         (gnulinuxsystems): Likewise.
11747         * manual/charset.texi: Use new macros or @theglibc{} to refer to
11748         variants of the GNU system, not "GNU system".
11749         * manual/conf.texi: Likewise.
11750         * manual/errno.texi: Likewise.  Update example of errno macro
11751         expansion.
11752         * manual/filesys.texi: Likewise.
11753         (getumask): Document as specific to GNU/Hurd.
11754         * manual/install.texi: Likewise.  Reword some references to
11755         GNU/Linux.
11756         * manual/intro.texi: Likewise.
11757         * manual/io.texi: Likewise.
11758         (File Name Portability): Detail which constraints are inapplicable
11759         to all GNU systems and which are only inapplicable to GNU/Hurd.
11760         * manual/job.texi: Likewise.
11761         * manual/llio.texi: Likewise.
11762         (O_NOCTTY): Document as present on GNU/Linux.
11763         * manual/maint.texi: Likewise.
11764         * manual/memory.texi: Likewise.
11765         * manual/pattern.texi: Likewise.
11766         * manual/pipe.texi: Likewise.
11767         * manual/process.texi: Likewise.
11768         * manual/resource.texi: Likewise.
11769         (RUSAGE_CHILDREN): Remove statement about specifying a particular
11770         child on GNU/Hurd.
11771         * manual/setjmp.texi: Likewise.
11772         * manual/signal.texi: Likewise.
11773         * manual/startup.texi: Likewise.
11774         * manual/stdio.texi: Likewise.
11775         * manual/terminal.texi: Likewise.
11776         (ONLCR): Document as POSIX.
11777         (OXTABS): Document availability on GNU/Linux as XTABS.
11778         (ONOEOT): Document availability separately from other bits.
11779         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11780         * manual/time.texi: Likewise.
11781         * manual/users.texi: Likewise.
11782         * INSTALL: Regenerated.
11783         * sysdeps/gnu/errlist.c: Regenerated.
11785         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11786         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11787         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
11788         puts.
11789         * configure: Regenerated.
11791 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
11793         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11794         default includes instead of AC_HEADER_CHECK.
11795         * sysdeps/i386/configure: Regenerated.
11797         [BZ #10716]
11798         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11799         * math/s_cacoshf.c (__cacoshf): Likewise.
11800         * math/s_cacoshl.c (__cacoshl): Likewise.
11801         * math/s_casinh.c (__casinh): Set signs of result from argument.
11802         * math/s_casinhf.c (__casinhf): Likewise.
11803         * math/s_casinhl.c (__casinhl): Likewise.
11804         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11805         (casinh_test): Add more tests.
11806         * sysdeps/i386/fpu/libm-test-ulps: Update.
11807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11809 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
11811         * po/zh_TW.po: Update from translation team.
11813         * login/Makefile (distribute): Remove variable.
11814         * catgets/Makefile: Likewise.
11815         * mach/Makefile: Likewise.
11816         * malloc/Makefile: Likewise.
11817         * misc/Makefile: Likewise.
11818         * iconv/Makefile: Likewise.
11819         * nscd/Makefile: Likewise.
11820         * hurd/Makefile: Likewise.
11821         * manual/Makefile: Likewise.
11822         * locale/Makefile: Likewise.
11823         * intl/Makefile: Likewise.
11824         * conform/Makefile: Likewise.
11825         * nss/Makefile: Likewise.
11826         * time/Makefile: Likewise.
11827         * soft-fp/Makefile: Likewise.
11828         * dirent/Makefile: Likewise.
11829         * gmon/Makefile: Likewise.
11830         * po/Makefile: Likewise.
11831         * rt/Makefile: Likewise.
11832         * socket/Makefile: Likewise.
11833         * math/Makefile: Likewise.
11834         * signal/Makefile: Likewise.
11835         * debug/Makefile: Likewise.
11836         * elf/Makefile: Likewise.
11837         * timezone/Makefile: Likewise.
11838         * stdlib/Makefile: Likewise.
11839         * iconvdata/Makefile: Likewise.
11840         * sunrpc/Makefile: Likewise.
11841         * io/Makefile: Likewise.
11842         * argp/Makefile: Likewise.
11843         * inet/Makefile: Likewise.
11844         * hesiod/Makefile: Likewise.
11845         * grp/Makefile: Likewise.
11846         * csu/Makefile: Likewise.
11847         * wctype/Makefile: Likewise.
11848         * crypt/Makefile: Likewise.
11849         * libio/Makefile: Likewise.
11850         * string/Makefile: Likewise.
11851         * nis/Makefile: Likewise.
11852         * resolv/Makefile: Likewise.
11853         * stdio-common/Makefile: Likewise.
11854         * wcsmbs/Makefile: Likewise.
11855         * dlfcn/Makefile: Likewise.
11856         * posix/Makefile: Likewise.
11858         [BZ #6959]
11859         * timezone/Makefile: Don't install timezone files, just the programs
11860         and scripts.
11862 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
11864         * nss/databases.def: Add missing gshadow entry.
11866         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
11868 2012-03-06  Marek Polacek  <polacek@redhat.com>
11870         [BZ #13726]
11871         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11872         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11873         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11874         * stdio-common/tst-long-dbl-fphex.c: New file.
11876 2012-03-06  David S. Miller  <davem@davemloft.net>
11878         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11879         (set_obp_int): New function.
11880         (get_obp_int): New function.
11881         (__get_clockfreq_via_dev_openprom): Likewise.
11882         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11883         Avoid unused variable warnings on 'val' and use builtin_expect.
11884         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11885         __builtin_expect.
11886         (INLINE_CLONE_SYSCALL): Likewise.
11888 2012-03-05  David S. Miller  <davem@davemloft.net>
11890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11892 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
11894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11896         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11897         only for |x| >= 40.
11898         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11900 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
11902         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11903         Replace gettimeofday with __vdso_gettimeofday.
11905         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11906         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11907         __vdso_clock_gettime and __vdso_getcpu.
11909         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11910         time with __vdso_time.
11912 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
11914         * manual/lang.texi (size_t): Note types to which size_t may be
11915         equivalent with the GNU C Library, but do not describe when
11916         differences between them are significant.
11918 2012-03-05  Andreas Jaeger  <aj@suse.de>
11920         * sysdeps/i386/fpu/libm-test-ulps: Update.
11922 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
11924         [BZ #3976]
11925         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11926         (__ieee754_pow): Save and restore rounding mode and use
11927         round-to-nearest for main computations.
11928         * math/libm-test.inc (pow_test_tonearest): New function.
11929         (pow_test_towardzero): Likewise.
11930         (pow_test_downward): Likewise.
11931         (pow_test_upward): Likewise.
11932         (main): Call the new functions.
11933         * sysdeps/i386/fpu/libm-test-ulps: Update.
11934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11936         [BZ #3976]
11937         * math/libm-test.inc (cosh_test_tonearest): New function.
11938         (cosh_test_towardzero): Likewise.
11939         (cosh_test_downward): Likewise.
11940         (cosh_test_upward): Likewise.
11941         (sinh_test_tonearest): Likewise.
11942         (sinh_test_towardzero): Likewise.
11943         (sinh_test_downward): Likewise.
11944         (sinh_test_upward): Likewise.
11945         (main): Call the new functions.
11946         * sysdeps/i386/fpu/libm-test-ulps: Update.
11947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11949 2012-03-05  Tom de Vries  <tom@codesourcery.com>
11951         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11952         default stack guard is set in last bytes.
11953         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11955 2012-03-05  Kees Cook  <keescook@chromium.org>
11957         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11959         [BZ #13656]
11960         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11961         possibly allocate from heap instead of stack.
11962         * stdio-common/bug-vfprintf-nargs.c: New file.
11963         * stdio-common/Makefile (tests): Add nargs overflow test.
11965 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
11967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11969 2012-03-03  Marek Polacek  <polacek@redhat.com>
11971         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11972         * math/math_private.h: Likewise.
11973         * stdlib/tst-strtod.c: Likewise.
11974         * sysdeps/i386/i486/bits/atomic.h: Likewise.
11975         * sysdeps/x86_64/bits/atomic.h: Likewise.
11977 2012-03-02  David S. Miller  <davem@davemloft.net>
11979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11983         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11984         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11985         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11986         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11988 2012-03-02  Roland McGrath  <roland@hack.frob.com>
11990         [BZ #13792]
11991         * manual/examples/README: New file, says the example source files
11992         can be used under GPL>=2.
11993         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11994         line containing just "*/".
11995         * manual/examples/add.c: Add copyright header (GPL>=2).
11996         * manual/examples/argp-ex1.c: Likewise.
11997         * manual/examples/argp-ex2.c: Likewise.
11998         * manual/examples/argp-ex3.c: Likewise.
11999         * manual/examples/argp-ex4.c: Likewise.
12000         * manual/examples/atexit.c: Likewise.
12001         * manual/examples/db.c: Likewise.
12002         * manual/examples/dir.c: Likewise.
12003         * manual/examples/dir2.c: Likewise.
12004         * manual/examples/execinfo.c: Likewise.
12005         * manual/examples/filecli.c: Likewise.
12006         * manual/examples/filesrv.c: Likewise.
12007         * manual/examples/fmtmsgexpl.c: Likewise.
12008         * manual/examples/genpass.c: Likewise.
12009         * manual/examples/inetcli.c: Likewise.
12010         * manual/examples/inetsrv.c: Likewise.
12011         * manual/examples/isockad.c: Likewise.
12012         * manual/examples/longopt.c: Likewise.
12013         * manual/examples/memopen.c: Likewise.
12014         * manual/examples/memstrm.c: Likewise.
12015         * manual/examples/mkfsock.c: Likewise.
12016         * manual/examples/mkisock.c: Likewise.
12017         * manual/examples/mygetpass.c: Likewise.
12018         * manual/examples/pipe.c: Likewise.
12019         * manual/examples/popen.c: Likewise.
12020         * manual/examples/rprintf.c: Likewise.
12021         * manual/examples/search.c: Likewise.
12022         * manual/examples/select.c: Likewise.
12023         * manual/examples/setjmp.c: Likewise.
12024         * manual/examples/sigh1.c: Likewise.
12025         * manual/examples/sigusr.c: Likewise.
12026         * manual/examples/stpcpy.c: Likewise.
12027         * manual/examples/strdupa.c: Likewise.
12028         * manual/examples/strftim.c: Likewise.
12029         * manual/examples/strncat.c: Likewise.
12030         * manual/examples/subopt.c: Likewise.
12031         * manual/examples/swapcontext.c: Likewise.
12032         * manual/examples/termios.c: Likewise.
12033         * manual/examples/testopt.c: Likewise.
12034         * manual/examples/testpass.c: Likewise.
12035         * manual/examples/timeval_subtract.c: Likewise.
12037         [BZ #13792]
12038         * manual/time.texi (Elapsed Time): Move timeval_subtract example
12039         function to ...
12040         * manual/timeval_subtract.c.texi: ... here, new file.
12042 2012-03-02  David S. Miller  <davem@davemloft.net>
12044         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12046 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
12048         [BZ #3976]
12049         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12050         (__sin): Save and restore rounding mode and use round-to-nearest
12051         for all computations.
12052         (__cos): Save and restore rounding mode and use round-to-nearest
12053         for all computations.
12054         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12055         <fenv.h>.
12056         (tan): Save and restore rounding mode and use round-to-nearest for
12057         all computations.
12058         * math/libm-test.inc (cos_test_tonearest): New function.
12059         (cos_test_towardzero): Likewise.
12060         (cos_test_downward): Likewise.
12061         (cos_test_upward): Likewise.
12062         (sin_test_tonearest): Likewise.
12063         (sin_test_towardzero): Likewise.
12064         (sin_test_downward): Likewise.
12065         (sin_test_upward): Likewise.
12066         (tan_test_tonearest): Likewise.
12067         (tan_test_towardzero): Likewise.
12068         (tan_test_downward): Likewise.
12069         (tan_test_upward): Likewise.
12070         (main): Call the new functions.
12071         * sysdeps/i386/fpu/libm-test-ulps: Update.
12072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12074         [BZ #10135]
12075         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12076         small n, then large n, before computing and testing k+n.
12077         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12078         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12079         Likewise.
12080         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12081         Likewise.
12082         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12083         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12084         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12085         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12086         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12087         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12088         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12089         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12090         * math/libm-test.inc (scalbn_test): Add more tests.
12091         (scalbln_test): Likewise.
12093         * manual/filesys.texi (mode_t): Describe constraints on size and
12094         signedness, not exact equivalence to a particular type.
12095         (ino_t): Likewise.
12096         (ino64_t): Likewise.
12097         (dev_t): Likewise.
12098         (nlink_t): Likewise.
12099         (blkcnt_t): Likewise.
12100         (blkcnt64_t): Likewise.
12101         * manual/llio.texi (off_t): Likewise.
12103         [BZ #3976]
12104         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12105         (__ieee754_exp): Save and restore rounding mode and use
12106         round-to-nearest for all computations.
12107         * math/libm-test.inc (exp_test_tonearest): New function.
12108         (exp_test_towardzero): Likewise.
12109         (exp_test_downward): Likewise.
12110         (exp_test_upward): Likewise.
12111         (main): Call the new functions.
12112         * sysdeps/i386/fpu/libm-test-ulps: Update.
12113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12115 2012-03-01  Chris Demetriou  <cgd@google.com>
12117         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12118         have predictable order.
12120 2012-03-01  David S. Miller  <davem@davemloft.net>
12122         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12124         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12125         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12126         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12127         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12129         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12130         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12131         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12133         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12134         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12135         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12136         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12137         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12141         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12142         * sysdeps/sparc/fpu/libm-test-ulps: to here.
12143         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12145         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12146         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12147         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12148         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12149         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12150         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12151         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12152         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12153         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12154         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12155         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12156         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12157         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12158         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12159         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12160         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12161         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12162         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12163         * sysdeps/sparc/elf/configure: Regenerated.
12165 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
12167         * configure.in (AS, LD): Require binutils 2.20 or later.
12168         * configure: Regenerated.
12169         * manual/install.texi (Tools for Compilation): Give binutils 2.20
12170         as required minimum version.
12171         * INSTALL: Regenerated.
12173         [BZ #2541]
12174         [BZ #4108]
12175         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12176         before squaring exponent.
12177         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12178         bottom long double and 27 bits of top long double before squaring
12179         exponent.
12180         * math/libm-test.inc (erfc_test): Add more tests.
12181         * sysdeps/i386/fpu/libm-test-ulps: Update.
12182         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12185 2012-03-01  Kai Tietz  <ktietz@redhat.com>
12187         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12188         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12189         containing bit-fields.
12190         * soft-fp/extended.h (_FP_UNION_E): Likewise.
12191         * soft-fp/single.h (_FP_UNION_S): Likewise.
12192         * soft-fp/double.h (_FP_UNION_D): Likewise.
12194 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
12196         [BZ #13786]
12197         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12198         not include ../strcmp.S.
12199         [USE_AS_STRNCASECMP_L]: Likewise.
12200         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12201         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12202         * sysdeps/i386/i686/multiarch/strncase_l-c.c
12203         (__strncasecmp_l_ia32): Define as alias to
12204         __strncasecmp_l_nonascii.
12206         [BZ #5794]
12207         * math/libm-test.inc (expm1_test): Add test for bug 5794.
12208         * sysdeps/i386/fpu/libm-test-ulps: Update.
12209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12211         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12214 2012-02-29  Jeff Law  <law@redhat.com>
12216         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12217         out of bounds read.
12219 2012-02-29  Marek Polacek  <polacek@redhat.com>
12221         [BZ #13706]
12222         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12223         * elf/Makefile: Add rules to run tst-unused-dep.out.
12225 2012-02-28  David S. Miller  <davem@davemloft.net>
12227         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12228         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12229         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12230         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12231         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12232         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12234 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
12236         * math/libm-test.inc (llround_test): Move one test from
12237         lround_test.  Use TEST_f_L in moved test.
12238         (lround_test): Move misplaced test to llround_test.  Add testcase
12239         from bug 2561.
12241 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
12243         * sysdeps/x86_64/fpu/e_expf.S: New file.
12244         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12246 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
12248         [BZ #13637]
12249         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12250         of remain_len that may cause incomplete multi-byte character and
12251         false match.
12252         * posix/bug-regex33.c: New file.
12253         * posix/Makefile (tests): Add bug-regex33.
12255 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
12257         * manual/macros.texi: New file.
12258         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12259         * manual/libc.texinfo: Include macros.texi.
12260         * manual/creatute.texi: Likewise.
12261         * manual/install.texi: Likewise.
12262         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12263         @glibcadj{} in references to the GNU C Library.
12264         * manual/charset.texi: Likewise.
12265         * manual/conf.texi: Likewise.
12266         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
12267         when not using those macros.
12268         * manual/creature.texi: Likewise.
12269         * manual/crypt.texi: Likewise.
12270         * manual/errno.texi: Likewise.
12271         * manual/filesys.texi: Likewise.
12272         * manual/header.texi: Likewise.
12273         * manual/install.texi: Likewise.
12274         * manual/intro.texi: Likewise.
12275         * manual/io.texi: Likewise.
12276         * manual/job.texi: Likewise.
12277         * manual/lang.texi: Likewise.
12278         * manual/libc.texiinfo: Likewise.
12279         * manual/llio.texi: Likewise.
12280         * manual/locale.texi: Likewise.
12281         * manual/maint.texi: Likewise.
12282         * manual/math.texi: Likewise.
12283         * manual/memory.texi: Likewise.
12284         * manual/message.texi: Likewise.
12285         * manual/nss.texi: Likewise.
12286         * manual/pattern.texi: Likewise.
12287         * manual/process.texi: Likewise.
12288         * manual/resource.texi: Likewise.
12289         * manual/search.texi: Likewise.
12290         * manual/setjmp.texi: Likewise.
12291         * manual/signal.texi: Likewise.
12292         * manual/socket.texi: Likewise.
12293         * manual/startup.texi: Likewise.
12294         * manual/stdio.texi: Likewise.
12295         * manual/string.texi: Likewise.
12296         * manual/sysinfo.texi: Likewise.
12297         * manual/syslog.texi: Likewise.
12298         * manual/terminal.texi: Likewise.
12299         * manual/time.texi: Likewise.
12300         * manual/users.texi: Likewise.
12301         * INSTALL: Regenerated.
12302         * NOTES: Regenerated.
12303         * sysdeps/gnu/errlist.c: Regenerated.
12305 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
12307         * include/dirent.h: Include <dirstream.h> before
12308         <dirent/dirent.h>.
12310 2012-02-28  David S. Miller  <davem@davemloft.net>
12312         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12313         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12314         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12315         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12317 2012-02-27  David S. Miller  <davem@davemloft.net>
12319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12321         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12322         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12325         frame pointer instead of stack pointer relative arg slot.
12326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12327         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12328         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12330 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
12332         [BZ #3992]
12333         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12335 2012-02-27  David S. Miller  <davem@davemloft.net>
12337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12341         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12342         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12343         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12344         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12346 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
12348         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12349         later.  Allow versions 5-9.
12350         * configure: Regenerated.
12351         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12352         required minimum version and 4.6 as recommended version.  Do not
12353         mention bugs in GCC 2.7 and 2.8.
12354         * INSTALL: Regenerated.
12356 2012-02-27  David S. Miller  <davem@davemloft.net>
12358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12362         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12363         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12364         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12365         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12367         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12368         manipulate bits before adding and subtracting TWO112[sx].
12369         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12371 2012-02-27  Roland McGrath  <roland@hack.frob.com>
12373         [BZ #13775]
12374         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12375         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12376         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12377         being in POSIX, because they are in 1003.1-2008.
12379         * rt/tst-aio.c: Include <fcntl.h>.
12380         * rt/tst-aio7.c: Likewise.
12381         * rt/tst-aio64.c: Likewise.
12383         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12385 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
12387         * manual/install.texi (--with-headers): Describe headers as
12388         interface headers, not private headers.
12389         (Specific advice for GNU/Linux systems): Describe use of headers
12390         from "make headers_install", not private headers from older
12391         kernels.
12392         * INSTALL: Regenerated.
12393         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12394         Change to 2.6.19.
12395         * sysdeps/unix/sysv/linux/configure: Regenerated.
12397         * manual/llio.texi (fclean): Remove documentation.
12399         * manual/Makefile (libc-texi-generated): New variable.  Include
12400         version.texi.
12401         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12402         $(libc-texi-generated), not duplicated list of files.
12403         (version.texi, stamp-version): New rules.
12404         (realclean): Remove $(libc-texi-generated), not individual files
12405         from that list.  Do not remove dir-add.texinfo.
12406         * manual/libc.texinfo: Comment out uses of edition numbers and
12407         references to printed manual.  Remove last-updated dates.
12408         (EDITION): Comment out.
12409         (ISBN): Likewise.
12410         (VERSION, UPDATED): Remove.
12411         (version.texi): Include.
12413 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
12415         * sysdeps/posix/spawni.c: Include <signal.h>.
12416         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12417         * sysdeps/pthread/aio_fsync.c: Likewise.
12419 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
12421         * conform/Makefile (tests): Run only when not cross-compiling and
12422         when fast-check is not defined.
12424         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12425         * conform/data/limits.h-data: Fixes for POSIX2008.
12426         * conform/run-conformtest.sh: Run all tests.
12427         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12428         headers.
12429         * include/bits/dlfcn.h: Likewise.
12430         * include/langinfo.h: Likewise.
12431         * include/monetary.h: Likewise.
12432         * include/sys/poll.h: Likewise.
12434         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12435         for __USE_GNU.
12436         * posix/spawn.h: Define __need_sigset_t.
12437         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12438         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12439         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
12440         to get sigevent_t only.
12441         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12442         only for __USE_GNU.
12443         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12444         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12445         process_vm_writev only for __USE_GNU.
12446         * termios/termios.h: Declare tcgetsid also for POSIX2008.
12448         * conform/Makefile: For now ignore errors from run-conformtest.
12449         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
12450         POSIX to avoid namespace pollution.  Don't prepend headers.
12451         * conform/data/aio.h-data: Fixes for POSIX testing.
12452         * conform/data/fcntl.h-data: Likewise.
12453         * conform/data/glob.h-data: Likewise.
12454         * conform/data/grp.h-data: Likewise.
12455         * conform/data/pthread.h-data: Likewise.
12456         * conform/data/pwd.h-data: Likewise.
12457         * conform/data/signal.h-data: Likewise.
12458         * conform/data/spawn.h-data: Likewise.
12459         * conform/data/stdio.h-data: Likewise.
12460         * conform/data/stdlib.h-data: Likewise.
12461         * conform/data/stropts.h-data: Likewise.
12462         * conform/data/sys/mman.h-data: Likewise.
12463         * conform/data/sys/stat.h-data: Likewise.
12464         * conform/data/sys/types.h-data: Likewise.
12465         * conform/data/sys/wait.h-data: Likewise.
12466         * conform/data/time.h-data: Likewise.
12467         * conform/data/unistd.h-data: Likewise.
12468         * conform/data/utime.h-data: Likewise.
12470         * io/sys/stat.h: fchmod was always in POSIX.
12471         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12472         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12473         * rt/aio.h: Define __need_timespec before including <time.h>.
12474         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12475         struct.  Add forward declaration of pthread_attr_t and use it in
12476         sigevent.
12477         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12478         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12479         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12480         always remove CLK_TCK definition.
12482 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
12484         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12486 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
12488         * conform/run-conformtest.sh: New file.
12489         * conform/Makefile: Run run-conformtest for tests.
12490         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
12491         support.
12493         * conform/data/uchar.h-data: New file.
12494         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12495         * conform/data/arpa/inet.h-data: Likewise.
12496         * conform/data/assert.h-data: Likewise.
12497         * conform/data/complex.h-data: Likewise.
12498         * conform/data/cpio.h-data: Likewise.
12499         * conform/data/ctype.h-data: Likewise.
12500         * conform/data/dirent.h-data: Likewise.
12501         * conform/data/dlfcn.h-data: Likewise.
12502         * conform/data/errno.h-data: Likewise.
12503         * conform/data/fcntl.h-data: Likewise.
12504         * conform/data/float.h-data: Likewise.
12505         * conform/data/fmtmsg.h-data: Likewise.
12506         * conform/data/fnmatch.h-data: Likewise.
12507         * conform/data/ftw.h-data: Likewise.
12508         * conform/data/glob.h-data: Likewise.
12509         * conform/data/grp.h-data: Likewise.
12510         * conform/data/iconv.h-data: Likewise.
12511         * conform/data/inttypes.h-data: Likewise.
12512         * conform/data/langinfo.h-data: Likewise.
12513         * conform/data/libgen.h-data: Likewise.
12514         * conform/data/limits.h-data: Likewise.
12515         * conform/data/locale.h-data: Likewise.
12516         * conform/data/math.h-data: Likewise.
12517         * conform/data/monetary.h-data: Likewise.
12518         * conform/data/mqueue.h-data: Likewise.
12519         * conform/data/ndbm.h-data: Likewise.
12520         * conform/data/net/if.h-data: Likewise.
12521         * conform/data/netdb.h-data: Likewise.
12522         * conform/data/netinet/in.h-data: Likewise.
12523         * conform/data/nl_types.h-data: Likewise.
12524         * conform/data/poll.h-data: Likewise.
12525         * conform/data/pthread.h-data: Likewise.
12526         * conform/data/pwd.h-data: Likewise.
12527         * conform/data/regex.h-data: Likewise.
12528         * conform/data/sched.h-data: Likewise.
12529         * conform/data/search.h-data: Likewise.
12530         * conform/data/semaphore.h-data: Likewise.
12531         * conform/data/setjmp.h-data: Likewise.
12532         * conform/data/signal.h-data: Likewise.
12533         * conform/data/spawn.h-data: Likewise.
12534         * conform/data/stdarg.h-data: Likewise.
12535         * conform/data/stdio.h-data: Likewise.
12536         * conform/data/stdlib.h-data: Likewise.
12537         * conform/data/string.h-data: Likewise.
12538         * conform/data/strings.h-data: Likewise.
12539         * conform/data/stropts.h-data: Likewise.
12540         * conform/data/sys/ipc.h-data: Likewise.
12541         * conform/data/sys/mman.h-data: Likewise.
12542         * conform/data/sys/msg.h-data: Likewise.
12543         * conform/data/sys/resource.h-data: Likewise.
12544         * conform/data/sys/select.h-data: Likewise.
12545         * conform/data/sys/sem.h-data: Likewise.
12546         * conform/data/sys/shm.h-data: Likewise.
12547         * conform/data/sys/socket.h-data: Likewise.
12548         * conform/data/sys/stat.h-data: Likewise.
12549         * conform/data/sys/statvfs.h-data: Likewise.
12550         * conform/data/sys/time.h-data: Likewise.
12551         * conform/data/sys/timeb.h-data: Likewise.
12552         * conform/data/sys/times.h-data: Likewise.
12553         * conform/data/sys/types.h-data: Likewise.
12554         * conform/data/sys/uio.h-data: Likewise.
12555         * conform/data/sys/un.h-data: Likewise.
12556         * conform/data/sys/utsname.h-data: Likewise.
12557         * conform/data/sys/wait.h-data: Likewise.
12558         * conform/data/syslog.h-data: Likewise.
12559         * conform/data/tar.h-data: Likewise.
12560         * conform/data/termios.h-data: Likewise.
12561         * conform/data/utime.h-data: Likewise.
12562         * conform/data/utmpx.h-data: Likewise.
12563         * conform/data/varargs.h-data: Likewise.
12564         * conform/data/wchar.h-data: Likewise.
12565         * conform/data/wctype.h-data: Likewise.
12566         * conform/data/wordexp.h-data: Likewise.
12568         * include/stropts.h: New file.
12569         * include/uchar.h: New file.
12570         * include/aio.h: Changes to allow conformtest.pl to use the headers.
12571         * include/assert.h: Likewise.
12572         * include/ctype.h: Likewise.
12573         * include/dirent.h: Likewise.
12574         * include/dlfcn.h: Likewise.
12575         * include/fcntl.h: Likewise.
12576         * include/fnmatch.h: Likewise.
12577         * include/glob.h: Likewise.
12578         * include/grp.h: Likewise.
12579         * include/libio.h: Likewise.
12580         * include/locale.h: Likewise.
12581         * include/math.h: Likewise.
12582         * include/net/if.h: Likewise.
12583         * include/netdb.h: Likewise.
12584         * include/netinet/in.h: Likewise.
12585         * include/pthread.h: Likewise.
12586         * include/pwd.h: Likewise.
12587         * include/regex.h: Likewise.
12588         * include/sched.h: Likewise.
12589         * include/search.h: Likewise.
12590         * include/setjmp.h: Likewise.
12591         * include/signal.h: Likewise.
12592         * include/stdio.h: Likewise.
12593         * include/stdlib.h: Likewise.
12594         * include/string.h: Likewise.
12595         * include/sys/cdefs.h: Likewise.
12596         * include/sys/mman.h: Likewise.
12597         * include/sys/msg.h: Likewise.
12598         * include/sys/resource.h: Likewise.
12599         * include/sys/select.h: Likewise.
12600         * include/sys/socket.h: Likewise.
12601         * include/sys/stat.h: Likewise.
12602         * include/sys/statvfs.h: Likewise.
12603         * include/sys/time.h: Likewise.
12604         * include/sys/times.h: Likewise.
12605         * include/sys/uio.h: Likewise.
12606         * include/sys/utsname.h: Likewise.
12607         * include/sys/wait.h: Likewise.
12608         * include/termios.h: Likewise.
12609         * include/time.h: Likewise.
12610         * include/ulimit.h: Likewise.
12611         * include/unistd.h: Likewise.
12612         * include/utime.h: Likewise.
12613         * include/wchar.h: Likewise.
12614         * include/wctype.h: Likewise.
12615         * include/wordexp.h: Likewise.
12617         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12619         * time/time.h: TIME_UTC must be a macro.
12620         Make timespec_get available for ISO C11 only as well.
12622 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
12624         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12625         Reported by Peng Haitao <penght@cn.fujitsu.com>.
12627 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
12629         * configure.in: Use -o not -a in test for unsupported multi-arch.
12631 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
12633         * manual/texinfo.tex: Update to version 2012-01-19.16.
12635 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
12637         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12639 2012-02-24  Roland McGrath  <roland@hack.frob.com>
12641         [BZ #13738]
12642         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12643         * manual/fdl-1.3.texi: New file.
12644         * manual/fdl-1.1.texi: File removed.
12646         [BZ #13738]
12647         * manual/libc.texinfo (FDL_VERSION): New @set.
12648         Use it for mention of FDL in cover text.
12649         (Documentation License): Use it in @include file name.
12651 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12652             Roland McGrath  <roland@hack.frob.com>
12654         [BZ #5461]
12655         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12656         not LONG_LONG_MAX and LONG_LONG_MIN.
12657         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12658         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
12659         name.
12660         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12662 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12664         [BZ #2547]
12665         [BZ #11365]
12666         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12667         manipulate bits before adding and subtracting TWO23[sx].
12668         * math/libm-test.inc (nearbyint_test): Add more tests.
12670 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12672         [BZ #2548]
12673         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12674         bits before adding and subtracting TWO23[sx].
12675         * math/libm-test.inc (rint_test): Add more tests.
12676         (rint_test_tonearest): Likewise.
12677         (rint_test_towardzero): Likewise.
12678         (rint_test_downward): Likewise.
12679         (rint_test_upward: Likewise.
12681 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12683         [BZ #10110]
12684         * include/stdc-predef.h: New file.  Extracted from features.h.
12685         * include/features.h: Include stdc-predef.h.
12686         * Makefile (headers): Add stdc-predef.h.
12687         * CONFORMANCE (Compiler limitations): Update.
12689 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12691         * manual/libc.texinfo (VERSION, UPDATED): Revert.
12693 2012-02-21  David S. Miller  <davem@davemloft.net>
12695         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12696         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12698 2012-02-20  David S. Miller  <davem@davemloft.net>
12700         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12701         using a normal save/restore sequence, rather than allocating a
12702         dummy stack frame just to store a frame pointer and restore.
12703         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12705 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
12707         * manual/install.texi: Fix stray word in line-wrapped comment.
12709 2012-02-20  David S. Miller  <davem@davemloft.net>
12711         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12712         both binutils and gcc support GOTDATA.
12714         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12715         "rd %pc" in the PIC register setup sequences.
12717         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12718         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12719         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12720         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12721         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12722         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12723         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12724         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12725         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12726         (SYSCALL_ERROR_HANDLER): Likewise.
12727         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12728         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12729         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12730         (SYSCALL_ERROR_HANDLER): Likewise.
12732         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12733         (HAVE_GCC_GOTDATA): New.
12734         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12735         relocation support in both binutils and gcc.
12736         * sysdeps/sparc/elf/configure: Regenerate.
12738         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12739         * sysdeps/sparc/sparc32/elf/configure: Delete.
12740         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12741         * sysdeps/sparc/sparc64/elf/configure: Delete.
12742         * sysdeps/sparc/elf/configure.in: New file.
12743         * sysdeps/sparc/elf/configure: Generate.
12745         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12746         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12747         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12748         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12749         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12751 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
12753         * manual/install.texi: Do not mention specific glibc version
12754         numbers.
12755         * manual/libc.texinfo (VERSION, UPDATED): Update.
12756         (@copying): Use @copyright{} and range of years.
12758 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
12760         [BZ #13695]
12761         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12762         [crti.S not in sysdirs] (generated): Do not append.
12763         [crti.S not in sysdirs] (omit-deps): Likewise.
12764         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12765         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12766         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12767         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12768         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12769         Likewise.
12770         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12771         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12772         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12773         * csu/defs.awk: Remove file.
12774         * sysdeps/generic/initfini.c: Likewise.
12775         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12776         variable.
12777         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12778         Likewise.
12780 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
12782         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12783         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12784         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12785         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12786         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12787         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12788         <bits/epoll.h>.
12789         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12790         (__EPOLL_PACKED): Define to empty if not defined by
12791         <bits/epoll.h>.
12792         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12793         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12794         bits/epoll.h.
12796 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
12798         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12799         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12800         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12801         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12802         <bits/timerfd.h>.
12803         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12804         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12805         bits/timerfd.h.
12807 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
12809         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12810         in C locale.
12811         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12812         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12813         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12816 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
12818         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12819         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12821 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
12823         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12824         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12825         defined.
12826         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12827         Likewise.
12828         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12829         entry for 2.16.
12831 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
12833         * math/w_acos.c: Use non-signaling floating-point comparisons.
12834         * math/w_acosf.c: Likewise.
12835         * math/w_acosh.c: Likewise.
12836         * math/w_acoshf.c: Likewise.
12837         * math/w_acoshl.c: Likewise.
12838         * math/w_acosl.c: Likewise.
12839         * math/w_asin.c: Likewise.
12840         * math/w_asinf.c: Likewise.
12841         * math/w_asinl.c: Likewise.
12842         * math/w_atanh.c: Likewise.
12843         * math/w_atanhf.c: Likewise.
12844         * math/w_atanhl.c: Likewise.
12845         * math/w_exp2.c: Likewise.
12846         * math/w_exp2f.c: Likewise.
12847         * math/w_exp2l.c: Likewise.
12848         * math/w_j0.c: Likewise.
12849         * math/w_j0f.c: Likewise.
12850         * math/w_j0l.c: Likewise.
12851         * math/w_j1.c: Likewise.
12852         * math/w_j1f.c: Likewise.
12853         * math/w_j1l.c: Likewise.
12854         * math/w_jn.c: Likewise.
12855         * math/w_jnf.c: Likewise.
12856         * math/w_log.c: Likewise.
12857         * math/w_log10.c: Likewise.
12858         * math/w_log10f.c: Likewise.
12859         * math/w_log10l.c: Likewise.
12860         * math/w_log2.c: Likewise.
12861         * math/w_log2f.c: Likewise.
12862         * math/w_log2l.c: Likewise.
12863         * math/w_logf.c: Likewise.
12864         * math/w_logl.c: Likewise.
12865         * math/w_sqrt.c: Likewise.
12866         * math/w_sqrtf.c: Likewise.
12867         * math/w_sqrtl.c: Likewise.
12868         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12869         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12870         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12871         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12872         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12874 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
12876         [BZ #9739]
12877         * manual/string.texi (strnlen): Use correct parameter name in
12878         equivalent expression.
12880 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
12882         [BZ #11174]
12883         * manual/users.texi (seteuid): Consistently use neweuid for
12884         argument name.
12886 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
12888         [BZ #13704]
12889         * manual/nss.texi (Services in the NSS configuration): Correct
12890         list of services in example configuration file.
12892 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
12894         [BZ #11322]
12895         * manual/arith.texi: Remove statements about negative zero
12896         behaving identically to zero.
12898 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
12900         [BZ #5993]
12901         * manual/install.texi: Do not document upgrading from libc5.
12903 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
12905         [BZ #4596]
12906         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12908 2012-02-18  David S. Miller  <davem@davemloft.net>
12910         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12911         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12912         %o7 across the call.
12913         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12914         instead.
12915         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12916         SETUP_PIC_REG_LEAF.
12917         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12918         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12919         * sysdeps/sparc/crtn.S: Likewise.
12921 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
12923         * aout/Makefile: Remove.
12925 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
12927         [BZ #13058]
12928         * manual/examples/argp-ex1.c (main): Format definition in GNU
12929         style.
12930         * manual/examples/argp-ex2.c (main): Likewise.
12931         * manual/examples/argp-ex3.c (main): Likewise.
12932         * manual/examples/argp-ex4.c (main): Likewise.
12933         * manual/examples/longopt.c (main): Use new-style prototype
12934         definition.
12935         * manual/examples/strncat.c (main): Specify return type and use
12936         (void) for arguments.
12937         * manual/examples/subopt.c (main): Use char **argv argument.
12939 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
12941         [BZ #5077]
12942         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12943         rounding modes.
12945 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
12947         [BZ #6907]
12948         * manual/string.texi (strchr): Change when strchrnul is
12949         recommended.
12951 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
12953         [BZ #174]
12954         * manual/locale.texi (setlocale): Document LOCPATH.
12956 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
12958         [BZ #10210]
12959         * manual/process.texi (execle): Move @dots{} before last argument.
12961 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
12963         [BZ #12047]
12964         * manual/charset.texi (Generic Charset Conversion): Fix typo
12965         (LC_TYPE -> LC_CTYPE).
12967 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
12969         [BZ #5805]
12970         * manual/arith.texi (scalbn): Use @var{} on parameter names.
12971         (scalbnf): Likewise.
12972         (scalbnl): Likewise.
12973         (scalbln): Likewise.
12974         (scalblnf): Likewise.
12975         (scalblnl): Likewise.
12976         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12977         (vwarnx): Likewise.
12978         (verr): Likewise.
12979         (verrx): Likewise.
12980         * manual/filesys.texi (telldir): Use braces around return type.
12981         * manual/llio.texi (mmap): Add space after comma.
12982         (mmap64): Likewise.
12983         * manual/math.texi (jn): Use @var{} on parameter names.
12984         (jnf): Likewise.
12985         (jnl): Likewise.
12986         (yn): Likewise.
12987         (ynf): Likewise.
12988         (ynl): Likewise.
12989         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12990         line.
12991         * manual/resource.texi (ulimit): Use @dots{} instead of literal
12992         "...".
12993         (sched_get_priority_min): Remove semicolon on @deftypefun line.
12994         (sched_get_priority_max): Likewise.
12995         * manual/signal.texi (sigvec): Add space after comma.
12996         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12997         names.
12998         (if_indextoname): Likewise.
12999         (if_freenameindex): Likewise.
13000         (sendto): Use ',' instead of '.' in prototype.
13001         * manual/startup.texi (syscall): Use @dots{} instead of literal
13002         "...".
13003         * manual/stdio.texi (__fpending): Separate initial words of
13004         paragraph from @deftypefun line.
13005         * manual/syslog.texi (syslog): Use @dots{} instead of literal
13006         "...".
13007         (vsyslog): Use @var{} on parameter names.
13008         * manual/terminal.texi (stty): Use @var{} on parameter names.
13009         * manual/users.texi (getutmp): Use @var{} on parameter names.
13010         (getutmpx): Likewise.
13012 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
13014         [BZ #6884]
13015         * manual/stdio.texi (fopen): Fix typos in description of
13016         ",ccs=STRING".
13018 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
13020         [BZ #4026]
13021         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13022         get clock_id definition.
13024 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
13026         [BZ #4822]
13027         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13028         (madvise): Cast every argument to void on its own.
13030 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
13032         [BZ #9902]
13033         * manual/startup.texi (Exit Status): Fix typo.
13035 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
13037         [BZ #10140]
13038         * manual/examples/argp-ex1.c: Include <stdlib.h>.
13039         * manual/examples/argp-ex2.c: Likewise.
13040         * manual/examples/argp-ex3.c: Likewise.
13042 2012-02-16  Richard Henderson  <rth@redhat.com>
13044         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13045         * sysdeps/s390/s390-32/initfini.c: Remove.
13046         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13047         * sysdeps/s390/s390-64/initfini.c: Remove.
13049 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13051         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13052         compiler output for sysdeps/generic/initfini.c.
13053         * sysdeps/sh/elf/initfini.c: Remove file.
13055 2012-02-16  David S. Miller  <davem@davemloft.net>
13057         [BZ #11494]
13058         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13060         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13061         * sysdeps/sparc/crti.S: New file.
13062         * sysdeps/sparc/crtn.S: New file.
13063         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13064         * sysdeps/sparc/sparc64/Makefile: Likewise.
13066 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
13068         [BZ #3335]
13069         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13071 2012-02-15  Roland McGrath  <roland@hack.frob.com>
13073         [BZ #4822]
13074         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13076         * mach/devstream.c (cookie_io_functions_t): Macro removed.
13077         (write, read, close): Likewise.
13078         Patch by Aurelien Jarno <aurelien@aurel32.net>.
13080 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
13082         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13083         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13084         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13085         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13086         <bits/signalfd.h>.
13087         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13088         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13089         bits/signalfd.h.
13091 2012-02-14  Marek Polacek  <polacek@redhat.com>
13093         * sysdeps/x86_64/crti.S: New file.
13094         * sysdeps/x86_64/crtn.S: New file.
13095         * sysdeps/x86_64/elf/initfini.c: Remove file.
13097 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
13099         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13100         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13101         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13102         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13103         <bits/inotify.h>.
13104         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13105         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13106         bits/inotify.h.
13108 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
13110         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13111         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13112         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13113         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13114         <bits/eventfd.h>.
13115         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13116         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13117         bits/eventfd.h.
13119 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
13121         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13122         __feraiseexcept instead of feraiseexcept.
13124         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13125         nanosleep invocations.
13126         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13127         strings, and add error checking for a nanosleep invocations.
13129 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
13131         Replace FSF snail mail address with URLs, as per GNU coding standards.
13132         Most of the snail mail addresses were wrong anyway, and omitting
13133         them makes the source code easier to maintain.  Almost all of the
13134         changes are to license notices and to locale LC_IDENTIFICATION
13135         addresses, except for this one:
13136         * manual/libc.texinfo: In "Published by", give the FSF's URL,
13137         not its snail mail address.
13139 2012-02-09  Richard Henderson  <rth@twiddle.net>
13141         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13142         of kernel-features.h.
13144         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13146 2012-02-08  Marek Polacek  <polacek@redhat.com>
13148         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13149         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13150         * sysdeps/gnu/_G_config.h: Likewise.
13151         * sysdeps/generic/_G_config.h: Likewise.
13153 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
13155         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13156         tests.
13157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13159         * sysdeps/powerpc/powerpc32/crti.S: New file.
13160         * sysdeps/powerpc/powerpc32/crtn.S: New file.
13161         * sysdeps/powerpc/powerpc64/crti.S: New file.
13162         * sysdeps/powerpc/powerpc64/crtn.S: New file.
13164         * Makeconfig (have-initfini): Don't set.
13165         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13166         * configure.in (nopic_initfini): Don't substitute.
13167         * config.h.in (HAVE_INITFINI): Don't #undef.
13168         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13169         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13171 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
13173         Support crti.S and crtn.S provided directly by architectures.
13174         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13175         [crti.S in sysdirs] (omit-deps): Likewise.
13176         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13177         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13178         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13179         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13180         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13181         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13182         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13183         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13184         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13185         compiler output for sysdeps/generic/initfini.c.
13186         * sysdeps/i386/elf/Makefile: Remove file.
13187         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13189 2012-02-07  Marek Polacek  <polacek@redhat.com>
13191         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13192         * sysdeps/gnu/_G_config.h: Likewise.
13193         * sysdeps/mach/hurd/_G_config.h: Likewise.
13195 2012-02-07  Marek Polacek  <polacek@redhat.com>
13197         * math/Makefile (tests): Add tst-CMPLX2.
13198         * math/tst-CMPLX2.c: New file.
13200 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
13202         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13204         * math/libm-test.inc (jn_test): Add missing L suffix.
13206 2012-02-06  Marek Polacek  <polacek@redhat.com>
13208         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13209         * sysdeps/i386/fpu/e_powf.S: Likewise.
13210         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13211         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13212         * sysdeps/i386/fpu/e_acosh.S: Likewise.
13213         * sysdeps/i386/fpu/e_pow.S: Likewise.
13214         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13215         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13216         * sysdeps/i386/fpu/s_expm1.S: Likewise.
13217         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13218         * sysdeps/i386/fpu/e_log2.S: Likewise.
13219         * sysdeps/i386/fpu/e_log2l.S: Likewise.
13220         * sysdeps/i386/fpu/e_scalb.S: Likewise.
13221         * sysdeps/i386/fpu/e_powl.S: Likewise.
13222         * sysdeps/i386/fpu/s_log1p.S: Likewise.
13223         * sysdeps/i386/fpu/e_log10f.S: Likewise.
13224         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13225         * sysdeps/i386/fpu/e_logl.S: Likewise.
13226         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13227         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13228         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13229         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13230         * sysdeps/i386/fpu/e_log2f.S: Likewise.
13231         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13232         * sysdeps/i386/fpu/e_log.S: Likewise.
13233         * sysdeps/i386/fpu/s_cexp.S: Likewise.
13234         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13235         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13236         * sysdeps/i386/fpu/e_logf.S: Likewise.
13237         * sysdeps/i386/fpu/e_log10l.S: Likewise.
13238         * sysdeps/i386/fpu/e_atanh.S: Likewise.
13239         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13240         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13241         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13242         * sysdeps/i386/fpu/e_log10.S: Likewise.
13243         * sysdeps/i386/fpu/s_frexp.S: Likewise.
13244         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13245         * sysdeps/i386/fpu/s_asinh.S: Likewise.
13246         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13247         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13248         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13249         * sysdeps/i386/asm-syntax.h: Likewise.
13250         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13251         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13252         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13253         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13254         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13255         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13256         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13257         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13258         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13259         * sysdeps/powerpc/sysdep.h: Likewise.
13260         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13261         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13263 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
13265         [BZ #411]
13266         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13268 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
13270         * sysdeps/i386/sysdep.h: Include <features.h>.
13271         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13272         version.
13274 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
13276         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13277         Define.
13278         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13279         LOAD_PIC_REG_STR.
13281 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
13283         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13284         (SETUP_PIC_REG): Use GET_PC_THUNK.
13285         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13286         macro.
13288 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
13290         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13291         for non-PIC compilation.
13292         (SETUP_PIC_REG): Add .p2align directive.
13293         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13294         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13295         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13296         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13297         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13298         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13299         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13300         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13301         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13302         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13303         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13304         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13305         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13306         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13307         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13308         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13309         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13310         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13311         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13312         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13313         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13314         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13315         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13316         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13317         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13318         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13319         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13320         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13321         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13322         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13323         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13324         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13325         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13326         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13327         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13328         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13329         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13330         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13331         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13332         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13333         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13335 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
13337         * math/tst-CMPLX.c: Include <stdio.h>.
13339 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
13341         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13342         float.
13343         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13344         * sysdeps/sparc/bits/mathdef.h: Likewise.
13346 2012-01-31  Marek Polacek  <polacek@redhat.com>
13348         * libio/libio.h: Don't define _PARAMS.
13349         * locale/programs/config.h: Don't define PARAMS.
13350         * stdlib/strtol_l.c: Likewise.
13351         (__strtol_l): Remove PARAMS from the prototype.
13353 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
13355         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
13356         names.  Just use the correct names.  Remove unnecessary wrapper
13357         functions.
13358         * malloc/arena.c: Likewise.
13359         * malloc/hooks.c: Likewise.
13361         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13362         ARENA_TEST says not to.  Simplify test for creation of a new arena.
13363         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13365 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
13367         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13368         into tail calls.
13369         (update_get_addr): New function.
13370         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13371         GET_ADDR_MODULE parameter.
13373 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
13375         * crypt/cert.c: Remove __STDC__ conditionals.
13376         * crypt/crypt-entry.c: Likewise.
13377         * crypt/crypt_util.c: Likewise.
13378         * libio/filedoalloc.c: Likewise.
13379         * libio/fileops.c: Likewise.
13380         * libio/genops.c: Likewise.
13381         * libio/iofclose.c: Likewise.
13382         * libio/iofdopen.c: Likewise.
13383         * libio/iofopen.c: Likewise.
13384         * libio/iofopen64.c: Likewise.
13385         * libio/iogetdelim.c: Likewise.
13386         * libio/iopopen.c: Likewise.
13387         * libio/obprintf.c: Likewise.
13388         * libio/oldfileops.c: Likewise.
13389         * libio/oldiofclose.c: Likewise.
13390         * libio/oldiofdopen.c: Likewise.
13391         * libio/oldiofopen.c: Likewise.
13392         * libio/oldiopopen.c: Likewise.
13393         * libio/wfiledoalloc.c: Likewise.
13394         * libio/wgenops.c: Likewise.
13395         * locale/programs/xmalloc.c: Likewise.
13396         * misc/syslog.c: Likewise.
13397         * stdio-common/xbug.c: Likewise.
13398         * string/memchr.c: Likewise.
13399         * string/memcmp.c: Likewise.
13400         * string/memrchr.c: Likewise.
13401         * string/rawmemchr.c: Likewise.
13402         * sysdeps/posix/getcwd.c: Likewise.
13403         * time/strftime_l.c: Likewise.
13405 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
13407         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13408         * config.make.in (config-cflags-sse2avx): Define.
13409         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13410         Fix typo.
13412 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
13414         * scripts/config.guess: Update from upstream config git repository.
13415         * scripts/config.sub: Likewise.
13417 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
13419         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13420         (EM_NUM): Update.
13421         (R_TILEPRO_*, R_TILEGX_*): New macros.
13423         * scripts/firstversions.awk: Fix bug in version range handling.
13425         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13427         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13429         * include/sys/epoll.h: New file.
13430         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13431         libc_hidden_def.
13433 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
13435         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13436         Avoid unnecessary __WORDSIZE == 64 test.
13437         (fmaxf): Use VEX format if possible.
13438         (fmax): Likewise.
13439         (fminf): Likewise.
13440         (fmin): Likewise.
13442         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13443         * math/math_private.h: Remove libc_fegetround* and
13444         libc_fesetround*.
13445         * sysdeps/i386/configure.in: Check for -msse2avx.
13446         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13447         also if SSE2AVX is defined.
13448         Remove libc_fegetround* and libc_fesetround*.
13449         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13450         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
13451         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13452         of HAS_YMM_USABLE.
13453         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13454         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13455         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13456         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13457         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13459         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13461 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13463         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13464         size is not set.
13465         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13467 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
13469         [BZ #13618]
13470         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13471         relocation.
13472         * Makeconfig (libm): Define.
13473         * elf/Makefile: Add rules to build and run tst-relsort1.
13474         * elf/tst-relsort1.c: New file.
13475         * elf/tst-relsort1mod1.c: New file.
13476         * elf/tst-relsort1mod2.c: New file.
13478 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
13480         * math/s_ldexp.c: Remove __STDC__ conditionals.
13481         * math/s_ldexpf.c: Likewise.
13482         * math/s_ldexpl.c: Likewise.
13483         * math/s_nextafter.c: Likewise.
13484         * math/s_nexttowardf.c: Likewise.
13485         * math/s_significand.c: Likewise.
13486         * math/s_significandf.c: Likewise.
13487         * math/s_significandl.c: Likewise.
13488         * math/w_jnl.c: Likewise.
13489         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13490         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13491         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13492         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13493         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13494         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13495         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13496         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13497         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13498         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13499         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13500         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13501         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13502         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13503         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13504         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13505         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13506         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13507         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13508         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13509         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13510         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13511         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13512         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13513         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13514         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13515         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13516         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13517         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13518         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13519         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13520         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13521         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13522         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13523         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13524         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13525         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13526         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13527         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13528         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13529         * sysdeps/ieee754/k_standard.c: Likewise.
13530         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13531         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13532         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13533         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13534         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13535         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13536         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13537         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13538         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13539         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13540         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13541         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13542         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13543         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13544         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13545         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13546         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13547         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13548         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13549         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13550         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13551         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13552         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13553         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13554         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13555         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13556         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13557         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13558         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13559         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13560         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13561         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13562         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13563         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13564         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13565         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13566         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13567         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13568         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13569         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13570         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13571         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13572         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13573         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13574         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13575         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13576         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13577         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13578         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13579         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13580         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13581         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13582         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13583         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13584         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13585         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13586         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13587         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13588         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13589         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13590         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13591         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13592         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13593         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13594         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13595         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13596         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13597         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13598         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13599         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13600         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13601         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13602         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13603         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13604         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13605         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13606         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13607         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13608         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13609         * sysdeps/ieee754/s_matherr.c: Likewise.
13610         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13611         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13612         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13613         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13615 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
13617         * crypt/md5.h: Remove __STDC__ conditionals.
13618         * libio/libioP.h: Likewise.
13619         * locale/programs/config.h: Likewise.
13620         * sysdeps/generic/sysdep.h: Likewise.
13621         * sysdeps/i386/asm-syntax.h: Likewise.
13622         * sysdeps/s390/asm-syntax.h: Likewise.
13623         * sysdeps/unix/sysdep.h: Likewise.
13624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13627 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
13629         * libio/libio.h: Remove __STDC__ conditionals.
13630         * malloc/obstack.h: Likewise.
13631         * math/complex.h: Likewise.
13632         * math/math.h: Likewise.
13633         * sysdeps/generic/_G_config.h: Likewise.
13634         * sysdeps/gnu/_G_config.h: Likewise.
13635         * sysdeps/mach/hurd/_G_config.h: Likewise.
13636         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13637         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13638         * sysdeps/sparc/bits/mathdef.h: Likewise.
13640 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
13642         [BZ #13583]
13643         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13644         Clean up HAS_* macros.
13645         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13646         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13647         possible.
13648         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13649         HAS_AVX.
13650         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13651         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13652         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13653         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13654         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13656 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
13658         * elf/tst-unique3.cc (gets): Remove declaration.
13659         * elf/tst-unique3lib.cc (gets): Likewise.
13660         * elf/tst-unique3lib2.cc (gets): Likewise.
13661         * elf/tst-unique4.cc (gets): Likewise.
13663 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
13665         * include/stdio.h: Add C++ protection.  Add gets declarations and
13666         definitions.
13667         * debug/tst-chk1.c: Don't declare gets here.
13668         * stdio-common/tst-gets.c: Likewise.
13670 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
13672         * posix/glob: Remove directory.
13674 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
13676         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13678 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
13680         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13681         of the non-standard EPFNOSUPPORT.
13683 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13685         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13686         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13687         ANYWHERE set to 1 only on KERN_NO_SPACE error.
13689 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
13691         * wcsmbs/uchar.h: Test __STDC_VERSION__.
13693 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
13695         * nscd/aicache.c (addhstaiX): Do not cache negative results of
13696         transient errors.
13697         * nscd/grpcache.c (cache_addgr): Likewise.
13698         * nscd/hstcache.c (cache_addhst): Likewise.
13699         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13700         * nscd/pwdcache.c (cache_addpw): Likewise.
13701         * nscd/servicescache.c (cache_addserv): Likewise.
13703 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
13705         * malloc/malloc.c: Various cleanups.
13706         * malloc/hooks.c: Likewise.
13708         * stdlib/Makefile (tests): Add bug-fmtmsg1.
13709         * stdlib/bug-fmtmsg1.c: New file.
13711         * stdlib/fmtmsg.c (init): Add missing unlock.
13712         Patch by Peng Haitao <penght@cn.fujitsu.com>.
13714 2012-01-12  Marek Polacek  <polacek@redhat.com>
13716         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13717         and _GNU_SOURCE.
13719 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
13721         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13722         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13723         macro to ensure uniqueness of label name.
13724         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13725         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13727 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
13729         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13731         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13732         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13733         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13734         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13736 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
13738         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13740         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13741         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13742         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13744         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13746         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13747         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13748         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13749         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13751         * math/bits/math-finite.h: Add ldexp support.
13753 2012-01-10  Marek Polacek  <polacek@redhat.com>
13755         * locale/programs/localedef.h (show_archive_content): Add noreturn
13756         attribute.
13758 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
13760         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13762 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
13764         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13766         * io/Makefile (headers): Add bits/poll2.h.
13768 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
13770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13771         typo #include statement.
13773 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
13775         * include/sys/cdefs.h: Define __attribute_alloc_size.
13776         * catgets/gencat.c: Add alloc_size attribute and apply consistently
13777         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13778         * elf/pldd.c: Likewise.
13779         * iconv/iconv_charmap.c: Likewise.
13780         * iconv/iconvconfig.c: Likewise.
13781         * iconv/strtab.c: Likewise.
13782         * locale/programs/locale.c: Likewise.
13783         * locale/programs/localedef.h: Likewise.
13784         * locale/programs/simple-hash.c: Likewise.
13785         * nscd/nscd.h: Likewise.
13786         * nss/makedb.c: Likewise.
13787         * sysdeps/generic/ldconfig.h: Likewise.
13788         * locale/programs/localedef.c: Remove xmalloc prototype.
13789         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13791 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13793         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13794         appropriate.
13796 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
13798         * math/Makefile (tests): Add tst-CMPLX.
13799         * math/tst-CMPLX.c: New file.
13801         * math/complex.h (CMPLXL): Fix typo.
13803         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13804         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13805         GLIBC_2.16.
13806         * debug/tst-chk1.c: Add poll and ppoll tests.
13807         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13808         * include/sys/poll.h: Add hidden proto for ppoll.
13809         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13810         * sysdeps/mach/hurd/ppoll.c: Likewise.
13811         * io/ppoll.c: Likewise.
13812         * debug/poll_chk.c: New file.
13813         * debug/ppoll_chk.c: New file.
13814         * include/bits/poll2.h: New file.
13815         * io/bits/poll2.h: New file.
13817         [BZ #1350]
13818         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13820         * configure.in: static is always set to yes.  Remove.
13821         * config.make.in: Don't set build-static.
13822         * Makeconfig: Remove use of build-static.
13823         * dlfcn/Makefile: Likewise.
13824         * elf/Makefile: Likewise.
13825         * math/Makefile: Likewise.
13826         * misc/Makefile: Likewise.
13827         * nptl/Makefile: Likewise.
13828         * sysdeps/mach/hurd/Makefile: Likewise.
13830         * configure.in: PWD_P is not used anymore.
13831         * config.make.in: Remove PWD_P entry.
13833         * configure.in: Remove last remnants of RANLIB.
13834         No need to check for signed size_t anymore.
13835         Don't set libc_commonpagesize and libc_relro_required here for Alpha
13836         and IA-64.
13837         Remove __builtin_expect test because we require at least gcc 3.4.
13838         * aclocal.m4: Likewise.
13840         * wcsmbs/mbrtoc16.c: Implement using towc function.
13841         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13842         * wcsmbs/wcsmbsload.c: Likewise.
13843         * iconv/gconv_simple.c: Likewise.
13844         * iconv/gconv_int.h: Likewise.
13845         * iconv/gconv_builtin.h: Likewise.
13846         * iconv/iconv_prog.c: Remove CHAR16 handling.
13848         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13850         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13852         * configure.in: Remove --with-elf and --enable-bounded options.
13853         Dont set base_machine for ia64.  More non-ELF conditions removed.
13854         Remove testing and setting of leading underscore information.
13855         * config.make.in (build-bounded): Set to no.
13856         * config.h.in: Remove NO_UNDERSCORES entry.
13857         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
13858         them.
13859         * csu/start.c: Remove !NO_UNDERSCORE code.
13860         * locale/localeinfo.h: Likewise.
13861         * sysdeps/generic/machine-gmon.h: Likewise.
13862         * sysdeps/generic/sysdep.h: Likewise.
13863         * sysdeps/i386/sysdep.h: Likewise.
13864         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13865         * sysdeps/mach/sysdep.h: Likewise.
13866         * sysdeps/s390/s390-32/sysdep.h: Likewise.
13867         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13868         * sysdeps/sh/sysdep.h: Likewise.
13869         * sysdeps/sparc/sparc32/alloca.S: Likewise.
13870         * sysdeps/unix/i386/sysdep.S: Likewise.
13871         * sysdeps/unix/sparc/start.c: Likewise.
13872         * sysdeps/unix/sparc/sysdep.S: Likewise.
13873         * sysdeps/unix/sparc/sysdep.h: Likewise.
13874         * sysdeps/unix/start.c: Likewise.
13875         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13876         * sysdeps/x86_64/sysdep.h: Likewise.
13878 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
13880         [BZ #13553]
13881         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13882         for non-gcc.
13883         * argp/argp-fmtstream.h: Use const instead __const.
13884         * argp/argp.h: Likewise.
13885         * assert/assert.h: Likewise.
13886         * bits/fenv.h: Likewise.
13887         * bits/sched.h: Likewise.
13888         * bits/sigset.h: Likewise.
13889         * bits/sigthread.h: Likewise.
13890         * catgets/nl_types.h: Likewise.
13891         * conform/data/pthread.h-data: Likewise.
13892         * crypt/crypt-private.h: Likewise.
13893         * crypt/crypt.h: Likewise.
13894         * crypt/crypt_util.c: Likewise.
13895         * ctype/ctype.h: Likewise.
13896         * debug/execinfo.h: Likewise.
13897         * debug/mbsnrtowcs_chk.c: Likewise.
13898         * debug/mbsrtowcs_chk.c: Likewise.
13899         * debug/wcsnrtombs_chk.c: Likewise.
13900         * debug/wcsrtombs_chk.c: Likewise.
13901         * debug/wcstombs_chk.c: Likewise.
13902         * dirent/dirent.h: Likewise.
13903         * dlfcn/dlfcn.h: Likewise.
13904         * elf/neededtest4.c: Likewise.
13905         * grp/grp.h: Likewise.
13906         * gshadow/gshadow.h: Likewise.
13907         * iconv/gconv.h: Likewise.
13908         * iconv/gconv_int.h: Likewise.
13909         * iconv/gconv_simple.c: Likewise.
13910         * iconv/iconv.h: Likewise.
13911         * iconv/loop.c: Likewise.
13912         * iconv/skeleton.c: Likewise.
13913         * include/aio.h: Likewise.
13914         * include/aliases.h: Likewise.
13915         * include/argz.h: Likewise.
13916         * include/arpa/inet.h: Likewise.
13917         * include/assert.h: Likewise.
13918         * include/dirent.h: Likewise.
13919         * include/dlfcn.h: Likewise.
13920         * include/execinfo.h: Likewise.
13921         * include/fcntl.h: Likewise.
13922         * include/fenv.h: Likewise.
13923         * include/glob.h: Likewise.
13924         * include/grp.h: Likewise.
13925         * include/libintl.h: Likewise.
13926         * include/mntent.h: Likewise.
13927         * include/netdb.h: Likewise.
13928         * include/pwd.h: Likewise.
13929         * include/rpc/netdb.h: Likewise.
13930         * include/sched.h: Likewise.
13931         * include/search.h: Likewise.
13932         * include/shadow.h: Likewise.
13933         * include/signal.h: Likewise.
13934         * include/stdio.h: Likewise.
13935         * include/stdlib.h: Likewise.
13936         * include/string.h: Likewise.
13937         * include/sys/socket.h: Likewise.
13938         * include/sys/stat.h: Likewise.
13939         * include/sys/statfs.h: Likewise.
13940         * include/sys/statvfs.h: Likewise.
13941         * include/sys/syslog.h: Likewise.
13942         * include/sys/time.h: Likewise.
13943         * include/sys/uio.h: Likewise.
13944         * include/time.h: Likewise.
13945         * include/unistd.h: Likewise.
13946         * include/utmp.h: Likewise.
13947         * include/wchar.h: Likewise.
13948         * include/wctype.h: Likewise.
13949         * inet/aliases.h: Likewise.
13950         * inet/arpa/inet.h: Likewise.
13951         * inet/netinet/ether.h: Likewise.
13952         * inet/netinet/in.h: Likewise.
13953         * intl/libintl.h: Likewise.
13954         * io/bits/fcntl2.h: Likewise.
13955         * io/fcntl.h: Likewise.
13956         * io/ftw.h: Likewise.
13957         * io/sys/poll.h: Likewise.
13958         * io/sys/stat.h: Likewise.
13959         * io/sys/statfs.h: Likewise.
13960         * io/sys/statvfs.h: Likewise.
13961         * io/utime.h: Likewise.
13962         * libio/bits/stdio.h: Likewise.
13963         * libio/bits/stdio2.h: Likewise.
13964         * libio/libio.h: Likewise.
13965         * libio/libioP.h: Likewise.
13966         * libio/stdio.h: Likewise.
13967         * locale/lc-ctype.c: Likewise.
13968         * locale/locale.h: Likewise.
13969         * login/utmp.h: Likewise.
13970         * malloc/arena.c: Likewise.
13971         * malloc/malloc.c: Likewise.
13972         * malloc/malloc.h: Likewise.
13973         * malloc/mcheck.c: Likewise.
13974         * malloc/mtrace.c: Likewise.
13975         * math/bits/mathcalls.h: Likewise.
13976         * math/fenv.h: Likewise.
13977         * math/math_private.h: Likewise.
13978         * misc/bits/error.h: Likewise.
13979         * misc/bits/syslog.h: Likewise.
13980         * misc/err.h: Likewise.
13981         * misc/error.h: Likewise.
13982         * misc/fstab.h: Likewise.
13983         * misc/mntent.h: Likewise.
13984         * misc/regexp.h: Likewise.
13985         * misc/search.h: Likewise.
13986         * misc/sgtty.h: Likewise.
13987         * misc/sys/mman.h: Likewise.
13988         * misc/sys/syslog.h: Likewise.
13989         * misc/sys/uio.h: Likewise.
13990         * misc/sys/xattr.h: Likewise.
13991         * misc/ttyent.h: Likewise.
13992         * nis/rpcsvc/ypclnt.h: Likewise.
13993         * nss/nss.h: Likewise.
13994         * posix/bits/unistd.h: Likewise.
13995         * posix/fnmatch.h: Likewise.
13996         * posix/glob.h: Likewise.
13997         * posix/sched.h: Likewise.
13998         * posix/spawn.h: Likewise.
13999         * posix/sys/wait.h: Likewise.
14000         * posix/unistd.h: Likewise.
14001         * posix/wordexp.h: Likewise.
14002         * pwd/pwd.h: Likewise.
14003         * resolv/netdb.h: Likewise.
14004         * resource/sys/resource.h: Likewise.
14005         * rt/aio.h: Likewise.
14006         * rt/bits/mqueue2.h: Likewise.
14007         * rt/mqueue.h: Likewise.
14008         * shadow/shadow.h: Likewise.
14009         * signal/signal.h: Likewise.
14010         * socket/send.c: Likewise.
14011         * socket/sendto.c: Likewise.
14012         * socket/sys/socket.h: Likewise.
14013         * stdio-common/printf.h: Likewise.
14014         * stdlib/bits/stdlib.h: Likewise.
14015         * stdlib/fmtmsg.h: Likewise.
14016         * stdlib/monetary.h: Likewise.
14017         * stdlib/stdlib.h: Likewise.
14018         * stdlib/ucontext.h: Likewise.
14019         * streams/stropts.h: Likewise.
14020         * string/argz.h: Likewise.
14021         * string/bits/string2.h: Likewise.
14022         * string/string.h: Likewise.
14023         * string/strings.h: Likewise.
14024         * sunrpc/rpc/auth.h: Likewise.
14025         * sunrpc/rpc/auth_des.h: Likewise.
14026         * sunrpc/rpc/clnt.h: Likewise.
14027         * sunrpc/rpc/netdb.h: Likewise.
14028         * sunrpc/rpc/pmap_clnt.h: Likewise.
14029         * sunrpc/rpc/xdr.h: Likewise.
14030         * sysdeps/generic/inttypes.h: Likewise.
14031         * sysdeps/generic/net/if.h: Likewise.
14032         * sysdeps/generic/sys/swap.h: Likewise.
14033         * sysdeps/gnu/net/if.h: Likewise.
14034         * sysdeps/gnu/utmpx.h: Likewise.
14035         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14036         * sysdeps/i386/i486/bits/string.h: Likewise.
14037         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14038         * sysdeps/s390/bits/string.h: Likewise.
14039         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14040         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14041         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14042         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14043         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14044         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14045         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14046         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14047         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14048         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14049         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14050         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14051         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14052         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14053         * sysdeps/unix/sysv/linux/readv.c: Likewise.
14054         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14055         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14056         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14057         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14058         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14059         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14060         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14061         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14062         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14063         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14064         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14065         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14066         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14067         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14068         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14069         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14070         * sysvipc/sys/ipc.h: Likewise.
14071         * sysvipc/sys/msg.h: Likewise.
14072         * sysvipc/sys/sem.h: Likewise.
14073         * sysvipc/sys/shm.h: Likewise.
14074         * termios/termios.h: Likewise.
14075         * time/sys/time.h: Likewise.
14076         * time/time.h: Likewise.
14077         * wcsmbs/bits/wchar2.h: Likewise.
14078         * wcsmbs/uchar.h: Likewise.
14079         * wcsmbs/wchar.h: Likewise.
14080         * wctype/wctype.h: Likewise.
14082         [BZ #13551]
14083         * Makeconfig: Remove all but ELF support including AIX support.
14084         * Makerules: Likewise.
14085         * config.h.in: Likewise.
14086         * config.make.in: Likewise.
14087         * configure: Likewise.
14088         * configure.in: Likewise.
14089         * csu/Makefile: Likewise.
14090         * csu/version.c: Likewise.
14091         * debug/Makefile: Likewise.
14092         * dlfcn/Makefile: Likewise.
14093         * elf/Makefile: Likewise.
14094         * extra-lib.mk: Likewise.
14095         * iconv/Makefile: Likewise.
14096         * include/libc-symbols.h: Likewise.
14097         * include/shlib-compat.h: Likewise.
14098         * resolv/Makefile: Likewise.
14099         * resolv/res_libc.c: Likewise.
14100         * rt/Makefile: Likewise.
14101         * sysdeps/i386/asm-syntax.h: Likewise.
14102         * sysdeps/i386/sysdep.h: Likewise.
14103         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14104         * sysdeps/mach/sysdep.h: Likewise.
14105         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14106         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14107         * sysdeps/s390/asm-syntax.h: Likewise.
14108         * sysdeps/s390/s390-32/sysdep.h: Likewise.
14109         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14110         * sysdeps/sh/sysdep.h: Likewise.
14111         * sysdeps/unix/sparc/sysdep.h: Likewise.
14112         * sysdeps/wordsize-32/divdi3.c: Likewise.
14113         * sysdeps/x86_64/sysdep.h: Likewise.
14115         * argp/Versions: Remove _argp_unlock_xxx.
14117         [BZ #13559]
14118         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
14119         * abilist/libBrokenLocale.abilist: Likewise.
14120         * abilist/libanl.abilist: Likewise.
14121         * abilist/libc.abilist: Likewise.
14122         * abilist/libcrypt.abilist: Likewise.
14123         * abilist/libdl.abilist: Likewise.
14124         * abilist/libm.abilist: Likewise.
14125         * abilist/libnsl.abilist: Likewise.
14126         * abilist/libpthread.abilist: Likewise.
14127         * abilist/libresolv.abilist: Likewise.
14128         * abilist/librt.abilist: Likewise.
14129         * abilist/libthread_db.abilist: Likewise.
14130         * abilist/libutil.abilist: Likewise.
14131         * abilist/libnss_db.abilist: New file.
14133         * scripts/abilist.awk: Add support for indirect functions.
14135         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14137         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14139         * shlib-versions: Remove entries for ports architectures.
14141         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
14142         files in ports.
14143         * elf/stackguard-macros.h: Remove support for IA-64.
14144         * elf/tst-auditmod1.c: Likewise.
14145         * sysdeps/generic/ldsodefs.h: Likewise.
14147         * sysdeps/unix/sysv/linux/configure.in: Ports should define
14148         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14149         configure files.
14151         [BZ #13552]
14152         * configure.in: Remove --enable-omitfp support.
14153         * FAQ.in: Adjust.
14154         * config.make.in: Likewise.
14155         * Makeconfig: Likewise.
14156         * manual/install.texi: Likewise.
14158         In case anyone cares, the IA-64 architecture could move to ports.
14159         * sysdeps/ia64/*: Removed.
14160         * sysdeps/unix/sysv/linux/ia64/*: Removed.
14161         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
14163         [BZ #13555]
14164         * configure.in: Remove entries for unsupported architectures.
14166         [BZ #13533]
14167         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14168         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
14169         routines.
14170         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14171         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14172         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
14173         fall back to using wcrtomb.
14174         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14175         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
14176         renaming.
14177         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14178         * wcsmbs/tst-c16c32-1.c: New file.
14180         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14181         local variable.
14183         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14185         * elf/tst-unique3.cc: Add explicit declaration of gets.
14186         * elf/tst-unique3lib.cc: Likewise.
14187         * elf/tst-unique3lib2.cc: Likewise.
14188         * elf/tst-unique4.cc: Likewise.
14190         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14192 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
14194         [BZ #13566]
14195         * assert/assert.h (static_assert): Don't define for C++.
14196         * libio/stdio.h (gets): Do declare for C++ <= C++11.
14197         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14199 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
14201         * iconv/loop.c (single loop): Fix assertion in storing of
14202         remaining bytes.
14204         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14206 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
14208         * posix/getconf.c: Update copyright year.
14209         * nss/getent.c: Likewise.
14210         * nss/makedb.c: Likewise.
14211         * iconv/iconvconfig.c: Likewise.
14212         * iconv/iconv_prog.c: Likewise.
14213         * elf/ldconfig.c: Likewise.
14214         * elf/pldd.c: Likewise.
14215         * elf/sotruss.ksh: Likewise.
14216         * catgets/gencat.c: Likewise.
14217         * csu/version.c: Likewise.
14218         * elf/ldd.bash.in: Likewise.
14219         * elf/sprof.c (print_version): Likewise.
14220         * locale/programs/locale.c: Likewise.
14221         * locale/programs/localedef.c: Likewise.
14222         * login/programs/pt_chown.c: Likewise.
14223         * nscd/nscd.c (print_version): Likewise.
14224         * debug/xtrace.sh: Likewise.
14225         * malloc/memusage.sh: Likewise.
14226         * malloc/mtrace.pl: Likewise.
14227         * debug/catchsegv.sh: Likewise.
14229 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
14231         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14232         pure attribute.
14234 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
14236         [BZ #13533]
14237         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14238         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14239         transformations.
14240         * iconv/gconv_int.h: Likewise.
14241         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14242         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14243         from libc for GLIBC_2.16.
14244         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14245         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14246         * wcsmbs/uchar.h: Really define mbstate_t.
14247         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14248         * wcsmbs/c16rtomb.c: New file.
14249         * wcsmbs/mbrtoc16.c: New file.
14250         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14251         for C/POSIX locale.
14252         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14253         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14255         * wcsmbs/wchar.h: Add missing __restrict.
14257 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
14259         [BZ #13532]
14260         * time/Makefile (routines): Add timespec_get.
14261         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14262         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
14263         timespec for ISO C11.
14264         * time/timespec_get.c: New file.
14265         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14266         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14268         [BZ #13531]
14269         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14270         * stdlib/stdlib.h: Declare aligned_alloc.
14271         * Versions.def: Add GLIBC_2.16 for libc.
14272         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14274         [BZ 13527]
14275         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14276         ISO C11.
14278         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14279         code.
14281         [BZ #13528]
14282         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14284         [BZ #13529]
14285         * assert/assert.h (static_assert): Define.
14287         * version.h: Update for 2.16 development version.
14289         [BZ #13526]
14290         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14291         _ISOC11_SOURCE.
14293         * version.h (RELEASE): Bump for 2.15 release.
14294         * include/features.h (__GLIBC_MINOR__): Bump to 15.
14296         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14297         Patch by Marek Polacek <mpolacek@redhat.com>.
14299         * bits/byteswap.h: Protect long long constants with __extension__.
14300         * sysdeps/i386/bits/byteswap.h: Likewise.
14301         * sysdeps/ia64/bits/byteswap.h: Likewise.
14302         * sysdeps/s390/bits/byteswap.h: Likewise.
14303         * sysdeps/x86_64/bits/byteswap.h: Likewise.
14305 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14307         [BZ #13540]
14308         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14309         destination buffer.
14310         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14312 2011-12-23  Marek Polacek  <polacek@redhat.com>
14314         * elf/dl-addr.c (determine_info): Add inline keyword.
14315         * elf/tst-auditmod4b.c (check_avx): Likewise.
14316         * elf/tst-auditmod6b.c (check_avx): Likewise.
14317         * elf/tst-auditmod6c.c (check_avx): Likewise.
14318         * elf/tst-auditmod7b.c (check_avx): Likewise.
14320 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
14322         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14323         !__SSE_MATH__.
14325 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14327         [BZ #13540]
14328         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14329         processing for last bytes.
14331 2011-08-06  Bruno Haible  <bruno@clisp.org>
14333         [BZ #13061]
14334         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14335         U+0385, not to U+1FEE.
14337         [BZ #13062]
14338         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14339         entry for U+00A5 U+0301.
14341 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
14343         [BZ #13166]
14344         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14345         buffer for the output is too small.
14347         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14348         optimization.
14350         [BZ #13185]
14351         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14352         SSE flags if possible.
14354 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14356         [BZ #13540]
14357         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14358         processing for last bytes.
14360 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
14362         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14363         (syscall-list-default-options, syscall-list-default-condition)
14364         (syscall-list-includes): Define.
14365         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14366         list of ABIs and options and #if conditions for each ABI.  Do not
14367         handle common syscalls between ABIs specially.
14368         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14369         Remove.
14370         (syscall-list-variants, syscall-list-32bit-options)
14371         (syscall-list-32bit-condition, syscall-list-64bit-options)
14372         (syscall-list-64bit-condition): Define.
14373         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14374         (syscall-list-variants, syscall-list-32bit-options)
14375         (syscall-list-32bit-condition, syscall-list-64bit-options)
14376         (syscall-list-64bit-condition): Define.
14377         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14378         Remove.
14379         (syscall-list-variants, syscall-list-32bit-options)
14380         (syscall-list-32bit-condition, syscall-list-64bit-options)
14381         (syscall-list-64bit-condition): Define.
14382         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14383         Remove.
14384         (syscall-list-variants, syscall-list-32bit-options)
14385         (syscall-list-32bit-condition, syscall-list-64bit-options)
14386         (syscall-list-64bit-condition): Define.
14388 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
14390         * locale/iso-639.def: Add brx entry.
14392         [BZ #13328]
14393         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14394         Proposed by Mariusz_Cukr <marcukr@op.pl>.
14396         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14397         __feraiseexcept_renamed.
14399 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
14401         [BZ #13538]
14402         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14403         EPOLLET with unsigned values.
14404         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14405         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14407         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14408         to large cancellation.
14409         * math/s_cacoshf.c: Likewise.
14410         * math/s_cacoshl.c: Likewise.
14412 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
14414         [BZ #13305]
14415         [BZ #12786]
14416         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14417         * math/s_cacoshf.c: Likewise.
14418         * math/s_cacoshl.c: Likewise.
14420 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
14422         [BZ #13439]
14423         * iconv/gconv.h: Define __GCONV_SWAP.
14424         * iconvdata/unicode.c: The swap bit must be stored in __flags.
14425         * iconvdata/utf-16.c: Likewise.
14426         * iconvdata/utf-32.c: Likewise.
14428 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
14430         [BZ #13524]
14431         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14432         numerator after shifting it by one limb.
14434 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
14436         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14437         under [__USE_EXTERN_INLINES].
14439 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
14441         [BZ #13446]
14442         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14444 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14446         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14447         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14448         optimized code.
14449         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14450         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14451         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14452         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14453         for strncasecmp/strncasecmp_l compilation.
14454         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14455         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14457 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
14459         [BZ #13484]
14460         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14461         of __asm__.
14463 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
14465         [BZ #13506]
14466         * time/tzfile.c (__tzfile_read): Check values from file header.
14468 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
14470         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14471         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14472         * powerpc/powerpc32/dl-start.S: Likewise.
14473         * powerpc/powerpc32/elf/start.S: Likewise.
14474         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14475         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14476         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14477         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14478         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14479         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14480         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14481         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14482         * powerpc/powerpc32/fpu/s_round.S: Likewise.
14483         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14484         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14485         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14486         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14487         * powerpc/powerpc32/memset.S: Likewise.
14488         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14489         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14490         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14491         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14492         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14493         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14494         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14495         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14496         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14497         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14498         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14499         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14500         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14502 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14504         * math/libm-test.inc: Added more nearbyint tests.
14505         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14506         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14507         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14508         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14510 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
14512         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14513         FD_CLOEXEC.
14515 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14517         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14518         Add wcscpy-ssse3 wcscpy-c.
14519         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14520         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14521         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14522         * sysdeps/x86_64/wcschr.S: New file.
14523         * sysdeps/x86_64/wcsrchr.S: New file.
14524         * string/test-strcmp.c: Remove checking of wcscmp function for
14525         wrong alignments.
14526         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14527         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14528         wcsrchr-sse2 wcsrchr-c.
14529         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14530         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14531         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14532         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14533         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14534         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14535         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14536         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14537         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14538         * wcsmbc/wcschr.c (WCSCHR): New macro.
14540 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14542         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14543         * wcsmbs/test-wcsrchr.c: New file.
14544         * string/test-strrchr.c: Add wcsrchr support.
14545         (WIDE): New macro.
14546         * wcsmbs/test-wcscpy.c: New file.
14547         * string/test-strcpy.c: Add wcscpy support.
14548         (WIDE): New macro.
14550 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
14552         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14553         the inner loop.
14555 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
14557         [BZ #13472]
14558         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14560 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
14562         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14563         Minor optimizations.
14565         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14566         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14567         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14569 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
14571         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14572         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14573         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14574         for gcc to avoid warnings.
14575         * inet/Makefile (tests): Add tst-checks.
14576         * inet/tst-checks.c: New file.
14578         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14579         warning.
14581         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14582         __wmemcmp_sse2.
14584         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14585         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14587         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14589 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
14591         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14592         problem.
14594         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14596 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
14598         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14599         conditional on GCC version.
14600         (__arch_compare_and_exchange_val_8_acq)
14601         (__arch_compare_and_exchange_val_16_acq)
14602         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14603         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14604         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14606 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
14608         * sysdeps/sh/backtrace.c: New file.
14610 2011-12-02  Andreas Schwab  <schwab@redhat.com>
14612         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
14613         parenthesis.
14615 2011-12-01  Andreas Schwab  <schwab@redhat.com>
14617         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14618         falling back to utime.
14620 2011-11-30  Andreas Schwab  <schwab@redhat.com>
14622         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14623         expectations for float.
14625 2011-11-29  Andreas Schwab  <schwab@redhat.com>
14627         * locale/weight.h (findidx): Add parameter len.
14628         * locale/weightwc.h (findidx): Likewise.
14629         * posix/fnmatch_loop.c (FCT): Adjust caller.
14630         * posix/regcomp.c (build_equiv_class): Likewise.
14631         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14632         * posix/regexec.c (check_node_accept_bytes): Likewise.
14633         * string/strcoll_l.c (STRCOLL): Likewise.
14634         * string/strxfrm_l.c (STRXFRM): Likewise.
14636 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
14638         * Makefile.in: Remove CVSOPT handling.
14639         * configure.in: Remove use of AC_REVISION.
14640         * iconvdata/Makefile (distribute): No need to filter out CVS.
14641         * scripts/list-sources.sh: Remove CVS, subversion and monotone
14642         handling.
14644 2011-11-16  Andreas Schwab  <schwab@redhat.com>
14646         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14647         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14648         [USE_AS_STRNCASECMP_L]: Likewise.
14649         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14650         NO_TLS_DIRECT_SEG_REFS.
14651         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14652         Fix argument offsets for non-PIC.
14653         [USE_AS_STRNCASECMP_L]: Likewise.
14654         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14655         NO_TLS_DIRECT_SEG_REFS.
14657 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
14659         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14660         O_CLOEXEC.
14661         * locale/loadlocale.c (_nl_load_locale): Likewise.
14663 2011-11-15  Andreas Schwab  <schwab@redhat.com>
14665         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14666         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14667         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14668         (SYSCALL_GETTIME): Set errno on error.
14670         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14671         count references to noai6ai_cached.
14673 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
14675         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14677         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14678         FD_CLOEXEC for /proc/self/maps.
14680         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14681         FD_CLOEXEC for /proc/meminfo.
14683         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14684         gai.conf.
14686         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
14687         FD_CLOEXEC for given file.
14689         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14691         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14692         FD_CLOEXEC for /etc/hosts.
14693         (_gethtent): Likewise.
14695         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14697         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14698         cancellation and set FD_CLOEXEC for /etc/netgroup.
14700         * nss/nss_files/files-key.c (search): Don't allow cancellation when
14701         reading /etc/publickey.
14703         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14704         allow cancellation when reading /etc/group.
14706         * nss/nss_files/files-alias.c (internal_setent): Don't allow
14707         cancellation.
14708         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
14710         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14711         when using data file.
14713         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14715         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14716         (write_nis_obj): Use "c" and "e" in fopen.
14718         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14720         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14722         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14724         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14726         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14727         locale.alias.
14729         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14731         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14733         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14735         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14736         file parsing and set FD_CLOEXEC.
14738 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
14740         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14742 2011-11-14  Andreas Schwab  <schwab@redhat.com>
14744         * malloc/arena.c (arena_get2): Don't call reused_arena when
14745         _int_new_arena failed.
14747 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
14749         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14750         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14751         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14752         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14753         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14754         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14755         to compile strcasecmp and strncasecmp.
14756         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14757         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14759         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14761 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
14763         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14764         locale-defines.sym to gen-as-const-headers.
14765         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14766         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14767         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14768         to compile strcasecmp and strncasecmp.
14769         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14770         strcasecmp_l and strncasecmp_l.
14771         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14772         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14773         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14774         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14775         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14776         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14777         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14778         * sysdeps/i386/i686/multiarch/strncase.S: New file.
14779         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14780         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14781         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14783 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
14785         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14786         result of SYSDEP_GETTIME_CPU to retval.
14787         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14788         parameter list to macro.  Remove trailing semicolon.  Adjust users.
14790         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14791         variable.
14793         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14794         mantissa words.
14795         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14797         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14798         from unused variable.
14800         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14801         DWARF definitions.
14802         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14803         for assembling.
14805         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14806         over namespaces.
14808         * sunrpc/rpc_prot.c (rejected): Fix case value.
14810         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14811         unsigned long long int to avoid warnings in shift.
14813         * posix/regex_internal.c (re_string_reconstruct): Actually use result
14814         of use of trans.
14815         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14816         variable tmp.
14818         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14819         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14820         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14822         * nis/nis_table.c (nis_list): Use variable of correct type for
14823         result of __follow_path call.
14825 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14827         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14828         of math functions ceil, trunc, floor, round, and sqrt, when
14829         avaliable on the platform.
14830         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14831         name clash.
14832         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14833         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14834         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14836 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
14838         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14839         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14841 2011-11-11  Roland McGrath  <roland@hack.frob.com>
14843         * include/unistd.h: Fix __readlink return type.
14844         Reported by Chris Metcalf <cmetcalf@tilera.com>.
14846 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
14848         * stdlib/ucontext.h: Undo last change for makecontext.
14850 2011-11-11  Andreas Schwab  <schwab@redhat.com>
14852         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14854         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14855         * setjmp/setjmp.h: Mark functions as non-leaf.
14856         * setjmp/bits/setjmp2.h: Likewise.
14857         * stdlib/ucontext.h: Likewise.
14859 2011-11-10  Andreas Schwab  <schwab@redhat.com>
14861         * malloc/arena.c (_int_new_arena): Don't increment narenas.
14862         (reused_arena): Don't check arena limit.
14863         (arena_get2): Atomically check arena limit.
14865 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
14867         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14868         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14870         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14871         instructions.
14873 2011-11-07  Andreas Schwab  <schwab@redhat.com>
14875         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14876         handler when locking.
14878         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14879         Fix size of allocated buffer.
14881 2011-11-04  Andreas Schwab  <schwab@redhat.com>
14883         [BZ #10103]
14884         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14885         declarations for long double functions.
14886         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14888         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14890 2011-11-03  Andreas Schwab  <schwab@redhat.com>
14892         * nscd/nscd.c (main): Don't start AVC thread until credentials are
14893         installed.
14895         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14896         is disabled.
14898 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14900         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14902 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14904         * include/alloca.h (stackinfo_alloca_round): Define.
14905         (extend_alloca): Use it.
14906         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14907         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14908         here.
14910         * scripts/check-local-headers.sh: Ignore libaudit.h.
14912         * nscd/Makefile (extra-objs): Make recursively expanded.
14914 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
14916         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14917         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14919         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14920         * posix/tst-rfc3484-2.c: Likewise.
14921         * posix/tst-rfc3484-3.c: Likewise.
14923         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14924         process_vm_writev.
14925         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14926         process_vm_writev.
14927         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14928         process_vm_writev from libc using GLIBC_2.15 version.
14930         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14932 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
14934         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14935         stack usage.
14937 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
14939         [BZ #13367]
14940         * nss/getent.c (initgroups_keys): Show error message in case no group
14941         names are given.
14943         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14944         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14945         __bump_nl_timestamp.
14946         * nscd/connections (nscd_init): When host database is served open
14947         netlink socket and request notification about configuration changes.
14948         (main_loop_poll): Track netlink file descriptor and bump timestamp
14949         in case data becomes available.
14950         (main_loop_epoll): Likewise.
14951         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14952         (database_pers_head): Add extra_data fileds.
14953         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14954         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14955         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14956         Adjust caller.
14957         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14958         in6ai data, call __free_in6ai.
14959         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14960         Add -DHAVE_NETLINK.
14961         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
14962         interface information.  Reuse previous data if netlink timestamp
14963         is not changed.
14964         (__bump_nl_timestamp): New function.
14965         (__free_in6ai): New function.
14967 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
14969         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14970         close_not_cancel_no_status here.
14971         (__check_pf): Reorganize code a bit to not call close twice if OOM.
14973 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
14975         [BZ #13276]
14976         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14977         return value.
14979         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
14980         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14981         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14983 2011-07-03  Andreas Jaeger  <aj@suse.de>
14985         [BZ #10709]
14986         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14987         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14988         * math/libm-test.inc (sin_test): Add test case.
14990 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
14992         [BZ #13337]
14993         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14994         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14996         * elf/chroot_canon.c (chroot_canon): Cleanups.
14998         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15000         [BZ #13335]
15001         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15002         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15004         * string/test-strchr.c: Make usable for strchrnul testing.
15005         * string/test-strchrnul.c: New file.
15006         * string/Makefile (strop-tests): Add strchrnul.
15008         * po/it.po: Update from translation team.
15009         * po/es.po: Likewise.
15011 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
15013         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15014         the three constants needed as parameters.  Drop the others.
15015         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15016         __m128i_strloadu_tolower.
15017         Create and initialize variable zero and use it in all the places
15018         where _mm_setzero_si128 was used.
15020         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15021         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15022         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15023         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15024         anymore.
15025         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15026         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15027         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15028         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15029         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15030         __mpranred, __mptan.
15031         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15032         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15033         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15034         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15035         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15036         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15037         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15038         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15039         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15041 2011-10-28  Andreas Schwab  <schwab@redhat.com>
15043         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15044         redefine if SHARED.
15045         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15047         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15048         wide char related routines to wcsmbs subdir.
15050 2011-10-27  Andreas Schwab  <schwab@redhat.com>
15052         [BZ #13344]
15053         * misc/sys/cdefs.h (__THROWNL): Define.
15054         * posix/unistd.h: Use __THREADNL instead of __THREAD
15055         for memory synchronization functions.
15057 2011-10-26  Roland McGrath  <roland@hack.frob.com>
15059         [BZ #13349]
15060         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15061         doesn't exist.
15062         * manual/stdio.texi (Obstack Streams): Node removed.
15064 2011-10-26  Andreas Schwab  <schwab@redhat.com>
15066         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15067         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15068         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15070         * math/math_private.h (math_force_eval): Allow non-addressable
15071         arguments.
15072         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15074 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
15076         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15077         file is not needed.
15079         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15080         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15081         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15082         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15083         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15084         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15085         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15086         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15087         Add AVX variants.
15088         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15089         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15090         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15091         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15092         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15093         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15094         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15095         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15096         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15097         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15098         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15099         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15100         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15101         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15102         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15103         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15104         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15105         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15106         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15108         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15109         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
15111         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15112         place.  Use VEX encoding when compiling for AVX.
15114 2011-10-25  Andreas Schwab  <schwab@redhat.com>
15116         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15117         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15119         * string/test-strchr.c (do_test): Don't generate NUL bytes.
15121 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
15123         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
15124         useless if() expression.
15125         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15126         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15127         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15128         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15129         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15130         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15131         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15132         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15133         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15134         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15135         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15136         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15137         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15138         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15139         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15140         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15141         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15142         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15143         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15145         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15147 2011-10-25  Andreas Schwab  <schwab@redhat.com>
15149         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15150         condition.
15151         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15153 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
15155         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15156         .text section.  Avoid duplicate constants.
15157         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15158         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15159         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15160         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15161         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15162         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15163         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15164         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15165         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15166         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15167         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15168         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15169         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15170         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15171         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15172         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15173         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15174         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15175         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15176         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15177         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15178         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15179         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15180         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15181         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15182         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15183         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15184         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15185         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15186         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15187         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15188         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15189         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15190         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15191         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15192         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15193         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15194         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15195         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15196         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15197         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15198         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15199         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15200         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15201         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15203 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
15205         * sysdeps/x86_64/dla.h: Move to ...
15206         * sysdeps/x86_64/fpu/dla.h: ...here.
15207         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15208         situations.  Use __builtin_fma only for gcc 4.6 and up.
15210         * config.make.in: Add have-mfma4 entry.
15211         * configure.in: Substitute libc_cv_cc_fma4.
15212         * math/Makefile (dbl-only-routines): Add sincostab.
15213         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15214         Use __sincostab not sincos.
15215         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15216         name is a macro.
15217         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15218         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15219         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15220         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
15221         using __copysign.
15222         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
15223         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
15224         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15225         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15226         and __inv.
15227         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15228         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15229         __copysign.
15230         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
15231         define aliases when function name is a macro.
15232         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15233         sysdeps/ieee754/dbl-64/sincos.tbl.
15234         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15235         fma4-enabled routines.
15236         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15237         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15238         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15239         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15240         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15241         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15242         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15243         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15244         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15245         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15246         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15247         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15248         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15249         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15250         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15251         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15252         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15253         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15254         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15255         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15256         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15257         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15258         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15259         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15260         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15261         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15262         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15263         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15264         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15265         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15267         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15268         rename.
15269         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15270         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15271         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15272         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15273         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15274         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15275         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15276         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15278 2011-10-24  Andreas Schwab  <schwab@redhat.com>
15280         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15282 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
15284         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15286         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15287         prediction.
15288         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15290         * string/strnlen.c: Don't define STRNLEN, reverse logic.
15291         Remove unused variable magic_bits.
15292         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15294         * string/strnlen.c: Define and use STRNLEN macro.
15295         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15296         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15297         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15298         * wcsmbs/wcslen.c: Define and use WCSLEN.
15299         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15300         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15301         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15302         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15303         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15304         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15305         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15307 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15310         strnlen-sse2-no-bsf.
15311         Rename strlen-no-bsf to strlen-sse2-no-bsf.
15312         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15313         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15314         Add strnlen support.
15315         (USE_AS_STRNLEN): New macro.
15316         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15317         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15318         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15319         * sysdeps/x86_64/wcslen.S: New file.
15321 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
15323         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15324         XMM-moves are used for copying on small sizes.
15326 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15328         * wcsmbs/Makefile (strop-tests): Add wcschr.
15329         * wcsmbs/test-wcschr.c: New file.
15330         * string/test-strchr.c: Update.
15331         Add wcschr support.
15332         (WIDE): New macro.
15334 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15336         * wcsmbs/Makefile (strop-tests): Add wcslen.
15337         * wcsmbs/test-wcslen.c: New file.
15338         * string/test-strlen.c: Update.
15339         Add wcslen support.
15340         (WIDE): New macro.
15342 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
15344         * po/it.po: Update from translation team.
15346 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15348         * sysdeps/x86_64/wcscmp.S: Update.
15349         Fix wrong comparison semantics.
15350         wcscmp shall use signed comparison not unsigned.
15351         Don't use substraction to avoid overflow bug.
15352         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15353         * wcsmbc/wcscmp.c: Likewise.
15354         * string/test-strcmp.c: Likewise.
15355         Add new tests to check cases with negative values.
15357 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
15359         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15360         * sysdeps/x86_64/dla.h: ...here.  New file.
15361         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15362         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15363         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15364         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15365         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15366         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15367         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15368         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15369         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15371 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
15373         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15374         __ynl_finite aliases.
15376 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
15378         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15380         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15381         define DLA_FMA.
15382         [DLA_FMA] (EMULV): Use DLA_FMA.
15383         [DLA_FMA] (MUL12): Use EMULV.
15384         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15385         that are not needed.
15386         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15387         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15388         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15389         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15390         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15391         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15392         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15394 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
15396         * math/s_nan.c: Undef __nan.
15397         * math/s_nanf.c: Undef __nanf.
15398         * math/s_nanl.c: Undef __nanl.
15399         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15400         "math_private.h".
15402 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
15404         * math/s_catan.c: Add branch predictions.
15405         * math/s_catanf.c: Likewise.
15406         * math/s_catanh.c: Likewise.
15407         * math/s_catanhf.c: Likewise.
15408         * math/s_catanhl.c: Likewise.
15409         * math/s_catanl.c: Likewise.
15410         * math/s_cexp.c: Likewise.
15411         * math/s_cexpf.c: Likewise.
15412         * math/s_cexpl.c: Likewise.
15413         * math/s_clog.c: Likewise.
15414         * math/s_clog10.c: Likewise.
15415         * math/s_clog10f.c: Likewise.
15416         * math/s_clog10l.c: Likewise.
15417         * math/s_clogf.c: Likewise.
15418         * math/s_clogl.c: Likewise.
15419         * math/s_csqrt.c: Likewise.
15420         * math/s_csqrtf.c: Likewise.
15421         * math/s_csqrtl.c: Likewise.
15422         * math/s_ctanf.c: Likewise.
15423         * math/s_ctanh.c: Likewise.
15424         * math/s_ctanhf.c: Likewise.
15425         * math/s_ctanhl.c: Likewise.
15426         * math/s_ctanl.c: Likewise.
15428         * math/math_private.h: Define __nan, __nanf, __nanl.
15429         * math/s_cacosh.c: Include <math_private.h>.
15430         * math/s_cacoshl.c: Likewise.
15431         * math/s_casinh.c: Likewise.
15432         * math/s_casinhf.c: Likewise.
15433         * math/s_casinhl.c: Likewise.
15434         * math/s_ccos.c: Rely entire on ccosh.
15435         * math/s_ccosf.c: Rely entire on ccoshf.
15436         * math/s_ccosl.c: Rely entirely on ccoshl.
15437         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
15438         Remove tests for FE_INVALID.
15439         * math/s_ccoshf.c: Likewise.
15440         * math/s_ccoshl.c: Likewise.
15441         * math/s_csin.c: Likewise.
15442         * math/s_csinf.c: Likewise.
15443         * math/s_csinh.c Likewise.
15444         * math/s_csinhf.c: Likewise.
15445         * math/s_csinhl.c: Likewise.
15446         * math/s_csinl.c: Likewise.
15447         * math/s_ctan.c: Likewise.
15448         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15449         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15450         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15452 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
15454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15455         compilation problems.
15457         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15458         __builtin_expect.
15460 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
15462         * sysdeps/i386/configure.in: Test for -mfma4 option.
15463         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15464         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15465         COMMON_CPUID_INDEX_80000001.
15466         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15467         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15468         use it if FMA3 is not supported.
15469         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15471         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15472         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15474 2011-10-20  Andreas Schwab  <schwab@redhat.com>
15476         [BZ #12892]
15477         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15478         it would create a cycle with a link time dependency.
15480 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
15482         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15483         instruction.
15484         * string/Makefile (strop-tests): Add rawmemchr.
15485         * string/test-rawmemchr.c: New file.
15487         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15488         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
15489         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
15490         when compiling str{,n}casecmp and when AVX is available.  Hook up
15491         new optimized code in initializers.
15493 2011-10-19  Andreas Schwab  <schwab@redhat.com>
15495         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15496         __feraiseexcept instead of feraiseexcept.
15498 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
15500         * math/math_private.h: Define defaults for libc_fetestexcept and
15501         libc_feupdateenv.
15502         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15503         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15504         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15505         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15506         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15507         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15508         libc_fetestexcept and libc_feupdateenv.
15510         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15511         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15512         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15513         * sysdeps/x86_64/fpu/math_private.h: Define special version of
15514         libc_feholdexcept_setround.
15516         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15517         Add s_nearbyint-c and s_nearbyintf-c.
15518         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15519         nearbyintf inlines.
15520         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15521         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15522         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15523         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15525         * math/math_private.h: Define defaults for libc_fegetround,
15526         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15527         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15528         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15529         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15530         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15531         standard functions.
15532         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15533         Remove comments and hacks for old compiler versions.
15534         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15535         libc_fegetround, libc_fesetround, libc_feholdexcept, and
15536         libc_feholdexceptl.
15538 2011-10-18  Andreas Schwab  <schwab@redhat.com>
15540         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15541         (__feraiseexcept_renamed): Add __NTH.
15542         (feraiseexcept): Add __NTH.  Rename local variables to fix
15543         namespace violations.
15545 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
15547         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15549         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15551         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15552         recently added interfaces.
15553         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15555         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15556         about macro parameter expansion.
15558         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15559         __NO_MATH_INLINES is defined.  Cleanups.
15561         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15562         and __floorf is target has SSE4.1.
15563         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15564         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15565         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15566         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15568         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15569         name.
15570         (floorf): Likewise.
15572         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15574 2011-10-17  Andreas Schwab  <schwab@redhat.com>
15576         * misc/sys/cdefs.h: Fix last change.
15578         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15579         database lookup.
15581 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
15583         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15585         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15586         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15587         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15588         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15589         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15590         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15591         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15592         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15593         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15594         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15595         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15596         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15597         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15598         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15599         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15600         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15601         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15602         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15603         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15604         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15605         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15606         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15608         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15609         ceil, ceilf, floor, floorf.
15611         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15612         Perform IRELATIVE relocations last.
15614         * elf/do-rel.h: Add another parameter nrelative, replacing the
15615         local variable with the same name.  Change name of the function
15616         to end in Rel or Rela (uppercase).
15617         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15618         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
15619         elf_dynamic_do_##reloc function.
15621 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
15623         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15624         is sufficient, at least on modern CPUs.
15626         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15628         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15629         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15631         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15632         __expl_finite.
15633         * math/bits/math-finite.h: Add entries for exp.
15634         * math/e_expl.c: Add __*_finite alias.
15635         * sysdeps/i386/fpu/e_exp.S: Likewise.
15636         * sysdeps/i386/fpu/e_expf.S: Likewise.
15637         * sysdeps/i386/fpu/e_expl.c: Likewise.
15638         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15639         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15640         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15641         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15642         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15643         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15644         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15646         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15647         is sufficient, at least on modern CPUs.
15649         * ctype/ctype-info.c (__ctype_init): Define.
15650         * include/ctype.h (__ctype_init): Declare.
15651         (__ctype_b_loc): The variable is always initialized.
15652         (__ctype_toupper_loc): Likewise.
15653         (__ctype_tolower_loc): Likewise.
15654         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15655         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15657 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
15659         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15661         * configure.in: Also look in $cxxmachine/include for C++ system
15662         headers.
15664 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15666         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15667         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15668         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15669         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
15670         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15671         (USE_AS_WMEMCMP): New macro.
15672         Fixing indents.
15673         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15674         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15675         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15676         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15677         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15678         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15679         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15680         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15681         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15682         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15683         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15684         (USE_AS_WMEMCMP): New macro.
15685         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15686         * sysdeps/string/test-memcmp.c: Update.
15687         Fix simple_wmemcmp.
15688         Add new tests.
15689         * wcsmbs/wmemcmp.c: Update.
15690         (WMEMCMP): New macro.
15691         Fix overflow bug.
15693 2011-10-12  Andreas Jaeger  <aj@suse.de>
15695         [BZ #13268]
15696         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15698 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
15700         * libio/iofwide.c (do_length): Avoid warning.
15702         * ctype/ctype.h (__isctype_f): Add missing __THROW.
15704 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
15706         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15708         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15709         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15710         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15711         * sysdeps/i386/i686/fpu/e_log.S: New file.
15712         * sysdeps/i386/i686/fpu/e_logf.S: New file.
15713         * sysdeps/i386/i686/fpu/e_logl.S: New file.
15715         * ctype/ctype.h: Add support for inlined isXXX functions when
15716         compiling C++ code.
15718 2011-10-14  Andreas Schwab  <schwab@redhat.com>
15720         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15722         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15724 2011-10-13  Roland McGrath  <roland@hack.frob.com>
15726         [BZ #13291]
15727         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15729 2011-10-13  Andreas Schwab  <schwab@redhat.com>
15731         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15732         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15733         feraiseexcept.
15735         * sysdeps/x86_64/memrchr.S: Check for zero size.
15737         * string/stratcliff.c: Add memrchr tests.
15739 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15741         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15742         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15743         rawmemchr-sse2 rawmemchr-sse2-bsf.
15744         * sysdeps/i386/i686/multiarch/memchr.S: New file.
15745         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15746         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15747         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15748         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15749         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15750         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15751         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15752         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15753         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15754         * string/memrchr.c (MEMRCHR): New macro.
15756 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
15758         Add integration with gcc's -ffinite-math-only and optimize wrapper
15759         functions in libm.
15760         * Versions.def: Define GLIBC_2.15 version for libm.
15761         * math/Makefile (headers): Add bits/math-finite.h.
15762         * math/bits/math-finite.h: New file.
15763         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15764         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15765         * math/e_acoshl.c: Add __*_finite alias.
15766         * math/e_acosl.c: Likewise.
15767         * math/e_asinl.c: Likewise.
15768         * math/e_atan2l.c: Likewise.
15769         * math/e_atanhl.c: Likewise.
15770         * math/e_coshl.c: Likewise.
15771         * math/e_exp10.c: Likewise.
15772         * math/e_exp10f.c: Likewise.
15773         * math/e_exp10l.c: Likewise.
15774         * math/e_exp2l.c: Likewise.
15775         * math/e_fmodl.c: Likewise.
15776         * math/e_gammal_r.c: Likewise.
15777         * math/e_hypotl.c: Likewise.
15778         * math/e_j0l.c: Likewise.
15779         * math/e_j1l.c: Likewise.
15780         * math/e_jnl.c: Likewise.
15781         * math/e_lgammal_r.c: Likewise.
15782         * math/e_log10l.c: Likewise.
15783         * math/e_log2l.c: Likewise.
15784         * math/e_logl.c: Likewise.
15785         * math/e_powl.c: Likewise.
15786         * math/e_sinhl.c: Likewise.
15787         * math/e_sqrtl.c: Likewise.
15788         * math/e_scalb.c: Completely rewritten and optimized.
15789         * math/e_scalbf.c: Likewise.
15790         * math/e_scalbl.c: Likewise.
15791         * math/w_acos.c: Likewise.
15792         * math/w_acosf.c: Likewise.
15793         * math/w_acosl.c: Likewise.
15794         * math/w_acosh.c: Likewise.
15795         * math/w_acoshf.c: Likewise.
15796         * math/w_acoshl.c: Likewise.
15797         * math/w_asin.c: Likewise.
15798         * math/w_asinf.c: Likewise.
15799         * math/w_asinl.c: Likewise.
15800         * math/w_atan2.c: Likewise.
15801         * math/w_atan2f.c: Likewise.
15802         * math/w_atan2l.c: Likewise.
15803         * math/w_atanh.c: Likewise.
15804         * math/w_atanhf.c: Likewise.
15805         * math/w_atanhl.c: Likewise.
15806         * math/w_exp10.c: Likewise.
15807         * math/w_exp10f.c: Likewise.
15808         * math/w_exp10l.c: Likewise.
15809         * math/w_fmod.c: Likewise.
15810         * math/w_fmodf.c: Likewise.
15811         * math/w_fmodl.c: Likewise.
15812         * math/w_j0.c: Likewise.
15813         * math/w_j0f.c: Likewise.
15814         * math/w_j0l.c: Likewise.
15815         * math/w_j1.c: Likewise.
15816         * math/w_j1f.c: Likewise.
15817         * math/w_j1l.c: Likewise.
15818         * math/w_jn.c: Likewise.
15819         * math/w_jnf.c: Likewise.
15820         * math/w_log.c: Likewise.
15821         * math/w_logf.c: Likewise.
15822         * math/w_logl.c: Likewise.
15823         * math/w_log10.c: Likewise.
15824         * math/w_log10f.c: Likewise.
15825         * math/w_log10l.c: Likewise.
15826         * math/w_log2.c: Likewise.
15827         * math/w_log2f.c: Likewise.
15828         * math/w_log2l.c: Likewise.
15829         * math/w_pow.c: Likewise.
15830         * math/w_powf.c: Likewise.
15831         * math/w_powl.c: Likewise.
15832         * math/w_remainder.c: Likewise.
15833         * math/w_remainderf.c: Likewise.
15834         * math/w_remainderl.c: Likewise.
15835         * math/w_scalb.c: Likewise.
15836         * math/w_scalbf.c: Likewise.
15837         * math/w_scalbl.c: Likewise.
15838         * math/w_sqrt.c: Likewise.
15839         * math/w_sqrtf.c: Likewise.
15840         * math/w_sqrtl.c: Likewise.
15841         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15842         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
15843         used.
15844         * math/math_private.h: Declare __kernel_standard_f.
15845         * math/w_cosh.c: Remove cruft and optimize a bit.
15846         * math/w_coshf.c: Likewise.
15847         * math/w_coshl.c: Likewise.
15848         * math/w_exp2.c: Likewise.
15849         * math/w_exp2f.c: Likewise.
15850         * math/w_exp2l.c: Likewise.
15851         * math/w_hypot.c: Likewise.
15852         * math/w_hypotf.c: Likewise.
15853         * math/w_hypotl.c: Likewise.
15854         * math/w_lgamma.c: Likewise.
15855         * math/w_lgamma_r.c: Likewise.
15856         * math/w_lgammaf.c: Likewise.
15857         * math/w_lgammaf_r.c: Likewise.
15858         * math/w_lgammal.c: Likewise.
15859         * math/w_lgammal_r.c: Likewise.
15860         * math/w_sinh.c: Likewise.
15861         * math/w_sinhf.c: Likewise.
15862         * math/w_sinhl.c: Likewise.
15863         * math/w_tgamma.c: Likewise.
15864         * math/w_tgammaf.c: Likewise.
15865         * math/w_tgammal.c: Likewise.
15866         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15867         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15868         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15869         Minor optimizations.  Pretty printing.  Remove cruft.
15870         * sysdeps/i386/fpu/e_acosf.S: Likewise.
15871         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15872         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15873         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15874         * sysdeps/i386/fpu/e_acosl.c: Likewise.
15875         * sysdeps/i386/fpu/e_asin.S: Likewise.
15876         * sysdeps/i386/fpu/e_asinf.S: Likewise.
15877         * sysdeps/i386/fpu/e_atan2.S: Likewise.
15878         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15879         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15880         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15881         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15882         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15883         * sysdeps/i386/fpu/e_exp10.S: Likewise.
15884         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15885         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15886         * sysdeps/i386/fpu/e_exp2.S: Likewise.
15887         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15888         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15889         * sysdeps/i386/fpu/e_fmod.S: Likewise.
15890         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15891         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15892         * sysdeps/i386/fpu/e_hypot.S: Likewise.
15893         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15894         * sysdeps/i386/fpu/e_log.S: Likewise.
15895         * sysdeps/i386/fpu/e_log10.S: Likewise.
15896         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15897         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15898         * sysdeps/i386/fpu/e_log2.S: Likewise.
15899         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15900         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15901         * sysdeps/i386/fpu/e_logf.S: Likewise.
15902         * sysdeps/i386/fpu/e_logl.S: Likewise.
15903         * sysdeps/i386/fpu/e_pow.S: Likewise.
15904         * sysdeps/i386/fpu/e_powf.S: Likewise.
15905         * sysdeps/i386/fpu/e_powl.S: Likewise.
15906         * sysdeps/i386/fpu/e_remainder.S: Likewise.
15907         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15908         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15909         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15910         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15911         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15912         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15913         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15914         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15915         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15916         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15917         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15918         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15919         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15920         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15921         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15922         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15923         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15924         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15925         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15926         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15927         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15928         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15929         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15930         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15931         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15932         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15933         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15934         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15935         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15936         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15937         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15938         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15939         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15940         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15941         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15942         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15943         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15944         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15945         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15946         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15947         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15948         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15949         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15950         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15951         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15952         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15953         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15954         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15955         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15956         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15957         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15958         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15959         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15960         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15961         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15962         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15963         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15964         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15965         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15966         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15967         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15968         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15969         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15970         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15971         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15972         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15973         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15974         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15975         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15976         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15977         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15978         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15979         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15980         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15981         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15982         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15983         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15984         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15985         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15986         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15987         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15988         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15989         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15990         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15991         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15992         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15993         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15994         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15995         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15996         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15997         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15998         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15999         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16000         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16001         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16002         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16003         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16004         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16005         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16006         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16007         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16008         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16009         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16010         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16011         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16012         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16013         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16014         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16015         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16016         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16017         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16018         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16019         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16020         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16021         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16022         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16023         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16024         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16025         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
16026         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16027         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16028         (__isnanf): Likewise.
16029         (__isinf_ns): Likewise.
16030         (__isinf_nsf): Likewise.
16031         (__finite): Likewise.
16032         (__finitef): Likewise.
16033         (__ieee754_sqrt): Define as macro.
16034         (__ieee754_sqrtf): Define as macro.
16035         (__ieee754_sqrtl): Define as macro.
16036         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16037         inlined copy.
16038         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16039         __FINITE_MATH_ONLY__ consistent.
16040         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16042 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
16044         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16045         of rawmemchr.
16047         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16049 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
16051         * po/ja.po: Update from translation team.
16053 2011-10-08  Roland McGrath  <roland@hack.frob.com>
16055         * locale/programs/locarchive.c (prepare_address_space): New function.
16056         (create_archive, enlarge_archive, open_archive): Use it.
16058         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16059         inside [SHARED], where it is used.
16061         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16063         * nss/getent.c (netgroup_keys): Remove unused variable.
16064         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16066 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
16068         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16069         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16070         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16071         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16072         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16073         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16074         * math/Makefile (libm-calls): Add s_isinf_ns.
16075         * math/divtc3.c: Use __isinf_nsl instead of isinf.
16076         * math/multc3.c: Likewise.
16077         * math/s_casin.c: Likewise.
16078         * math/s_casinf.c: Likewise.
16079         * math/s_casinl.c: Likewise.
16080         * math/s_ccos.c: Likewise.
16081         * math/s_ccosf.c: Likewise.
16082         * math/s_ccosl.c: Likewise.
16083         * math/s_ctan.c: Likewise.
16084         * math/s_ctanf.c: Likewise.
16085         * math/s_ctanh.c: Likewise.
16086         * math/s_ctanhf.c: Likewise.
16087         * math/s_ctanhl.c: Likewise.
16088         * math/s_ctanl.c: Likewise.
16089         * math/w_fmod.c: Likewise.
16090         * math/w_fmodf.c: Likewise.
16091         * math/w_fmodl.c: Likewise.
16092         * math/w_remainder.c: Likewise.
16093         * math/w_remainderf.c: Likewise.
16094         * math/w_remainderl.c: Likewise.
16095         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16096         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16097         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16098         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16099         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16100         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16101         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16102         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16104         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16105         of the number.
16106         * stdio-common/printf_fphex.c: Likewise.
16107         * stdio-common/printf_size.c: Likewise.
16109         * math/e_exp10.c: Include math_private.h using <...> not "...".
16110         * math/e_exp10f.c: Likewise.
16111         * math/e_exp10l.c: Likewise.
16112         * math/e_exp2l.c: Likewise.
16113         * math/e_j0l.c: Likewise.
16114         * math/e_j1l.c: Likewise.
16115         * math/e_jnl.c: Likewise.
16116         * math/e_lgammal_r.c: Likewise.
16117         * math/e_rem_pio2l.c: Likewise.
16118         * math/e_scalb.c: Likewise.
16119         * math/e_scalbf.c: Likewise.
16120         * math/e_scalbl.c: Likewise.
16121         * math/k_cosl.c: Likewise.
16122         * math/k_sinl.c: Likewise.
16123         * math/k_tanl.c: Likewise.
16124         * math/s_cacoshf.c: Likewise.
16125         * math/s_catan.c: Likewise.
16126         * math/s_catanf.c: Likewise.
16127         * math/s_catanh.c: Likewise.
16128         * math/s_catanhf.c: Likewise.
16129         * math/s_catanhl.c: Likewise.
16130         * math/s_catanl.c: Likewise.
16131         * math/s_ccosh.c: Likewise.
16132         * math/s_ccoshf.c: Likewise.
16133         * math/s_ccoshl.c: Likewise.
16134         * math/s_cexp.c: Likewise.
16135         * math/s_cexpf.c: Likewise.
16136         * math/s_cexpl.c: Likewise.
16137         * math/s_clog.c: Likewise.
16138         * math/s_clog10.c: Likewise.
16139         * math/s_clog10f.c: Likewise.
16140         * math/s_clog10l.c: Likewise.
16141         * math/s_clogf.c: Likewise.
16142         * math/s_clogl.c: Likewise.
16143         * math/s_csin.c: Likewise.
16144         * math/s_csinf.c: Likewise.
16145         * math/s_csinh.c: Likewise.
16146         * math/s_csinhf.c: Likewise.
16147         * math/s_csinhl.c: Likewise.
16148         * math/s_csinl.c: Likewise.
16149         * math/s_csqrt.c: Likewise.
16150         * math/s_csqrtf.c: Likewise.
16151         * math/s_csqrtl.c: Likewise.
16152         * math/s_ctan.c: Likewise.
16153         * math/s_ctanf.c: Likewise.
16154         * math/s_ctanh.c: Likewise.
16155         * math/s_ctanhf.c: Likewise.
16156         * math/s_ctanhl.c: Likewise.
16157         * math/s_ctanl.c: Likewise.
16158         * math/s_ldexp.c: Likewise.
16159         * math/s_ldexpf.c: Likewise.
16160         * math/s_ldexpl.c: Likewise.
16161         * math/s_significand.c: Likewise.
16162         * math/s_significandf.c: Likewise.
16163         * math/s_significandl.c: Likewise.
16164         * math/w_acos.c: Likewise.
16165         * math/w_acosf.c: Likewise.
16166         * math/w_acosh.c: Likewise.
16167         * math/w_acoshf.c: Likewise.
16168         * math/w_acoshl.c: Likewise.
16169         * math/w_acosl.c: Likewise.
16170         * math/w_asin.c: Likewise.
16171         * math/w_asinf.c: Likewise.
16172         * math/w_asinl.c: Likewise.
16173         * math/w_atan2.c: Likewise.
16174         * math/w_atan2f.c: Likewise.
16175         * math/w_atan2l.c: Likewise.
16176         * math/w_atanh.c: Likewise.
16177         * math/w_atanhf.c: Likewise.
16178         * math/w_atanhl.c: Likewise.
16179         * math/w_cosh.c: Likewise.
16180         * math/w_coshf.c: Likewise.
16181         * math/w_coshl.c: Likewise.
16182         * math/w_dremf.c: Likewise.
16183         * math/w_exp10.c: Likewise.
16184         * math/w_exp10f.c: Likewise.
16185         * math/w_exp10l.c: Likewise.
16186         * math/w_exp2.c: Likewise.
16187         * math/w_exp2f.c: Likewise.
16188         * math/w_fmod.c: Likewise.
16189         * math/w_fmodf.c: Likewise.
16190         * math/w_fmodl.c: Likewise.
16191         * math/w_hypot.c: Likewise.
16192         * math/w_hypotf.c: Likewise.
16193         * math/w_hypotl.c: Likewise.
16194         * math/w_j0.c: Likewise.
16195         * math/w_j0f.c: Likewise.
16196         * math/w_j0l.c: Likewise.
16197         * math/w_j1.c: Likewise.
16198         * math/w_j1f.c: Likewise.
16199         * math/w_j1l.c: Likewise.
16200         * math/w_jn.c: Likewise.
16201         * math/w_jnf.c: Likewise.
16202         * math/w_jnl.c: Likewise.
16203         * math/w_lgamma.c: Likewise.
16204         * math/w_lgamma_r.c: Likewise.
16205         * math/w_lgammaf.c: Likewise.
16206         * math/w_lgammaf_r.c: Likewise.
16207         * math/w_lgammal.c: Likewise.
16208         * math/w_lgammal_r.c: Likewise.
16209         * math/w_log.c: Likewise.
16210         * math/w_log10.c: Likewise.
16211         * math/w_log10f.c: Likewise.
16212         * math/w_log10l.c: Likewise.
16213         * math/w_log2.c: Likewise.
16214         * math/w_log2f.c: Likewise.
16215         * math/w_log2l.c: Likewise.
16216         * math/w_logf.c: Likewise.
16217         * math/w_logl.c: Likewise.
16218         * math/w_pow.c: Likewise.
16219         * math/w_powf.c: Likewise.
16220         * math/w_powl.c: Likewise.
16221         * math/w_remainder.c: Likewise.
16222         * math/w_remainderf.c: Likewise.
16223         * math/w_remainderl.c: Likewise.
16224         * math/w_scalb.c: Likewise.
16225         * math/w_scalbf.c: Likewise.
16226         * math/w_scalbl.c: Likewise.
16227         * math/w_sinh.c: Likewise.
16228         * math/w_sinhf.c: Likewise.
16229         * math/w_sinhl.c: Likewise.
16230         * math/w_sqrt.c: Likewise.
16231         * math/w_sqrtf.c: Likewise.
16232         * math/w_sqrtl.c: Likewise.
16233         * math/w_tgamma.c: Likewise.
16234         * math/w_tgammaf.c: Likewise.
16235         * math/w_tgammal.c: Likewise.
16237         * po/ja.po: Update from translation team.
16239 2011-09-29  Andreas Jaeger  <aj@suse.de>
16241         [BZ #13179]
16242         * sunrpc/netname.c (netname2host): Fix logic.
16244         [BZ #6779]
16245         [BZ #6783]
16246         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16247         correctly.
16248         * math/w_remainder.c (__remainder): Likewise.
16249         * math/w_remainderf.c (__remainderf): Likewise.
16250         * math/libm-test.inc (remainder_test): Add test cases.
16252 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16254         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
16255         sdiv_qrnnd.
16257 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
16259         * string/test-memcmp.c: Avoid unncessary #defines.
16260         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16262 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16264         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16265         Use new sse2 version for core i3 - i7 as it's faster
16266         than sse42 version.
16267         (bit_Prefer_PMINUB_for_stringop): New.
16268         * sysdeps/x86_64/rawmemchr.S: Update.
16269         Replace with faster SSE2 version.
16270         * sysdeps/x86_64/memrchr.S: New file.
16271         * sysdeps/x86_64/memchr.S: Update.
16272         Replace with faster SSE2 version.
16274 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
16276         * elf/dl-load.c (lose): Add cast to avoid warning.
16278 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
16280         * po/ca.po: Update from translation team.
16282         * inet/getnetgrent_r.c: Hook up nscd.
16283         * nscd/Makefile (routines): Add nscd_netgroup.
16284         (nscd-modules): Add netgroupcache.
16285         (CFLAGS-netgroupcache.c): Define.
16286         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16287         (cache_search): Add const to second parameter.
16288         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16289         INNETGR.
16290         (dbs): Add netgrdb entry.
16291         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16292         (verify_persistent_db): Handle netgrdb.
16293         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16294         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16295         GETFDNETGR.
16296         (netgroup_response_header): Define.
16297         (innetgroup_response_header): Define.
16298         (datahead): Add netgroup_response_header and innetgroup_response_header
16299         elements.
16300         * nscd/nscd.conf: Add entries for netgroup cache.
16301         * nscd/nscd.h (dbtype): Add netgrdb.
16302         (_PATH_NSCD_NETGROUP_DB): Define.
16303         (netgroup_iov_disabled): Declare.
16304         (xmalloc, xcalloc, xrealloc): Move declarations here.
16305         (cache_search): Adjust prototype.
16306         Add netgroup-related prototypes.
16307         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16308         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16309         (__nscd_innetgr): Declare.
16310         * nscd/selinux.c (perms): Use access_vector_t as element type and
16311         add netgroup-related initializers.
16312         * nscd/netgroupcache.c: New file.
16313         * nscd/nscd_netgroup.c: New file.
16314         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16315         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16316         For four parameters use innetgr.
16317         * nss/nss_files/files-init.c: Add definition and callback for netgr.
16318         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16319         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16320         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16322         * nscd/connections.c (register_traced_file): Don't register file
16323         for disabled databases.
16325 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
16327         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16329         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16330         from tree and freeing node.
16332 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
16334         * nss/nsswitch.c (__nss_database_lookup): Handle
16335         nss_parse_service_list out of memory case.
16337 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
16339         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16340         out of memory case.
16342 2011-10-04  Andreas Schwab  <schwab@redhat.com>
16344         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16345         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16346         pass it down.
16347         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16348         elf_machine_rela, elf_machine_lazy_rel.
16349         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16350         (ELF_DYNAMIC_DO_REL): Likewise.
16351         (ELF_DYNAMIC_DO_RELA): Likewise.
16352         (ELF_DYNAMIC_RELOCATE): Likewise.
16353         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16354         to ELF_DYNAMIC_DO_REL.
16355         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16356         (dl_main): In trace mode always set __RTLD_NOIFUNC.
16357         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16358         elf_machine_rela.
16359         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16360         skip_ifunc, don't call ifunc function if non-zero.
16361         (elf_machine_rela): Likewise.
16362         (elf_machine_lazy_rel): Likewise.
16363         (elf_machine_lazy_rela): Likewise.
16364         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16365         (elf_machine_lazy_rel): Likewise.
16366         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16367         Likewise.
16368         (elf_machine_lazy_rel): Likewise.
16369         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16370         Likewise.
16371         (elf_machine_lazy_rel): Likewise.
16372         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16373         (elf_machine_lazy_rel): Likewise.
16374         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16375         (elf_machine_lazy_rel): Likewise.
16376         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16377         (elf_machine_lazy_rel): Likewise.
16378         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16379         (elf_machine_lazy_rel): Likewise.
16380         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16381         (elf_machine_lazy_rel): Likewise.
16382         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16383         (elf_machine_lazy_rel): Likewise.
16385 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
16387         * nss/nss_files/files-init.c (_nss_files_init): Use static
16388         initialization for all the *_traced_file variables.
16390 2011-09-28  Andreas Schwab  <schwab@redhat.com>
16392         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16394 2011-09-27  Roland McGrath  <roland@hack.frob.com>
16396         [BZ #13226]
16397         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16399 2011-09-27  Andreas Schwab  <schwab@redhat.com>
16401         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16402         Reread the line before reparsing it.
16404 2011-09-26  Andreas Schwab  <schwab@redhat.com>
16406         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16408 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
16409             Maxim Kuvyrkov  <maxim@codesourcery.com>
16410             Joseph Myers  <joseph@codesourcery.com>
16412         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16413         if needed for __stack_chk_guard.
16415 2011-09-19  Roland McGrath  <roland@hack.frob.com>
16417         * sysdeps/posix/spawni.c (script_execute): Always define it.
16418         It will be optimized away if unused.
16419         (maybe_script_execute): New function.
16420         (__spawni): Call it.
16422         * Makerules: Don't include tls.make.
16423         (config-tls): Always set to thread.
16424         * tls.make.c: File removed.
16426 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
16428         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16429         * config.make.in (CPPFLAGS-config): New substituted variable.
16431 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
16433         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16435         [BZ #13192]
16436         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16437         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16439 2011-09-15  Roland McGrath  <roland@hack.frob.com>
16441         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16442         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16443         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16444         (CALL_FAIL): Likewise.
16445         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16446         (CALL_FAIL): Macro removed.
16447         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16449 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
16451         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16452         for __FINITE_MATH_ONLY__ == 1.
16454 2011-09-15  Andreas Schwab  <schwab@redhat.com>
16456         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16457         __ieee754_sqrt instead of sqrt.
16458         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16459         __ieee754_sqrtf instead of sqrtf.
16460         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16461         __floorf instead of floorf.
16462         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16463         __floorf, __truncf instead of floorf, truncf.
16465 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
16467         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16469         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16470         __extern_always_inline.
16471         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16472         32-bit.
16474 2011-09-14  Andreas Schwab  <schwab@redhat.com>
16476         * elf/rtld.c (dl_main): Also relocate in dependency order when
16477         doing symbol dependency testing.
16479 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
16481         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16482         Always define `refsym'.
16484 2011-09-13  Andreas Schwab  <schwab@redhat.com>
16486         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16487         (__FD_ELT): Renamed from __FDELT.
16488         * misc/bits/select2.h (__FD_ELT): Likewise.
16489         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16490         __FD_MASK instead of __FDELT, __FDMASK.
16491         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16492         Likewise.
16493         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16494         Likewise.
16496         * elf/Makefile (gen-ldd): Fix pattern.
16498         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16499         (init_tls): Likewise.
16501 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
16503         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16505 2011-09-12  Andreas Schwab  <schwab@redhat.com>
16507         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16508         `struct cmsghdr *' instead of `void *'.
16509         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16510         Likewise.
16512 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
16514         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16515         if non-absolute.
16516         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16517         ldd_rewrite_script.
16519 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
16521         * configure.in: Remove --with-tls option.
16522         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16523         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16524         out in case it is missing.
16525         * sysdeps/ia64/elf/configure.in: Likewise.
16526         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16527         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16528         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16529         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16530         * sysdeps/sh/elf/configure.in: Likewise.
16531         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16532         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16533         * sysdeps/x86_64/elf/configure.in: Likewise.
16534         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16535         * sysdeps/mach/hurd/tls.h: Likewise.
16537         [BZ #13067]
16538         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16540         [BZ #13090]
16541         * configure.in: Fix use of AC_INIT.
16543         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16545 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
16547         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16548         __set_errno.
16549         * malloc/hooks.c: Likewise.
16551         [BZ #11929]
16552         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
16553         variables statically.
16554         (narenas): Initialize.
16555         (list_lock): Initialize.
16556         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
16557         initializtion of main_arena and list_lock.  Small cleanups.
16558         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16559         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
16560         Add initializers to main_arena and mp_.
16561         (malloc_state): Remove pagesize member.  Change all users to use
16562         GLRO(dl_pagesize).
16564         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16565         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
16566         is always initialized.
16568         * malloc/malloc.c: Removed unused configurations and dead code.
16569         * malloc/arena.c: Likewise.
16570         * malloc/hooks.c: Likewise.
16571         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16573         * include/tls.h: Removed.  USE___THREAD must always be defined.
16574         * bits/libc-tsd.h: Don't handle !USE___THREAD.
16575         * elf/dl-libc.c: Likewise.
16576         * elf/dl-tsd.c: Likewise.
16577         * include/errno.h: Likewise.
16578         * include/netdb.h: Likewise.
16579         * include/resolv.h: Likewise.
16580         * inet/herrno-loc.c: Likewise.
16581         * inet/herrno.c: Likewise.
16582         * malloc/arena.c: Likewise.
16583         * malloc/hooks.c: Likewise.
16584         * malloc/malloc.c: Likewise.
16585         * resolv/res-state.c: Likewise.
16586         * resolv/res_libc.c: Likewise.
16587         * sysdeps/i386/dl-machine.h: Likewise.
16588         * sysdeps/ia64/dl-machine.h: Likewise.
16589         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16590         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16591         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16592         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16593         * sysdeps/sh/dl-machine.h: Likewise.
16594         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16595         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16596         * sysdeps/unix/i386/sysdep.S: Likewise.
16597         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16598         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16599         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16600         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16601         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16602         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16603         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16604         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16605         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16606         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16607         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16608         * sysdeps/x86_64/dl-machine.h: Likewise.
16609         * tls.make.c: Likewise.
16611         * configure.in: Remove --with-__thread option.  Make tests for
16612         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16613         tls_model attribute fail if no support is available.  Remove
16614         USE_IN_LIBIO.
16615         * Makeconfig: Adjust for dropped configure option.  All features are
16616         now mandatory.
16617         * Makerules: Likewise.
16618         * Versions.def: Likewise.
16619         * argp/argp-fmtstream.c: Likewise.
16620         * argp/argp-fmtstream.h: Likewise.
16621         * argp/argp-help.c: Likewise.
16622         * assert/assert.c: Likewise.
16623         * config.h.in: Likewise.
16624         * config.make.in: Likewise.
16625         * configure: Likewise.
16626         * configure.in: Likewise.
16627         * csu/Versions: Likewise.
16628         * csu/init.c: Likewise.
16629         * elf/tst-audit2.c: Likewise.
16630         * elf/tst-tls10.c: Likewise.
16631         * elf/tst-tls10.h: Likewise.
16632         * elf/tst-tls11.c: Likewise.
16633         * elf/tst-tls12.c: Likewise.
16634         * elf/tst-tls14.c: Likewise.
16635         * elf/tst-tlsmod11.c: Likewise.
16636         * elf/tst-tlsmod12.c: Likewise.
16637         * elf/tst-tlsmod13.c: Likewise.
16638         * elf/tst-tlsmod13a.c: Likewise.
16639         * elf/tst-tlsmod14a.c: Likewise.
16640         * elf/tst-tlsmod15b.c: Likewise.
16641         * elf/tst-tlsmod16a.c: Likewise.
16642         * elf/tst-tlsmod16b.c: Likewise.
16643         * elf/tst-tlsmod7.c: Likewise.
16644         * elf/tst-tlsmod8.c: Likewise.
16645         * elf/tst-tlsmod9.c: Likewise.
16646         * gmon/gmon.c: Likewise.
16647         * grp/fgetgrent_r.c: Likewise.
16648         * grp/putgrent.c: Likewise.
16649         * hurd/fopenport.c: Likewise.
16650         * include/libc-symbols.h: Likewise.
16651         * include/tls.h: Likewise.
16652         * intl/gettextP.h: Likewise.
16653         * intl/loadinfo.h: Likewise.
16654         * locale/global-locale.c: Likewise.
16655         * locale/localeinfo.h: Likewise.
16656         * mach/devstream.c: Likewise.
16657         * malloc/arena.c: Likewise.
16658         * malloc/set-freeres.c: Likewise.
16659         * misc/err.c: Likewise.
16660         * misc/getttyent.c: Likewise.
16661         * misc/mntent_r.c: Likewise.
16662         * posix/getopt.c: Likewise.
16663         * posix/wordexp.c: Likewise.
16664         * pwd/fgetpwent_r.c: Likewise.
16665         * resolv/Versions: Likewise.
16666         * resolv/res_hconf.c: Likewise.
16667         * shadow/fgetspent_r.c: Likewise.
16668         * shadow/putspent.c: Likewise.
16669         * stdio-common/printf_fphex.c: Likewise.
16670         * stdio-common/tmpfile.c: Likewise.
16671         * stdlib/abort.c: Likewise.
16672         * stdlib/fmtmsg.c: Likewise.
16673         * sunrpc/auth_unix.c: Likewise.
16674         * sunrpc/clnt_perr.c: Likewise.
16675         * sunrpc/clnt_tcp.c: Likewise.
16676         * sunrpc/clnt_udp.c: Likewise.
16677         * sunrpc/clnt_unix.c: Likewise.
16678         * sunrpc/openchild.c: Likewise.
16679         * sunrpc/svc_simple.c: Likewise.
16680         * sunrpc/svc_tcp.c: Likewise.
16681         * sunrpc/svc_udp.c: Likewise.
16682         * sunrpc/svc_unix.c: Likewise.
16683         * sunrpc/xdr.c: Likewise.
16684         * sunrpc/xdr_array.c: Likewise.
16685         * sunrpc/xdr_rec.c: Likewise.
16686         * sunrpc/xdr_ref.c: Likewise.
16687         * sunrpc/xdr_stdio.c: Likewise.
16689 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
16691         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16693 2011-07-03  Andreas Jaeger  <aj@suse.de>
16695         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16696         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16697         regenerate with gen-libm-tests.pl.
16699 2010-05-12  Petr Baudis  <pasky@suse.cz>
16701         [BZ #11589]
16702         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16703         around j0() zero points by switching to j1().
16704         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16705         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16706         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16707         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16709 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
16711         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16712         instead of 0.
16713         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16714         instead of 0.                              .
16715         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16716         Patch in part by Pavel Roskin <proski@gnu.org>.
16718         [BZ #13138]
16719         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16720         realloc.
16721         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
16722         Free memory block if necessary.
16724         [BZ #12847]
16725         * libio/genops.c (INTDEF): For string streams the _lock pointer can
16726         be NULL.  Don't lock in this case.
16728 2011-09-09  Roland McGrath  <roland@hack.frob.com>
16730         * elf/elf.h (ELFOSABI_GNU): New macro.
16731         (ELFOSABI_LINUX): Define to that.
16733 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
16735         * string/strncat.c (strncat): Undef the symbol in case it has been
16736         defined in bits/string.h.
16738 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
16740         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16742         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16743         link map.
16745 2011-08-17  Andreas Jaeger  <aj@suse.de>
16747         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16749 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16750             Ian Lance Taylor  <iant@google.com>
16752         * math/libm-test.inc (lround_test): New testcase.
16753         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16755 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
16757         * Makefile: Remove support for automatic cvs check-ins.
16758         * Makerules: Likewise.
16759         * config.make.in: Likewise.
16760         * configure.in: Likewise.
16761         * intl/Makefile: Likewise.
16762         * locale/Makefile: Likewise.
16763         * po/Makefile: Likewise.
16764         * posix/Makefile: Likewise.
16765         * sysdeps/gnu/Makefile: Likewise.
16766         * sysdeps/mach/hurd/Makefile: Likewise.
16767         * sysdeps/sparc/sparc32/Makefile: Likewise.
16769         [BZ #13118]
16770         * posix/Makefile (bug-regex32-ENV): Define.
16771         Patch by John Stanley <jpsinthemix@verizon.net>.
16773         * misc/Makefile (headers): Add bits/select2.h.
16774         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16775         * misc/bits/select2.h: New file.
16776         * include/bits/select2.h: New file.
16777         * debug/Makefile (routines): Add fdelt_chk.
16778         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16779         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16780         FD_ISSET.
16781         * debug/fdelt_chk.c: New file.
16783         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
16784         * wcsmbs/test-wmemcmp.c: Likewise.
16785         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16786         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16788 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16790         * string/Makefile (strop-tests): Add memcmp.
16791         * string/test-wmemcmp.c: New file.
16792         * string/test-memcmp.c: Add wmemcmp support.
16794 2011-09-08  Roland McGrath  <roland@hack.frob.com>
16796         [BZ #13153]
16797         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16798         2011-07-19 change.
16800         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16801         garbage value in a __mach_port_mod_refs call in the cases of the
16802         task-self and thread-self ports.
16804 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16806         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16808 2011-09-08  Andreas Schwab  <schwab@redhat.com>
16810         * elf/dl-load.c (lose): Check for non-null L.
16812 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
16814         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16816         * elf/dl-libc.c (dlerror_run): Pass back error code from
16817         dl_catch_error.
16819         [BZ #13123]
16820         * elf/dl-load.c (lose): Free l_origin if it is valid.
16822         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16823         names.
16824         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16825         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16826         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16827         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16828         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16829         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16831 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16833         * sysdeps/powerpc/fpu/e_hypot.c: New file.
16834         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16835         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16836         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16837         * sysdeps/powerpc/fpu/k_cosf.c: New file.
16838         * sysdeps/powerpc/fpu/k_sinf.c: New file.
16839         * sysdeps/powerpc/fpu/s_cosf.c: New file.
16840         * sysdeps/powerpc/fpu/s_sinf.c: New file.
16841         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16842         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16844 2011-08-15  Alan Modra  <amodra@gmail.com>
16846         [BZ #13092]
16847         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16848         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16849         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
16850         ppc_mcount to static-only-routines.
16851         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16852         __mcount_internal.
16853         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16854         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
16856 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
16858         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16859         for finite and infinity parameters.
16861 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
16863         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16864         and add nop instructions for throughput optimization.
16865         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16867 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
16869         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16870         aligned copy for power7 with vector-scalar instructions.
16871         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16873 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
16875         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16876         AVX check.
16878 2011-09-07  Andreas Schwab  <schwab@redhat.com>
16880         [BZ #13144]
16881         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16882         last change.
16884 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
16886         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16887         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16888         syscall wrapper around clock_gettime in __vdso_clock_gettime.
16889         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16890         clock_gettime.
16892 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
16894         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16895         Forgot to demangle the pointer.
16897         * sysdeps/i386/sysdep.h: Define atom_text_section.
16898         * sysdeps/x86_64/sysdep.h: Likewise.
16899         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16900         section with atom_text_section.
16901         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16902         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16903         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16904         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16905         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16907         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16908         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16909         already be defined.  Change to take two parameters and don't assign
16910         result to variable.  Adjust all users.
16911         Define INTERNAL_GETTIME if not already defined.
16912         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16913         call.
16914         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16915         HAVE_CLOCK_GETTIME_VSYSCALL.
16916         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16918         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16919         gettimeofday vsyscall, just use time.
16921 2011-09-06  Andreas Schwab  <schwab@redhat.com>
16923         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16924         <errno.h>.
16926 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
16928         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16929         syscall on x86-64.
16930         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16931         syscall.
16932         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16933         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16934         syscall if possible.
16936 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
16938         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16939         e_ident.  Don't pass to find_mapsXX.
16940         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16942 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16944         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16945         strchr-sse2-no-bsf strrchr-sse2-no-bsf
16946         * sysdeps/x86_64/multiarch/strchr.S: Update.
16947         Check bit_slow_BSF bit.
16948         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16949         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16950         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16952 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
16954         [BZ #13134]
16955         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16956         before glibc 2.15.
16957         (tryshell): Define.
16958         (__spawni): Change last parameter to be flag.  Test
16959         SPAWN_XFLAGS_USE_PATH flag to use path or not.
16960         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16961         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16962         * posix/spawni.c: Likewise.
16963         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16964         * posix/spawnp.c: Likewise.  Change normal version to use
16965         SPAWN_XFLAGS_USE_PATH.
16966         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16967         SPAWN_XFLAGS_TRY_SHELL.
16969         [BZ #13150]
16970         * posix/glob.h: Remove gcc 1.x support.
16972         [BZ #13068]
16973         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16975 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16977         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16978         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16979         strrchr-sse2-bsf
16980         * sysdeps/i386/i686/multiarch/strchr.S: New file.
16981         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16982         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16983         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16984         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16985         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16987 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16989         * sysdeps/x86_64/wcscmp.S: New file.
16991         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16992         wcscmp-c wcscmp-sse2
16993         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16994         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16995         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16996         * wcsmbs/wcscmp.c: Allow renaming.
16998 2011-09-05  David S. Miller  <davem@davemloft.net>
17000         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17001         stack slot, rather than the struct return pointer slot.
17002         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17003         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17005         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17007 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
17009         * po/ja.po: Update from translation team.
17011         [BZ #13144]
17012         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17013         kernel in 64-bit binaries.
17015 2011-09-01  David S. Miller  <davem@davemloft.net>
17017         * elf/elf.h (HWCAP_SPARC_*): Move to..
17018         * sysdeps/sparc/sysdep.h: this new file and add new values.
17019         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17020         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17021         _DL_HWCAP_COUNT to 24.
17022         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17023         entries.
17024         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17025         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17026         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17027         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17028         instead of magic constants.
17029         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17031 2011-08-31  David S. Miller  <davem@davemloft.net>
17033         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17034         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17035         Reimplement to do errno handling inline.
17036         (SYSCALL_ERROR_HANDLER): New macro.
17037         (__SYSCALL_STRING): Do not do errno handling in asm.
17038         (__CLONE_SYSCALL_STRING): Delete.
17039         (__INTERNAL_SYSCALL_STRING): Delete.
17040         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17041         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17042         (PSEUDO): Reimplement to do errno handling inline.
17043         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17044         (SYSCALL_ERROR_HANDLER): New macro.
17045         (__SYSCALL_STRING): Do not do errno handling in asm.
17046         (__CLONE_SYSCALL_STRING): Delete.
17047         (__INTERNAL_SYSCALL_STRING): Delete.
17048         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17049         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17050         i386.
17051         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17052         (inline_syscall*): Add 'err' argument.
17053         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17054         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17055         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17056         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17058         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17059         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17061 2011-08-30  Andreas Schwab  <schwab@redhat.com>
17063         * elf/rtld.c (dl_main): Relocate objects in dependency order.
17065 2011-08-29  Jiri Olsa <jolsa@redhat.com>
17067         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17068         directive.
17070 2011-08-24  David S. Miller  <davem@davemloft.net>
17072         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17074 2011-08-24  Andreas Schwab  <schwab@redhat.com>
17076         * elf/Makefile: Add rules to build and run unload8 test.
17077         * elf/unload8.c: New file.
17078         * elf/unload8mod1.c: New file.
17079         * elf/unload8mod1x.c: New file.
17080         * elf/unload8mod2.c: New file.
17081         * elf/unload8mod3.c: New file.
17083         * elf/dl-close.c (_dl_close_worker): Reset private search list if
17084         it wasn't used.
17086 2011-08-23  David S. Miller  <davem@davemloft.net>
17088         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17089         subtract stack bias.
17090         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17091         %sp not %fp in calculations.
17092         (_JMPBUF_UNWINDS_ADJ): Likewise.
17094         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17095         (aio_suspend): Call it to force an exception region around the
17096         AIO_MISC_WAIT() invocation.
17098 2011-08-23  Andreas Schwab  <schwab@redhat.com>
17100         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17101         backslash.
17103 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
17105         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17106         protection macro.
17107         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17108         and <dl-machine.h>.
17109         (Elf64_FuncDesc): Remove.
17111 2011-08-22  David S. Miller  <davem@davemloft.net>
17113         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17114         sigaltstack check, add missing cfi directives.
17115         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17116         missing cfi directives, and sigaltstack handling.
17118 2011-08-16  Andreas Schwab  <schwab@redhat.com>
17120         [BZ #11724]
17121         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17122         object is seen twice.
17123         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17125         * elf/Makefile (distribute): Add tst-initorder2.c.
17126         (tests): Add tst-initorder2.
17127         (modules-names): Add tst-initorder2a tst-initorder2b
17128         tst-initorder2c tst-initorder2d.  Add rules to build them.
17129         ($(objpfx)tst-initorder2.out): New rule.
17130         * elf/tst-initorder2.c: New file.
17131         * elf/tst-initorder2.exp: New file.
17133 2011-08-22  Andreas Schwab  <schwab@redhat.com>
17135         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17137         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17138         dependencies back to end of function.
17140         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17141         $(elfobjdir)/ld.so.
17143 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
17145         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17146         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17147         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17148         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17149         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17150         of __vdso_gettimeofday.
17151         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17152         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
17153         attribute_hidden.
17154         (_libc_vdso_platform_setup): Remove initialization of
17155         __vdso_gettimeofday and __vdso_time.
17157 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
17159         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17160         and fgetc_unlocked.
17161         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17162         getc_unlocked.
17164         * elf/dl-open.c (add_to_global): Report additions to the global scope
17165         for LD_DEBUG=scopes.
17166         (dl_open_worker): Also print scope of newly loaded dependencies.
17167         (_dl_show_scope): Indicate if there is no scope.
17169         [BZ #13114]
17170         * stdio-common/Makefile (tests): Add bug24.
17171         * stdio-common/bug24.c: New file.
17173 2011-08-19  Andreas Jaeger  <aj@suse.de>
17175         [BZ #13114]
17176         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17177         non-existant file when using close-on-exec mode.
17179 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
17181         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17182         the very first instruction.
17184         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17185         the CFI state in the end.
17186         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17187         inclusion of dl-trampoline.h.
17188         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17190 2011-08-19  Andreas Schwab  <schwab@redhat.com>
17192         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17193         expectations for long double.
17195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17196         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17198 2011-08-14  David S. Miller  <davem@davemloft.net>
17200         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17201         artificual limit depends upon the system page size.
17203 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
17205         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17206         * resolv/Makefile: Define CFLAGS-libresolv.
17208 2011-08-17  Andreas Schwab  <schwab@redhat.com>
17210         * nss/makedb.c (compute_tables): Make variables used in nested
17211         function static.
17213 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
17215         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17216         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17217         if buffer was too small.
17219         * elf/pldd.c (main): Attach to all threads in the process.
17220         Rewrite /proc handling to use *at functions.
17222 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
17224         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17225         specifies first scope to show.
17226         (dl_open_worker): Update callers.  Move printing scope of new
17227         object to before the relocation.
17228         * elf/rtld.c (dl_main): Update _dl_show_scope call.
17229         * sysdeps/generic/ldsodefs.h: Update declaration.
17231         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17232         string for the scope number.
17234 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
17236         * nscd/servicescache.c (cache_addserv): Make sure written is always
17237         initialized.
17239 2011-08-14  Roland McGrath  <roland@hack.frob.com>
17241         * sysdeps/i386/i486/bits/atomic.h
17242         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17243         statement expression, so as to suppress "set but not used" warning.
17244         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17246         * string/strncat.c (STRNCAT): Use prototype definition.
17248         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17249         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17250         -Iprograms here.
17251         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17252         (localedef-modules): Add localedef.
17253         (locale-modules): Add locale.
17255         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17256         * elf/rtld.c (dl_main): Invert order of assignment in last change,
17257         to avoid a warning.
17259 2011-08-14  David S. Miller  <davem@davemloft.net>
17261         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17262         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17264 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
17266         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17267         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17268         * elf/rtld.c (dl_main): Set l_name of vDSO.
17269         Call _dl_show_scope when DL_DEBUG_SCOPES.
17270         (process_dl_debug): Recognize scopes flag and also set it for all.
17271         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17272         Declare _dl_show_scope.
17274         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17275         (do_dlopen): Pass caller_dlopen to dl_open.
17276         (__libc_dlopen_mode): Initialize caller_dlopen.
17278         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17279         of libc.  Make tolower call locale-independent.  Optimize a bit by
17280         using isdigit instead of isalnum.
17281         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17283 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
17285         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17286         was a dependency or dynamically loaded.
17288 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
17290         * intl/l10nflist.c: Allow architecture-specific pop function.
17291         * sysdeps/x86_64/l10nflist.c: New file.
17293         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17294         classification.
17296 2011-08-10  Andreas Schwab  <schwab@redhat.com>
17298         * include/dirent.h: Add libc_hidden_proto for scandirat and
17299         scandirat64.  Don't declare __scandirat64.
17300         * dirent/scandirat.c: Add libc_hidden_def.
17301         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17302         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17304 2011-08-10  David S. Miller  <davem@davemloft.net>
17306         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17307         enum.
17308         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17309         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17310         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17312 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
17314         * Versions.def [libc]: Add GLIBC_2.15.
17315         * dirent/Makefile (routines): Add scandirat and scandirat64.
17316         * dirent/Versions [libc]: Export scandirat and scandirat64 for
17317         GLIBC_2.15.
17318         * dirent/dirent.h: Declare scandirat and scandirat64.
17319         * dirent/scandirat.c: New file.
17320         * dirent/scandirat64.c: New file.
17321         * sysdeps/wordsize-64/scandirat.c: New file.
17322         * sysdeps/wordsize-64/scandirat64.c: New file.
17323         * dirent/opendir.c: Define opendirat.
17324         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
17325         using scandirat.
17326         * dirent/scandir64.c: Adjust for scandir.c change.
17327         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
17328         __scandirat64, and __scandir_cancel_handler.
17329         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
17330         additional parameter and use openat instead of open (outside of ld.so).
17331         Add new __opendir as wrapper around __opendirat.
17332         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17333         here without requiring old scandirat implementation.
17335 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
17337         * dirent/scandir.c (cancel_handler): Renamed to
17338         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
17339         defined.  Adjust users.
17340         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17341         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17343 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
17345         * string/test-string.h (IMPL): Use __STRING to expand name and then
17346         stringify it.
17348         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
17349         of cleanups.
17351 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17353         * string/Makefile: Update.
17354         (strop-tests): Append strncat.
17355         * string/test-wcscmp.c: New file.
17356         New comprehensive test for wcscmp.
17357         * string/test-strcmp.c: Update.
17358         (WIDE): New define.
17360 2011-07-22  Andreas Schwab  <schwab@redhat.com>
17362         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17363         line.
17365 2011-07-26  Andreas Schwab  <schwab@redhat.com>
17367         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17368         encoding to ACE if AI_IDN.
17370 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
17372         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17373         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17375 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17377         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17378         Fix overflow bug in strncat.
17379         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17381         * string/test-strncat.c: Update.
17382         Add new tests for checking overflow bugs.
17384 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17386         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17387         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17388         * sysdeps/i386/i686/multiarch/strcat.S: New file.
17389         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17390         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17391         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17392         * sysdeps/i386/i686/multiarch/strncat.S: New file.
17393         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17394         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17396         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17397         (USE_AS_STRCAT): Define.
17398         Add strcat and strncat support.
17399         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17401 2011-07-25  Andreas Schwab  <schwab@redhat.com>
17403         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17404         __n bigger than INT_MAX+1.
17405         (__strncmp_g): Likewise.
17407 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
17409         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17410         * libio/stido.h: Likewise.
17412         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17413         (AF_NFC): Define.
17414         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17415         (AF_NFC): Define.
17417         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17418         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17419         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17420         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17421         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17423         [BZ #13021]
17424         * scripts/test-installation.pl: Don't expect libnss_test1 to be
17425         installed.
17427         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17428         typo.
17429         (_dl_x86_64_save_sse): Likewise.
17431 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
17433         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17434         OSXSAVE.
17435         (_dl_x86_64_save_sse): Likewise.
17437         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17439         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17441 2011-07-21  Andreas Schwab  <schwab@redhat.com>
17443         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17444         change.
17445         (_dl_x86_64_save_sse): Use correct AVX check.
17447 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17449         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17450         bug in strncpy/strncat.
17451         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17453 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
17455         * string/tester.c (test_strcat): Add tests for different alignments
17456         of source and destination.
17457         (test_strncat): Likewise.
17459 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
17461         [BZ #12852]
17462         * posix/glob.c (glob): Check passed in values before using them in
17463         expressions to avoid some overflows.
17464         (glob_in_dir): Likewise.
17466         [BZ #13007]
17467         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17468         check for AVX enablement so that we don't crash with old kernels and
17469         new hardware.
17470         * elf/tst-audit4.c: Add same checks here.
17471         * elf/tst-audit6.c: Likewise.
17473         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17475 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
17477         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17479 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
17481         * po/cs.po: Update from translation team.
17482         * po/bg.po: Likewise.
17484 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
17486         * misc/sys/cdefs.h: Add support for const attribute.
17487         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17488         to gnu_dev_{major,minor,makedev} functions.
17490 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
17492         * intl/dcigettext.c (get_output_charset): Add missing bracket.
17494 2011-07-20  Andreas Schwab  <schwab@redhat.com>
17496         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17497         strlen results.
17499 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17501         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17502         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17503         register in order to avoid conflicts with the soft frame pointer
17504         being held in r11 when necessary.
17505         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17506         (INTERNAL_VSYSCALL_NCS): Likewise.
17508 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
17510         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17511         * elf/dl-fini.c (_dl_fini): Adjust caller.
17512         * elf/dl-close.c (_dl_close_worker): Likewise.
17513         * sysdeps/generic/ldsodefs.h: Adjust declaration.
17515 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
17517         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17518         "aux_cache->nlibs < 0".
17520         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17521         in the reload-count case.
17523 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17525         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17526         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17527         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17528         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17529         * sysdeps/x86_64/multiarch/strcat.S: New file.
17530         * sysdeps/x86_64/multiarch/strncat.S: New file.
17531         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17532         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17533         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17534         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17535         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17536         (USE_AS_STRCAT): Define.
17537         Add strcat and strncat support.
17538         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17539         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17540         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17541         * string/strncat.c: Update.
17542         (USE_AS_STRNCAT): Define.
17543         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17544         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17545         and i7.
17546         * sysdeps/x86_64/multiarch/init-arch.h
17547         (bit_Prefer_PMINUB_for_stringop): New.
17548         (index_Prefer_PMINUB_for_stringop): Likewise.
17549         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17550         bit_Prefer_PMINUB_for_stringop.
17552 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
17554         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17555         buffer64.
17556         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17557         of casting of buffer.
17558         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17559         buffer32 and buffer64.
17560         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17561         writes instead of casting of buffer.
17562         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17563         buffer32.
17564         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17565         casting of buffer.
17567 2011-07-19  Andreas Schwab  <schwab@redhat.com>
17569         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17571 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
17573         * nscd/nscd.c (termination_handler): Don't do anything for a database
17574         if it has not yet been initialized.
17576 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
17578         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17580 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
17582         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17584 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
17586         * po/nl.po: Update from translation team.
17587         * po/sv.po: Likewise.
17589 2011-07-16  Roland McGrath  <roland@hack.frob.com>
17591         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17592         now disallowed by GCC.
17594         * configure.in (use-default-link): Default to yes if a test -shared
17595         link meets our qualifications.
17596         * configure: Regenerated.
17598         * config.make.in (output-format): New variable.
17599         * configure.in: Check for ld --print-output-format support.
17600         * configure: Regenerated.
17601         * Makerules ($(common-objpfx)format.lds)
17602         [$(output-format) != unknown]: Just use $(output-format),
17603         instead of the linker-script munging.
17605 2011-07-14  Roland McGrath  <roland@hack.frob.com>
17607         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17608         of $(common-objpfx)shlib.lds.
17609         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17611         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17612         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17614         * configure.in (-z relro check): Adjust test code to add a large
17615         writable data section after it.
17616         * configure: Regenerated.
17618 2011-07-11  Roland McGrath  <roland@hack.frob.com>
17620         * configure.in (-z relro check): Fix test code to make the variable
17621         truly const.
17622         * configure: Regenerated.
17624 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
17626         * nscd/nscd.h (struct traced_file): Define.
17627         (struct database_dyn): Remove inotify_descr, reset_res, and filename
17628         elements.  Add traced_files.
17629         (inotify_fd): Declare.
17630         (register_traced_file): Declare.
17631         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17632         (inotify_fd): Export.
17633         (resolv_conf_descr): Remove.
17634         (nscd_init): Move inotify descriptor creation to main.
17635         Don't register files for notification here.
17636         (register_traced_file): New function.
17637         (invalidate_cache): Don't use reset_res to determine whether to call
17638         res_init, go through the list of registered files.
17639         (main_loop_poll): The inotify descriptors are now stored in the
17640         structures for the traced files.
17641         (main_loop_epoll): Likewise
17642         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
17643         to __nss_disable_nscd.
17644         * nscd/cache.c (prune_cache): There is no single inotify descriptor
17645         for a database anymore.  Check the records for all the registered
17646         files instead.
17647         * nss/Makefile (libnss_files-routines): Add files-init.
17648         (libnss_db-routines): Add db-init.
17649         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17650         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17651         * nss/nss_db/db-init.c: New file.
17652         * nss/nss_files/files-init.c: New file.
17653         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
17654         __nss_lookup_function.
17655         (__nss_lookup_function): Call nss_load_library.
17656         (nss_load_all_libraries): New function.
17657         (__nss_disable_nscd): Take parameter with callback function for files
17658         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
17659         used for the cached services.
17660         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17661         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17662         options for features to all the files in nscd.
17664         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17666 2011-07-10  Roland McGrath  <roland@hack.frob.com>
17668         * csu/elf-init.c (__libc_csu_init): Comment typo.
17670 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
17672         * po/pl.po: Update from translation team.
17673         * po/ja.po: Likewise.
17674         * po/ru.po: Likewise.
17675         * po/ko.po: Likewise.
17676         * po/fr.po: Likewise.
17678 2011-07-09  Roland McGrath  <roland@hack.frob.com>
17680         * configure.in (.ctors/.dtors header and trailer check):
17681         Use an empirical test on a built program.
17682         * configure: Regenerated.
17684         * configure.in (-z relro check): Use an empirical test on a built DSO.
17685         Detect, but do not require, on ia64.
17686         * configure: Regenerated.
17688         * configure.in (READELF): Find it with AC_CHECK_TOOL.
17689         Update tests that use readelf to use $READELF instead.
17690         * configure: Regenerated.
17692 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
17694         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17695         if the result is not used.
17697 2011-07-05  Andreas Jaeger  <aj@suse.de>
17699         [BZ#9696]
17700         * stdlib/tst-strtod.c: Add testcase.
17702 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
17704         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17705         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17706         The latter has a higher limit.  Take additional parameter to pass to
17707         the new function.
17708         (__pathconf): Pass file to __statfs_link_max.
17709         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17710         __statfs_link_max.
17711         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17712         __statfs_link_max.
17714         [BZ #12868]
17715         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17716         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17717         Handle Lustre.
17718         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17719         (__statfs_filesize_max): Likewise.
17720         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17722 2011-07-05  Andreas Jaeger  <aj@suse.de>
17724         * resolv/res_comp.c (dn_skipname): Remove unused variable.
17726 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
17728         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17729         `status' variable.
17730         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17731         Likewise.
17733 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
17735         * Makefile (strop-tests): Add strncat.
17736         * string/test-strncat.c: New file.
17738 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
17740         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17742 2011-06-21  Andreas Jaeger  <aj@suse.de>
17744         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17745         Copy rule from iconvdata/Makefile.
17747 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
17749         [BZ #12922]
17750         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17751         but no long options are defined, just return 'W'.
17753 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
17755         [BZ #9696]
17756         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17758 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
17760         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17761         netgroups to read.
17762         (innetgr): Likewise.
17764 2011-07-05  Roland McGrath  <roland@hack.frob.com>
17766         * config.make.in (install_root): Default to $(DESTDIR).
17768 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
17770         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17772 2011-07-02  Roland McGrath  <roland@hack.frob.com>
17774         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17776         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17777         containing directory rather than embedding absolute directory names.
17779         * scripts/check-local-headers.sh: Rewritten using awk.
17780         Match by word, not by line.  Print error messages for matches.
17781         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17783         * Makerules [shlib-lds-flags empty]:
17784         ($(common-objpfx)libc_pic.opts): New target.
17785         ($(common-objpfx)libc_pic.os.clean): New target.
17786         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17788         * config.make.in (OBJCOPY): New variable.
17789         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17790         * configure: Regenerated.
17792         * config.make.in (use-default-link): New variable.
17793         * configure.in (use_default_link): Grok --with-default-link to set it.
17794         * configure: Regenerated.
17795         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17796         (shlib-lds, shlib-lds-flags): Define to empty.
17798         * Makerules (shlib-lds): New variable.
17799         (shlib-lds-flags): New variable.
17800         (build-shlib, build-moduile, build-module-asneeded): Use it.
17801         ($(common-objpfx)libc.so): Use $(shlib-lds).
17802         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17803         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17805         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17806         DT_FLAGS/DT_FLAGS_1 with zero flags.
17808         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17809         linker script munging.
17811 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
17813         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17814         as 128-bit value.
17815         * crypt/sha512.c (sha512_process_block): Perform total addition using
17816         128-bit if possible.
17817         (__sha512_finish_ctx): Likewise.
17818         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17819         as 64-bit value.
17820         * crypt/sha256.c (SWAP64): Define.
17821         (sha256_process_block): Perform total addition using 64-bit if
17822         possible.
17823         (__sha256_finish_ctx): Likewise.
17825 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
17827         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
17828         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17829         * nscd/hstcache.c (cache_addhst): Likewise.
17830         * nscd/grpcache.c (cache_addgr): Likewise.
17831         * nscd/aicache.c (addhstaiX): Likewise
17832         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17834 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
17836         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17837         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17838         * nscd/hstcache.c (cache_addhst): Likewise.
17839         * nscd/grpcache.c (cache_addgr): Likewise.
17840         * nscd/aicache.c (addhstaiX): Likewise
17842 2011-07-01  Andreas Schwab  <schwab@redhat.com>
17844         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17845         domain only when needed.
17847 2011-06-30  Andreas Schwab  <schwab@redhat.com>
17849         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17850         is always restored.
17852 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
17854         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17855         are re-adding the entry.
17856         * nscd/servicescache.c (cache_addserv): Likewise.
17858 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17860         * sysdeps/generic/dl-irel.h: fix protection against multiple
17861         inclusions.
17862         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17864 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
17866         [BZ #12935]
17867         * malloc/memusage.sh: Fix quoting in message.
17868         * debug/xtrace.sh: Likewise.
17870         * configure.in: Remove support for --experimental-malloc option, make
17871         it the default.
17872         * config.make.in: Likewise.
17873         * malloc/Makefile: Likewise.
17875 2011-06-27  Andreas Schwab  <schwab@redhat.com>
17877         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17878         two-byte characters.
17880 2011-06-27  Roland McGrath  <roland@hack.frob.com>
17882         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17883         AC_CACHE_CHECK invocation.
17884         * configure: Regenerated.
17886         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17888 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
17890         [BZ #12350]
17891         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
17892         bit from old_res_options.
17894         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17896         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17897         value type for setfct.
17899 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
17901         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17902         __gettimeofday instead of gettimeofday.
17904 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
17906         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17908 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17910         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17912         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17913         info.
17915 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
17917         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17918         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17919         strcpy-sse2-unaligned strncpy-sse2-unaligned
17920         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17921         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17922         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17923         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17924         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17925         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17926         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17927         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17928         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17929         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17930         (STRCPY): Support SSE2 and SSSE3 versions.
17932 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
17934         [BZ #12874]
17935         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17936         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17937         kernels which artificially limit size of requests.
17939 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
17941         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17942         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17943         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17944         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17945         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17946         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17947         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17948         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17949         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17950         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17951         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17952         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17953         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17954         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17955         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17956         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17957         Enable unaligned load optimization for Intel Core i3, i5 and i7
17958         processors.
17959         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17960         Define.
17961         (index_Fast_Unaligned_Load): Define.
17962         (HAS_FAST_UNALIGNED_LOAD): Define.
17964 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
17966         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17968 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
17970         [BZ #12907]
17971         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17972         until it is clear that the information is realy needed.
17973         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17975 2011-06-22  Andreas Schwab  <schwab@redhat.com>
17977         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17979 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
17981         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17982         /sys/devices/system/cpu/online if it is usable.
17984         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17985         reading the information from the /proc filesystem to once a second.
17987 2011-06-21  Andreas Jaeger  <aj@suse.de>
17989         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17990         NULL after inclusion of kernel headers.
17992 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
17994         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17995         calls to internal_setent.
17997         [BZ #12885]
17998         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17999         addresses using gethostbyname4_r ignore IPv4 addresses.
18001         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18002         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
18004         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18006 2011-06-20  David S. Miller  <davem@davemloft.net>
18008         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18009         inclusions.
18010         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18012         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18013         (elf_irel): Use it.
18014         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18015         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18016         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18017         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18018         * sysdeps/x86_64/dl-irel.h: Likewise.
18020         * elf/dl-runtime.c: Use elf_ifunc_invoke.
18021         * elf/dl-sym.c: Likewise.
18023 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
18025         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
18026         need to dereference resplen2.
18028 2011-06-14  Andreas Schwab  <schwab@redhat.com>
18030         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18032 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
18034         * Makeconfig: Define vardbdir and inst_vardbdir.
18035         * nss/Makefile: Add rules to install db-Makefile.
18037         * nss/nss_db/db-XXX.c: Cleanup.
18039         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18040         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18041         GLIBC_PRIVATE.
18042         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18043         * nss/makedb.c: Implement -g option to specify that value strings
18044         are generated and should not be added to table iterated over for
18045         get*ent calls.
18046         * nss/nss_db/db-initgroups.c: New file.
18048         * nss/getent.c: Add support for initgroups lookups through getgrouplist
18049         interface.
18051         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18052         (internal_getgrouplist): Adjust to name change.
18053         Update use_initgroups_entry if this is not the first call.
18054         * nss/databases.def: Add initgroups entry.
18056         * nss/makedb.c (compute_tables): Check result of multiple hash table
18057         sizes to minimize maximum chain length.
18059 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
18061         * Versions.def: Add entry for libnss_db.
18062         * shlib-versions: Likewise.
18063         * nss/Makefile: Add rules to build libnss_db.
18064         * nss/Versions: Add libnss_db information.  Organize libnss_files
18065         entries better.
18066         * nss/db-Makefile: Add gshadow support.  Change rules for the new
18067         makedb progra.  Some minor improvements to generate smaller files.
18068         * nss/nss_db/nss_db.h: Move NSS database header data structures to
18069         here from...
18070         * nss/makedb.c: ...here.
18071         Improve database format to be smaller and require less memory at
18072         runtime.
18073         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
18074         db anymore.
18075         * nss/nss_db/db-netgrp.c: Likewise.
18076         * nss/nss_db/db-open.c: Likewise.
18077         * nss/nss_files/flies-XXX.x: Adjust comments.
18078         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18079         * nss/nss_files/files-grp.c: Likewise.
18080         * nss/nss_files/files-hosts.c: Likewise.
18081         * nss/nss_files/files-network.c: Likewise.
18082         * nss/nss_files/files-proto.c: Likewise.
18083         * nss/nss_files/files-pwd.c: Likewise.
18084         * nss/nss_files/files-rpc.c: Likewise.
18085         * nss/nss_files/files-service.c: Likewise.
18086         * nss/nss_files/files-sgrp.c: Likewise.
18087         * nss/nss_files/files-spwd.c: Likewise.
18088         * nss/nss_db/db-alias.c: Removed.
18089         * nss/nss_db/dummy-db.h: Removed.
18091 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
18093         * nss/makedb.c: Rewritten to not use database library.
18094         * nss/Makefile: Update to build new makedb program.
18096 2011-06-14  Andreas Jaeger  <aj@suse.de>
18098         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18099         memset declaration.
18101 2011-06-10  Andreas Schwab  <schwab@redhat.com>
18103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18104         tmpbuf.
18106 2011-06-10  Roland McGrath  <roland@hack.frob.com>
18108         * Makerules (shlib.lds): Fail if the linker script comes out empty.
18109         * elf/Makefile ($(objpfx)ld.so): Likewise.
18111         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18112         Don't list ld.so twice in dependencies.
18114         * posix/bug-regex31.c: Include <stdlib.h>.
18116         * nscd/hstcache.c (cache_addhst): Remove unused variable.
18118         * nis/nss_compat/compat-spwd.c
18119         (getspent_next_nss_netgr): Remove unused variable.
18120         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18122         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18123         nonmembers" output to use the right array.
18125         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18127         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18129         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18130         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18131         * catgets/gencat.c (read_input_file): Likewise.
18132         * locale/programs/locarchive.c (enlarge_archive): Likewise.
18134         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18135         variable definition inside #if's controlling its use.
18137         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18139         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18141         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18143         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18144         unreachable code.
18146         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18148         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18149         * configure: Regenerated.
18151         * Makerules: Revert last change.
18152         * elf/Makefile: Likewise.
18154 2011-06-09  Roland McGrath  <roland@hack.frob.com>
18156         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18157         * elf/Makefile ($(objpfx)librtld.os): Likewise.
18158         (reloc-link): Likewise.
18160 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
18162         * elf/Makefile: Add rules to build pldd.
18163         * elf/pldd.c: New file.
18164         * elf/pldd-xx.c: New file.
18166 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
18168         * version.h: Update for 2.15 development version.
18170 2011-06-07  David S. Miller  <davem@davemloft.net>
18172         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18173         ifuncs.
18174         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18175         elf_machine_lazy_rel): Likewise.
18176         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18177         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18178         elf_machine_lazy_rel): Likewise.
18179         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18180         dl_hwcap via passed in argument.
18181         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18182         Likewise.
18184 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18186         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
18188 2011-06-06  Roland McGrath  <roland@hack.frob.com>
18190         [BZ #12849]
18191         * manual/fdl-1.1.texi: New file, verbatim from:
18192         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18193         * manual/lgpl-2.1.texi: New file, verbatim from:
18194         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18195         * manual/Makefile (licenses): New variable, list those new file names.
18196         (texis): Use it.
18197         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18199         * manual/fdl.texi: File removed.
18200         * manual/lesser.texi: File removed.
18201         * manual/libc.texinfo (Copying, Documentation License):
18202         Use new @include file names, put @appendix directive before @include.
18204 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
18206         [BZ #12841]
18207         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18208         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18209         (mq_open): Add __NTH.
18211 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
18213         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18214         Assume Intel Core i3/i5/i7 processor if AVX is available.
18216 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
18218         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18219         typo.
18221 2011-05-31  Andreas Schwab  <schwab@redhat.com>
18223         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18224         memory.  Use alloca_account.  Fix memory leak when retrying.
18226 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
18228         * version.h (RELEASE): Bump for 2.14 release.
18229         * include/features.h (__GLIBC_MINOR__): Bump to 14.
18231         * config.make.in (RANLIB): Remove entry.
18233 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
18235         * po/Makefile (po-sed-cmd): Add ksh to extensions.
18236         (libc.pot): Work around missing support for .ksh extension in xgettext.
18238         [BZ #12684]
18239         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18240         if both request failed.
18241         (send_dg): In case of server errors clear resplen or *resplen2.
18243         [BZ #12454]
18244         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18245         when there are multiple maps.
18246         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18247         (_dl_fini): Remove test here.
18249         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18251 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
18253         [BZ #12350]
18254         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18255         bit from old_res_options.
18256         (gaih_inet): Likewise.
18258         [BZ #11099]
18259         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18260         as signed.
18262         * resolv/res_init.c (res_setoptions): Make the code more compact.
18264         [BZ #11558]
18265         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18266         set RES_USEVC.
18268         [BZ #11634]
18269         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18271         * malloc/malloc.h: Mark malloc hook variables as deprecated.
18273         [BZ #11781]
18274         * malloc/malloc.h: Declare malloc hook variables as volatile.
18276         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18277         in last patch.
18279         [BZ #11799]
18280         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18281         raise in the comment.
18282         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18283         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18284         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18286 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
18288         [BZ #12811]
18289         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18290         grow the buffers more if it already has to be sufficient.
18291         (build_wcs_upper_buffer): Likewise.
18292         * posix/regexec.c (check_matching): Likewise.
18293         (clean_state_log_if_needed): Likewise.
18294         (extend_buffers): Don't enlarge buffers beyond size of the input
18295         buffer.
18296         Patches mostly by Emil Wojak <emil@wojak.eu>.
18297         * posix/bug-regex32.c: New file.
18298         * posix/Makefile (tests): Add bug-regex32.
18300         * locale/findlocale.c (_nl_find_locale): Return right away if
18301         _nl_explode_name failed.
18302         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18304         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18306         * debug/xtrace.sh: Unify messages.
18307         * malloc/memusage.sh: Likewise.
18309         [BZ #12813]
18310         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18311         time symbol from vDSO.  Substitute with vsyscall if not available.
18312         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18313         __vdso_time.
18315         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18316         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18317         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18318         Add sendmmsg and internal_sendmmsg.
18319         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18320         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18321         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18323         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18324         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18325         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18327 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
18329         [BZ #12813]
18330         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18331         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
18332         available.
18333         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18334         __vdso_getcpu.
18336         [BZ #12814]
18337         * iconvdata/Makefile (tests): Add bug-iconv9.
18338         * iconvdata/bug-iconv9.c: New file.
18340 2011-05-27  Andreas Schwab  <schwab@redhat.com>
18342         [BZ #12814]
18343         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18345 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
18347         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18348         (struct user_regs_struct): Change intcs field back to cs.
18350 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
18352         * po/ja.po: Update from translation team.
18354 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
18356         [BZ #12795]
18357         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18358         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18360 2011-05-20  Andreas Schwab  <schwab@redhat.com>
18362         * stdlib/longlong.h: Update from GCC.
18364 2011-05-23  Andreas Schwab  <schwab@redhat.com>
18366         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18367         parameter name.
18368         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18369         Add parameter name.
18370         (__sysconf): Pass it down.
18372 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
18374         [BZ #12671]
18375         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18376         some situations.
18377         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18378         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18379         add in in __libc_use_alloca calls.  Adjust callers.
18380         (glob): Use malloc in some situations.
18382         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18383         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18384         pltexit.
18386 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
18388         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18389         and CLOCK_BOOTTIME_ALARM.
18391         [BZ #12782]
18392         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18393         is returned.
18395         * string/_strerror.c (__strerror_r): Print negative errors as signed
18396         numbers.
18398         [BZ #12777]
18399         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18400         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18401         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18403         * configure.in: Fix typo in redirection and correct removal of test
18404         files in two cases.
18406         [BZ #12788]
18407         * locale/setlocale.c (new_composite_name): Fix test to check for
18408         identical name of all categories.
18410         [BZ #12792]
18411         * libio/filedoalloc.c (local_isatty): New function.
18412         (_IO_file_doallocate): Use local_isatty.
18413         * stdio-common/perror.c (perror): In case a new stream is used
18414         forward the stream error.
18415         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18416         error flag.
18418 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
18420         [BZ #11869]
18421         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18422         alloca.
18423         * include/alloca.h (extend_alloca_account): Define.
18425         [BZ #11857]
18426         * posix/regex.h: Fix comments with documentation of user-accessible
18427         fields after compilation and describe correct free'ing of pattern
18428         after re_compile_pattern.
18429         Patch by Reuben Thomas <rrt@sc3d.org>.
18431 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
18433         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18434         and -mno-altivec to prevent the compiler from using Altivec and/or
18435         VSX instructions when the corresponding registers are not available.
18437 2011-05-19  Andreas Schwab  <schwab@redhat.com>
18439         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18441 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
18443         * libio/freopen.c (freopen): Use __dup2, not dup2.
18444         * libio/freopen64.c (freopen64): Likewise.
18446 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18448         [BZ #12775]
18449         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18450         * math/Makefile (tests): Add test-powl.
18451         (CFLAGS-test-powl.c): Define.
18452         * math/test-powl.c: New file.
18454 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18456         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18458 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
18460         [BZ #11837]
18461         * iconvdata/gb18030.c: Update to GB18020-2005.
18463 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
18465         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18466         RE_SYNTAX_POSIX_AWK): Update to match recent development.
18467         Patch by Aharon Robbins <arnold@skeeve.com>.
18469         [BZ #11892]
18470         * stdlib/putenv.c (putenv): Don't always create copy of the variable
18471         on the stack.
18473         [BZ #11895]
18474         * misc/pselect.c (__pselect): Handle timeout value errors hidden
18475         through underflows.
18477         [BZ #12766]
18478         * misc/error.c (error_at_line): Ensure file_name and old_file_name
18479         point to strings before performing equality test for error_one_per_line
18480         mode.
18482         [BZ #11697]
18483         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18485         [BZ #11820]
18486         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18487         (struct user_fpregs_struct): Avoid __uint*_t types.
18489         [BZ #6420]
18490         * malloc/mtrace.c (tr_where): Add additional parameter to point to
18491         symbol info.  Use it instead of calling _dl_addr locally.
18492         (lock_and_info): New function.
18493         (tr_freehook): Call lock_and_info and pass symbol info as additional
18494         parameter to tr_where.
18495         (tr_mallochook): Likewise.
18496         (tr_reallochook): Likewise.
18497         (tr_memalignhook): Likewise.
18499         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
18500         used and couldn't be at all thread-safe.
18502 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
18504         * libio/freopen.c (freopen): Don't close old file descriptor
18505         before the new one is opened.  Instead dup the new file descriptor
18506         to the old one after the new stream is created.
18507         * libio/freopen64.c (freopen64): Likewise.
18508         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18509         * libio/fileops.c (_IO_new_file_close_it): Handle new
18510         _IO_FLAGS2_NOCLOSE flag.
18511         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18512         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18513         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18514         _IO_FLAGS2_NOCLOSE flag.
18515         * include/unistd.h: Add hidden_proto for dup3.
18516         Define __have_dup3.
18517         * io/dup3.c: Define hidden symbol.
18518         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18520         [BZ #7101]
18521         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18522         when an incomplete long option is used.
18523         * posix/tst-getopt_long1.c: New file.
18524         * posix/Makefile (tests): Add tst-getopt_long1.
18526         [BZ #10138]
18527         * scripts/config.guess: Update from autoconf-2.68.
18528         * scripts/config.sub: Likewise.
18530         [BZ #10157]
18531         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18532         tests into ...
18533         (has_cpuclock): ...this.  New function.
18534         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18535         macro here based on has_cpuclock code.
18537         [BZ #10149]
18538         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18539         First byte (not low byte) is now always NUL.
18540         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18542         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18543         Use non-cancelable interfaces.
18545         [BZ #9809]
18546         * locale/iso-639.def: Add entry for Sorani.
18548         [BZ #11901]
18549         * include/stdlib.h: Move include protection to the right place.
18550         Define abort_msg_s.  Declare __abort_msg with it.
18551         * stdlib/abort.c (__abort_msg): Adjust type.
18552         * assert/assert.c (__assert_fail_base): New function.  Majority
18553         of code from __assert_fail.  Allocate memory for __abort_msg with
18554         mmap.
18555         (__assert_fail): Now call __assert_fail_base.
18556         * assert/assert-perr.c: Remove bulk of implementation.  Use
18557         __assert_fail_base.
18558         * include/assert.hL Declare __assert_fail_base.
18559         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18560         mmap.
18561         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18563 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
18565         [BZ #11952]
18566         [BZ #12453]
18567         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18568         until all modules are registered in the DTV.
18569         * elf/Makefile: Add rules to build and run tst-tls19.
18570         * elf/tst-tls19.c: New file.
18571         * elf/tst-tls19mod1.c: New file.
18572         * elf/tst-tls19mod2.c: New file.
18573         * elf/tst-tls19mod3.c: New file.
18574         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18576         [BZ #12083]
18577         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18578         correctly.
18580         [BZ #12601]
18581         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18582         two-byte sequence errors.
18583         * iconvdata/Makefile (tests): Add bug-iconv8.
18584         * iconvdata/bug-iconv8.c: New file.
18586         [BZ #12626]
18587         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18588         buf2 definition.
18590         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18592         [BZ #12432]
18593         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18594         (dummy_getcfa): New function.
18595         (init): Get _Unwind_GetCFA address, use dummy if not found.
18596         (backtrace_helper): In recursion check, also check whether CFA changes.
18597         (__backtrace): Completely initialize arg.
18599         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18600         storing incomplete byte sequence in state object.  Avoid testing for
18601         guaranteed too small input if we know there is enough data available.
18603 2011-05-11  Andreas Schwab  <schwab@redhat.com>
18605         * Makeconfig (+link-pie): Indent.
18606         * Rules (binaries-pie): Define if $(have-fpie) and
18607         $(build-shared).
18608         (binaries-shared): Also filter out $(binaries-pie).
18609         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18610         * nscd/Makefile (others-pie): Add nscd.
18611         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18612         ($(objpfx)nscd): Remove command override.
18613         * login/Makefile (others-pie): Add pt_chown.
18614         ($(objpfx)pt_chown): Remove command override.
18615         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18616         remove command overrides.
18618 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
18620         * libio/tst_putwc.c: Fix error messages.
18622         [BZ #12724]
18623         * libio/fileops.c (_IO_new_file_close_it): Always flush when
18624         currently writing and seek to current position when not.
18625         * libio/Makefile (tests): Add bug-fclose1.
18626         * libio/bug-fclose1.c: New file.
18628 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
18630         [BZ #12511]
18631         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18632         don't set DF_1_NODELETE here.
18633         (do_lookup_x): When entering new entry test for copy relocation
18634         and if necessary set DF_1_NODELETE flag.
18635         * elf/tst-unique4.cc: New file.
18636         * elf/tst-unique4.h: New file.
18637         * elf/tst-unique4lib.cc: New file.
18638         * elf/Makefile: Add rules to build and run tst-unique4.
18639         Patch by Piotr Bury <pbury@goahead.com>.
18641 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
18643         [BZ #12052]
18644         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18646         [BZ #12625]
18647         * misc/mntent_r.c (addmntent): Flush the stream after the output
18649         [BZ #12393]
18650         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18651         (is_trusted_path_normalize): Skip initial colon.  Append slash
18652         to empty buffer.  Duplicate is_trusted_path code but allow
18653         constructed patch to be prefix.
18654         (is_dst): Allow $ORIGIN followed by /.
18655         (_dl_dst_substitute): Correct clearing of check_for_trusted.
18656         Correct testing of result of is_trusted_path_normalize
18657         (decompose_rpath): Fix warning.
18659 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
18661         [BZ #11257]
18662         * grp/initgroups.c (internal_getgrouplist): When we found the service
18663         list through the initgroups entry in nsswitch.conf do not always
18664         continue on a successful lookup.  Don't always use the
18665         __nss_group_database value if it is set.
18666         * nss/nsswitch.conf (initgroups): Change action for successful db
18667         lookup to continue for compatibility.
18669 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
18671         [BZ #11532]
18672         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18673         and CP774 modules.
18674         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18675         and CP774 modules.
18676         * iconvdata/tst-tables.sh: Likewise.
18677         * iconvdata/cp770.c: New file.
18678         * iconvdata/cp771.c: New file.
18679         * iconvdata/cp772.c: New file.
18680         * iconvdata/cp773.c: New file.
18681         * iconvdata/cp774.c: New file.
18682         * iconvdata/testdata/CP770: New file.
18683         * iconvdata/testdata/CP770..UTF8: New file.
18684         * iconvdata/testdata/CP771: New file.
18685         * iconvdata/testdata/CP771..UTF8: New file.
18686         * iconvdata/testdata/CP772: New file.
18687         * iconvdata/testdata/CP772..UTF8: New file.
18688         * iconvdata/testdata/CP773: New file.
18689         * iconvdata/testdata/CP773..UTF8: New file.
18690         * iconvdata/testdata/CP774: New file.
18691         * iconvdata/testdata/CP774..UTF8: New file.
18693         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18694         END CHARMAP line.
18695         * iconvdata/gen-8bit-gap.sh: Likewise.
18696         * iconvdata/gen-8bit.sh: Likewise.
18698         * locale/iso-639.def: Add ary entry.
18700         [BZ #11258]
18701         * locale/C-translit.h.in: Add U20A1 transliteration.
18703         [BZ #12178]
18704         * locale/iso-639.def: Add wae entry.
18705         Patch by Kevin Bortis <bortis@translate-wae.ch>.
18707         [BZ #12545]
18708         * locale/programs/localedef.c (construct_output_path): Use ssize_t
18709         for n.
18711         [BZ #12711]
18712         * locale/C-translit.h.in: Add entry for U20B9.
18713         Patch by pravin.d.s@gmail.com.
18715 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
18717         [BZ #12713]
18718         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18719         ENAMETOOLONG use generic getcwd.
18720         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
18721         in rtld.  Use *stat64.
18722         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18723         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18724         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18725         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18726         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18727         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18728         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18729         __fstatat64 macros.
18730         * include/dirent.h: Add libc_hidden_proto for rewinddir.
18731         * dirent/rewinddir.c: Add libc_hidden_def.
18732         * sysdeps/mach/hurd/rewinddir.c: Likewise.
18733         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
18735         * include/dirent.h (__alloc_dir): Add flags parameter.
18736         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18737         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18738         __alloc_dir.
18739         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
18740         from fdopendir if O_CLOEXEC is already set.
18742 2011-03-15  Alan Modra  <amodra@gmail.com>
18744         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18745         l_tls_firstbyte_offset non-zero.  Save padding offset in
18746         l_tls_firstbyte_offset for later use.
18747         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18748         freeing static tls block.
18750 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
18752         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18753         where #ifdef was intended.  The intent is to prevent ARG_MAX from
18754         being defined by the kernel headers.
18756 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
18758         [BZ #12734]
18759         * resolv/resolv.h: Define RES_NOTLDQUERY.
18760         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18761         no-tld-query and set RES_NOTLDQUERY.
18762         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18763         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18764         modern BIND to search name as TLD unless forbidden.
18766 2011-05-07  Petr Baudis  <pasky@suse.cz>
18767             Ulrich Drepper  <drepper@gmail.com>
18769         [BZ #12393]
18770         * elf/dl-load.c (fillin_rpath): Move trusted path check...
18771         (is_trusted_path): ...to here.
18772         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18773         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18774         using is_trusted_path_normalize() in setuid scripts.
18776 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18778         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18779         __BEGIN/__END_DECLS.
18781 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
18783         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18784         NSS_STATUS_NOTFOUND if no record was found.
18786 2011-05-05  Andreas Schwab  <schwab@redhat.com>
18788         * sunrpc/Makefile (headers): Add rpc/netdb.h.
18789         (headers-not-in-tirpc): Remove rpc/netdb.h
18790         * resolv/netdb.h: Revert last change.
18792 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18794         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18795         circular dependency between libgcc.a and libc.a.
18797 2011-05-05  Andreas Schwab  <schwab@redhat.com>
18799         * resolv/netdb.h: Don't include <rpc/netdb.h>.
18800         * nis/Makefile: Don't install rpcsvc/*.
18801         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18802         instead of <rpc/types.h>.
18803         (MAXHOSTNAMELEN): Define.
18805 2011-05-03  Andreas Schwab  <schwab@redhat.com>
18807         * elf/ldconfig.c (add_dir): Don't crash on empty path.
18809 2011-04-28  Maciej Babinski  <mbabinski@google.com>
18811         [BZ #12714]
18812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18813         gethostbyname4_r when IPv6 results are possible.
18815 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
18817         [BZ #12723]
18818         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18819         _PC_PIPE_BUF handling.
18821 2011-04-30  Bruno Haible  <bruno@clisp.org>
18823         [BZ #12717]
18824         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18825         * resolv/netdb.h (getnameinfo): Change type of flags parameter
18826         to 'int'.
18827         * inet/getnameinfo.c (getnameinfo): Likewise.
18829 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
18831         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18832         to groups setting in database lookup.
18833         * nss/nsswitch.conf: Add initgroups entry.
18835 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
18837         [BZ #12685]
18838         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18839         mode string.
18840         Patch by Eric Blake <eblake@redhat.com>.
18842 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
18844         * sunrpc/Makefile (need-export-routines): Add svc_run.
18845         (routines): Remove svc_run.
18846         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18847         * sunrpc/clnt_perr.c (clnt_perrno): Export.
18848         * sunrpc/svc_run.c (svc_run): Likewise.
18849         * sunrpc/svc_udp.c (svcudp_create): Likewise.
18851 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
18853         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18854         problem in reallocation in last patch.
18856 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
18858         * sunrpc/Makefile: Move inclusion of Rules.
18860 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
18862         * nss/nss_files/files-initgroups.c: New file.
18863         * nss/Makefile (libnss_files-routines): Add files-initgroups.
18864         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18865         _nss_files_initgroups_dyn.
18867 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
18869         * elf/elf.h (R_ARM_IRELATIVE): Define.
18871 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
18873         * po/ru.po: Update from translation team.
18875 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
18877         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18878         dependencies.
18880 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
18882         [BZ #12653]
18883         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18884         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18885         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18886         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18887         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18889 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
18891         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18892         differing bytes.
18893         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18894         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18895         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18897 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
18899         [BZ #12420]
18900         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18901         storing it.
18902         * stdlib/bug-getcontext.c: New file.
18903         * stdlib/Makefile: Add rules to build and run bug-getcontext.
18905 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18907         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18908         instructions into .machine "z9-109".
18909         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18910         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18912 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18914         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18915         between environment variables and auxiliary vector.
18917 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
18919         * Makefile: Add rules to build linkobj/libc.so.
18920         * include/libc-symbols.h: Define libc_hidden_nolink.
18921         * include/rpc/auth.h: Mark functions which are to be hidden.
18922         * include/rpc/auth_des.h: Likewise.
18923         * include/rpc/auth_unix.h: Likewise.
18924         * include/rpc/clnt.h: Likewise.
18925         * include/rpc/des_crypt.h: Likewise.
18926         * include/rpc/key_prot.h: Likewise.
18927         * include/rpc/pmap_clnt.h: Likewise.
18928         * include/rpc/pmap_prot.h: Likewise.
18929         * include/rpc/pmap_rmt.h: Likewise.
18930         * include/rpc/rpc_msg.h: Likewise.
18931         * include/rpc/svc.h: Likewise.
18932         * include/rpc/svc_auth.h: Likewise.
18933         * include/rpc/xdr.h: Likewise.
18934         * nis/Makefile: Link all DSOs against linkobj/libc.so.
18935         * nss/Makefile: Likewise.
18936         * sunrpc/Makefile: Don't install headers.  Build library with normal
18937         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
18938         * sunrpc/auth_des.c: Hide exported symbols by default, export some
18939         for the compat linking library.  Remove use of INTDEF/INTUSE.
18940         * sunrpc/auth_none.c: Likewise.
18941         * sunrpc/auth_unix.c: Likewise.
18942         * sunrpc/authdes_prot.c: Likewise.
18943         * sunrpc/authuxprot.c: Likewise.
18944         * sunrpc/clnt_gen.c: Likewise.
18945         * sunrpc/clnt_perr.c: Likewise.
18946         * sunrpc/clnt_raw.c: Likewise.
18947         * sunrpc/clnt_simp.c: Likewise.
18948         * sunrpc/clnt_tcp.c: Likewise.
18949         * sunrpc/clnt_udp.c: Likewise.
18950         * sunrpc/clnt_unix.c: Likewise.
18951         * sunrpc/des_crypt.c: Likewise.
18952         * sunrpc/des_soft.c: Likewise.
18953         * sunrpc/get_myaddr.c: Likewise.
18954         * sunrpc/key_call.c: Likewise.
18955         * sunrpc/key_prot.c: Likewise.
18956         * sunrpc/netname.c: Likewise.
18957         * sunrpc/pm_getmaps.c: Likewise.
18958         * sunrpc/pm_getport.c: Likewise.
18959         * sunrpc/pmap_clnt.c: Likewise.
18960         * sunrpc/pmap_prot.c: Likewise.
18961         * sunrpc/pmap_prot2.c: Likewise.
18962         * sunrpc/pmap_rmt.c: Likewise.
18963         * sunrpc/publickey.c: Likewise.
18964         * sunrpc/rpc_cmsg.c: Likewise.
18965         * sunrpc/rpc_common.c: Likewise.
18966         * sunrpc/rpc_dtable.c: Likewise.
18967         * sunrpc/rpc_prot.c: Likewise.
18968         * sunrpc/rpc_thread.c: Likewise.
18969         * sunrpc/rtime.c: Likewise.
18970         * sunrpc/svc.c: Likewise.
18971         * sunrpc/svc_auth.c: Likewise.
18972         * sunrpc/svc_authux.c: Likewise.
18973         * sunrpc/svc_raw.c: Likewise.
18974         * sunrpc/svc_run.c: Likewise.
18975         * sunrpc/svc_simple.c: Likewise.
18976         * sunrpc/svc_tcp.c: Likewise.
18977         * sunrpc/svc_udp.c: Likewise.
18978         * sunrpc/svc_unix.c: Likewise.
18979         * sunrpc/svcauth_des.c: Likewise.
18980         * sunrpc/xcrypt.c: Likewise.
18981         * sunrpc/xdr.c: Likewise.
18982         * sunrpc/xdr_array.c: Likewise.
18983         * sunrpc/xdr_float.c: Likewise.
18984         * sunrpc/xdr_intXX_t.c: Likewise.
18985         * sunrpc/xdr_mem.c: Likewise.
18986         * sunrpc/xdr_rec.c: Likewise.
18987         * sunrpc/xdr_ref.c: Likewise.
18988         * sunrpc/xdr_sizeof.c: Likewise.
18989         * sunrpc/xdr_stdio.c: Likewise.
18991 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
18993         [BZ #12650]
18994         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18995         * sysdeps/ia64/dl-tls.h: Likewise.
18996         * sysdeps/powerpc/dl-tls.h: Likewise.
18997         * sysdeps/s390/dl-tls.h: Likewise.
18998         * sysdeps/sh/dl-tls.h: Likewise.
18999         * sysdeps/sparc/dl-tls.h: Likewise.
19000         * sysdeps/x86_64/dl-tls.h: Likewise.
19001         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19003 2011-03-14  Andreas Schwab  <schwab@redhat.com>
19005         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19006         rpath element also skip the following colon.
19007         (expand_dynamic_string_token): Add is_path parameter and pass
19008         down to DL_DST_REQUIRED and _dl_dst_substitute.
19009         (decompose_rpath): Call expand_dynamic_string_token with
19010         non-zero is_path.  Ignore empty rpaths.
19011         (_dl_map_object_from_fd): Call expand_dynamic_string_token
19012         with zero is_path.
19014 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
19016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19017         Make cancelable.
19019 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
19021         [BZ #12655]
19022         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19023         Patch by Filipe David Manana <fdmanana@apache.org>.
19025 2011-04-07  Andreas Schwab  <schwab@redhat.com>
19027         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19028         Maintain aligned stack.
19029         (CHECK_RSP): Remove unused macro.
19031 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
19033         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19034         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19036 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
19038         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19040         * include/features.h: Mention __USE_XOPEN2K8 in comment.
19042 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
19044         [BZ #12518]
19045         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19046         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19047         * sysdeps/x86_64/memmove.c: New file.
19048         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19049         (memcpy): Renamed to ...
19050         (__new_memcpy): This.
19051         (memcpy): Provide GLIBC_2_14 memcpy.
19052         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19053         (memcpy): Provide GLIBC_2_2_5 memcpy.
19055 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
19057         [BZ #12631]
19058         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19060 2011-03-30  Andreas Schwab  <schwab@redhat.com>
19062         * misc/syncfs.c: New file.
19063         * misc/Makefile (routines): Add syncfs.
19064         * posix/unistd.h: Declare syncfs.
19065         * sysdeps/unix/syscalls.list: Add syncfs.
19067 2011-04-01  Andreas Schwab  <schwab@redhat.com>
19069         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19070         open_by_handle_at.
19071         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19072         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19073         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19074         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19075         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19076         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19077         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19079 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
19081         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19082         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19083         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19084         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19085         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19086         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19087         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19089         * io/Makefile: Compile fallocate.c, fallocate64.c, and
19090         sync_file_range.c with -fexceptions.
19091         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19092         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19093         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19094         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19095         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19096         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19097         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
19098         sync_file_range as cancellation point
19099         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
19100         now a wrapper around __call_sync_file_range with cancellation handling.
19101         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19102         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
19103         function name to __call_sync_file_range.
19104         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19105         Add call_sync_file_range.
19107 2011-04-01  Andreas Schwab  <schwab@redhat.com>
19109         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19110         bits/timex.h.
19112 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
19114         * iconv/iconv.h: Fix typo in comment.
19115         * io/fcntl.h: Likewise.
19116         * libio/stdio.h: Likewise.
19117         * posix/spawn.h: Likewise.
19118         * posix/unistd.h: Likewise.
19119         * stdlib/stdlib.h: Likewise.
19120         * time/time.h: Likewise.
19121         * wcsmbs/wchar.h: Likewise.
19123         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19124         open_by_handle): Add.
19125         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19126         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
19127         Augment a few comments.
19128         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19129         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19130         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19131         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19132         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19133         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19134         open_by_handle.
19136         * io/fcntl.h (AT_EMPTY_PATH): Define.
19138 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
19140         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19141         * sysdeps/unix/sysv/linux/bits/time.h: New file.
19142         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19143         to...
19144         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
19145         * Versions.def: Add GLIBC_2.14.
19146         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19147         Export.
19149 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
19151         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19152         round counter.
19153         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19155 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
19157         [BZ #12597]
19158         * string/test-strncmp.c (do_page_test): New function.
19159         (check2): Likewise.
19160         (test_main): Call check2.
19161         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19163 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
19165         [BZ #12587]
19166         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19167         Handle cache information in CPU leaf 4.
19168         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19170 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
19172         [BZ #12583]
19173         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19174         character representation.
19175         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19177 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
19179         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19180         END(__isnan) to END(__isnanf) to match function entry point/label
19181         EALIGN(__isnanf,...).
19183 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
19185         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19187 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
19189         [BZ #12510]
19190         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19191         copy from the symbol referenced in the relocation to initialize the
19192         used variable.
19193         Patch by Piotr Bury <pbury@goahead.com>.
19194         * elf/Makefile: Add rules to build and tst-unique3.
19195         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19196         * elf/tst-unique3.cc: New file.
19197         * elf/tst-unique3.h: New file.
19198         * elf/tst-unique3lib.cc: New file.
19199         * elf/tst-unique3lib2.cc: New file.
19201         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19203 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
19205         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19206         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
19207         to _start.
19209 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
19211         * elf/dl-load.c (_dl_map_object): If we are looking for the first
19212         to-be-loaded object along a path to loader is ld.so.
19214 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
19215             Ulrich Drepper  <drepper@gmail.com>
19217         * sysdeps/x86_64/memset.S: After aligning destination, code
19218         branches to different locations depending on the value of
19219         misalignment, when multiarch is enabled. Fix this.
19221 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
19223         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19224         Set _x86_64_preferred_memory_instruction for AMD processsors.
19225         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19226         Set bit_Prefer_SSE_for_memop for AMD processors.
19228 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
19230         * libio/fmemopen.c (fmemopen): Optimize a bit.
19232 2011-03-03  Andreas Schwab  <schwab@redhat.com>
19234         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19236 2011-03-03  Roland McGrath  <roland@redhat.com>
19238         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19240 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
19242         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19243         __bzero_ultra1 instead of __memset_ultra1.
19245 2011-02-23  Andreas Schwab  <schwab@redhat.com>
19246             Ulrich Drepper  <drepper@gmail.com>
19248         [BZ #12509]
19249         * include/link.h (struct link_map): Add l_orig_initfini.
19250         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19251         returning unsuccessfully.
19252         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19253         close of a file loaded at startup, restore the original l_initfini
19254         list.
19255         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19256         list, store the pointer.
19257         * elf/Makefile ($(objpfx)noload-mem): New rule.
19258         (noload-ENV): Define.
19259         (tests): Add $(objpfx)noload-mem.
19260         * elf/noload.c: Include <memcheck.h>.
19261         (main): Call mtrace.  Close all opened handles.
19263 2011-02-17  Andreas Schwab  <schwab@redhat.com>
19265         [BZ #12454]
19266         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19267         dependencies are missing.
19269 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19271         Fix __if_freereq crash: Unlike the generic version which uses free,
19272         Hurd needs munmap.
19273         * sysdeps/mach/hurd/ifreq.h: New file.
19275 2011-01-27  Petr Baudis  <pasky@suse.cz>
19276             Ulrich Drepper  <drepper@gmail.com>
19278         [BZ 12445]#
19279         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19280         to extend_alloca().
19281         * stdio-common/bug23.c: New file.
19282         * stdio-common/Makefile (tests): Add bug23.
19284 2010-09-28  Andreas Schwab  <schwab@redhat.com>
19285             Ulrich Drepper  <drepper@gmail.com>
19287         [BZ #12489]
19288         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19289         before performing relro protection.  At old place add assertion
19290         to make sure nothing changed.
19292 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
19293             Glauber de Oliveira Costa  <glommer@gmail.com>
19295         * elf/elf.h: Add new ARM TLS relocs.
19297 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
19299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19300         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19301         cast from r3.
19302         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
19303         'tests' variable.
19304         * sysdeps/wordsize-64/tst-writev.c: New file.
19306 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
19308         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19309         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19310         insns in _dl_start to prevent a TOC reference before relocs are
19311         resolved.
19313 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
19315         [BZ #12469]
19316         * Makeconfig: Remove RANLIB definition.
19317         * Makerules: Don't use RANLIB.
19318         * aclocal.m4: Remove ranlib test.
19319         * configure.in: No need to check for ranlib.
19320         * elf/rtld-Rules: Don't use RANLIB.
19322 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19324         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19325         protection macro.
19326         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19327         inclusion protection macro.
19329         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19330         SIGRTMIN and SIGRTMAX and print information in that case only when
19331         SIGRTMIN is defined.
19333 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
19335         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19336         arginfo fn returning -1.
19338         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19339         and thousands string is zero terminated.
19341 2011-02-03  Andreas Schwab  <schwab@redhat.com>
19343         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19344         sysdeps/unix/sysv/linux/bits/socket.h.
19346 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19348         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19349         (__CPU_COUNT): Remove old macros.
19350         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19351         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19352         (__CPU_ALLOC, __CPU_FREE): Add macros.
19353         (__sched_cpualloc, __sched_cpufree): Add declarations.
19355 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
19357         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19358         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19359         * nscd/aicache.c (addhstaiX): Return timeout of added value.
19360         (readdhstai): Return value of addhstaiX call.
19361         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19362         (addgrbyX): Return value returned by cache_addgr.
19363         (readdgrbyname): Return value returned by addgrbyX.
19364         (readdgrbygid): Likewise.
19365         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19366         (addpwbyX): Return value returned by cache_addpw.
19367         (readdpwbyname): Return value returned by addhstbyX.
19368         (readdpwbyuid): Likewise.
19369         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19370         (addservbyX): Return value returned by cache_addserv.
19371         (readdservbyname): Return value returned by addservbyX:
19372         (readdservbyport): Likewise.
19373         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19374         (addhstbyX): Return value returned by cache_addhst.
19375         (readdhstbyname): Return value returned by addhstbyX.
19376         (readdhstbyaddr): Likewise.
19377         (readdhstbynamev6): Likewise.
19378         (readdhstbyaddrv6): Likewise.
19379         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19380         (readdinitgroups): Return value returned by addinitgroupsX.
19381         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19382         (prune_cache): Keep track of timeout value of re-added entries.
19383         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19384         * nscd/nscd.h: Adjust prototypes of readd* functions.
19386 2011-02-04  Roland McGrath  <roland@redhat.com>
19388         * nis/nis_server.c (nis_servstate): Use the right name for 0.
19389         (nis_stats): Likewise.
19390         * nis/nis_modify.c (nis_modify): Likewise.
19391         * nis/nis_remove.c (nis_remove): Likewise.
19392         * nis/nis_add.c (nis_add): Likewise.
19394         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19396         * posix/fnmatch_loop.c: Add some consts.
19398         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19400 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
19402         [BZ #12460]
19403         * config.make.in (config-cflags-novzeroupper): Define.
19404         * configure.in: Substitute libc_cv_cc_novzeroupper.
19405         * elf/Makefile (AVX-CFLAGS): Define.
19406         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19407         (CFLAGS-tst-auditmod4a.c): Likewise.
19408         (CFLAGS-tst-auditmod4b.c): Likewise.
19409         (CFLAGS-tst-auditmod6b.c): Likewise.
19410         (CFLAGS-tst-auditmod6c.c): Likewise.
19411         (CFLAGS-tst-auditmod7b.c): Likewise.
19412         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19414 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
19416         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19417         function to the callback.
19418         Patch partly by Jiri Olsa <jolsa@redhat.com>.
19420 2011-02-02  Andreas Schwab  <schwab@redhat.com>
19422         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19423         of errno.
19425 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
19427         [BZ #11724]
19428         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19429         of constructors.
19430         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19431         of destructors.
19432         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19434         [BZ #11724]
19435         * elf/Makefile: Add rules to build and run new test.
19436         * elf/tst-initorder.c: New file.
19437         * elf/tst-initorder.exp: New file.
19438         * elf/tst-initordera1.c: New file.
19439         * elf/tst-initordera2.c: New file.
19440         * elf/tst-initordera3.c: New file.
19441         * elf/tst-initordera4.c: New file.
19442         * elf/tst-initorderb1.c: New file.
19443         * elf/tst-initorderb2.c: New file.
19444         * elf/tst-order-a1.c: New file.
19445         * elf/tst-order-a2.c: New file.
19446         * elf/tst-order-a3.c: New file.
19447         * elf/tst-order-a4.c: New file.
19448         * elf/tst-order-b1.c: New file.
19449         * elf/tst-order-b2.c: New file.
19450         * elf/tst-order-main.c: New file.
19451         New test case by George Gensure <werkt0@gmail.com>.
19453 2010-10-01  Andreas Schwab  <schwab@redhat.com>
19455         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19456         decoding ACE if AI_CANONIDN.
19458 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
19460         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19462 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
19464         * version.h (RELEASE): Bump for 2.13 release.
19465         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19467         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19469         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19470         MADV_NOHUGEPAGE.
19471         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19472         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19473         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19474         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19475         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19476         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19478         * posix/getconf.c: Update copyright year.
19479         * catgets/gencat.c: Likewise.
19480         * csu/version.c: Likewise.
19481         * debug/catchsegv.sh: Likewise.
19482         * debug/xtrace.sh: Likewise.
19483         * elf/ldconfig.c: Likewise.
19484         * elf/ldd.bash.in: Likewise.
19485         * elf/sprof.c (print_version): Likewise.
19486         * iconv/iconv_prog.c: Likewise.
19487         * iconv/iconvconfig.c: Likewise.
19488         * locale/programs/locale.c: Likewise.
19489         * locale/programs/localedef.c: Likewise.
19490         * malloc/memusage.sh: Likewise.
19491         * malloc/mtrace.pl: Likewise.
19492         * nscd/nscd.c (print_version): Likewise.
19493         * nss/getent.c: Likewise.
19495         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19496         PF_CAIF, and PF_ALG.
19497         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19499 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
19501         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19502         (modules-names): Use them.
19503         (ifunc-test-modules, ifunc-pie-tests): Define.
19504         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19505         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19506         (test-extras): Likewise.
19507         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19508         $(compile-command.c).
19509         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19510         (all-built-dso): Define.
19511         (check-textrel.out, check-execstack.out): Depend on it.
19513         * configure.in: Don't override --enable-multi-arch.
19515 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
19517         [BZ #6812]
19518         * nscd/hstcache.c (tryagain): Define.
19519         (cache_addhst): Return tryagain not notfound for temporary errors.
19520         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19521         failed.
19523 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
19525         [BZ #10563]
19526         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19527         to make the syscall.
19528         * sysdeps/unix/sysv/linux/setgroups.c: New file.
19530         [BZ #12378]
19531         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19532         and fall back to matching as normal character if the string ends before
19533         the matching ']' is found.  This is what POSIX requires.
19534         * posix/testfnm.c: Adjust test result.
19535         * posix/globtest.sh: Adjust test result.  Add new test.
19536         * posix/tst-fnmatch.input: Likewise.
19537         * posix/tst-fnmatch2.c: Add new test.
19539 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
19541         * elf/Makefile (check-execstack): Revert last change.  Depend on
19542         check-execstack.h.
19543         (check-execstack.h): New target.
19544         (generated): Add check-execstack.h.
19545         * elf/check-execstack.c: Include "check-execstack.h".
19546         (main): Revert last change.
19547         (handle_file): Return zero if GNU_STACK is absent and
19548         DEFAULT_STACK_PERMS doesn't include PF_X.
19550 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
19552         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19553         in child fails because the descriptor is already closed.
19554         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19555         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19556         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19558         [BZ #12397]
19559         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19560         syscall.
19562         [BZ #10484]
19563         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19564         temporary buffer used to handle multi lookups locally.
19565         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19567 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
19569         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19570         loader is ld.so.
19572 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
19574         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19575         alignment for SSE2.
19577 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
19579         [BZ #12394]
19580         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19581         characters.  When rounding increased number of integer digits recompute
19582         number of groups.
19583         * stdio-common/tst-grouping.c: New file.
19584         * stdio-common/Makefile: Add rules to build and run tst-grouping.
19586 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
19588         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19589         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
19591         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19592         void.
19593         * bits/select.h: Likewise.
19595 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
19597         * po/ja.po: Update from translation team.
19599 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
19601         [BZ #11155]
19602         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19603         implementation just like for lxstat, fxstatat, et al.
19605 2010-12-27  Jim Meyering  <meyering@redhat.com>
19607         [BZ #12348]
19608         * posix/regexec.c (build_trtable): Return failure indication upon
19609         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
19611 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
19613         [BZ #12201]
19614         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19615         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19616         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19617         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19619         [BZ #12207]
19620         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19622         [BZ #12204]
19623         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19624         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19626 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19628         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19629         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19630         script has SORT_BY_INIT_PRIORITY.
19631         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19632         NO_CTORS_DTORS_SECTIONS is defined.
19633         * elf/soinit.c: Likewise.
19634         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19635         NO_CTORS_DTORS_SECTIONS is defined.
19636         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19637         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19638         * sysdeps/sh/init-first.c: Likewise.
19639         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19641 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
19643         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19644         always use the slow path.
19646 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
19648         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19649         similar rule which adds the sysdep directories to the header search in
19650         order to pick up the correct platform stackinfo.h.
19651         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19652         perform test if it is, otherwise return successfully without testing.
19653         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19654         DEFAULT_STACK_PERMS define in stackinfo.h.
19655         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19656         defined in stackinfo.h.
19657         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19658         DEFAULT_STACK_PERMS defined in stackinfo.h.
19659         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19660         * sysdeps/ia64/stackinfo.h: Likewise.
19661         * sysdeps/s390/stackinfo.h: Likewise.
19662         * sysdeps/sh/stackinfo.h: Likewise.
19663         * sysdeps/sparc/stackinfo.h: Likewise.
19664         * sysdeps/x86_64/stackinfo.h: Likewise.
19665         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19666         PF_X for powerpc64.  Retain PF_X for powerpc32.
19668 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
19670         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19671         accurately.
19672         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19673         GETDENTS_64BIT_ALIGNED.
19675 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
19677         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19679 2010-12-10  Andreas Schwab  <schwab@redhat.com>
19681         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19682         _GNU_SOURCE.
19684         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19685         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19686         Remove __restrict.
19687         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19688         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19690 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
19692         [BZ #11655]
19693         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19694         are initialized.
19696 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
19698         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19700 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
19702         * po/it.po: Update from translation team.
19704 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19706         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19707         unused codes.
19709 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
19711         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19713 2010-11-24  Andreas Schwab  <schwab@redhat.com>
19715         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19716         specially.
19717         (gaih_getanswer_slice): Likewise.
19719 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
19721         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19723 2010-05-31  Petr Baudis  <pasky@suse.cz>
19725         [BZ #11149]
19726         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19727         silently even in the chroot mode.
19729 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
19731         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19732         last patch a bit.  Pretty printing
19734 2010-05-31  Petr Baudis <pasky@suse.cz>
19736         [BZ #10085]
19737         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19738         initialization of skip_initgroups_dyn.
19740 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
19742         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19743         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19745 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
19747         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19749 2010-11-11  Andreas Schwab  <schwab@redhat.com>
19751         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19752         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19753         (tst-fnmatch-ENV): Set MALLOC_TRACE.
19754         ($(objpfx)tst-fnmatch-mem): New rule.
19755         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19756         * posix/tst-fnmatch.c (main): Call mtrace.
19758 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
19760         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19761         Support Intel processor model 6 and model 0x2c.
19763 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
19765         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19766           signed comparison.
19768 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
19770         [BZ #12205]
19771         * string/test-strncasecmp.c (check_result): New function.
19772         (do_one_test): Use it.
19773         (check1): New function.
19774         (test_main): Use it.
19775         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19776         Support strcasecmp and strncasecmp.
19778 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
19780         [BZ #12194]
19781         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19782         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19784 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19786         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19787         IFUNC support.
19788         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19789         memset-x86-64.
19790         * sysdeps/x86_64/multiarch/bzero.S: New file.
19791         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19792         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19793         * sysdeps/x86_64/multiarch/memset.S: New file.
19794         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19795         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19796         Set bit_Prefer_SSE_for_memop for Intel processors.
19797         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19798         Define.
19799         (index_Prefer_SSE_for_memop): Define.
19800         (HAS_PREFER_SSE_FOR_MEMOP): Define.
19802 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
19804         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19805         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19807 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
19809         [BZ #12191]
19810         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19811         (__x86_64_raw_data_cache_size_half): Likewise.
19812         (__x86_64_raw_shared_cache_size): Likewise.
19813         (__x86_64_raw_shared_cache_size_half): Likewise.
19815         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19816         (__x86_64_raw_data_cache_size_half): Likewise.
19817         (__x86_64_raw_shared_cache_size): Likewise.
19818         (__x86_64_raw_shared_cache_size_half): Likewise.
19819         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19820         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19821         and __x86_64_raw_shared_cache_size_half.  Round
19822         __x86_64_data_cache_size_half, __x86_64_data_cache_size
19823         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19824         to multiple of 256 bytes.
19826 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
19828         [BZ #12167]
19829         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19830         of inacessible symlinks.  Verify result of symlink before returning it.
19831         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19832         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19834 2010-10-28  Erich Ritz  <erichritz@gmail.com>
19836         * math/math.h (isinf): Fix typo in comment.
19838 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
19840         * po/da.po: Update from translation team.
19842 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
19844         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19845         is added to the list.
19847 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19848             Ulrich Drepper  <drepper@gmail.com>
19850         * elf/dl-object.c (_dl_new_object): Don't append the new object to
19851         the global list here.  Move code to...
19852         (_dl_add_to_namespace_list): ...here.  New function.
19853         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19854         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19855         * elf/dl-load.c (lose): Don't remove the element from the list.
19856         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19857         (_dl_map_object): Likewise.
19859 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
19861         [BZ #12159]
19862         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19863         into all bytes of SSE register.
19864         Patch by Richard Li <richardpku@gmail.com>.
19866 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
19868         [BZ #12140]
19869         * malloc/malloc.c (_int_free): Fill correct number of bytes when
19870         perturbing.
19872 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
19874         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19875         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19876         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19877         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19879         submachine.
19880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19882 2010-10-22  Andreas Schwab  <schwab@redhat.com>
19884         * include/dlfcn.h (__RTLD_SECURE): Define.
19885         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
19886         mode & __RTLD_SECURE instead.
19887         (open_path): Rename preloaded parameter to secure.
19888         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19889         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19890         * elf/dl-deps.c (openaux): Likewise.
19891         * elf/rtld.c (struct map_args): Remove is_preloaded.
19892         (map_doit): Don't use it.
19893         (dl_main): Likewise.
19894         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19895         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19897 2010-09-09  Andreas Schwab  <schwab@redhat.com>
19899         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19900         (sysd-rules-targets): Remove duplicates.
19901         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19902         rtld-%.$o dependency.
19904 2010-10-18  Andreas Schwab  <schwab@redhat.com>
19906         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19907         _dl_map_object do it.
19909 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
19911         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19912         fast fma builtins, define the macros in the C99 standard.
19913         (FP_FAST_FMAF): Likewise.
19914         (FP_FAST_FMAL): Likewise.
19915         * sysdeps/x86_64/bits/mathdef.h: Likewise.
19917         * bits/mathdef.h: Update copyright year.
19918         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19920 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
19922         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19923         builtins, define the macros in the C99 standard.
19924         (FP_FAST_FMAF): Likewise.
19925         (FP_FAST_FMAL): Likewise.
19926         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19927         multiply/add.
19928         (FP_FAST_FMAF): Likewise.
19930 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
19932         [BZ #3268]
19933         * math/libm-test.inc (fma_test): Some new testcases.
19934         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19935         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19936         y and infinite z.  Do multiplication by C already in long double.
19937         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19938         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19939         y and infinite z.  Do bitwise or of inexact bit into u.d.
19940         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19941         * sysdeps/i386/fpu/s_fmaf.S: Removed.
19942         * sysdeps/i386/fpu/s_fma.S: Removed.
19943         * sysdeps/i386/fpu/s_fmal.S: Removed.
19945 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
19947         [BZ #3268]
19948         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19949         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19950         computation is not scheduled after fetestexcept.  Fix value
19951         of minimum denormal long double.
19953 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
19955         [BZ #3268]
19956         * math/libm-test.inc (fma_test): Add some more tests.
19957         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19958         correctly.
19960 2010-10-15  Andreas Schwab  <schwab@redhat.com>
19962         * scripts/data/localplt-s390-linux-gnu.data: New file.
19963         * scripts/data/localplt-s390x-linux-gnu.data: New file.
19965 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
19967         [BZ #3268]
19968         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19969         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19970         instead of dbl-64.
19971         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19972         inlines.
19973         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19974         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19975         if one of x and y is very large and the other is subnormal.
19976         * sysdeps/s390/fpu/s_fmaf.c: New file.
19977         * sysdeps/s390/fpu/s_fma.c: New file.
19978         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19979         * sysdeps/powerpc/fpu/s_fma.S: New file.
19980         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19981         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19982         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19984 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
19986         [BZ #3268]
19987         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19988         fma tests.
19989         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19990         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19991         * sysdeps/i386/i686/multiarch/s_fma.c: Include
19992         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19993         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19994         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19995         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19997 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
19999         [BZ #12078]
20000         * posix/regcomp.c (parse_branch): One more memory leak plugged.
20001         * posix/bug-regex31.input: Add test case.
20003 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
20005         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20006         * posix/bug-regex31.input: New file.
20008         [BZ #12078]
20009         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20010         (parse_sub_exp): Fix last change, use postorder.
20012         * posix/bug-regex31.c: New file.
20013         * posix/Makefile: Add rules to build and run bug-regex31.
20015         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20017         [BZ #12078]
20018         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20020         [BZ #12108]
20021         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20022         to have entries in sys_siglist.
20024         [BZ #12093]
20025         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20026         be NULL.
20028 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
20030         [BZ #3268]
20031         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20032         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20033         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20034         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20035         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20036         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20037         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20038         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20039         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20040         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20041         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20042         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20043         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20044         * math/ftestexcept.c (fetestexcept): Likewise.
20045         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20046         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20047         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20048         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20049         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20050         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20051         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20053 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
20055         [BZ #12107]
20056         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20057         newline.
20059 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
20061         * string/bug-strstr1.c: New file.
20062         * string/Makefile: Add rules to build and run bug-strstr1.
20064 2010-10-05  Eric Blake  <eblake@redhat.com>
20066         [BZ #12092]
20067         * string/str-two-way.h (two_way_long_needle): Always clear memory
20068         when skipping input due to the shift table.
20070 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
20072         [BZ #12005]
20073         * malloc/mcheck.c: Handle large requests.
20075         [BZ #12077]
20076         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20077         for strncmp and strncasecmp.
20078         * string/stratcliff.c: Add tests for strcmp and strncmp.
20079         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20081 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20083         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20084         __set_fpscr.
20086 2010-09-30  Andreas Jaeger  <aj@suse.de>
20088         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20089         (CGROUP_SUPER_MAGIC): Define.
20090         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20091         Handle btrfs and cgroup file systems.
20092         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20093         Likewise.
20095 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
20097         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20098         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20100 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20102         [BZ #12067]
20103         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20104         trying to locate the ELF header.
20106 2010-09-27  Andreas Schwab  <schwab@redhat.com>
20108         [BZ #11611]
20109         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20110         Mask out sign-bit copies when constructing f_fsid.
20112 2010-09-24  Petr Baudis <pasky@suse.cz>
20114         * debug/stack_chk_fail_local.c: Add missing licence exception.
20115         * debug/warning-nop.c: Likewise.
20117 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
20119         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20120         implementing getdents64 using getdents syscall, set d_type if
20121         __ASSUME_GETDENTS32_D_TYPE.
20123 2010-09-16  Andreas Schwab  <schwab@redhat.com>
20125         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20126         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20128 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
20130         [BZ #12037]
20131         * posix/unistd.h: Undo change of feature selection for ftruncate from
20132         2010-01-11.
20134 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
20136         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
20137         detection.
20139 2010-09-20  Andreas Schwab  <schwab@redhat.com>
20141         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20142         fanotify_mark.
20143         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20145 2010-09-14  Andreas Schwab  <schwab@redhat.com>
20147         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20148         variables after CHECK_SP call.
20149         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20151 2010-09-13  Andreas Schwab  <schwab@redhat.com>
20152             Ulrich Drepper  <drepper@redhat.com>
20154         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20155         re-relocationg ld.so.
20156         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20157         _dl_init_paths call.
20158         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
20159         here anymore.
20161 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
20163         * resolv/res_init.c (__res_vinit): Count the default server we added.
20165 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
20166             Ulrich Drepper  <drepper@redhat.com>
20168         [BZ #11968]
20169         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20170         (____longjmp_chk): Use %ebx for saving value across system call.
20171         Add unwind info.
20173 2010-09-06  Andreas Schwab  <schwab@redhat.com>
20175         * manual/Makefile: Don't mix pattern rules with normal rules.
20177 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20179         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20180         operation.
20181         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20182         * libio/iofopncook.c (_IO_cookie_init): Likewise.
20183         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20184         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20185         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20186         Likewise.
20188 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
20190         [BZ #11979]
20191         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20192         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20194 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
20196         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20197         * sysdeps/x86_64/addmul_1.S: Likewise.
20198         * sysdeps/x86_64/lshift.S: Likewise.
20199         * sysdeps/x86_64/mul_1.S: Likewise.
20200         * sysdeps/x86_64/rshift.S: Likewise.
20201         * sysdeps/x86_64/sub_n.S: Likewise.
20202         * sysdeps/x86_64/submul_1.S: Likewise.
20204 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20206         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20207         Define __sched_param instead of SCHED_* and sched_param when
20208         <bits/sched.h> is included with __need_schedparam defined.
20209         * bits/sched.h [__need_schedparam]
20210         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
20211         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20212         (__defined_schedparam): Define to 1.
20213         (__sched_param): New structure, identical to sched_param.
20214         (__need_schedparam): Undefine.
20216 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
20218         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20219         (epoll_create1): Declare.
20221         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20223 2010-08-31  Andreas Schwab  <schwab@redhat.com>
20225         [BZ #7066]
20226         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20227         shifting retval into place.
20229 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
20231         * nis/rpcsvc/nis.h: Update copyright notice.
20232         * nis/rpcsvc/nis.x: Likewise.
20233         * nis/rpcsvc/nis_callback.h: Likewise.
20234         * nis/rpcsvc/nis_callback.x: Likewise.
20235         * nis/rpcsvc/nis_object.x: Likewise.
20236         * nis/rpcsvc/nis_tags.h: Likewise.
20237         * nis/rpcsvc/yp.h: Likewise.
20238         * nis/rpcsvc/yp.x: Likewise.
20239         * nis/rpcsvc/ypupd.h: Likewise.
20240         * nis/yp_xdr.c: Likewise.
20241         * nis/ypupdate_xdr.c: Likewise.
20243         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
20244         mainly the body of pmap_getport.  Add parameters to specify timeouts.
20245         (pmap_getport): Use __libc_rpc_getport.
20246         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20247         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20248         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20250 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
20252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20253         fanotify_mark.
20255 2010-08-27  Roland McGrath  <roland@redhat.com>
20257         * sysdeps/i386/i686/multiarch/Makefile
20258         (CFLAGS-varshift.c): New variable.
20260 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
20262         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20263         * sysdeps/i386/i686/multiarch/varshift.c: New file.
20265         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20267         * sysdeps/x86_64/strlen.S: Minimal code improvement.
20269 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
20271         * sysdeps/x86_64/strlen.S: Unroll the loop.
20272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20273         strlen-sse2 strlen-sse2-bsf.
20274         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20275         __strlen_no_bsf if bit_Slow_BSF is set.
20276         (__strlen_sse42): Removed.
20277         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20278         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20280 2010-08-25  Roland McGrath  <roland@redhat.com>
20282         * sysdeps/x86_64/multiarch/varshift.S: File removed.
20283         * sysdeps/x86_64/multiarch/varshift.c: New file.
20284         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20285         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20286         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20287         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20289 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
20291         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20292         strlen-sse2 strlen-sse2-bsf.
20293         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20294         __strlen_sse2_bsf if bit_Slow_BSF is unset.
20295         (__strlen_sse2): Removed.
20296         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20297         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20299         bit_Slow_BSF for Atom.
20300         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20301         (index_Slow_BSF): Define.
20302         (HAS_SLOW_BSF): Define.
20304 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
20306         [BZ #10851]
20307         * resolv/res_init.c (__res_vinit): When no server address at all
20308         is given default to loopback.
20310 2010-08-24  Roland McGrath  <roland@redhat.com>
20312         * configure.in: Remove config-name.h generation.
20313         * configure: Regenerated.
20314         * config-name.in: File removed.
20315         * scripts/config-uname.sh: New file.
20316         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20317         ($(objdir)config-name.h): New target.
20319         * sunrpc/rpc_parse.h: Avoid nested comment.
20321 2010-08-24  Richard Henderson  <rth@redhat.com>
20322             Ulrich Drepper  <drepper@redhat.com>
20323             H.J. Lu  <hongjiu.lu@intel.com>
20325         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20327         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20328         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
20329         _mm_alignr_epi8 with _mm_loadu_si128.
20330         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20331         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20332         (__m128i_shift_right): Removed.
20333         * sysdeps/i386/i686/multiarch/varshift.h: New file.
20334         * sysdeps/i386/i686/multiarch/varshift.S: New file.
20335         * sysdeps/x86_64/multiarch/varshift.h: New file.
20336         * sysdeps/x86_64/multiarch/varshift.S: New file.
20338 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
20340         * configure.in: Move assembler checks to before sysdep dir checking.
20342 2010-08-20  Petr Baudis  <pasky@suse.cz>
20344         * LICENSES: Sync the sunrpc license.
20346 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
20348         * sunrpc/auth_des.c: Update copyright notice once again.
20349         * sunrpc/auth_none.c: Likewise.
20350         * sunrpc/auth_unix.c: Likewise.
20351         * sunrpc/authdes_prot.c: Likewise.
20352         * sunrpc/authuxprot.c: Likewise.
20353         * sunrpc/bindrsvprt.c: Likewise.
20354         * sunrpc/clnt_gen.c: Likewise.
20355         * sunrpc/clnt_perr.c: Likewise.
20356         * sunrpc/clnt_raw.c: Likewise.
20357         * sunrpc/clnt_simp.c: Likewise.
20358         * sunrpc/clnt_tcp.c: Likewise.
20359         * sunrpc/clnt_udp.c: Likewise.
20360         * sunrpc/clnt_unix.c: Likewise.
20361         * sunrpc/des_crypt.c: Likewise.
20362         * sunrpc/des_soft.c: Likewise.
20363         * sunrpc/get_myaddr.c: Likewise.
20364         * sunrpc/getrpcport.c: Likewise.
20365         * sunrpc/key_call.c: Likewise.
20366         * sunrpc/key_prot.c: Likewise.
20367         * sunrpc/openchild.c: Likewise.
20368         * sunrpc/pm_getmaps.c: Likewise.
20369         * sunrpc/pm_getport.c: Likewise.
20370         * sunrpc/pmap_clnt.c: Likewise.
20371         * sunrpc/pmap_prot.c: Likewise.
20372         * sunrpc/pmap_prot2.c: Likewise.
20373         * sunrpc/pmap_rmt.c: Likewise.
20374         * sunrpc/rpc/auth.h: Likewise.
20375         * sunrpc/rpc/auth_unix.h: Likewise.
20376         * sunrpc/rpc/clnt.h: Likewise.
20377         * sunrpc/rpc/des_crypt.h: Likewise.
20378         * sunrpc/rpc/key_prot.h: Likewise.
20379         * sunrpc/rpc/netdb.h: Likewise.
20380         * sunrpc/rpc/pmap_clnt.h: Likewise.
20381         * sunrpc/rpc/pmap_prot.h: Likewise.
20382         * sunrpc/rpc/pmap_rmt.h: Likewise.
20383         * sunrpc/rpc/rpc.h: Likewise.
20384         * sunrpc/rpc/rpc_des.h: Likewise.
20385         * sunrpc/rpc/rpc_msg.h: Likewise.
20386         * sunrpc/rpc/svc.h: Likewise.
20387         * sunrpc/rpc/svc_auth.h: Likewise.
20388         * sunrpc/rpc/types.h: Likewise.
20389         * sunrpc/rpc/xdr.h: Likewise.
20390         * sunrpc/rpc_clntout.c: Likewise.
20391         * sunrpc/rpc_cmsg.c: Likewise.
20392         * sunrpc/rpc_common.c: Likewise.
20393         * sunrpc/rpc_cout.c: Likewise.
20394         * sunrpc/rpc_dtable.c: Likewise.
20395         * sunrpc/rpc_hout.c: Likewise.
20396         * sunrpc/rpc_main.c: Likewise.
20397         * sunrpc/rpc_parse.c: Likewise.
20398         * sunrpc/rpc_parse.h: Likewise.
20399         * sunrpc/rpc_prot.c: Likewise.
20400         * sunrpc/rpc_sample.c: Likewise.
20401         * sunrpc/rpc_scan.c: Likewise.
20402         * sunrpc/rpc_scan.h: Likewise.
20403         * sunrpc/rpc_svcout.c: Likewise.
20404         * sunrpc/rpc_tblout.c: Likewise.
20405         * sunrpc/rpc_util.c: Likewise.
20406         * sunrpc/rpc_util.h: Likewise.
20407         * sunrpc/rpcinfo.c: Likewise.
20408         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20409         * sunrpc/rpcsvc/key_prot.x: Likewise.
20410         * sunrpc/rpcsvc/klm_prot.x: Likewise.
20411         * sunrpc/rpcsvc/mount.x: Likewise.
20412         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20413         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20414         * sunrpc/rpcsvc/rex.x: Likewise.
20415         * sunrpc/rpcsvc/rstat.x: Likewise.
20416         * sunrpc/rpcsvc/rusers.x: Likewise.
20417         * sunrpc/rpcsvc/sm_inter.x: Likewise.
20418         * sunrpc/rpcsvc/spray.x: Likewise.
20419         * sunrpc/rpcsvc/yppasswd.x: Likewise.
20420         * sunrpc/rtime.c: Likewise.
20421         * sunrpc/svc.c: Likewise.
20422         * sunrpc/svc_auth.c: Likewise.
20423         * sunrpc/svc_authux.c: Likewise.
20424         * sunrpc/svc_raw.c: Likewise.
20425         * sunrpc/svc_run.c: Likewise.
20426         * sunrpc/svc_simple.c: Likewise.
20427         * sunrpc/svc_tcp.c: Likewise.
20428         * sunrpc/svc_udp.c: Likewise.
20429         * sunrpc/svc_unix.c: Likewise.
20430         * sunrpc/svcauth_des.c: Likewise.
20431         * sunrpc/xcrypt.c: Likewise.
20432         * sunrpc/xdr.c: Likewise.
20433         * sunrpc/xdr_array.c: Likewise.
20434         * sunrpc/xdr_float.c: Likewise.
20435         * sunrpc/xdr_mem.c: Likewise.
20436         * sunrpc/xdr_rec.c: Likewise.
20437         * sunrpc/xdr_ref.c: Likewise.
20438         * sunrpc/xdr_sizeof.c: Likewise.
20439         * sunrpc/xdr_stdio.c: Likewise.
20441         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20442         handling.
20444 2010-08-19  Andreas Schwab  <schwab@redhat.com>
20446         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20448 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
20450         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20451         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20452         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20453         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20454         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20455         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20456         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20457         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20458         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20459         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20460         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20461         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20462         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20463         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20465 2010-07-26  Anton Blanchard  <anton@samba.org>
20467         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20468         * malloc/arena.c (heap_trim): Likewise.
20470 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
20472         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20473         here.  Not...
20474         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20475         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20477 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20479         * sysdeps/i386/elf/Makefile: New file.
20481 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
20483         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20484         from fanotify_init.
20485         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20486         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20488 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
20490         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20491         of strncasecmp_l.
20492         * sysdeps/multiarch/strcmp.S: Likewise.
20494 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
20496         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20497         strncase_l-nonascii.
20498         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20499         Add strncase_l-ssse3.
20500         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20501         * sysdeps/x86_64/strcmp.S: Likewise.
20502         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20503         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20504         * sysdeps/x86_64/strncase.S: New file.
20505         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20506         * sysdeps/x86_64/strncase_l.S: New file.
20507         * string/Makefile (strop-tests): Add strncasecmp.
20508         * string/test-strncasecmp.c: New file.
20510         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20511         warning.
20513         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20514         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20516 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
20518         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20520 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
20522         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20523         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20524         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20526 2010-05-01  Alan Modra  <amodra@gmail.com>
20528         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20529         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20530         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20531         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20532         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20533         tidying.  Don't tail-call __sigjmp_save for static lib.
20534         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20535         save location.
20536         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20537         (CALL_MCOUNT): Add eh info, and nop after bl.
20538         (TAIL_CALL_SYSCALL_ERROR): New macro.
20539         (PSEUDO_RET): Use it.
20540         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20541         Correct save location of integer regs and cr.
20542         (_dl_profile_resolve): Correct cr save location.  Delete nops
20543         after bl when SHARED.  Reduce cfi size a little by better
20544         placement of cfi directives.
20545         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20546         make a stack frame.  Instead use parm save area as a temp.
20547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20548         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
20549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20550         Don't make a stack frame for parent, use parm save area.
20551         Increase child stack frame to 112 bytes.  Don't save unused reg,
20552         and adjust reg usage.  Set up cfi on error recovery and
20553         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20555         (__makecontext): Add dummy nop after jump to exit.
20556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20557         Use correct parm save area and cr save, reduce stack frame.
20558         Correct cfi for possible PSEUDO_RET frame setup.
20559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20560         Branch to local label emitted by PSEUDO_RET rather than
20561         __syscall_error.
20563 2010-08-12  Andreas Schwab  <schwab@redhat.com>
20565         [BZ #11904]
20566         * locale/programs/locale.c (print_assignment): New function.
20567         (show_locale_vars): Use it.
20569 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
20571         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20572         field.
20573         (struct statfs64): Likewise.
20574         (_STATFS_F_FLAGS): Define.
20575         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20576         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20577         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20578         (ST_VALID): Define locally.
20579         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20580         __statvfs_getflags, use the provided value.
20581         * sysdeps/unix/sysv/linux/kernel-features.h: Define
20582         __ASSUME_STATFS_F_FLAGS.
20584         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20586         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20587         Add sys/fanotify.h.
20588         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20589         fanotify_mask for GLIBC_2.13.
20590         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20591         fanotify_init and fanotify_mark.
20592         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20593         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20595         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20596         Add prlimit.
20597         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20598         prlimit64 for GLIBC_2.13.
20599         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20600         prlimit64.
20601         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20602         syscall.
20603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20604         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20605         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20606         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20607         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
20608         add prlimit alias.
20609         * sysdeps/unix/sysv/linux/prlimit.c: New file.
20611         [BZ #11903]
20612         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20613         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20615         * nss/Makefile: Add rules to build and run tst-nss-test1.
20616         * shlib-versions: Add entry for libnss_test1.
20617         * nss/nss_test1.c: New file.
20618         * nss/tst-nss-test1.c: New file.
20620         * nss/nsswitch.c (__nss_database_custom): Define new variable.
20621         (__nss_configure_lookup): Set appropriate entry in
20622         __nss_configure_lookup to true.
20623         * nss/nsswitch.h: Define enum with indeces of databases in
20624         databases and __nss_database_custom arrays.  Declare
20625         __nss_database_custom.
20626         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20627         to avoid using nscd when custom rules are installed.
20628         * nss/getXXbyYY_r.c: Likewise.
20629         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20631         * nss/nss_files/files-parse.c: Whitespace fixes.
20633 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
20635         [BZ #11883]
20636         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20637         * posix/fnmatch_loop.c: Likewise.
20639 2010-07-17  Andi Kleen  <ak@linux.intel.com>
20641         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20642         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20643         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20644         * Versions.def [GLIBC_2.13]: Add.
20646 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
20648         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20649         Also fail if tpwd after pwuid call is NULL.
20651 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20653         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20654         when converting to ms.
20656 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20658         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20659         EOPNOTSUPP errors with ENOTTY.
20660         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20661         EOPNOTSUPP errors with ENOTTY.
20663 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
20665         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20666         Add strcasecmp_l-ssse3.
20667         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20668         strcasecmp.
20669         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20670         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20671         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20673 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
20675         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20677         * string/Makefile (strop-tests): Add strcasecmp.
20678         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20679         strcasecmp_l-nonascii.
20680         (gen-as-const-headers): Add locale-defines.sym.
20681         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20682         * sysdeps/x86_64/strcasecmp.S: New file.
20683         * sysdeps/x86_64/strcasecmp_l.S: New file.
20684         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20685         * sysdeps/x86_64/locale-defines.sym: New file.
20686         * string/test-strcasecmp.c: New file.
20688         * string/test-strcasestr.c: Test both ends of the range of characters.
20689         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20691 2010-07-29  Roland McGrath  <roland@redhat.com>
20693         [BZ #11856]
20694         * manual/locale.texi (Yes-or-No Questions): Fix example code.
20696 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
20698         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20699         for ld.so.
20701 2010-07-27  Andreas Schwab  <schwab@redhat.com>
20703         * manual/memory.texi (Malloc Tunable Parameters): Document
20704         M_PERTURB.
20706 2010-07-26  Roland McGrath  <roland@redhat.com>
20708         [BZ #11840]
20709         * configure.in (-fgnu89-inline check): Set and substitute
20710         gnu89_inline, not libc_cv_gnu89_inline.
20711         * configure: Regenerated.
20712         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20714 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
20716         * string/test-strnlen.c: New file.
20717         * string/Makefile (strop-tests): Add strnlen.
20718         * string/tester.c (test_strnlen): Add a few more test cases.
20719         * string/tst-strlen.c: Better error reporting.
20721         * sysdeps/x86_64/strnlen.S: New file.
20723 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
20725         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20726         lower-latency instructions.
20728 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
20730         * string/test-strcasestr.c: New file.
20731         * string/test-strstr.c: New file.
20732         * string/Makefile (strop-tests): Add strstr and strcasestr.
20733         * string/str-two-way.h: Don't undefine MAX.
20734         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20736 2010-07-21  Andreas Schwab  <schwab@redhat.com>
20738         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20739         strcasestr-nonascii.
20740         (CFLAGS-strcasestr-nonascii.c): Define.
20741         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20742         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20743         Remove unused attribute.
20745 2010-07-20  Roland McGrath  <roland@redhat.com>
20747         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20748         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
20749         ld.so.cache was broken.  With it, there is no way to disable dsocaps
20750         like LD_HWCAP_MASK can disable hwcaps.
20752 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
20754         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20756 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
20758         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20759         call in strcasestr.
20760         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20761         __strcasestr_sse42_nonascii.
20762         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20763         strcasestr-nonascii.c.
20764         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20766 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
20768         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20769         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20770         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20771         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20773 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
20775         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20776         fcntl.
20778 2010-07-06  Andreas Schwab  <schwab@redhat.com>
20780         [BZ #11577]
20781         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20782         dl_signal_cerror.
20784 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
20786         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20787         _PC_PIPE_BUF using F_GETPIPE_SZ.
20789 2010-07-05  Roland McGrath  <roland@redhat.com>
20791         * manual/arith.texi (Rounding Functions): Fix rint description
20792         implicit in round description.
20794 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
20796         * elf/Makefile: Fix linking for a few tests to make recent linker
20797         happy.
20799 2010-06-30  Andreas Schwab  <schwab@redhat.com>
20801         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20802         $(common-objpfx)libc_nonshared.a.
20804 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
20806         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20807         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20808         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20809         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20810         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20811         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20812         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20813         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20828         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20829         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20830         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20831         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20832         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20833         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20834         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20835         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20836         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20837         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20838         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20839         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20855 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
20857         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20858         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
20859         * string/memmove.c (memmove): Renamed to ...
20860         (MEMMOVE): ...this.  Default to memmove.
20861         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20862         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20863         (END_CHK): Define.
20864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20865         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20866         mempcpy-ssse3-back memmove-ssse3-back.
20867         * sysdeps/x86_64/multiarch/bcopy.S: New file .
20868         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20869         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20870         * sysdeps/x86_64/multiarch/memcpy.S: New file.
20871         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20872         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20873         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20874         * sysdeps/x86_64/multiarch/memmove.c: New file.
20875         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20876         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20877         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20878         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20879         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20880         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20881         Define.
20882         (index_Fast_Copy_Backward): Define.
20883         (HAS_ARCH_FEATURE): Define.
20884         (HAS_FAST_REP_STRING): Define.
20885         (HAS_FAST_COPY_BACKWARD): Define.
20887 2010-06-21  Andreas Schwab  <schwab@redhat.com>
20889         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20890         Restore proper fallback handling.
20892 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
20894         [BZ #11701]
20895         * posix/group_member.c (__group_member): Correct checking loop.
20897         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20898         OOM in getpwuid_r correctly.  Return error number when the caller
20899         should return, otherwise -1.
20900         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20901         call returning > 0 value.
20902         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20904 2010-06-07  Andreas Schwab  <schwab@redhat.com>
20906         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20907         libc_nonshared.a from targets in modules-names.
20909 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
20911         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20912         requires it.
20914 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
20916         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20917         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20918         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20919         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20921 2010-06-02  Andreas Schwab  <schwab@redhat.com>
20923         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20925 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
20927         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20928         and F_GETPIPE_SZ.
20929         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20930         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20931         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20932         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20933         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20934         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20936 2010-06-14  Roland McGrath  <roland@redhat.com>
20938         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20940 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
20942         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20943         __REDIRECT followed by __THROW.
20944         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20945         * posix/getopt.h (getopt): Likewise.
20947 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
20949         * hurd/lookup-at.c (__file_name_lookup_at): Accept
20950         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
20951         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20952         in AT_FLAGS.
20953         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20954         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20956 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
20958         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20960 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
20962         [BZ #11640]
20963         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20964         Properly check family and model.
20966 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
20968         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20970 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
20972         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20974 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
20976         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20977         symbol reference.
20979 2010-05-19  Andreas Schwab  <schwab@redhat.com>
20981         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20982         symbol reference.
20984 2010-05-21  Andreas Schwab  <schwab@redhat.com>
20986         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20987         and internal_recvmmsg.
20988         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20989         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20990         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20991         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20993         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20994         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20995         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20997 2010-05-20  Andreas Schwab  <schwab@redhat.com>
20999         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21001 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
21003         POWER7 optimizations.
21004         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21005         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21007 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
21009         * version.h: Update for 2.13 development version.
21011 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
21013         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21014         exceptions.  Return 0.
21016 2010-05-07  Roland McGrath  <roland@redhat.com>
21018         * elf/ldconfig.c (main): Add a const.
21020 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
21022         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21023         (args_options): Add no-idn option.
21024         (ahosts_keys_int): Add idn_flags to ai_flags.
21025         (parse_option): Handle 'i' option to clear idn_flags.
21027         * malloc/malloc.c (_int_free): Possible race in the most recently
21028         added check.  Only act on the data if no current modification
21029         happened.
21031 See ChangeLog.17 for earlier changes.