Fix botched NEWS
[glibc.git] / ChangeLog
blobc69a7c4c6f100d9607fe08c33d294558bd104cc8
1 2012-09-05  David S. Miller  <davem@davemloft.net>
3         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9         entries.
11 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13         * malloc/arena.c: Fold copyright years.
14         * malloc/mcheck.c, malloc/memusage.c: Likewise.
16 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
24 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27         change internal state upon failure.
29 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31         * malloc/mcheck.c (mcheck_check_all): Fix typo.
32         * malloc/memusage.c (mmap): Likewise.
33         (mmap64, mremap): Likewise.  Adjust name in comment.
35 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37         * libio/fileops.c: Fix typos in comments.
38         * libio/oldfileops.c: Likewise.
39         * libio/wfileops.c: Likewise.
41 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43         [BZ #1349]
44         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45         (tst-malloc-usable-ENV): Set environment for test case.
46         * malloc/hooks.c (malloc_check_get_size): New function to get
47         requested size.
48         * malloc/malloc.c (musable): Use malloc_check_get_size.
49         * malloc/tst-malloc-usable.c: New test case.
51 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
55 2012-09-05  Allan McRae  <allan@archlinux.org>
57         [BZ #13966]
58         * configure.in (CXX_SYSINCLUDES): Use compiler output to
59         determine header location.
60         * configure: Regenerated.
62 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
65         float format.
66         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
67         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
68         format.
69         (test): Regenerate.
71 2012-09-04  David S. Miller  <davem@davemloft.net>
73         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
74         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
75         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77 2012-09-04  Florian Weimer  <fweimer@redhat.com>
79         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
80         failures.
82         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
84 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
86         [BZ #9914]
87         * libio/iogetdelim.c: Include <limits.h>.
88         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
89         + len + 1 would overflow.
91 2012-09-03  Andreas Jaeger  <aj@suse.de>
93         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
94         * sysdeps/i386/fpu/libm-test-ulps: Update.
96 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
98         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
99         Add s_sinf-sse2, s_conf-sse2.
101         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
102         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
103         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
104         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
106         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
107         for using routine as __sinf_ia32.
108         Use macro for function declaration and weak_alias.
109         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
110         for using routine as __cosf_ia32.
111         Use macro for function declaration and weak_alias.
113         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
114         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
116         * sysdeps/x86_64/fpu/s_sinf.S: New file.
117         * sysdeps/x86_64/fpu/s_cosf.S: New file.
118         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
120         * math/libm-test.inc (cos_test): Add more test cases.
121         (sin_test): Likewise.
122         (sincos_test): Likewise.
124 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
126         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
127         (IFUNC_RESOLVE): Make pointers to the specialized implementations
128         hidden.
129         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
131 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
133         [BZ #14538]
134         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
135         first element of the GOT.
136         (elf_machine_load_address): Return the difference between
137         the runtime address of _DYNAMIC and elf_machine_dynamic ().
139 2012-09-01  Allan McRae  <allan@archlinux.org>
141         [BZ #13412]
142         * configure.in (AWK): Require gawk version 3.0 or later.
143         * configure: Regenerated.
145 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
147         * sysdeps/unix/sysv/linux/kernel-features.h
148         (__ASSUME_POSIX_CPU_TIMERS): Remove.
149         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
150         [__NR_clock_getres]: Make code unconditional.
151         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
152         (clock_getcpuclockid): Remove code left unreachable by removal of
153         conditionals.
154         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
155         code unconditional.
156         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
157         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
158         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
159         Make code unconditional.
160         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
161         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
162         * sysdeps/unix/sysv/linux/clock_settime.c
163         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
164         conditional code.
165         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
166         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
168 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
170         [BZ #14476]
171         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
172         scripts/test-installation.pl.
174         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
175         and $ld_so_version if it is set.
177 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
179         [BZ #14516]
180         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
181         failure if reading from procfs failed.
182         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
184 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
186         * sysdeps/unix/sysv/linux/kernel-features.h
187         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
188         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
189         Remove conditional code.
190         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
191         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
192         Remove conditional code.
193         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
194         * sysdeps/unix/sysv/linux/i386/fxstat.c
195         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
196         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
197         * sysdeps/unix/sysv/linux/i386/fxstatat.c
198         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
199         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
200         * sysdeps/unix/sysv/linux/i386/lxstat.c
201         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
202         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
203         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
204         Remove conditional code.
205         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
206         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
207         Remove conditional code.
208         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
209         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
210         <kernel-features.h>.
211         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
212         Remove.
213         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
214         Remove conditional code.
215         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
216         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
217         Remove conditional.
219 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
221         [BZ #5400]
222         * NEWS: Add fixed bug number.
224 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
226         [BZ #14519]
227         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
228         underflowing exponent in case of negative sign.
229         * stdlib/tst-strtod-round-data: Add more tests.
230         * stdlib/tst-strtod-round.c (tests): Regenerated.
232         [BZ #3479]
233         * stdlib/strtod_l.c (NDIG): Remove.
234         (HEXNDIG): Likewise.
235         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
236         smallest representable value.
237         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
238         lie within an exact representation of 1/2 ulp of the result.
239         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
240         unconditionally.
241         (TENS_P9_IDX): Define unconditionally.
242         (TENS_P9_SIZE): Likewise.
243         (TENS_P10_IDX): Likewise.
244         (TENS_P10_SIZE): Likewise.
245         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
246         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
247         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
248         entries for 10^2^13 and 10^2^14.
249         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
250         (TENS_P13_IDX): Define.
251         (TENS_P13_SIZE): Likewise.
252         (TENS_P14_IDX): Likewise.
253         (TENS_P14_SIZE): Likewise.
254         (_fpioconst_pow10): Change array size to
255         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
256         unconditional.
257         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
258         1024]: Add entries for 10^2^13 and 10^2^14.
259         [LAST_POW10 > _LAST_POW10]: Remove #error.
260         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
261         (_fpioconst_pow10): Change array size to
262         FPIOCONST_POW10_ARRAY_SIZE.
263         * stdlib/gen-fpioconst.c: New file.
264         * stdlib/gen-tst-strtod-round.c: Likewise.
265         * stdlib/tst-strtod-round-data: Likewise.
266         * stdlib/tst-strtod-round.c: Likewise.
267         * stdlib/Makefile (tests): Add tst-strtod-round.
269         [BZ #14459]
270         * stdlib/strtod_l.c: Include <stdint.h>.
271         (NDEBUG): Do not define.
272         (round_and_return): Change EXPONENT parameter to type intmax_t.
273         Rearrange calculations to avoid internal overflow possibilities.
274         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
275         Rearrange calculations to avoid internal overflow possibilities.
276         Assert that number fits inside MPNSIZE limbs.
277         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
278         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
279         calculations and add assertions to avoid internal overflow
280         possibilities.  Add casts to avoid signed/unsigned operations.
281         * stdlib/tst-strtod-overflow.c: New file.
282         * stdlib/Makefile (tests): Add tst-strtod-overflow.
284 2012-08-25  Marek Polacek  <polacek@redhat.com>
286         * time/time.h: Fix some typos in comments.
288 2012-08-23  Roland McGrath  <roland@hack.frob.com>
290         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
291         * posix/tst-rfc3484-2.c: Likewise.
292         * posix/tst-rfc3484-3.c: Likewise.
294 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
296         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
297         (EF_ARM_ABI_FLOAT_HARD): Likewise.
299 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
301         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
302         #include of fxstatat64.c.
304 2012-08-22  Roland McGrath  <roland@hack.frob.com>
306         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
307         * shadow/getspent_r.c: Likewise.
308         * shadow/getspnam.c: Likewise.
309         * shadow/getspnam_r.c: Likewise.
310         * gshadow/getsgent.c: Likewise.
311         * gshadow/getsgent_r.c: Likewise.
312         * gshadow/getsgnam.c: Likewise.
313         * gshadow/getsgnam_r.c: Likewise.
314         * inet/getnetbyad.c: Likewise.
315         * inet/getnetbyad_r.c: Likewise.
316         * inet/getnetbynm.c: Likewise.
317         * inet/getnetbynm_r.c: Likewise.
318         * inet/getnetent.c: Likewise.
319         * inet/getnetent_r.c: Likewise.
320         * inet/getproto.c: Likewise.
321         * inet/getproto_r.c: Likewise.
322         * inet/getprtent.c: Likewise.
323         * inet/getprtent_r.c: Likewise.
324         * inet/getprtname.c: Likewise.
325         * inet/getprtname_r.c: Likewise.
326         * inet/getrpcbyname.c: Likewise.
327         * inet/getrpcbyname_r.c: Likewise.
328         * inet/getrpcbynumber.c: Likewise.
329         * inet/getrpcbynumber_r.c: Likewise.
330         * inet/getrpcent.c: Likewise.
331         * inet/getrpcent_r.c: Likewise.
332         * inet/getaliasent.c: Likewise.
333         * inet/getaliasent_r.c: Likewise.
334         * inet/getaliasname.c: Likewise.
335         * inet/getaliasname_r.c: Likewise.
336         * nscd/getgrgid_r.c: Likewise.
337         * nscd/getgrnam_r.c: Likewise.
338         * nscd/gethstbyad_r.c: Likewise.
339         * nscd/gethstbynm3_r.c: Likewise.
340         * nscd/getpwnam_r.c: Likewise.
341         * nscd/getpwuid_r.c: Likewise.
342         * nscd/getsrvbynm_r.c: Likewise.
343         * nscd/getsrvbypt_r.c: Likewise.
344         * nscd/gai.c: Likewise.
346         * configure.in (build_nscd): New substituted variable, set
347         by --disable-build-nscd and defaults to $use_nscd.
348         * configure: Regenerated.
349         * config.make.in (build-nscd): New substituted variable.
350         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
351         Change conditional to require [$(build-nscd) = yes] as well.
352         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
354         [BZ# 13696]
355         * configure.in (use_nscd): New substituted variable, set by
356         --disable-nscd.  If enabled, define USE_NSCD.
357         * configure: Regenerated.
358         * config.h.in: Add USE_NSCD.
359         * config.make.in (use-nscd): New substituted variable.
360         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
361         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
362         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
363         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
364         (CFLAGS-getgrnam_r.c): Likewise.
365         (CFLAGS-initgroups.c): Likewise.
366         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
367         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
368         Variables removed.
369         * inet/getnetgrent_r.c
370         (nscd_setnetgrent): New function, broken out of ...
371         (setnetgrent): ... here.  Call it.
372         (innetgr): Conditionalize nscd bits on [USE_NSCD].
373         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
374         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
375         * nscd/Makefile (routines, aux): Move definitions after include of
376         Makeconfig.  Conditionalize on [$(use-nscd) != no].
377         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
378         Conditionalize on [USE_NSCD].
379         (is_nscd, nscd_init_cb): Likewise.
380         (nss_load_library): Conditionalize init callback on [USE_NSCD].
381         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
382         * nss/nss_db/db-init.c: Likewise.
383         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
384         [USE_NSCD].
385         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
386         (make_request): Use it.
387         (cache_valid_p): New function.
388         (__check_pf): Use it.
389         * NEWS: Add item for --disable-nscd.
391 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
393         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
394         to support sed >= 4.2.1-20-ga9bf076.
395         * configure: Regenerated.
397 2012-08-22  Roland McGrath  <roland@hack.frob.com>
399         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
400         Conditionalize whole body on [IREL].
402 2012-08-22  Jeff Law <law@redhat.com>
404         [BZ #14505]
405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
406         if the family is PF_UNSPEC.
408 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
410         * Makerules (lib-version): Rename from V.
411         (install-lib-nosubdir): Change V to lib-version.
413 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
415         [BZ #14252]
416         * powerpc32/power6/wcschr.c: New file.
417         * powerpc32/power6/wcscpy.c: New file.
418         * powerpc32/power6/wcsrchr.c: New file.
419         * powerpc64/power6/wcschr.c: New file.
420         * powerpc64/power6/wcscpy.c: New file.
421         * powerpc64/power6/wcsrchr.c: New file.
423 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
425         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
426         (two_way_short_needle): Use it.
427         * string/strstr.c (AVAILABLE1_USES_J): Define.
428         * string/strcasestr.c: Likewise.
430         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
431         array references.
432         * string/strcasestr.c (TOLOWER): Make side-effect safe.
434         [BZ #11607]
435         * NEWS: Add an entry.
436         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
437         define their defaults.
438         (two_way_short_needle): Detect end-of-string on-the-fly.
439         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
440         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
441         * string/bug-strcasestr1.c: New test.
442         * string/Makefile: Run it.
444 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
446         [BZ #11607]
447         * string/str-two-way.h (two_way_short_needle): Optimize matching of
448         the first character.
450 2012-08-21  Roland McGrath  <roland@hack.frob.com>
452         * csu/elf-init.c (__libc_csu_irel): Function removed.
453         * csu/libc-start.c (apply_irel): New function.
454         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
456 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
458         * sysdeps/unix/sysv/linux/kernel-features.h
459         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
460         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
461         <kernel-features.h>.
462         [__NR_fadvise64_64]: Make code unconditional.
463         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
464         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
465         !__NR_fadvise64_64)]: Likewise.
466         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
467         !__NR_fadvise64_64))]: Likewise.
468         [__NR_fadvise64]: Make code unconditional.
469         [!__NR_fadvise64]: Remove conditional code.
470         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
471         <kernel-features.h>.
472         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
473         unconditional.
474         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
475         conditional code.
476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
477         not include <kernel-features.h>.
478         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
479         unconditional.
480         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
481         conditional code.
482         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
483         include <kernel-features.h>.
484         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
485         unconditional.
486         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
487         conditional code.
489 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
491         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
492         slight instruction rearrangements per scrollpipe analysis.
493         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
495 2012-08-20  Roland McGrath  <roland@hack.frob.com>
497         * manual/syslog.texi (syslog; vsyslog, closelog):
498         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
499         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
501         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
502         DSOCAPS to match condition on defining it.
504 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
506         * sysdeps/unix/sysv/linux/kernel-features.h
507         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
509         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
510         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
512         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
513         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
515         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
516         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
518         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
519         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
521         * sysdeps/unix/sysv/linux/kernel-features.h
522         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
523         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
524         unconditional.
525         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
526         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
527         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
528         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
529         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
530         Make code unconditional.
531         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
532         (__mmap64) [!__NR_mmap2]: Likewise.
533         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
534         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
535         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
536         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
537         [__NR_mmap2]: Make code unconditional.
538         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
539         (__mmap64) [!__NR_mmap2]: Likewise.
541 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
543         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
545 2012-08-18  Andreas Jaeger  <aj@suse.de>
547         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
549 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
551         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
552         * include/unistd.h (__have_sock_cloexec): Likewise.
553         (__have_pipe2): Likewise.
554         (__have_dup3): Likewise.
556 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
558         [BZ #9685]
559         * include/unistd.h (__have_pipe2): Change define into an extern int.
560         (__have_dup3): Likewise.
561         * socket/have_sock_cloexec.c: Include fcntl.h.
562         (__have_pipe2): New variable.
563         (__have_dup3): Likewise.
565 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
567         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
569 2012-08-17  Marek Polacek  <polacek@redhat.com>
571         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
572         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
574 2012-08-17  Roland McGrath  <roland@hack.frob.com>
576         * configure.in: Add AC_SUBST for sysheaders.
577         * configure: Regenerated.
578         * config.make.in (sysheaders): New substituted variable.
580         * sysdeps/unix/mkfifo.c: Moved ...
581         * sysdeps/posix/mkfifo.c: ... here.
582         * sysdeps/unix/mkfifoat.c: Moved ...
583         * sysdeps/posix/mkfifoat.c: ... here.
585         * sysdeps/unix/utime.c: Moved ...
586         * sysdeps/posix/utime.c: ... here.
588         * sysdeps/unix/time.c: Moved ...
589         * sysdeps/posix/time.c: ... here.
590         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
591         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
593         * sysdeps/unix/nice.c: Moved ...
594         * sysdeps/posix/nice.c: ... here.
596         * sysdeps/unix/alarm.c: Moved ...
597         * sysdeps/posix/alarm.c: ... here.
599         * intl/Makefile ($(codeset_mo)): Depend on the input file.
601 2012-08-17  Jeff Law <law@redhat.com>
603         * intl/Makefile (codeset_mo): New variable.
604         ($(codeset_mo)): New target.
605         (tst-codeset.out): Depend on that.  Remove explicit rule.
606         (tst-gettext3.out, tst-gettext5.out): Likewise.
607         (LOCPATH-ENV, tst-codeset-ENV): New variables.
608         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
609         * intl/tst-codeset.sh: Remove.
610         * intl/tst-gettext3.sh: Likewise.
611         * intl/tst-gettext5.sh: Likewise.
613 2012-08-17  Roland McGrath  <roland@hack.frob.com>
615         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
616         * sysdeps/unix/syscalls.list: ... here.
618         * sysdeps/posix/getaddrinfo.c
619         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
620         (gaiconf_init, gaiconf_reload): Use them.
621         [!_STATBUF_ST_NSEC]
622         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
623         Define using time_t rather than struct timespec.
625         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
626         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
627         Macros removed.
628         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
629         [!NO_THREADS].
630         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
631         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
632         Likewise.
634         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
635         __libc_cleanup_push argument.
637         * bits/param.h: New file.
638         * misc/sys/param.h: New file.
639         * include/sys/param.h: New file.
640         * misc/Makefile (headers): Add bits/param.h.
641         * sysdeps/generic/sys/param.h: File removed.
642         * sysdeps/unix/sysv/linux/bits/param.h: New file.
643         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
644         * sysdeps/mach/hurd/bits/param.h: New file.
645         * sysdeps/mach/hurd/sys/param.h: New file.
647         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
648         last change.
650         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
651         [_IO_MTSAFE_IO].
652         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
653         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
654         New macros.
656         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
657         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
658         rather than -D_IO_MTSAFE_IO conditionally.
659         * stdio-common/Makefile (CPPFLAGS): Likewise.
660         * wcsmbs/Makefile (CPPFLAGS): Likewise.
661         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
662         Use $(libio-mtsafe).
663         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
664         of -D_IO_MTSAFE_IO.
665         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
666         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
667         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
668         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
669         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
670         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
671         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
672         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
673         (CFLAGS-fread_u_chk.c): Likewise.
674         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
675         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
676         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
677         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
678         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
679         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
680         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
681         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
682         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
684         * libio/Makefile: Test [$(libc-reentrant) = yes]
685         instead of [$(filter %REENTRANT, $(defines)) nonempty].
687         * Makeconfig
688         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
689         * sysdeps/pthread/configure: File removed.
690         * sysdeps/pthread/Makeconfig: New file.
691         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
692         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
694 2012-08-16  Gary Benson  <gbenson@redhat.com>
696         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
697         unmapping the first object in a namespace.
699 2012-08-16  Roland McGrath  <roland@hack.frob.com>
701         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
702         (__internal_setnetgrent): ... this.  Add internal_function to
703         definition.  Add libc_hidden_def.
704         (setnetgrent): Update caller.
705         (internal_endnetgrent): Renamed to ...
706         (__internal_endnetgrent): ... this.  Add internal_function to
707         definition.  Add libc_hidden_def.
708         (endnetgrent): Update caller.
709         (internal_getnetgrent_r): Renamed to ...
710         (__internal_getnetgrent_r): ... this.  Add internal_function to
711         definition.  Add libc_hidden_def.
712         (__getnetgrent_r): Update caller.
713         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
715 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
717         * stdlib/longlong.h: Update from GCC.
719 2012-08-16  Roland McGrath  <roland@hack.frob.com>
721         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
722         on _QL, which is set by umul_ppmm but never used.
723         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
724         variables, which are set by GMP macros but never used.
725         * stdio-common/_itowa.c (_itowa): Likewise.
726         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
727         * stdlib/mod_1.c (mpn_mod_1): Likewise.
729 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
731         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
732         struct La_sh_regs is not constant.
733         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
734         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
735         and struct La_sparc64_regs are not constant.
737 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
739         * sysdeps/unix/sysv/linux/kernel-features.h
740         (__ASSUME_POSIX_TIMERS): Remove.
741         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
742         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
743         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
744         Make code unconditional.
745         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
746         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
747         Make code unconditional.
748         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
749         * sysdeps/unix/sysv/linux/clock_nanosleep.c
750         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
751         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
752         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
753         Make code unconditional.
754         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
755         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
756         (__libc_missing_posix_timers): Remove.
758 2012-08-15  Roland McGrath  <roland@hack.frob.com>
760         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
761         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
763         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
765         * elf/dl-sym.c: Include <stdlib.h>.
767         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
768         constants, which avoids warnings in 32-bit builds.
770         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
771         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
773         * misc/lseek.c: File moved to ...
774         * io/lseek.c: ... here.
776         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
778         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
779         shifting LEN more than 31 bits at once.
781 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
783         [BZ #14195]
784         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
785         segmentation fault for a case of two empty input strings.
786         * string/test-strncasecmp.c (check1): Renamed to...
787         (bz12205): ...this.
788         (bz14195): Add new testcase for two empty input strings and N > 0.
789         (test_main): Call new testcase, adapt for renamed function.
791 2012-08-15  Andreas Jaeger  <aj@suse.de>
793         [BZ #14090]
794         * crypt/md5test2.c: New test, based on test supplied by Serge
795         Belyshev <belyshev@depni.sinp.msu.ru>.
796         * crypt/Makefile (xtests): Add md5test-giant..
797         * crypt/Makefile ($(objpfx)md5test-giant): Add.
799 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
801         [BZ #14090]
802         * crypt/md5.c (md5_process_block): Don't assume the buffer
803         length is less than 2**32.
804         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
805         length is less than 2**64.
807 2012-08-15  Roland McGrath  <roland@hack.frob.com>
809         * string/str-two-way.h: Include <sys/param.h>.
810         (MAX): Macro removed.
812         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
813         Move #define and #undef of memmove to just before and after
814         including <string.h>.
816         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
817         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
818         and after including <string.h>.  Move declarations of
819         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
820         to before #include "string/memmove.c".
822         * include/dirent.h: Declare __getdirentries.
824         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
825         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
827 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
829         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
830         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
831         * sysdeps/i386/configure: Regenerated.
832         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
833         STABS_CURRENT_FILE, and STABS_FUN.
834         (END): Remove call to STABS_FUN_END.
835         (STABS_CURRENT_FILE1): Delete.
836         (STABS_CURRENT_FILE): Likewise.
837         (STABS_FUN): Likewise.
838         (STABS_FUN_END): Likewise.
839         (STABS_FUN2): Likewise.
840         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
841         * sysdeps/x86_64/configure: Regenerated.
843 2012-08-14  Roland McGrath  <roland@hack.frob.com>
845         * elf/dl-open.c: Include <atomic.h>.
846         * elf/dl-lookup.c: Likewise.
848 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
850         * sysdeps/unix/sysv/linux/kernel-features.h
851         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
852         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
853         unconditionally.
854         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
855         unconditionally.
856         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
857         condition on __ASSUME_CLONE_THREAD_FLAGS.
859 2012-08-14  Andreas Jaeger  <aj@suse.de>
861         * sysdeps/i386/fpu/libm-test-ulps: Update.
863 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
865         * include/atomic.h (atomic_exchange_and_add): Split into ...
866         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
867         New atomic macros.
869 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
873 2012-08-13  Jeff Law <law@redhat.com>
875         * manual/stdio.texi (snprintf): Clarify handling of the trailing
876         null byte in the output string.
878 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
880         * sysdeps/unix/sysv/linux/kernel-features.h
881         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
882         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
883         (__ASSUME_ARG_MAX_STACK_BASED): Define.
884         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
885         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
886         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
887         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
889 2012-08-09  Jeff Law <law@redhat.com>
891         [BZ #13939]
892         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
893         When avoid_arena is set, don't retry in the that arena.  Pick the
894         next one, whatever it might be.
895         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
896         (arena_lock): Pass in new parameter to arena_get2.
897         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
898         arena_get2.
899         (__libc_malloc): Unify retrying after main arena failure with
900         __libc_memalign version.
901         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
903 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
905         [BZ #14166]
906         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
907         to __redirect_strstr.
908         (__strstr_sse42): Use typeof __redirect_strstr.
909         (__strstr_ia32): Likewise.
910         (__libc_strstr): New prototype.
911         (strstr): Renamed to ...
912         (__libc_strstr): This.
913         (strstr): New strong alias of __libc_strstr.
914         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
915         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
916         __redirect_time.
917         Include <time.h>.
918         (__libc_time): New prototype.
919         (time_ifunc): Replace time with __libc_time.
920         (time): New strong alias and hidden definition of __libc_time.
921         (__GI_time): Remove strong alias.
922         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
923         Include <stddef.h>.
924         (memmove): Redefined to __redirect_memmove.
925         (__memmove_sse2): Use typeof __redirect_memmove.
926         (__memmove_ssse3): Likewise.
927         (__memmove_ssse3_back): Likewise.
928         (__libc_memmove): New prototype.
929         (memmove): Renamed to ...
930         (__libc_memmove): This.
931         (memmove): New strong alias of __libc_memmove.
933 2012-08-08  Mark Salter  <msalter@redhat.com>
935         * elf/elf.h
936         (R_MN10300_TLS_GD): Define.
937         (R_MN10300_TLS_LD): Likewise.
938         (R_MN10300_TLS_LDO): Likewise.
939         (R_MN10300_TLS_GOTIE): Likewise.
940         (R_MN10300_TLS_IE): Likewise.
941         (R_MN10300_TLS_LE): Likewise.
942         (R_MN10300_TLS_DTPMOD): Likewise.
943         (R_MN10300_TLS_DTPOFF): Likewise.
944         (R_MN10300_TLS_TPOFF): Likewise.
945         (R_MN10300_SYM_DIFF): Likewise.
946         (R_MN10300_ALIGN): Likewise.
947         (R_MN10300_NUM): Update.
949 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
951         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
952         Remove.
954 2012-08-08  Roland McGrath  <roland@hack.frob.com>
956         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
958         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
959         sysdeps/unix -> sysdeps/posix move.
960         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
962 2012-08-07      Allan McRae     <allan@archlinux.org>
964         [BZ #14303]
965         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
966         (SUNOS_CPP): Likewise.
967         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
968         not found.
969         (open_input): Call CPP using execvp.
971 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
973         * sysdeps/unix/sysv/linux/kernel-features.h
974         (__ASSUME_PROT_GROWSUPDOWN): Remove.
975         (__ASSUME_NO_CLONE_DETACHED): Likewise.
976         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
977         (__ASSUME_WAITID_SYSCALL): Likewise.
978         * sysdeps/unix/sysv/linux/dl-execstack.c
979         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
980         code unconditional.
981         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
982         conditional code.
983         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
984         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
985         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
986         code.
987         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
988         unconditional.
989         [__ASSUME_WAITID_SYSCALL]: Likewise.
990         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
992 2012-08-07  Roland McGrath  <roland@hack.frob.com>
994         * sysdeps/unix/closedir.c: Renamed to ...
995         * sysdeps/posix/closedir.c: ... here.
996         * sysdeps/unix/dirfd.c: Renamed to ...
997         * sysdeps/posix/dirfd.c: ... here.
998         * sysdeps/unix/dirstream.h: Renamed to ...
999         * sysdeps/posix/dirstream.h: ... here.
1000         * sysdeps/unix/fdopendir.c: Renamed to ...
1001         * sysdeps/posix/fdopendir.c: ... here.
1002         * sysdeps/unix/opendir.c: Renamed to ...
1003         * sysdeps/posix/opendir.c: ... here.
1004         * sysdeps/unix/readdir.c: Renamed to ...
1005         * sysdeps/posix/readdir.c: ... here.
1006         * sysdeps/unix/readdir_r.c: Renamed to ...
1007         * sysdeps/posix/readdir_r.c: ... here.
1008         * sysdeps/unix/rewinddir.c: Renamed to ...
1009         * sysdeps/posix/rewinddir.c: ... here.
1010         * sysdeps/unix/seekdir.c: Renamed to ...
1011         * sysdeps/posix/seekdir.c: ... here.
1012         * sysdeps/unix/telldir.c: Renamed to ...
1013         * sysdeps/posix/telldir.c: ... here.
1014         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1015         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1016         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1017         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1019         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1020         * bits/fcntl.h: ... here.
1022         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1023         not 0.
1024         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1025         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1026         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1027         (struct flock): Move l_start, l_len to the beginning.
1028         Use __pid_t for l_pid.
1029         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1030         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1031         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1032         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1033         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1034         [__USE_LARGEFILE64] (struct flock64): New type.
1035         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1037         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1038         * bits/dirent.h: ... here.
1040         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1041         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1043 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
1045         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1046         Change from 2.6.0 to 2.6.16.
1047         * sysdeps/unix/sysv/linux/configure: Regenerated.
1048         * sysdeps/unix/sysv/linux/kernel-features.h
1049         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1050         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1051         version.
1052         (__ASSUME_UTIMES): Likewise.
1053         (__ASSUME_CLONE_STOPPED): Remove.
1054         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1055         architectures, not kernel version.
1056         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1057         (__ASSUME_NO_CLONE_DETACHED): Likewise.
1058         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1059         (__ASSUME_WAITID_SYSCALL): Likewise.
1060         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1061         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1062         * README: State 2.6.16 as minimum Linux kernel version.  Do not
1063         refer to older versions.
1065 2012-08-06  Roland McGrath  <roland@hack.frob.com>
1067         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1068         Define alphasort64 as an alias.
1069         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1070         Define versionsort64 as an alias.
1071         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1072         Define scandir64 as an alias.
1073         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1074         Define scandirat64 as an alias.
1075         * dirent/alphasort64.c (alphasort64):
1076         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1077         * dirent/versionsort64.c: Likewise.
1078         * dirent/scandir64.c: Likewise.
1079         * dirent/scandirat64.c: Likewise.
1080         * sysdeps/wordsize-64/alphasort.c: File removed.
1081         * sysdeps/wordsize-64/alphasort64.c: File removed.
1082         * sysdeps/wordsize-64/scandir.c: File removed.
1083         * sysdeps/wordsize-64/scandir64.c: File removed.
1084         * sysdeps/wordsize-64/scandirat.c: File removed.
1085         * sysdeps/wordsize-64/scandirat64.c: File removed.
1086         * sysdeps/wordsize-64/versionsort.c: File removed.
1087         * sysdeps/wordsize-64/versionsort64.c: File removed.
1088         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1089         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1090         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1091         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1092         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1093         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1094         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1095         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1097         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1098         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1099         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1100         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1101         [defined __arch64__ || defined __sparcv9]
1102         (__INO_T_MATCHES_INO64_T): New macro.
1103         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1104         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1105         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1106         * sysdeps/unix/sysv/linux/bits/dirent.h
1107         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1108         (_DIRENT_MATCHES_DIRENT64): New macro.
1110         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1111         Define lockf64 as an alias.
1112         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1113         Define fseeko64 as an alias.
1114         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1115         Define ftello64 as an alias.
1116         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1117         Define _IO_fgetpos64 and fgetpos64 as aliases.
1118         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1119         Define _IO_fsetpos64 and fsetpos64 as aliases.
1120         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1121         Conditionalize body on this.
1122         * libio/fseeko64.c: Likewise.
1123         * libio/ftello64.c: Likewise.
1124         * libio/iofgetpos64.c: Likewise.
1125         * libio/iofsetpos64.c: Likewise.
1126         * sysdeps/wordsize-64/lockf.c: File removed.
1127         * sysdeps/wordsize-64/lockf64.c: File removed.
1128         * sysdeps/wordsize-64/fseeko.c: File removed.
1129         * sysdeps/wordsize-64/fseeko64.c: File removed.
1130         * sysdeps/wordsize-64/ftello.c: File removed.
1131         * sysdeps/wordsize-64/ftello64.c: File removed.
1132         * sysdeps/wordsize-64/iofgetpos.c: File removed.
1133         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1134         * sysdeps/wordsize-64/iofsetpos.c: File removed.
1135         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1136         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1137         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1138         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1139         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1140         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1141         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1142         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1143         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1144         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1145         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1147         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1148         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1149         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1150         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1151         [defined __arch64__ || defined __sparcv9]
1152         (__OFF_T_MATCHES_OFF64_T): New macro.
1153         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1154         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1155         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1156         (__OFF_T_MATCHES_OFF64_T): New macro.
1158 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1160         * stdlib/secure-getenv.c (__secure_getenv): Replace
1161         GLIBC_2_16 with GLIBC_2_17.
1163 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1165         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1166         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1168 2012-08-03  David S. Miller  <davem@davemloft.net>
1170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1172 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1174         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1175         Remove.
1176         (__ASSUME_CORRECT_SI_PID): Likewise.
1177         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1178         (__ASSUME_TMPFS_NAME): Likewise.
1179         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1180         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1181         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1182         (HAVE_AUX_SECURE): Make definition unconditional.
1183         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1184         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1186 2012-08-03  Roland McGrath  <roland@hack.frob.com>
1188         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1189         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1190         * sysdeps/mach/hurd/eloop-threshold.h: New file.
1191         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1192         __eloop_threshold instead of SYMLOOP_MAX.
1194         * sysdeps/generic/eloop-threshold.h: New file.
1195         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1196         of MAXSYMLINKS.
1197         * elf/chroot_canon.c (chroot_canon): Likewise.
1199 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1201         [BZ #13717]
1202         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1203         Change to 2.6.0 everywhere.
1204         * sysdeps/unix/sysv/linux/configure: Regenerated.
1205         * sysdeps/unix/sysv/linux/kernel-features.h
1206         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1207         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1208         kernel versions.
1209         (__ASSUME_POSIX_TIMERS): Define unconditionally.
1210         (__ASSUME_FUTEX_REQUEUE): Remove.
1211         (__ASSUME_STATFS64): Define unconditionally.
1212         (__ASSUME_AT_SECURE): Likewise.
1213         (__ASSUME_CORRECT_SI_PID): Likewise.
1214         (__ASSUME_TGKILL): Define without depending on kernel version for
1215         i386.
1216         (__ASSUME_UTIMES): Likewise.
1217         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1218         kernel version.
1219         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1220         (__ASSUME_TMPFS_NAME): Likewise.
1221         * README: Update reference to Linux kernel versions.
1223 2012-08-02  Marek Polacek  <polacek@redhat.com>
1225         [BZ# 14150]
1226         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
1227         libc_cv_asm_type_prefix with %.
1228         * configure: Regenerated.
1229         * include/libc-symbols.h: Remove comment about
1230         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1231         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1232         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1233         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1234         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1235         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1236         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1237         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1238         * elf/tst-unique2mod1.c: Likewise.
1239         * elf/tst-unique1mod2.c: Likewise.
1240         * elf/tst-unique1mod1.c: Likewise.
1241         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1242         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1243         Replace ASM_TYPE_DIRECTIVE with .type.
1244         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1245         * sysdeps/i386/sysdep.h: Likewise.
1246         * sysdeps/x86_64/sysdep.h: Likewise.
1247         * sysdeps/sh/sysdep.h: Likewise.
1248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1249         Do not define ASM_TYPE_DIRECTIVE.
1250         * sysdeps/powerpc/sysdep.h: Likewise.
1251         * sysdeps/powerpc/powerpc32/sysdep.h:
1252         Replace ASM_TYPE_DIRECTIVE with .type.
1253         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1254         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1255         * sysdeps/i386/fpu/e_powf.S: Likewise.
1256         * sysdeps/i386/fpu/e_expl.S: Likewise.
1257         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1258         * sysdeps/i386/fpu/e_acosh.S: Likewise.
1259         * sysdeps/i386/fpu/e_pow.S: Likewise.
1260         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1261         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1262         * sysdeps/i386/fpu/s_expm1.S: Likewise.
1263         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1264         * sysdeps/i386/fpu/e_log2.S: Likewise.
1265         * sysdeps/i386/fpu/e_log2l.S: Likewise.
1266         * sysdeps/i386/fpu/e_scalb.S: Likewise.
1267         * sysdeps/i386/fpu/e_powl.S: Likewise.
1268         * sysdeps/i386/fpu/e_log10f.S: Likewise.
1269         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1270         * sysdeps/i386/fpu/e_logl.S: Likewise.
1271         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1272         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1273         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1274         * sysdeps/i386/fpu/e_log2f.S: Likewise.
1275         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1276         * sysdeps/i386/fpu/e_log.S: Likewise.
1277         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1278         * sysdeps/i386/fpu/e_logf.S: Likewise.
1279         * sysdeps/i386/fpu/e_log10l.S: Likewise.
1280         * sysdeps/i386/fpu/e_atanh.S: Likewise.
1281         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1282         * sysdeps/i386/fpu/e_log10.S: Likewise.
1283         * sysdeps/i386/fpu/s_frexp.S: Likewise.
1284         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1285         * sysdeps/i386/fpu/s_asinh.S: Likewise.
1286         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1287         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1288         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1289         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1290         * sysdeps/i386/i686/strtok.S: Likewise.
1291         * sysdeps/i386/i386-mcount.S: Likewise.
1292         * sysdeps/i386/strtok.S: Likewise.
1293         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1294         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1295         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1296         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1297         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1298         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1299         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1300         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1301         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1302         * sysdeps/x86_64/_mcount.S: Likewise.
1303         * sysdeps/x86_64/strtok.S: Likewise.
1304         * sysdeps/sh/_mcount.S: Likewise.
1306 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1308         * libio/iofopen.c: Include <fcntl.h>.
1309         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1310         (_IO_fopen64, fopen64): Define as aliases.
1311         * libio/iofopen64.c: Include <fcntl.h>.
1312         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1313         Conditionalize body on this.
1314         * sysdeps/wordsize-64/iofopen.c: File removed.
1315         * sysdeps/wordsize-64/iofopen64.c: File removed.
1317 2012-08-01  Marek Polacek  <polacek@redhat.com>
1319         * libc/Makeconfig: Use elf in place of binfmt-subdir.
1320         Use dlfcn directly instead of a variable.
1321         (binfmt-subdir): Do not define.
1322         (dlfcn): Likewise.
1324 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
1326         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1327         Remove all definitions.
1328         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1329         <kernel-features.h>.
1330         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1331         (miss_F_GETOWN_EX): Remove all definitions.
1332         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1333         macro definition.
1334         [!__ASSUME_FCNTL64]: Remove conditional code.
1335         [__ASSUME_FCNTL64]: Make code unconditional.
1336         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1337         <kernel-features.h>.
1338         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1339         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1340         (lockf64) [__NR_fcntl64]: Make code unconditional.
1341         (lockf64) [__ASSUME_FCNTL64]: Likewise.
1343         * sysdeps/unix/sysv/linux/kernel-features.h
1344         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1345         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1346         Make code unconditional.
1347         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1348         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1350         [__NR_vfork]: Make code unconditional.
1351         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1352         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1354         [__NR_vfork]: Make code unconditional.
1355         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1356         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1358 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1360         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1361         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1363         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1364         Define mkstemp64 as an alias.
1365         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1366         Define mkstemps64 as an alias.
1367         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1368         Define mkostemp64 as an alias.
1369         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1370         Define mkostemps64 as an alias.
1371         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1372         Conditionalize body on this.
1373         * misc/mkostemp64.c: Likewise.
1374         * misc/mkostemps64.c: Likewise.
1375         * misc/mkstemps64.c: Likewise.
1376         * sysdeps/wordsize-64/mkstemp64.c: File removed.
1377         * sysdeps/wordsize-64/mkostemp64.c: File removed.
1378         * sysdeps/wordsize-64/mkostemp.c: File removed.
1379         * sysdeps/wordsize-64/mkstemp.c: File removed.
1380         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1381         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1382         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1383         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1385         [BZ #14138]
1386         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1387         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1388         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1389         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1391         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1392         compat_symbol macros from <shlib-compat.h> rather than the underlying
1393         default_symbol_version and symbol_version macros, so that DEFAULT
1394         lines in shlib-versions are respected.
1395         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1397 2012-08-01  Florian Weimer  <fweimer@redhat.com>
1399         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1400         Declare with warn_unused_result.
1401         (setgid, setregid, setegid, setresgid): Likewise.
1402         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1403         Likewise.
1404         * WUR-REPORT: Remove set*id functions.
1406 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
1408         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1410 2012-07-31  Roland McGrath  <roland@hack.frob.com>
1412         * include/sys/socket.h (__libc_accept, __libc_accept4):
1413         Add attribute_hidden.
1414         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1416         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1417         use of PTR_MANGLE.
1418         * inet/getnetgrent_r.c (setup): Likewise.
1420         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1422 2012-07-31  David S. Miller  <davem@davemloft.net>
1424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1426 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
1428         [BZ #13629]
1429         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1430         value between 1.0 and 2.0 and smaller part has absolute value less
1431         than 1.0.
1432         * math/s_clog10.c (__clog10): Likewise.
1433         * math/s_clog10f.c (__clog10f): Likewise.
1434         * math/s_clog10l.c (__clog10l): Likewise.
1435         * math/s_clogf.c (__clogf): Likewise.
1436         * math/s_clogl.c (__clogl): Likewise.
1437         * math/libm-test.inc (clog_test): Add more tests.
1438         (clog10_test): Likewise.
1439         * sysdeps/i386/fpu/libm-test-ulps: Update.
1440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1442 2012-07-31  Florian Weimer  <fweimer@redhat.com>
1444         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1445         Exit with zero in case no suitable GID is found, and write a
1446         message to standard error.
1448 2012-07-30  Roland McGrath  <roland@hack.frob.com>
1450         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1451         rather than to 1.
1452         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1453         (MAXPATHLEN): Removed.
1454         (NOGROUP, NODEV): New macros.
1455         (setbit, clrbit, isset, isclr): New macros.
1456         (howmany, roundup, powerof2): New macros.
1457         (DEV_BSIZE): New macro.
1459         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1460         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1462         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1463         definition on [!__NO_LONG_DOUBLE_MATH].
1465         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1466         PTR_MANGLE and PTR_DEMANGLE.
1468         * socket/accept4.c (accept4): Rename to __libc_accept4.
1469         Define accept4 as a weak alias.
1471         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1472         on [_DIRENT_HAVE_D_TYPE].
1473         * io/ftw.c (ftw_dir): Likewise.
1475         * io/xmknod.c (__xmknod): Don't check PATH for being null.
1477         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1479         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1480         Use the BSD numbers rather than the arbitrary ones we had.
1481         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1482         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1483         (SIGXCPU, SIGXFSZ): New macros.
1484         (_NSIG): Now 32.
1486         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1487         initializer on [_LIBC_REENTRANT].
1489         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1490         definitions inside [_POSIX_MAPPED_FILES].
1492         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1494         * dirent/opendir.c: Include <fcntl.h>.
1496         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1497         (__libc_getspecific): Likewise.
1498         (__libc_key_create): Likewise.
1500         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1501         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1502         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1503         (tmpfile64): Define as alias.
1504         * sysdeps/wordsize-64/tmpfile.c: File removed.
1505         * sysdeps/wordsize-64/tmpfile64.c: File removed.
1506         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1507         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1509         * stdio-common/vfscanf.c: Include <stdbool.h>.
1510         * nss/makedb.c: Likewise.
1511         * stdio-common/_i18n_number.h: Likewise.
1512         * argp/argp-help.c: Likewise.
1513         * posix/wordexp.c: Likewise.
1514         * sysdeps/posix/spawni.c: Likewise.
1515         * nss/nss_files/files-initgroups.c: Likewise.
1516         * stdio-common/reg-modifier.c: Include <stdlib.h>.
1517         * nss/nss_files/files-initgroups.c: Likewise.
1518         * nss/nss_db/db-netgrp.c: Likewise.
1519         * nss/nss_db/db-initgroups.c: Likewise.
1520         * io/fchmodat.c: Include <sys/stat.h>.
1522         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1523         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1525         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1526         [HAVE_MMAP].
1528         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1529         Add multiple inclusion protection.
1531 2012-07-27  David S. Miller  <davem@davemloft.net>
1533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1535 2012-07-27  Gary Benson  <gbenson@redhat.com>
1537         [BZ #14298]
1538         * elf/rtld.c: Include <stap-probe.h>.
1539         (dl_main): Added static probes "init_start" and "init_complete".
1540         * elf/dl-load.c: Include <stap-probe.h>.
1541         (lose): Take new parameter "nsid".
1542         Added static probe "map_failed".
1543         (_dl_map_object_from_fd): Pass namespace id to lose.
1544         Added static probe "map_start".
1545         (open_verify): Pass namespace id to lose.
1546         * elf/dl-open.c: Include <stap-probe.h>.
1547         (dl_open_worker) Added static probes "map_complete", "reloc_start"
1548         and "reloc_complete".
1549         * elf/dl-close.c: Include <stap-probe.h>.
1550         (_dl_close_worker): Added static probes "unmap_start" and
1551         "unmap_complete".
1552         * elf/rtld-debugger-interface.txt: New file documenting the above.
1554 2012-07-26  Roland McGrath  <roland@hack.frob.com>
1556         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1557         rather than a string variable.
1558         * sunrpc/rpc_main.c (h_output): Likewise.
1559         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1561 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
1563         * inet/check_native.c: New file.
1565 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
1567         [BZ #13629]
1568         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1569         if larger part has absolute value 1.0.
1570         * math/s_clog10.c (__clog10): Likewise.
1571         * math/s_clog10f.c (__clog10f): Likewise.
1572         * math/s_clog10l.c (__clog10l): Likewise.
1573         * math/s_clogf.c (__clogf): Likewise.
1574         * math/s_clogl.c (__clogl): Likewise.
1575         * math/libm-test.inc (clog_test): Add more tests.
1576         (clog10_test): Likewise.
1577         * sysdeps/i386/fpu/libm-test-ulps: Update.
1578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1580         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1581         (pltexit): Likewise.
1582         (La_regs): Likewise.
1583         (La_retval): Likewise.
1584         (int_retval): Likewise.
1585         Update #error for removed macros to refer only to definitions in
1586         tst-audit.h.
1587         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1588         macro.
1589         (pltexit): Likewise.
1590         (La_regs): Likewise.
1591         (La_retval): Likewise.
1592         (int_retval): Likewise.
1593         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1594         macro.
1595         (pltexit): Likewise.
1596         (La_regs): Likewise.
1597         (La_retval): Likewise.
1598         (int_retval): Likewise.
1599         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1600         macro.
1601         (pltexit): Likewise.
1602         (La_regs): Likewise.
1603         (La_retval): Likewise.
1604         (int_retval): Likewise.
1605         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1606         macro.
1607         (pltexit): Likewise.
1608         (La_regs): Likewise.
1609         (La_retval): Likewise.
1610         (int_retval): Likewise.
1611         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1612         macro.
1613         (pltexit): Likewise.
1614         (La_regs): Likewise.
1615         (La_retval): Likewise.
1616         (int_retval): Likewise.
1617         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1618         macro.
1619         (pltexit): Likewise.
1620         (La_regs): Likewise.
1621         (La_retval): Likewise.
1622         (int_retval): Likewise.
1623         * sysdeps/generic/tst-audit.h: Update comment to refer only to
1624         macro definitions in tst-audit.h.
1625         * sysdeps/i386/tst-audit.h: New file.
1626         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1627         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1628         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1629         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1630         * sysdeps/sh/tst-audit.h: Likewise.
1631         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1632         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1633         * sysdeps/x86_64/tst-audit.h: Likewise.
1635 2012-07-26  Andreas Jaeger  <aj@suse.de>
1637         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1638         ptrace.
1640         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1641         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1642         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1643         PTRACE_O_MASK.
1644         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1645         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1646         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1648         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1649         value.
1651         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1652         _sigsys.
1653         (si_call_addr, si_syscall, si_arch): Define new macro.
1654         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1655         _sigsys.
1656         (si_call_addr, si_syscall, si_arch): Define new marcro.
1657         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1658         _sigsys.
1659         (si_call_addr, si_syscall, si_arch): Define new macro.
1660         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1661         _sigsys.
1662         (si_call_addr, si_syscall, si_arch): Define new macro.
1664 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
1666         [BZ #13717]
1667         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1668         Change to 2.4.21 where previously 2.4.1.
1669         * sysdeps/unix/sysv/linux/configure: Regenerated.
1670         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1671         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1672         Linux kernel version.
1673         (__ASSUME_STD_AUXV): Remove.
1674         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1675         kernel version.
1676         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1677         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1678         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1679         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1680         (__ASSUME_NETLINK_SUPPORT): Likewise.
1681         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1682         (__no_netlink_support): Remove conditional definition.
1683         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1684         Remove.
1685         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1686         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1687         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1688         (if_nameindex_ioctl): Remove.
1689         (if_nameindex_netlink): Do not handle __no_netlink_support.
1690         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1691         code.
1692         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1693         Remove conditional code.
1694         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1695         code.
1696         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1697         unconditional.
1698         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1699         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1700         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1701         Remove.
1702         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1703         [!__ASSUME_STD_AUXV]: Remove conditional code.
1704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1705         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1706         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1708         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1709         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1710         code.
1711         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1713         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1714         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1715         conditional code.
1716         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1718         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1719         code.
1720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1721         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1722         conditional code.
1723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1724         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1725         code unconditional.
1726         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1727         conditional code.
1728         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1729         unconditional.
1730         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1731         conditional code.
1732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1733         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1734         unconditional.
1735         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1736         conditional code.
1737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1738         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1739         code unconditional.
1740         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1741         conditional code.
1742         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1743         unconditional.
1744         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1745         conditional code.
1746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1747         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1748         code unconditional.
1749         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1750         conditional code.
1751         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1752         unconditional.
1753         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1754         conditional code.
1756 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
1758         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1759         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1760         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1761         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1762         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1763         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1764         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1765         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1766         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1767         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1768         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1769         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1770         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1771         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1772         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1773         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1774         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1775         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1776         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1777         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1778         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1779         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1780         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1782 2012-07-25  Florian Weimer  <fweimer@redhat.com>
1784         * Versions.def: Add GLIBC_2.17.
1785         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1786         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1787         Introduce __libc_secure_getenv.
1788         * stdlib/Versions (2.17): Add secure_getenv
1789         (GLIBC_PRIVATE): Add __libc_secure_getenv.
1790         * stdlib/secure-getenv.c: Rename __secure_getenv to
1791         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
1792         symbol __secure_getenv for GLIBC_2.0.
1793         * stdlib/tst-secure-getenv.c: New.
1794         * stdlib/Makefile (tests): Add testcase.
1795         * manual/startup.texi (Environment Access): Document
1796         secure_getenv.
1797         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1798         __libc_secure_getenv.
1799         * inet/ruserpass.c (ruserpass): Likewise.
1800         * malloc/mtrace.c (mtrace): Likewise.
1801         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1802         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1803         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1804         * sysdeps/posix/tempname.c: Likewise.  Evaluate
1805         HAVE_SECURE_GETENV.
1806         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1807         __secure_getenv to __libc_secure_getenv.
1808         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1810         Likewise.
1811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1812         Likewise.
1813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1815         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1821 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
1823         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1824         (struct La_i86_retval): Likewise.
1825         (struct La_x86_64_regs): Likewise.
1826         (struct La_x86_64_retval): Likewise.
1827         (struct La_x32_regs): Likewise.
1828         (struct La_x32_retval): Likewise.
1829         (struct La_ppc32_regs): Likewise.
1830         (struct La_ppc32_retval): Likewise.
1831         (struct La_ppc64_regs): Likewise.
1832         (struct La_ppc64_retval): Likewise.
1833         (struct La_sh_regs): Likewise.
1834         (struct La_sh_retval): Likewise.
1835         (struct La_s390_32_regs): Likewise.
1836         (struct La_s390_32_retval): Likewise.
1837         (struct La_s390_64_regs): Likewise.
1838         (struct La_s390_64_retval): Likewise.
1839         (struct La_sparc32_regs): Likewise.
1840         (struct La_sparc32_retval): Likewise.
1841         (struct La_sparc64_regs): Likewise.
1842         (struct La_sparc64_retval): Likewise.
1843         (struct audit_ifaces): Remove architecture-specific pltenter and
1844         pltexit members.
1845         * sysdeps/i386/ldsodefs.h: New file.
1846         * sysdeps/powerpc/ldsodefs.h: Likewise.
1847         * sysdeps/s390/ldsodefs.h: Likewise.
1848         * sysdeps/sh/ldsodefs.h: Likewise.
1849         * sysdeps/sparc/ldsodefs.h: Likewise.
1850         * sysdeps/x86_64/ldsodefs.h: Likewise.
1852 2012-07-25  Marek Polacek  <polacek@redhat.com>
1854         [BZ #6808]
1855         * math/libm-test.inc (yn_test): Add another test.
1856         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1857         to ERANGE when the result is +-Inf.
1858         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1859         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1860         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1861         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1863 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
1865         * conform/data/time.h-data (NULL): Use macro-constant.  Require
1866         equal to 0.
1867         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
1868         clock_t.
1869         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
1871 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
1873         * configure.in <sysdeps resolving>: Correct printing
1874         Implies_before.
1875         * configure: Regenerate.
1877 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
1879         * math/w_ilogb.c: Include <limits.h>.
1880         * math/w_ilogbl.c: Likewise.
1882 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
1884         * manual/lang.texi (__va_copy): Document primarily as ISO C99
1885         va_copy.  Document allowing for unavailable va_copy only as
1886         pre-C99 compatibility.
1887         * manual/string.texi (Copying and Concatenation): Use va_copy
1888         instead of __va_copy in concat example.
1890 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
1892         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1893         (__sendto): Use create_address_port.  Initialize APORT and deallocate
1894         it if not null.
1896         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1897         with O_NOLINK passed to __file_name_lookup.
1899         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1900         with O_NOLINK passed to __file_name_lookup.
1902         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1903         negative N or less than NGIDS.
1905         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1906         type to string_t.  Set ERANGE as errno and return it if NAME is not big
1907         enough.  Use memcpy instead of strncpy.
1909 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
1911         * elf/Makefile (check-data): Remove.
1912         (localplt.data): New vpath directive.
1913         ($(objpfx)check-localplt.out): Use localplt.data from vpath
1914         instead of $(check-data).
1915         * scripts/data/localplt-generic.data: Move to ...
1916         * sysdeps/generic/localplt.data: ... here.
1917         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1918         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1919         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1921         ... here.
1922         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1924         ... here.
1925         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1927         ... here.
1928         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1930         ... here.
1931         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1933         ... here.
1934         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1936         ... here.
1938 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1940         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1941         PPC32 and PPC64 files.
1942         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1943         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1945 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1947         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1948         __makecontext_ret to ...
1949         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1950         ... here and call exit if uc_link is NULL.  New file.
1951         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1952         __makecontext_ret.S.
1953         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1954         __makecontext_ret to ...
1955         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1956         ... here and call exit if uc_link is NULL.  New file.
1957         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1958         __makecontext_ret.S.
1960 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1962         * elf/elf.h (R_390_IRELATIVE): New definition.
1963         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1964         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
1965         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1966         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1967         (elf_machine_lazy_rel): Likewise.
1968         * sysdeps/s390/dl-irel.h: New file.
1969         * sysdeps/s390/s390-64/memcpy.S: New asm code.
1970         * sysdeps/s390/s390-64/memset.S: New asm code.
1971         * sysdeps/s390/s390-64/memcmp.S: New asm code.
1972         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1973         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1974         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1975         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1976         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1977         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1978         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1979         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1980         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1981         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1982         * sysdeps/s390/s390-32/memcpy.S: New asm code.
1983         * sysdeps/s390/s390-32/memset.S: New asm code.
1984         * sysdeps/s390/s390-32/memcmp.S: New asm code.
1986 2012-07-17  Marek Polacek  <polacek@redhat.com>
1988         [BZ #14349]
1989         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1990         * sysdeps/s390/s390-64/configure.in: Likewise.
1991         * sysdeps/sparc/configure.in: Likewise.
1992         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1993         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1994         * sysdeps/i386/configure.in: Likewise.
1995         * sysdeps/x86_64/configure.in: Likewise.
1996         * sysdeps/sh/configure.in: Likewise.
1997         * sysdeps/s390/s390-32/configure: Regenerated.
1998         * sysdeps/s390/s390-64/configure: Likewise.
1999         * sysdeps/x86_64/configure: Likewise.
2000         * sysdeps/sh/configure: Likewise.
2001         * sysdeps/powerpc/powerpc64/configure: Likewise.
2002         * sysdeps/powerpc/powerpc32/configure: Likewise.
2003         * sysdeps/sparc/configure: Likwise.
2004         * sysdeps/i386/configure: Likewise.
2006         * elf/dl-open.c: Comment fixes.
2008 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
2010         * Makefile [CXX] (check-data): Remove.
2011         [CXX] (c++-types.data): New vpath directive.
2012         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2013         vpath.  Do not allow for C++ type data being missing.
2014         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2015         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2016         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2017         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2018         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2019         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2020         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2022         ... here.
2023         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2025         ... here.
2026         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2028         ... here.
2029         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2031         ... here.
2032         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2034         ... here.
2035         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2037         ... here.
2038         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2040         ... here.
2041         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2044         * elf/tls-macros.h (TLS_LE): Move architecture-specific
2045         definitions to architecture-specific files.
2046         (TLS_IE): Likewise.
2047         (TLS_LD): Likewise.
2048         (TLS_GD): Likewise.
2049         * sysdeps/i386/tls-macros.h: New file.
2050         * sysdeps/powerpc/tls-macros.h: Likewise.
2051         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2052         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2053         * sysdeps/sh/tls-macros.h: Likewise.
2054         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2055         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2056         * sysdeps/x86_64/tls-macros.h: Likewise.
2058 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2060         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2061         zero value for regular exit case.
2063         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2064         (__start_context): Preserve zero value for regular exit case.
2066 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2067             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2069         * manual/setjmp.texi (setcontext): Clarify normal process
2070         termination when uc_link is the null pointer.
2071         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2072         exit call.
2074 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
2076         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2077         preprocessor.  Test for each exception mask separately.
2079 2012-07-16  Andreas Jaeger  <aj@suse.de>
2081         * po/ru.po: Update from translation team.
2083 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
2085         * conform/data/string.h-data (NULL): Use macro-constant.  Require
2086         equal to 0.
2087         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2088         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2089         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2090         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2091         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2093 2012-07-13  Andreas Jaeger  <aj@suse.de>
2095         * po/fr.po: Update from translation team.
2097 2012-07-12  Marek Polacek  <polacek@redhat.com>
2099         [BZ #14173]
2100         * math/libm-test.inc (yn_test): Add test for BZ #14173.
2101         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2102         loop condition.
2104 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
2106         [BZ #13717]
2107         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2108         Change to 2.4.1 where previously 2.4.0.
2109         * sysdeps/unix/sysv/linux/configure: Regenerated.
2110         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2111         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2112         version.
2113         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2114         (__ASSUME_AT_CLKTCK): Remove.
2115         (__ASSUME_AT_PAGESIZE): Likewise.
2116         (__ASSUME_AT_XID): Likewise.
2117         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2118         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2119         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2120         unconditionally.
2121         (HAVE_AUX_PAGESIZE): Likewise.
2122         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2123         [__ASSUME_AT_CLKTCK]: Make code unconditional.
2124         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2126 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
2128         [BZ #14307]
2129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2130         the temporary buffer used to invoke __gethostbyname2_r,
2131         __gethostbyaddr_r and gethostbyname4_r to make room for struct
2132         host_data / struct gaih_addrtuple.
2133         * resolv/nss_dns/dns-host.c (global scope): Move definition of
2134         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2135         header file nss/nsswitch.h.
2136         * nss/nsswitch.h (global scope): Add definition of implementation
2137         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2138         resolv/nss_dns/dns-host.c).
2140 2012-07-11  Andreas Jaeger  <aj@suse.de>
2142         * po/fr.po: Update from translation team.
2144         * po/sv.po: Update from translation team
2145         * po/fr.po: Another update from translation team.
2147 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2149         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2150         for subnormals or multiply small sinh result by itself.
2151         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2154 2012-07-11  David S. Miller  <davem@davemloft.net>
2156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2158 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
2160         [BZ #14347]
2161         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2162         (INTERNAL_MARK): Shift it here.
2164 2012-07-10  Marek Polacek  <polacek@redhat.com>
2166         [BZ #14151]
2167         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
2168         libc_cv_asm_global_directive with .globl.
2169         * configure: Regenerated.
2170         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2171         with .globl.
2172         * sysdeps/i386/configure: Regenerated.
2173         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2174         with .globl.
2175         * sysdeps/x86_64/configure: Regenerated.
2176         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2177         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2178         * elf/tst-unique2mod2.c: Likewise.
2179         * elf/tst-unique2mod1.c: Likewise.
2180         * elf/tst-unique1mod2.c: Likewise.
2181         * elf/tst-unique1mod1.c: Likewise.
2182         * sysdeps/s390/s390-32/sysdep.h: Likewise.
2183         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2184         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2185         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2186         * sysdeps/mach/sysdep.h: Likewise.
2187         * sysdeps/i386/sysdep.h: Likewise.
2188         * sysdeps/i386/i386-mcount.S: Likewise.
2189         * sysdeps/x86_64/_mcount.S: Likewise.
2190         * sysdeps/x86_64/sysdep.h: Likewise.
2191         * sysdeps/sh/_mcount.S: Likewise.
2192         * sysdeps/sh/sysdep.h: Likewise.
2193         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2194         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2195         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2196         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2197         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2198         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2199         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2200         * locale/localeinfo.h: Likewise.
2201         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2202         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2204 2012-07-09  Roland McGrath  <roland@hack.frob.com>
2206         [BZ #14336]
2207         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2208         system".
2209         * manual/message.texi (The Uniforum approach): Likewise.
2210         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2211         (glibc iconv Implementation): Likewise.
2213 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
2215         [BZ #14337]
2216         * math/s_clog.c (__clog): Avoid scaling a value down where that
2217         could result in underflow.
2218         * math/s_clog10.c (__clog10): Likewise.
2219         * math/s_clog10f.c (__clog10f): Likewise.
2220         * math/s_clog10l.c (__clog10l): Likewise.
2221         * math/s_clogf.c (__clogf): Likewise.
2222         * math/s_clogl.c (__clogl): Likewise.
2223         * math/libm-test.inc (clog_test): Add more tests.
2224         (clog10_test): Likewise.
2225         * sysdeps/i386/fpu/libm-test-ulps: Update.
2226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2228 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
2230         [BZ #14283]
2231         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2232         by 7 not 8 to examine high bit of fractional part.
2234         [BZ #14042]
2235         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2236         for call to __mcount_internal.
2237         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2238         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2239         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2241 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
2243         [BZ #14154]
2244         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2245         approximation for values within 0x1p-13f of an odd multiple of
2246         pi/4.
2247         * math/libm-test.inc (tan_test): Do not allow spurious underflow
2248         exception.  Add more tests.
2249         * sysdeps/i386/fpu/libm-test-ulps: Update.
2251         [BZ #6778]
2252         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2253         inputs and return -1 for them.  Do not check for +Inf in case not
2254         reachable for +Inf.
2255         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2256         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2257         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2258         and return -1 for them.  Do not check for +Inf in case not
2259         reachable for +Inf.
2260         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2261         define.
2262         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2263         and return -1 for them.  Do not check for +Inf in case not
2264         reachable for +Inf.
2265         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
2266         spurious underflow.
2267         * sysdeps/i386/fpu/libm-test-ulps: Update.
2268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2270 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
2272         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2274 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
2276         [BZ #14157]
2277         [BZ #14331]
2278         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2279         could result in spurious underflow.  Scale down values above
2280         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2281         * math/s_csqrtf.c (__csqrtf): Likewise.
2282         * math/s_csqrtl.c (__csqrtl): Likewise.
2283         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
2284         spurious underflow.
2285         * sysdeps/i386/fpu/libm-test-ulps: Update.
2286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2288 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2290         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2291         xopen-msg.sed.
2292         * catgets/xopen-msg.awk: New file.
2293         * catgets/xopen-msg.sed: Removed.
2295         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2296         po2text.sed.
2297         * intl/po2test.awk: New file.
2298         * intl/po2test.sed: Removed.
2300 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
2302         [BZ #14328]
2303         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2304         or multiply small sinh result by itself.
2305         * math/s_ctanf.c (__ctanf): Likewise.
2306         * math/s_ctanh.c (__ctanh): Likewise.
2307         * math/s_ctanhf.c (__ctanhf): Likewise.
2308         * math/s_ctanhl.c (__ctanhl): Likewise.
2309         * math/s_ctanl.c (__ctanl): Likewise.
2310         * math/libm-test.inc (ctan_test_tonearest): New function.
2311         (ctan_test_towardzero): Likewise.
2312         (ctan_test_downward): Likewise.
2313         (ctan_test_upward): Likewise.
2314         (ctanh_test_tonearest): Likewise.
2315         (ctanh_test_towardzero): Likewise.
2316         (ctanh_test_downward): Likewise.
2317         (ctanh_test_upward): Likewise.
2318         (main): Call these new functions.
2319         * sysdeps/i386/fpu/libm-test-ulps: Update.
2320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2322 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
2324         * .gitignore: Delete /ports entry.
2326 2012-07-03  Andreas Jaeger  <aj@suse.de>
2328         * po/bg.po: Update from translation team.
2329         * po/cs.po: Likewise.
2330         * po/de.po: Likewise.
2331         * po/hr.po: Likewise.
2332         * po/nl.pl: Likewise.
2333         * po/pl.po: Likewise.
2334         * po/vi.po: Likewise.
2336 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
2338         * Makeconfig [!+link] (+link-before-libc): New variable.
2339         [!+link] (+link-after-libc): Likewise.
2340         [!+link] (+link-tests): Likewise.
2341         [!+link] (+link): Define in terms of $(+link-before-libc) and
2342         $(+link-after-libc).
2343         [!+link-static] (+link-static-before-libc): New variable.
2344         [!+link-static] (+link-static-after-libc): Likewise.
2345         [!+link-static] (+link-static-tests): Likewise.
2346         [!+link-static] (+link-static): Define in terms of
2347         $(+link-static-before-libc) and $(+link-static-after-libc).
2348         [build-shared] (link-libc-before-gnulib): New variable.
2349         [build-shared] (link-libc-tests): Likewise.
2350         [build-shared] (link-libc): Define in terms of
2351         $(link-libc-before-gnulib).
2352         [!build-shared] (link-libc-tests): New variable.
2353         (link-libc-static-tests): New variable.
2354         [!gnulib] (gnulib-arch): New variable.
2355         [!gnulib] (gnulib-tests): Likewise.
2356         [!gnulib] (static-gnulib-arch): Likewise.
2357         [!gnulib] (static-gnulib-tests): Likewise.
2358         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
2359         Define with "=" instead of ":=".
2360         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
2361         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
2362         * Rules (binaries-all-notests): New variable.
2363         (binaries-all-tests): Likewise.
2364         (binaries-static-notests): Likewise.
2365         (binaries-static-tests): Likewise.
2366         (binaries-all): Define using $(binaries-all-notests) and
2367         $(binaries-all-tests).
2368         (binaries-static): Define using $(binaries-static-notests) and
2369         $(binaries-static-tests).
2370         (binaries-shared-tests): New variable.
2371         (binaries-shared-notests): Likewise.
2372         (binaries-shared): Remove variable.
2373         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2374         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2375         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2376         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2377         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2378         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2379         * elf/Makefile (sln-modules): New variable.
2380         (extra-objs): Add $(sln-modules:=.o).
2381         (ldconfig-modules): Add static-stubs.
2382         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2383         * elf/static-stubs.c: New file.
2385         [BZ #14283]
2386         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2387         by 7 not 8 to examine high bit of fractional part.  Use volatile
2388         variables when splitting into final array of floats if
2389         __FLT_EVAL_METHOD__ != 0.
2390         * math/libm-test.inc (cos_test): Add another test.
2391         (sin_test): Likewise.
2392         * sysdeps/i386/fpu/libm-test-ulps: Update.
2394         [BZ #14273]
2395         * math/libm-test.inc (cosh_test): Add more tests.
2397         * version.h (RELEASE): Set to "development".
2398         (VERSION): Set to "2.16.90".
2400 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
2402         * NEWS: Update copyright. Remove last-updated date.
2403         Mention math library bug fixes and timezone data changes.
2404         * README: Mention GNU/Hurd, x32, and HPPA support status.
2406 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
2408         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2410 2012-06-27  Andreas Jaeger  <aj@suse.de>
2412         * manual/contrib.texi (Contributors): Add Samuel Thibault.
2414 2012-06-25  Andreas Jaeger  <aj@suse.de>
2416         * sysdeps/s390/fpu/libm-test-ulps: Update.
2418 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
2419             Thomas Schwinge  <thomas@codesourcery.com>
2421         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2422         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2423         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2424         fanotify_mark.
2426 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
2428         * sysdeps/mach/start.c: Remove file.
2429         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2430         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2431         * sysdeps/sh/init-first.c: Likewise.
2433         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2434         registers for frame unwinding purposes, add CFI directives.
2435         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2436         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2437         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2438         Likewise.
2440         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2441         __fortify_fail returning.
2442         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2444         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2445         sysdeps/sh/____longjmp_chk.S.
2446         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2447         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2448         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2449         (gen-as-const-headers): Append sigaltstack-offsets.sym.
2451         * sysdeps/sh/abort-instr.h: New file.
2452         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2453         process in case exit returns.
2455         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2456         initialize the GOT register before use.
2458         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2459         calculation of ARGC > 4.
2461         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2462         meaningful names to some local labels.
2464 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2465             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2467         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2468         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2469         (__arch_compare_and_exchange_val_16_acq): Likewise.
2470         (__arch_compare_and_exchange_val_32_acq): Likewise.
2471         (atomic_exchange_and_add): Fix gUSA sequence.
2472         (atomic_add): Likewise.
2473         (atomic_add_negative): Likewise.
2474         (atomic_add_zero): Likewise.
2475         (atomic_bit_test_set): Likewise.
2477 2012-06-22  Andreas Schwab  <schwab@redhat.com>
2479         [BZ #13579]
2480         * include/link.h (struct link_map): Add l_free_initfini.
2481         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2482         l_initfini.
2483         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2484         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2485         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2486         set.
2488 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
2490         * configure.in: Use AC_LANG_SOURCE.
2491         * configure: Regenerate.
2493 2012-06-22  Roland McGrath  <roland@hack.frob.com>
2495         * configure.in (libc_cv_localstatedir): New substituted variable.
2496         * configure: Regenerated.
2497         * config.make.in (localstatedir): New variable, substituted from
2498         libc_cv_localstatedir.
2499         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2500         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2501         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2502         * sysdeps/gnu/configure: Regenerated.
2504 2012-06-21  Jeff Law  <law@redhat.com>
2506         [BZ #14277]
2507         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2508         free.  Simplify list management for _LIBC case.
2510 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
2512         [BZ #14273]
2513         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2514         Clear sign bit of 64-bit integer value before comparing against
2515         overflow value.
2517         * sysdeps/mach/configure: Regenerated.
2519 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
2521         [BZ #14278]
2522         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2524 2012-06-21  Jeff Law  <law@redhat.com>
2526         [BZ #13882]
2527         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
2528         uint16_t for elements in the "seen" array to avoid char overflows.
2529         * elf/dl-fini.c (_dl_sort_fini): Likewise.
2530         * elf/dl-open.c (dl_open_worker): Likewise.
2532 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
2534         * scripts/list-sources.sh: Scan PORTS for translations.
2535         * po/libc.pot: Regenerated.
2537 2012-06-21  Andreas Jaeger  <aj@suse.de>
2539         [BZ #12194]
2540         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2541         warning.
2542         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2543         * bits/byteswap-16.h (__bswap_16): Likewise.
2544         * bits/byteswap.h (__bswap_constant_16): Likewise.
2546 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
2548         [BZ #14117]
2549         * sysdeps/i386/fpu_control.h: Removed.
2550         * sysdeps/x86_64/fpu_control.h: Moved to ...
2551         * sysdeps/x86/fpu_control.h: Here.
2553         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2554         (_FPU_SETCW): Likewise.
2556 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2558         [BZ #14117]
2559         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2560         * sysdeps/x86/fpu/bits/mathinline.h: This.
2561         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2563         [BZ #14050]
2564         [BZ #14117]
2565         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2566         functions if __x86_64__ is defined.
2568 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
2570         * string/endian.h: Add !__ASSEMBLER__ condition for including
2571         conversion interfaces.
2573 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
2575         [BZ #14241]
2576         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2577         of ABS(x) in calculating zero to negative powers other than odd
2578         integers.
2579         * math/libm-test.inc (pow_test): Add more tests.
2581 2012-06-15  Andreas Jaeger  <aj@suse.de>
2583         * manual/contrib.texi (Contributors): Update entry of Liubov
2584         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2585         Machado Filho.
2587 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
2589         * string/string.h: Add __wur to GNU version of strerror_r.
2591 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
2593         [BZ #14229]
2594         * string/Makefile (tests): Add tst-strtok_r.
2595         * string/tst-strtok_r.c: New file.
2596         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2597         RAX_LP/RDX_LP on SAVE_PTR.
2599 2012-06-14  Roland McGrath  <roland@hack.frob.com>
2601         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2603 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
2605         * libm_test.inc (csqrt_test): Allow more spurious underflow
2606         exceptions.
2607         (j0_test): Likewise.
2608         (j1_test): Likewise.
2609         (y0_test): Likewise.
2610         (y1_test): Likewise.
2612 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
2614         * po/Makefile (libc.pot): Use UTF-8 charset.
2616 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
2618         [BZ #14210]
2619         Suppress sign-conversion warning from FD_SET.
2620         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2621         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2622         not unsigned long int.
2623         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2625 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
2627         [BZ #14050]
2628         [BZ #14117]
2629         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2630         __extern_always_inline instead of __extern_inline.
2631         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2632         (__signbit): Likewise.
2633         (__signbitl): Support C++ namespace.
2634         (lrintf): New inline function.
2635         (lrint): Likewise.
2636         (llrintf): Likewise.
2637         (llrint): Likewise.
2638         (fmaxf): Likewise.
2639         (fmax): Likewise.
2640         (fminf): Likewise.
2641         (fmin): Likewise.
2642         (rint): Likewise.
2643         (rintf): Likewise.
2644         (ceil): Likewise.
2645         (ceilf): Likewise.
2646         (floor): Likewise.
2647         (floorf): Likewise.
2648         (nearbyint): Likewise.
2649         (nearbyintf): Likewise.
2651 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
2653         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2654         non-default versions.
2656 2012-06-11  Roland McGrath  <roland@hack.frob.com>
2658         [BZ #14218]
2659         * manual/argp.texi (Argp): Reword argp_parse description slightly.
2661 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
2663         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2664         (FE_UPWARD, FE_DOWNWARD): Don't define.
2665         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2666         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2668         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2669         reading it.
2670         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2671         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2673 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2675         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2676         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2677         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2678         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2680 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2682         [BZ #14117]
2683         * sysdeps/i386/fpu/bits/fenv.h: Removed.
2684         * sysdeps/i386/fpu/Implies: New file.
2685         * sysdeps/x86_64/fpu/Implies: Likewise.
2686         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2687         * sysdeps/x86/fpu/bits/fenv.h: This.
2689         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2690         __SSE_MATH__.
2692 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2694         [BZ #14134]
2695         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2696         character 0xffff that matches the last element of the
2697         conversion table.
2699 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2701         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2702         fmodl commit.
2704 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2706         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2707         values higher than 25.6283.
2709 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2711         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2712         subnormal exponent extraction and add some __builtin_expect.
2713         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2714         Fix for subnormal mantissa calculation.
2716 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
2718         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2719         cpu2 is -1 and errno is not ENOSYS.
2721 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
2723         [BZ #14117]
2724         * sysdeps/i386/i486/bits/string.h: Renamed to ...
2725         * sysdeps/x86/bits/string.h: This.
2726         * sysdeps/x86_64/bits/string.h: Removed.
2728         * sysdeps/i386/i486/bits/string.h: Define inline functions only
2729         if not compiling for x86-64, but compiling for >= i486.
2731         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2732         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2734         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2735         New macro from Linux kernel 3.4.0.
2736         (FP_XSTATE_MAGIC2): Likewise.
2737         (FP_XSTATE_MAGIC2_SIZE): Likewise.
2738         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2739         (struct _fpx_sw_bytes): New struct.
2740         (struct _xsave_hdr): Likewise.
2741         (struct _ymmh_state): Likewise.
2742         (struct _xstate): Likewise.
2744         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2745         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2746         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2747         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2748         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2749         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2751         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2752         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2753         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2754         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2755         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2756         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2758 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2760         [BZ #13743]
2761         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2762         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2763         (sysdep_headers): Include sys/platform/ppc.h.
2764         * sysdeps/powerpc/test-gettimebase.c: Test for
2765         __ppc_get_timebase() to catch future ISA opcode/insn changes.
2766         * manual/Makefile (appendices): Include platform.texi.
2767         * manual/contrib.texi (Contributors): Update @node pointers.
2768         * manual/maint.texi (Maintenance): Likewise.
2769         (Platform): New node.
2770         * manual/platform.texi: New file.  Document the new features.
2772 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2773             Jakub Jelinek  <jakub@redhat.com>
2775         [BZ #14188]
2776         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2777         where __builtin_expect is unavailable.
2779 2012-06-03  David S. Miller  <davem@davemloft.net>
2781         * stdlib/longlong.h: Updated from GCC.
2783 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
2785         [BZ #14042]
2786         * sysdeps/powerpc/powerpc32/mcount.c: New file.
2787         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2788         __mcount_internal.
2789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2790         (GLIBC_2.16): Likewise.
2792 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2794         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2796 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
2798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2799         (default-abi): New variable.
2800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2801         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2802         variable.
2803         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2804         Likewise.
2805         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2806         Likewise.
2807         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2808         Likewise.
2810         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2811         definition.  Document in comment.
2813 2012-06-01  David S. Miller  <davem@davemloft.net>
2815         * stdlib/longlong.h: Updated from GCC.
2817 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2819         [BZ #14117]
2820         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2821         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2822         sys/debugreg.h sys/io.h here.
2823         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2824         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2825         sys/io.h.
2826         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2827         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2828         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2829         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2830         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2831         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2833         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2834         Define only if __x86_64__ is defined.
2836 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
2838         [BZ #14048]
2839         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2840         Use int64_t for variable i.
2841         * math/libm-test.inc (fmod_test): Add more tests.
2843         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2844         z computation is not scheduled after fetestexcept.
2845         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2846         Use math_force_eval instead of asm to ensure calculation scheduled
2847         before exception test.
2848         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2849         Ensure a1 + u.d computation is not scheduled after fetestexcept.
2851 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
2853         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2854         computation is not scheduled after fetestexcept.
2856 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2858         [BZ #14117]
2859         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2860         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2862 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2864         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2865         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2867 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
2869         [BZ #14117]
2870         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2871         <bits/wordsize.h>.
2872         (__WCHAR_MIN): Support __WORDSIZE == 64.
2873         (__WCHAR_MAX): Likewise.
2875         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2876         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2878         [BZ #14183]
2879         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2880         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2882         [BZ #14117]
2883         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2884         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2886         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2887         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2889         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2890         Defined to 1 if __x86_64__ isn't defined.
2891         (_STAT_VER_LINUX_OLD): New.
2892         (st_atime): Remove duplicate.
2893         (st_mtime): Likewise.
2894         (st_ctime): Likewise.
2896 2012-05-31  David S. Miller  <davem@davemloft.net>
2898         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2899         entries.
2901 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
2903         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2904         gen-libm-test.pl.
2906         [BZ #14132]
2907         * elf/dl-reloc.c: Include <_itoa.h>.
2908         (_dl_reloc_bad_type): Remove use of INTUSE.
2909         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2910         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2911         * stdio-common/psiginfo.c (psiginfo): Likewise.
2912         * stdio-common/psignal.c (psignal): Likewise.
2913         * string/strsignal.c (strsignal): Likewise.
2914         * include/signal.h (_sys_siglist): Declare hidden proto.
2915         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
2916         INTVARDEF with libc_hidden_data_def.
2917         * stdio-common/itoa-udigits.c: Likewise.
2918         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2919         (_itoa_lower_digits_internal): Remove declaration.
2920         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2921         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2922         (_sys_sigabbrev_internal): Remove aliases.
2923         (_sys_siglist): Define hidden alias.
2925 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
2927         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2928         bits/sysctl.h.
2930 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
2932         [BZ #14117]
2933         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2934         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2936         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2937         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2938         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2939         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2940         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2941         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2943         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2944         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2945         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2947         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2948         with __addr.
2949         (insw): Likewise.
2950         (insl): Likewise.
2951         (outsb): Likewise.
2952         (outsw): Likewise.
2953         (outsl): Likewise.
2955         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2956         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2957         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2959         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2960         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2961         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2962         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2963         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2964         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2966         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2967         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2969         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2970         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2972         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2973         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2974         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2976         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2977         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2978         to ...
2979         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2981         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2982         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2983         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2985         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2986         for x86-64.
2987         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2989 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
2991         * math/math.h (M_El): Use two more decimal places.
2992         (M_LOG2El): Likewise.
2993         (M_LOG10El): Likewise.
2994         (M_LN2l): Likewise.
2995         (M_LN10l): Likewise.
2996         (M_PIl): Likewise.
2997         (M_PI_2l): Likewise.
2998         (M_PI_4l): Likewise.
2999         (M_1_PIl): Likewise.
3000         (M_2_PIl): Likewise.
3001         (M_2_SQRTPIl): Likewise.
3002         (M_SQRT2l): Likewise.
3003         (M_SQRT1_2l): Likewise.
3005 2012-05-31  David S. Miller  <davem@davemloft.net>
3007         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3008         values between float registers.
3009         * sysdeps/sparc/sparc64/memset.S: Likewise.
3010         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3012 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
3014         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3015         -D_FORTIFY_SOURCE=1.
3016         (CPPFLAGS-tst-longjmp_chk.c): Define.
3017         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3018         (CPPFLAGS-tst-longjmp_chk2.c): Define.
3019         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3020         CFLAGS-tst-wchar-h.c.
3022 2012-05-31  Marek Polacek  <polacek@redhat.com>
3024         [BZ #14132]
3025         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3026         __endmntent_internal): Remove declaration.
3027         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3028         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3029         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3031 2012-05-30  David S. Miller  <davem@davemloft.net>
3033         * sysdeps/sparc/sparc32/soft-fp/q_util.c
3034         (___Q_simulate_exceptions): Use real FP ops rather than writing
3035         into the %fsr.
3036         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3037         Likewise.
3039 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3041         [BZ #14117]
3042         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3043         * sysdeps/x86/bits/xtitypes.h: This.
3045         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3046         * sysdeps/x86/bits/wordsize.h: This.
3048         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3049         * sysdeps/x86/bits/huge_vall.h: This.
3051         * sysdeps/i386/bits/select.h: Removed.
3052         * sysdeps/x86_64/bits/select.h: Renamed to ...
3053         * sysdeps/x86/bits/select.h: This.
3055         * sysdeps/i386/bits/setjmp.h: Removed.
3056         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3057         * sysdeps/x86/bits/setjmp.h: This.
3059         * sysdeps/i386/bits/mathdef.h: Removed.
3060         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3061         * sysdeps/x86/bits/mathdef.h: This.
3063 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
3065         [BZ #14132]
3066         * include/sys/socket.h (__connect_internal)
3067         (__libc_sa_len_internal): Remove declaration.
3068         (__connect, __libc_sa_len): Declare hidden_proto.
3069         (SA_LEN): Remove use of INTUSE.
3070         * socket/connect.c: Add libc_hidden_def.
3071         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3072         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3073         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3074         alias.
3075         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3076         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3077         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3078         of adding _internal alias.
3080 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3082         [BZ #14117]
3083         * sysdeps/i386/bits/link.h: Removed.
3084         * sysdeps/i386/bits/linkmap.h: Likewise.
3085         * sysdeps/x86_64/bits/link.h: Renamed to ...
3086         * sysdeps/x86/bits/link.h: This.
3087         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3088         * sysdeps/x86/bits/linkmap.h: This.
3090         * sysdeps/i386/bits/endian.h: Removed.
3091         * sysdeps/x86_64/bits/endian.h: Renamed to ...
3092         * sysdeps/x86/bits/endian.h: This.
3094         * sysdeps/i386/bits/byteswap.h: Removed.
3095         * sysdeps/i386/bits/byteswap-16.h: Likewise.
3096         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3097         * sysdeps/x86/bits/byteswap.h: This.
3098         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3099         * sysdeps/x86/bits/byteswap-16.h: This.
3100         * sysdeps/i386/Implies: Add x86.
3101         * sysdeps/x86_64/Implies: Likewise.
3103 2012-05-30  David S. Miller  <davem@davemloft.net>
3105         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3106         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3107         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3108         (FP_TRAPPING_EXCEPTIONS): Define.
3109         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3110         (FP_TRAPPING_EXCEPTIONS): Define.
3111         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3112         subnormals only when inexact has been signalled or underflow
3113         exceptions are enabled.
3114         (_FP_PACK_CANONICAL): Likewise.
3116 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3118         [BZ #14183]
3119         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3120         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3122 2012-05-30  Richard Henderson  <rth@twiddle.net>
3124         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3125         with #ifndef NOT_IN_libc.
3127         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
3128         marked to avoid plt entry.
3130 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3132         [BZ #14112]
3133         * Makeconfig (default-abi): New macro.
3134         (abi-includes): Likewise.
3135         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
3136         $(abi-$(default-abi)-lib-soname) for soname if defined.
3137         ($(common-objpfx)gnu/lib-names.stmp): Generate from
3138         abi-variants.
3139         * Makefile (installed-stubs): Likewise.
3140         * include/stubs-biarch.h: Removed.
3141         * scripts/lib-names.awk: Only handle one library at a time.
3142         * scripts/soversions.awk: Remove WORDSIZE support.
3143         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3144         entries.
3145         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3146         Removed.
3147         (syscall-list-default-condition): Likewise.
3148         (syscall-list-default-condition): Likewise.
3149         (syscall-list-includes): Likewise.
3150         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3151         syscall-list-* with abi-*.  Handle undefined abi-variants.
3152         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3153         * sysdeps/unix/sysv/linux/i386/Implies: New file.
3154         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3155         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3156         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3157         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3158         Removed.
3159         (syscall-list-32-options): Likewise.
3160         (syscall-list-32-condition): Likewise.
3161         (syscall-list-64-options): Likewise.
3162         (syscall-list-64-condition): Likewise.
3163         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3164         macro.
3165         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3166         Renamed to ...
3167         (abi-*): This.
3168         (abi-64-ld-soname): New macro.
3169         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3170         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3171         Renamed to ...
3172         (abi-*): This.
3173         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3174         * sysdeps/x86_64/x32/shlib-versions: Likewise.
3176 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
3178         * sysdeps/unix/sysv/linux/kernel-features.h
3179         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3180         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3181         include <kernel-features.h>.
3182         [!__NR_ftruncate64]: Remove conditional code.
3183         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3184         [__NR_ftruncate64]: Make code unconditional.
3185         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3186         * sysdeps/unix/sysv/linux/truncate64.c: Do not
3187         include <kernel-features.h>.
3188         [!__NR_ftruncate64]: Remove conditional code.
3189         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3190         [__NR_ftruncate64]: Make code unconditional.
3191         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3193         include <kernel-features.h>.
3194         [!__NR_ftruncate64]: Remove conditional code.
3195         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3196         [__NR_ftruncate64]: Make code unconditional.
3197         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3199         include <kernel-features.h>.
3200         [!__NR_ftruncate64]: Remove conditional code.
3201         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3202         [__NR_ftruncate64]: Make code unconditional.
3203         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3205         * configure.in (libc_cv_fpie): Weaken to a compile test using
3206         LIBC_TRY_CC_OPTION.
3207         * configure: Regenerated.
3209 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3215         Refreshed.
3216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3222         Refreshed.
3224 2012-05-27  David S. Miller  <davem@davemloft.net>
3226         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3227         (___Q_zero): New.
3228         (__Q_simulate_exceptions): Return void.  Change to simulate
3229         exceptions by writing into the %fsr.
3230         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3231         (__Qp_handle_exceptions): Likewise.
3232         (numbers): Delete.
3233         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3234         __Qp_handle_exceptions.
3235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3236         __Qp_handle_exceptions.
3237         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3238         as unused and give dummy FP_RND_NEAREST initializer.
3239         (FP_INHIBIT_RESULTS): Define.
3240         (___Q_simulate_exceptions): Update declaration.
3241         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3242         formatting.
3243         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3244         as unused and give dummy FP_RND_NEAREST initializer.
3245         (__Qp_handle_exceptions): Update declaration.
3246         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3247         formatting.
3249 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
3251         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3252         the temporary FPU control word.
3253         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3254         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3255         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3256         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3257         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3258         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3259         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3260         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3261         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3262         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3263         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3265 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3267         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3268         fields.
3270 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
3272         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3273         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3274         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3275         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3276         Likewise.
3277         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3278         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3279         Likewise.
3281 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
3283         * po/h.po: Update from translation team.
3285 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
3287         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3289         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3290         handling of denormals.
3291         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3292         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3293         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3294         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3295         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3296         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3297         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3298         Likewise.
3300 2012-05-26  Marek Polacek  <polacek@redhat.com>
3302         [BZ #14152]
3303         * math/libm-test.inc (fma_test): Don't always expect underflow
3304         exception.
3306 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3308         [BZ #12416]
3309         * elf/tst-execstack.c: Include stackinfo.h.
3310         (do_test): Adjust test case to ensure that pthread_getattr_np
3311         behaviour remains the same after marking stack executable.
3313 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3315         * sysdeps/unix/sysv/linux/kernel-features.h
3316         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3317         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3318         kernel-features.h.
3319         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3320         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3321         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3322         kernel-features.h.
3323         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3324         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3326 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3328         * configure.in: Define the default includes to being none.
3329         * configure: Regenerated.
3331 2012-05-25  Roland McGrath  <roland@hack.frob.com>
3333         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3334         * sysdeps/x86_64/setjmp.S: Likewise.
3335         * sysdeps/i386/bsd-setjmp.S: Likewise.
3336         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3337         * sysdeps/i386/setjmp.S: Likewise.
3338         * sysdeps/i386/__longjmp.S: Likewise.
3339         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3340         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3342         * include/stap-probe.h: New file.
3343         * configure.in: Handle --enable-systemtap.
3344         * configure: Regenerated.
3345         * config.h.in (USE_STAP_PROBE): New #undef.
3346         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3347         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3348         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3350 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3352         [BZ #13717]
3353         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3354         to 2.4.0 where earlier.
3355         * sysdeps/unix/sysv/linux/configure: Regenerated.
3356         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3357         <kernel-features.h>.
3358         [__ASSUME_32BITUIDS]: Make code unconditional.
3359         [!__ASSUME_32BITUIDS]: Remove conditional code.
3360         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3361         <kernel-features.h>.
3362         [__ASSUME_32BITUIDS]: Make code unconditional.
3363         [!__ASSUME_32BITUIDS]: Remove conditional code.
3364         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3365         [__ASSUME_32BITUIDS]: Make code unconditional.
3366         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3367         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3368         <kernel-features.h>.
3369         [__ASSUME_32BITUIDS]: Make code unconditional.
3370         [!__ASSUME_32BITUIDS]: Remove conditional code.
3371         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3372         <kernel-features.h>.
3373         [__ASSUME_32BITUIDS]: Make code unconditional.
3374         [!__ASSUME_32BITUIDS]: Remove conditional code.
3375         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3376         <kernel-features.h>.
3377         [__ASSUME_32BITUIDS]: Make code unconditional.
3378         [!__ASSUME_32BITUIDS]: Remove conditional code.
3379         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3380         <kernel-features.h>.
3381         [__ASSUME_32BITUIDS]: Make code unconditional.
3382         [!__ASSUME_32BITUIDS]: Remove conditional code.
3383         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3384         <kernel-features.h>.
3385         [__ASSUME_32BITUIDS]: Make code unconditional.
3386         [!__ASSUME_32BITUIDS]: Remove conditional code.
3387         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3388         <kernel-features.h>.
3389         [__ASSUME_32BITUIDS]: Make code unconditional.
3390         [!__ASSUME_32BITUIDS]: Remove conditional code.
3391         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3392         <kernel-features.h>.
3393         [__ASSUME_32BITUIDS]: Make code unconditional.
3394         [!__ASSUME_32BITUIDS]: Remove conditional code.
3395         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3396         <kernel-features.h>.
3397         [__ASSUME_32BITUIDS]: Make code unconditional.
3398         [!__ASSUME_32BITUIDS]: Remove conditional code.
3399         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3400         <kernel-features.h>.
3401         [__ASSUME_32BITUIDS]: Make code unconditional.
3402         [!__ASSUME_32BITUIDS]: Remove conditional code.
3403         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3404         <kernel-features.h>.
3405         [__ASSUME_32BITUIDS]: Make code unconditional.
3406         [!__ASSUME_32BITUIDS]: Remove conditional code.
3407         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3408         <kernel-features.h>.
3409         [__NR_setresgid] (__setresgid): Do not declare.
3410         [__ASSUME_32BITUIDS]: Make code unconditional.
3411         [!__ASSUME_32BITUIDS]: Remove conditional code.
3412         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3413         <kernel-features.h>.
3414         [__NR_setresuid] (__setresuid): Do not declare.
3415         [__ASSUME_32BITUIDS]: Make code unconditional.
3416         [!__ASSUME_32BITUIDS]: Remove conditional code.
3417         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3418         <kernel-features.h>.
3419         [__ASSUME_32BITUIDS]: Make code unconditional.
3420         [!__ASSUME_32BITUIDS]: Remove conditional code.
3421         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3422         <kernel-features.h>.
3423         [__ASSUME_32BITUIDS]: Make code unconditional.
3424         [!__ASSUME_32BITUIDS]: Remove conditional code.
3425         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3426         <kernel-features.h>.
3427         [__ASSUME_32BITUIDS]: Make code unconditional.
3428         [!__ASSUME_32BITUIDS]: Remove conditional code.
3429         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3430         <kernel-features.h>.
3431         [__ASSUME_32BITUIDS]: Make code unconditional.
3432         [!__ASSUME_32BITUIDS]: Remove conditional code.
3433         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3434         <kernel-features.h>.
3435         [__ASSUME_32BITUIDS]: Make code unconditional.
3436         [!__ASSUME_32BITUIDS]: Remove conditional code.
3437         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3438         <kernel-features.h>.
3439         [__ASSUME_32BITUIDS]: Make code unconditional.
3440         [!__ASSUME_32BITUIDS]: Remove conditional code.
3441         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3442         <kernel-features.h>.
3443         [__ASSUME_32BITUIDS]: Make code unconditional.
3444         [!__ASSUME_32BITUIDS]: Remove conditional code.
3445         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3446         <kernel-features.h>.
3447         [__ASSUME_32BITUIDS]: Make code unconditional.
3448         [!__ASSUME_32BITUIDS]: Remove conditional code.
3449         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3450         <kernel-features.h>.
3451         [__ASSUME_32BITUIDS]: Make code unconditional.
3452         [!__ASSUME_32BITUIDS]: Remove conditional code.
3453         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3454         <kernel-features.h>.
3455         [__ASSUME_32BITUIDS]: Make code unconditional.
3456         [!__ASSUME_32BITUIDS]: Remove conditional code.
3457         * sysdeps/unix/sysv/linux/kernel-features.h
3458         (__ASSUME_SETRESUID_SYSCALL): Remove.
3459         (__ASSUME_SETRESGID_SYSCALL): Likewise.
3460         (__ASSUME_32BITUIDS): Likewise.
3461         (__ASSUME_LDT_WORKS): Likewise.
3462         (__ASSUME_O_DIRECTORY): Likewise.
3463         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3464         architecture but not kernel version.
3465         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3466         (__ASSUME_MMAP2_SYSCALL): Likewise.
3467         (__ASSUME_STAT64_SYSCALL): Likewise.
3468         (__ASSUME_IPC64): Likewise.
3469         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3470         <kernel-features.h>.
3471         [__ASSUME_32BITUIDS]: Make code unconditional.
3472         [!__ASSUME_32BITUIDS]: Remove conditional code.
3473         * sysdeps/unix/sysv/linux/opendir.c: Do not include
3474         <kernel-features.h>.
3475         [__ASSUME_O_DIRECTORY]: Make code unconditional.
3476         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3477         132096]: Remove conditional code.
3478         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3479         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3480         <kernel-features.h>.
3481         [__ASSUME_32BITUIDS]: Make code unconditional.
3482         [!__ASSUME_32BITUIDS]: Remove conditional code.
3483         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3484         <kernel-features.h>.
3485         [__ASSUME_32BITUIDS]: Make code unconditional.
3486         [!__ASSUME_32BITUIDS]: Remove conditional code.
3487         * sysdeps/unix/sysv/linux/setegid.c: Do not include
3488         <kernel-features.h>.
3489         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3490         unconditional.
3491         (__setresgid): Do not declare.
3492         [__ASSUME_32BITUIDS]: Make code unconditional.
3493         [!__ASSUME_32BITUIDS]: Remove conditional code.
3494         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3495         <kernel-features.h>.
3496         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3497         unconditional.
3498         (__setresuid): Do not declare.
3499         [__ASSUME_32BITUIDS]: Make code unconditional.
3500         [!__ASSUME_32BITUIDS]: Remove conditional code.
3501         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3502         <kernel-features.h>.
3503         [__ASSUME_32BITUIDS]: Make code unconditional.
3504         [!__ASSUME_32BITUIDS]: Remove conditional code.
3505         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3506         <kernel-features.h>.
3507         [__ASSUME_32BITUIDS]: Make code unconditional.
3508         [!__ASSUME_32BITUIDS]: Remove conditional code.
3510 2012-05-25  Richard Henderson  <rth@twiddle.net>
3512         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3513         dl_hwcap to ifunc resolver.
3514         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3515         elf_ifunc_invoke.
3516         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3517         dl_hwcap to ifunc resolver.
3518         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3520 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
3522         [BZ #14153]
3523         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3524         for |x| <= 2**-26, not 2**-57.
3525         * math/libm-test.inc (acos_test): Do not allow spurious underflow
3526         exception.
3528 2012-05-24  Jeff Law  <law@redhat.com>
3530         * stdio-common/Makefile (tests): Add bug25.
3531         * stdio-common/bug25.c: New test.
3533 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3535         [BZ #13576]
3536         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3537         multiple of MALLOC_ALIGNMENT in size.
3538         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3540 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
3542         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3543         Require >= 256.
3544         (FILENAME_MAX): Use macro-int-constant.
3545         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
3546         (_IOFBF): Use macro-int-constant.
3547         (_IOLBF): Likewise.
3548         (_IONBF): Likewise.
3549         (SEEK_CUR): Likewise.
3550         (SEEK_END): Likewise.
3551         (SEEK_SET): Likewise.
3552         (TMP_MAX): Likewise.
3553         (EOF): Use macro-int-constant.  Require < 0.
3554         (NULL): Use macro-constant.  Require == 0.
3555         (stdin): Require type to be FILE *.
3556         (stdout): Likewise.
3557         (stderr): Likewise.
3558         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3559         macro-int-constant.
3560         (EXIT_SUCCESS): Likewise.
3561         (NULL): Use macro-constant.  Require == 0.
3562         (RAND_MAX): Use macro-int-constant.
3563         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3564         [C99-based standards] (strtof): Require function.
3565         [C99-based standards] (strtold): Likewise.
3566         [C99-based standards] (strtoll): Likewise.
3567         [C99-based standards] (strtoull): Likewise.
3568         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3569         [ISO || ISO99 || ISO11] (limits.h): Likewise.
3570         [ISO || ISO99 || ISO11] (math.h): Likewise.
3571         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3572         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3573         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3575 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
3577         [BZ #14132]
3578         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3579         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3580         * intl/dgettext.c (DCGETTEXT): Likewise.
3581         * intl/gettext.c (DCGETTEXT): Likewise.
3582         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3583         * posix/regex_internal.h (gettext): Likewise.
3584         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3585         Remove declaration.
3586         * include/argz.h (__argz_count_internal)
3587         (__argz_stringify_internal): Remove declaration.
3588         (__argz_count, __argz_stringify): Declare hidden proto.
3589         * intl/dcgettext.c: Remove use of INTDEF.
3590         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3591         * string/argz-stringify.c: Likewise.
3592         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3593         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3594         Declare hidden proto.
3595         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3596         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3597         Declare hidden proto.
3598         * include/stdio.h (__asprintf_internal): Don't declare.
3599         (__asprintf): Don't define as macro.  Declare hidden proto.
3600         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3601         (__fsetlocking): Declare hidden proto.
3602         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3603         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3604         hidden proto.
3605         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3606         (_IO_setlinebuf): Remove use of INTUSE.
3607         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3608         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3609         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3610         Remove declaration.
3611         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3612         (_IO_do_flush): Remove use of INTUSE.
3613         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3614         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3615         (_IO_adjust_column, _IO_least_wmarker)
3616         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3617         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3618         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3619         (_IO_default_doallocate, _IO_wdefault_doallocate)
3620         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3621         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3622         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3623         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3624         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3625         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3626         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3627         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3628         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3629         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3630         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3631         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3632         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3633         proto.
3634         (_IO_flush_all_internal, _IO_adjust_column_internal)
3635         (_IO_default_uflow_internal, _IO_default_finish_internal)
3636         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3637         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3638         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3639         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3640         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3641         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3642         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3643         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3644         (_IO_file_close_internal, _IO_file_close_it_internal)
3645         (_IO_file_underflow_internal, _IO_file_overflow_internal)
3646         (_IO_file_init_internal, _IO_file_attach_internal)
3647         (_IO_file_fopen_internal, _IO_file_read_internal)
3648         (_IO_file_sync_internal, _IO_file_seek_internal)
3649         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3650         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3651         (_IO_str_underflow_internal, _IO_str_overflow_internal)
3652         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3653         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3654         (_IO_list_all_internal, _IO_link_in_internal)
3655         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3656         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3657         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3658         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3659         (_IO_do_write_internal, _IO_padn_internal)
3660         (_IO_getline_info_internal, _IO_getline_internal)
3661         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3662         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3663         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3664         (_IO_vfscanf_internal, _IO_vfprintf_internal)
3665         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3666         (_IO_init_internal, _IO_un_link_internal): Don't declare.
3667         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3668         with libc_hidden_ver, remove use of INTUSE.
3669         * libio/genops.c: Likewise.
3670         * libio/freopen.c: Likewise.
3671         * libio/freopen64.c: Likewise.
3672         * libio/iofclose.c: Likewise.
3673         * libio/iofdopen.c: Likewise.
3674         * libio/iofflush.c: Likewise.
3675         * libio/iofflush_u.c: Likewise.
3676         * libio/iofgets.c: Likewise.
3677         * libio/iofgets_u.c: Likewise.
3678         * libio/iofopen.c: Likewise.
3679         * libio/iofopncook.c: Likewise.
3680         * libio/iofread.c: Likewise.
3681         * libio/iofread_u.c: Likewise.
3682         * libio/ioftell.c: Likewise.
3683         * libio/iofwrite.c: Likewise.
3684         * libio/iogetline.c: Likewise.
3685         * libio/iogets.c: Likewise.
3686         * libio/iogetwline.c: Likewise.
3687         * libio/iopadn.c: Likewise.
3688         * libio/iopopen.c: Likewise.
3689         * libio/ioseekoff.c: Likewise.
3690         * libio/ioseekpos.c: Likewise.
3691         * libio/iosetbuffer.c: Likewise.
3692         * libio/iosetvbuf.c: Likewise.
3693         * libio/ioungetc.c: Likewise.
3694         * libio/ioungetwc.c: Likewise.
3695         * libio/iovdprintf.c: Likewise.
3696         * libio/iovsprintf.c: Likewise.
3697         * libio/iovsscanf.c: Likewise.
3698         * libio/memstream.c: Likewise.
3699         * libio/obprintf.c: Likewise.
3700         * libio/oldfileops.c: Likewise.
3701         * libio/oldiofclose.c: Likewise.
3702         * libio/oldiofdopen.c: Likewise.
3703         * libio/oldiofopen.c: Likewise.
3704         * libio/oldiopopen.c: Likewise.
3705         * libio/oldstdfiles.c: Likewise.
3706         * libio/putc.c: Likewise.
3707         * libio/setbuf.c: Likewise.
3708         * libio/setlinebuf.c: Likewise.
3709         * libio/stdfiles.c: Likewise.
3710         * libio/strops.c: Likewise.
3711         * libio/vasprintf.c: Likewise.
3712         * libio/vscanf.c: Likewise.
3713         * libio/vsnprintf.c: Likewise.
3714         * libio/vswprintf.c: Likewise.
3715         * libio/wfiledoalloc.c: Likewise.
3716         * libio/wfileops.c: Likewise.
3717         * libio/wgenops.c: Likewise.
3718         * libio/wmemstream.c: Likewise.
3719         * libio/wstrops.c: Likewise.
3720         * libio/__fpurge.c: Likewise.
3721         * libio/__fsetlocking.c: Likewise.
3722         * assert/assert.c: Likewise.
3723         * debug/fgets_chk.c: Likewise.
3724         * debug/fgets_u_chk.c: Likewise.
3725         * debug/fread_chk.c: Likewise.
3726         * debug/fread_u_chk.c: Likewise.
3727         * debug/gets_chk.c: Likewise.
3728         * debug/obprintf_chk.c: Likewise.
3729         * debug/vasprintf_chk.c: Likewise.
3730         * debug/vdprintf_chk.c: Likewise.
3731         * debug/vsnprintf_chk.c: Likewise.
3732         * debug/vsprintf_chk.c: Likewise.
3733         * malloc/mtrace.c: Likewise.
3734         * misc/error.c: Likewise.
3735         * misc/syslog.c: Likewise.
3736         * stdio-common/asprintf.c: Likewise.
3737         * stdio-common/fxprintf.c: Likewise.
3738         * stdio-common/getw.c: Likewise.
3739         * stdio-common/isoc99_fscanf.c: Likewise.
3740         * stdio-common/isoc99_scanf.c: Likewise.
3741         * stdio-common/isoc99_vfscanf.c: Likewise.
3742         * stdio-common/isoc99_vscanf.c: Likewise.
3743         * stdio-common/isoc99_vsscanf.c: Likewise.
3744         * stdio-common/printf-prs.c: Likewise.
3745         * stdio-common/printf_fp.c: Likewise.
3746         * stdio-common/printf_fphex.c: Likewise.
3747         * stdio-common/printf_size.c: Likewise.
3748         * stdio-common/putw.c: Likewise.
3749         * stdio-common/scanf.c: Likewise.
3750         * stdio-common/sprintf.c: Likewise.
3751         * stdio-common/tmpfile.c: Likewise.
3752         * stdio-common/vfprintf.c: Likewise.
3753         * stdio-common/vfscanf.c: Likewise.
3754         * stdlib/strfmon_l.c: Likewise.
3755         * sunrpc/openchild.c: Likewise.
3756         * sunrpc/xdr_stdio.c: Likewise.
3757         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3758         * sysdeps/mach/hurd/tmpfile.c: Likewise.
3760 2012-05-24  Roland McGrath  <roland@hack.frob.com>
3762         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3764         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3765         in the third column, to generate for the shared library an IFUNC
3766         that uses _dl_vdso_vsym.
3767         * Makerules (COMPILE.c, compile-stdin.c): New variables.
3768         * Makeconfig (object-suffixes-noshared): New variable.
3770         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3771         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3772         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3773         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3775         [BZ #14132]
3776         * include/sys/time.h (__gettimeofday): Remove macro.
3777         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3778         * time/gettimeofday.c (__gettimeofday): Remove #undef.
3779         Remove INTDEF.
3780         (__gettimeofday): Add libc_hidden_def.
3781         (gettimeofday): Add libc_hidden_weak.
3782         * sysdeps/mach/gettimeofday.c: Likewise.
3783         * sysdeps/posix/gettimeofday.c: Likewise.
3784         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3785         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3786         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3787         (__gettimeofday_internal): Remove strong_alias.
3788         (__gettimeofday): Add libc_hidden_def.
3789         (gettimeofday): Add libc_hidden_weak.
3790         * sysdeps/unix/syscalls.list (gettimeofday):
3791         Remove __gettimeofday_internal alias.
3793 2012-05-24  Daniel Jacobowitz  <drow@false.org>
3794             H.J. Lu  <hongjiu.lu@intel.com>
3796         [BZ #12495]
3797         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3798         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3799         (largebin_index_32_big): New.
3800         (largebin_index): Use it for 16-byte alignment.
3801         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
3802         correction with front_misalign.
3804 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3808         Likewise.
3809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3810         Likewise.
3811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3812         Likewise.
3813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3814         Likewise.
3815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3816         Likewise.
3817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3818         Likewise.
3819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3820         Likewise.
3821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3822         Likewise.
3823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3824         Likewise.
3825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3826         Likewise.
3827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3828         Likewise.
3829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3830         Likewise.
3832         * scripts/data/c++-types-x32-linux-gnu.data: New file.
3833         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3835 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
3837         [BZ #10846]
3838         [BZ #14036]
3839         * math/libm-test.inc (exp_test): Add test from bug 14036.
3840         (pow_test): Add test from bug 10846.
3842         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3843         and other flags.
3844         (special_function): Do not include flags in test name.
3845         (parse_args): Likewise.
3846         * sysdeps/i386/fpu/libm-test-ulps: Update.
3847         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3848         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3849         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3852         * math/gen-libm-test.pl (%beautify): Add entries for underflow
3853         exceptions.
3854         * math/libm-test.inc ("Philosophy"): Update comment about
3855         exception testing.
3856         (UNDERFLOW_EXCEPTION): New macro.
3857         (UNDERFLOW_EXCEPTION_OK): Likewise.
3858         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3859         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3860         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3861         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3862         (INVALID_EXCEPTION_OK): Update value.
3863         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3864         (OVERFLOW_EXCEPTION_OK): Likewise.
3865         (IGNORE_ZERO_INF_SIGN): Likewise.
3866         (test_exceptions): Handle underflow exceptions.
3867         (acos_test): Update for underflow exception expectations.
3868         (cexp_test): Likewise.
3869         (clog_test): Likewise.
3870         (clog10_test): Likewise.
3871         (csqrt_test): Likewise.
3872         (ctan_test): Likewise.
3873         (ctanh_test): Likewise.
3874         (exp_test): Likewise.
3875         (exp10_test): Likewise.
3876         (exp2_test): Likewise.
3877         (expm1_test): Likewise.
3878         (fma_test): Likewise.
3879         (j0_test): Likewise.
3880         (jn_test): Likewise.
3881         (nexttoward_test): Likewise.
3882         (pow_test): Likewise.
3883         (scalbn_test): Likewise.
3884         (scalbln_test): Likewise.
3885         (tan_test): Likewise.
3886         (y1_test): Likewise.
3887         * sysdeps/i386/fpu/libm-test-ulps: Update.
3888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3890 2012-05-23  David S. Miller  <davem@davemloft.net>
3892         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3893         (__libc_sigaction): Remove unused local variables.
3895 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
3897         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3899 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
3901         mktime: avoid signed integer overflow
3902         * time/mktime.c (__mktime_internal): Do not mishandle the case
3903         where diff == INT_MIN.
3905         mktime: simplify computation of average
3906         * time/mktime.c (ranged_convert): Use new time_t_avg function
3907         instead of rolling our own (probably-slower) code.
3909         mktime: do not assume signed right shift propagates sign bit
3910         * time/mktime.c (isdst_differ): New static function.
3911         (__mktime_internal): No need to normalize tm_isdst now.
3912         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3913         tm_isdst values.
3915         mktime: merge another wrapv change from gnulib
3916         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3917         from some compilers.
3919         mktime: remove incorrect attempt at unusual arithmetics
3920         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3921         The code didn't really work on such machines anyway.
3922         (TYPE_MINIMUM): Assume two's complement.
3923         (twos_complement_arithmetic): Verify that long_int and time_t
3924         are two's complement (or unsigned, in the latter case).
3926         mktime: check signed shifts on long_int and time_t, too
3927         * time/mktime.c (SHR): Check that shifts work as desired
3928         on the types long_int and time_t too, as SHR is used on
3929         such types.
3931         mktime: do not assume 'long' is wide enough
3932         * time/mktime.c (verify): Move decl up.
3933         (long_int): New type.
3934         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3935         to remove assumption in the code that 'long' is wide enough to
3936         store year values.  This assumption is not true on x32 and on
3937         some non-glibc platforms.
3939         mktime: merge wrapv change from gnulib
3940         * time/mktime.c (WRAPV): New macro.
3941         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3942         (guess_time_tm, __mktime_internal): Do not assume that signed
3943         integer overflow wraps around; modern compilers generate code
3944         where this assumption is no longer valid.
3946 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
3948         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3949         Replace "jmp L(pseudo_end)" with "ret".
3950         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3951         Likewise.
3953 2012-05-23  Andreas Jaeger  <aj@suse.de>
3955         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3956         * sysdeps/unix/sysv/linux/poll.c: Remove file.
3958 2012-05-23  Andreas Jaeger  <aj@suse.de>
3959             Maximilian Attems  <max@stro.at>
3961         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3962         New macros.
3964 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
3966         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3967         code so that pseudo_end is just ret and the stack pointer is
3968         correct also for static library in error case.
3970 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
3972         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3973         move to syscalls.list.
3974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3979         * manual/install.texi (Running make install): Do not mention Linux
3980         kernel version for which pt_chown is not needed.
3981         (Linux): Do not mention problems with nscd with 2.0 kernels.
3982         * INSTALL: Regenerated.
3984 2012-05-23  Andreas Jaeger  <aj@suse.de>
3986         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3987         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3988         macro.
3989         * sysdeps/unix/sysv/linux/s390/bits/mman.h
3990         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3991         * sysdeps/unix/sysv/linux/sh/bits/mman.h
3992         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3993         * sysdeps/unix/sysv/linux/i386/bits/mman.h
3994         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3995         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3996         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3997         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3998         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3999         * sysdeps/unix/sysv/linux/bits/in.h
4000         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4002 2012-05-22  Roland McGrath  <roland@hack.frob.com>
4004         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4005         (PREPARE_VERSION): Just use assert instead, it will be elided
4006         under [NDEBUG] anyway.
4008 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4010         * sysdeps/unix/sysv/linux/Makefile: Include
4011         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4012         (sysdep_routines): Remove sysctl.
4013         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4014         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4015         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4016         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4017         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4019 2012-05-22  Andreas Jaeger  <aj@suse.de>
4021         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4022         that pseudo_end is just ret and the stack pointer is correct also
4023         for static library in error case.
4025 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4027         [BZ #14122]
4028         * nss/nsswitch.c (defconfig_entries): New variable.
4029         (__nss_database_lookup): Don't leak defconfig entries.
4030         (nss_parse_service_list): Don't leak on error paths.
4031         (free_database_entries): New function.
4032         (free_defconfig): New function.
4033         (free_mem): Move common code to free_database_entries.
4035 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4037         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4038         Add arch_prctl.
4039         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4041         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4042         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4043         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4044         New macro.
4045         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4046         (INTERNAL_SYSCALL_TYPES): Likewise.
4047         (LOAD_ARGS_TYPES_[1-6]): Likewise.
4048         (LOAD_REGS_TYPES_[1-6]): Likewise.
4049         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4050         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4052 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4054         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4055         copysignl for GLIBC_2_0.
4056         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4057         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4058         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4059         logbl for GLIBC_2_0.
4060         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4061         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4063 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4065         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4066         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4068         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4069         Use "neg %eax".
4071         * time/mktime.c: Update copyright years.
4073 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4075         mktime: merge comment-quoting-style change from gnulib
4076         * time/mktime.c: Quote 'like this' in comments.
4077         The GNU coding standards suggest that we no longer quote `like this',
4078         as "`" and "'" are typically rendered asymmetrically nowadays.
4079         The typical gnulib style is to quote 'like this' when quoting
4080         code, and "like this" when quoting English.
4082         * time/mktime.c (compile-command): Add "-I.".
4084         mktime: merge mktime-internal.h change from gnulib
4085         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4087         mktime: merge time_r change from gnulib
4088         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4090         mktime: merge DEBUG change from gnulib
4091         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4092         case system <time.h> has a #define.
4094         mktime: merge <sys/types.h> change from gnulib
4095         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4096         since <time.t> is now guaranteed to define time_t.
4098         mktime: merge HAVE_CONFIG_H change from gnulib
4099         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4101 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4104         Use "neg %eax".
4106         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4107         __rlim_t cast.
4108         (struct rusage): Use anonymous union to pad each field to
4109         __syscall_slong_t.
4111 2012-05-21  David S. Miller  <davem@davemloft.net>
4113         * Makefules (o-iterator): Remove .s cases.
4114         (compile-command.s): Delete.
4115         (COMPILE.s): Delete.
4116         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4118 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
4120         * configure.in (libc_cv_predef_stack_protector): Only consider
4121         "foobar" and "__stack_chk_fail" lines in libc_undefs.
4122         * configure: Regenerated.
4124 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4127         New macro.  Use R*LP on int and pointer.
4128         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4129         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4130         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4131         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4133         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4134         [__WORDSIZE_TIME64_COMPAT32] instead of
4135         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4136         (struct utmp): Likewise.
4137         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4138         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4139         Renamed to ...
4140         (__WORDSIZE_TIME64_COMPAT32): This.
4141         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4142         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4143         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4144         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4145         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4146         (__WORDSIZE_TIME64_COMPAT32): New macro.
4148 2012-05-21  Andreas Jaeger  <aj@suse.de>
4150         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4151         only if [SHARED]. Add prototype for __wcschr_ia32.
4153 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4155         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4156         of %rbp unmolested in the jmp_buf while mangling the low bits.
4157         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4158         unmolested high bits of %rbp while demangling the low bits.
4159         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4161 2012-05-21  Andreas Jaeger  <aj@suse.de>
4163         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4164         * sunrpc/svc_simple.c: Use it for registerrpc.
4165         * sunrpc/xcrypt.c: Use it for passwd2des.
4167         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4169 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4171         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4172         Don't define if [__SYSCALL_WORDSIZE != 32].
4173         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4174         New macro.
4176 2012-05-21  Bruno Haible  <bruno@clisp.org>
4177             Andreas Jaeger  <aj@suse.de>
4179         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4180         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4181         inptr and inend for must_buffer_ch.
4182         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4183         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4184         * stdio-common/Makefile (tests): Remove bug15.
4185         (bug15-ENV): Remove macro.
4186         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4187         anymore.
4189 2012-05-19  Andreas Jaeger  <aj@suse.de>
4190             Roland McGrath  <roland@hack.frob.com>
4192         * manual/contrib.texi: Completely rewritten. It contains now an
4193         alphabetical list of contributors and their contributions.
4195 2012-05-21  Richard Henderson  <rth@twiddle.net>
4197         * misc/getauxval.c (__getauxval): Use unsigned long int.
4198         * misc/sys/auxv.h: Include <sys/cdefs.h>.
4199         (getauxval): Use unsigned long int.
4201 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4203         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4205 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4207         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4208         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4209         __alignof__ (long double).
4211 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4215 2012-05-20  Richard Henderson  <rth@twiddle.net>
4217         * misc/getauxval.c: New file.
4218         * misc/sys/auxv.h: New file.
4219         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4220         (routines): Add getauxval.
4221         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4222         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4223         * elf/dl-sysdep.c (_dl_auxv): Remove.
4224         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4225         * elf/dl-support.c (_dl_auxv): New variable.
4226         (_dl_aux_init): Initialize it.
4227         * manual/startup.texi (Auxiliary Vector): New node.
4228         * sysdeps/generic/bits/hwcap.h: New file.
4229         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4230         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
4231         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4232         * sysdeps/sparc/sysdep.h: ... here.  Include it.
4233         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4234         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4236         Update.
4237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4240         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4246 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4250 2012-05-19  David S. Miller  <davem@davemloft.net>
4252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4254 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4256         [BZ #14123]
4257         * math/s_ccosh.c: Include <float.h>
4258         (__ccosh): Avoid internal overflow calculating sinh and cosh
4259         values before multiplying by sin and cos values.
4260         * math/s_ccoshf.c: Likewise.
4261         * math/s_ccoshl.c: Likewise.
4262         * math/s_csin.c: Likewise.
4263         * math/s_csinf.c: Likewise.
4264         * math/s_csinl.c: Likewise.
4265         * math/s_csinh.c: Likewise.
4266         * math/s_csinhf.c: Likewise.
4267         * math/s_csinhl.c: Likewise.
4268         * math/libm-test.inc (ccos_test): Add more tests.
4269         (ccosh_test): Likewise.
4270         (csin_test): Likewise.
4271         (csinh_test): Likewise.
4272         * sysdeps/i386/fpu/libm-test-ulps: Update.
4273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4275 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4277         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4278         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4280         * sysdeps/x86_64/x32/_itoa.h: Add comment.
4282 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4284         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4285         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4286         * sysdeps/powerpc/soft-fp/Versions: Likewise.
4287         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4288         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4289         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4290         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4291         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4292         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4293         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4294         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4295         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4296         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4297         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4298         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4299         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4300         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4301         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4302         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4303         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4304         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4305         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4306         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4307         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4308         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4309         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4310         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4311         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4312         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4313         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4314         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4316 2012-05-18  Andreas Jaeger  <aj@suse.de>
4318         * csu/.gitignore: Delete.
4320 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4322         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4323         (timex): Use __syscall_slong_t.
4325 2012-05-18  Andreas Jaeger  <aj@suse.de>
4326             Carlos O'Donell  <carlos_odonell@mentor.com>
4328         * manual/install.texi (Configuring and compiling): Update
4329         description about files modified in the source directory.
4330         * INSTALL: Regenerated.
4332 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4334         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4335         value.  Use "or" to set return value to -1.
4336         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4337         negate return value.
4339 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4341         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4342         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4343         failure if the compiler has Graphite support disabled.
4344         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4345         Likewise.
4346         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4347         CFLAGS-memmove.c): Likewise.
4348         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4349         Likewise.
4351 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4353         * sysdeps/x86_64/x32/_itoa.h: New file.
4355         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4356         getdents system call only if kernel and user dirents have the
4357         same d_ino and d_off.
4359         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4360         LLONG_MAX != LONG_MAX.
4361         (_itoa_word): Use _ITOA_WORD_TYPE on value.
4362         (_fitoa_word): Likewise.
4364         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4365         years.
4366         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4367         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4368         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4370         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4371         include <bits/wordsize.h>.  Check __x86_64__ instead of
4372         __WORDSIZE.
4373         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4374         if __x86_64__ is defined.  Use anonymous union on fpstate.
4376         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4377         anonymous union.
4379 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
4381         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4382         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4383         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4384         Refer to _rtld_local_ro instead of _rtld_global_ro.
4385         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4386         Likewise.
4387         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4388         Likewise.
4389         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4390         Likewise.
4391         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4392         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4393         of _rtld_global, and rtld_progname instead of _dl_argv[0].
4395         * sysdeps/powerpc/powerpc32/dl-machine.c
4396         (__elf_machine_runtime_setup) [PROF]: Don't reference
4397         _dl_prof_resolve.
4399 2012-05-18  Andreas Jaeger  <aj@suse.de>
4401         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4402         function only available for GCCs before 3.4 since GCC 3.4
4403         introduced a builtin.
4404         (lrint): Likewise.
4405         (llrintf): Likewise.
4406         (llrint): Likewise.
4407         (fmaxf): Likewise.
4408         (fmax): Likewise.
4409         (fminf): Likewise.
4410         (fmin): Likewise.
4411         (rint): Likewise.
4412         (rintf): Likewise.
4413         (nearbyint): Likewise.
4414         (nearbyintf): Likewise.
4415         (ceil): Likewise.
4416         (ceilf): Likewise.
4417         (floor): Likewise.
4418         (floorf): Likewise.
4420 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4422         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4423         on both fields and cast pointer to __syscall_ulong_t.
4425         * bits/types.h (__fsword_t): New type.
4426         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4427         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4428         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4429         (__FSWORD_T_TYPE): Likewise.
4430         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4431         (__FSWORD_T_TYPE): Likewise.
4432         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4433         (__FSWORD_T_TYPE): Likewise.
4434         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4435         (__FSWORD_T_TYPE): Likewise.
4436         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4437         __SWORD_TYPE with __fsword_t.
4438         (statfs64): Likewise.
4440 2012-05-17  David S. Miller  <davem@davemloft.net>
4442         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4444 2012-05-17  Andreas Jaeger  <aj@suse.de>
4446         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4447         warning.
4449 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4451         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4453 2012-05-17  Andreas Jaeger  <aj@suse.de>
4455         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4456         when it is used.
4458 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
4460         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4462 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4464         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4465         * sysdeps/x86_64/tst-mallocalign1.c: New file.
4467 2012-05-17  Andreas Jaeger  <aj@suse.de>
4468             Carlos O'Donell  <carlos_odonell@mentor.com>
4470         [BZ #14059]
4471         * sysdeps/x86_64/multiarch/init-arch.h
4472         (bit_YMM_Usable): Rename to...
4473         (bit_AVX_Usable): ... this.
4474         (bit_FMA4_Usable): New macro.
4475         (bit_XMM_state): New macro.
4476         (bit_YMM_state): New macro.
4477         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4478         [__ASSEMBLER__] (index_AVX_Usable): ... this.
4479         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4480         (CPUID_OSXSAVE): New macro.
4481         (CPUID_AVX): New macro.
4482         (CPUID_FMA4): New macro.
4483         (index_YMM_Usable): Rename to...
4484         (index_AVX_Usable): ... this.
4485         (HAS_AVX): Use HAS_ARCH_FEATURE.
4486         (HAS_FMA4): Likewise.
4487         (HAS_YMM_USABLE): Remove.
4488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4489         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4490         are present.
4491         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4492         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4493         * sysdeps/x86_64/multiarch/Makefile: Likewise.
4494         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4495         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4497 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
4499         * math/libm-test.c: Support platforms without multiple rounding modes.
4500         * math/bug-nextafter.c: Support platforms without FP exceptions.
4501         * math/bug-nexttoward.c: Likewise.
4502         * math/test-fenv.c: Likewise.
4503         * math/test-misc.c: Likewise.
4504         * stdlib/bug-getcontext.c: Likewise.
4506 2012-05-17  Andreas Jaeger  <aj@suse.de>
4508         * manual/examples/search.c (critter_cmp): Change signature to
4509         avoid warnings.
4510         * manual/string.texi (Collation Functions): Likewise.
4512 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4514         * bits/types.h: Fold copyright years.
4515         * bits/typesizes.h: Likewise.
4516         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4517         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4518         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4519         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4520         * time/time.h: Likewise.
4522 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
4524         [BZ #208]
4525         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4526         in instead of returning them.  Return void.
4527         (__libc_mallinfo): Accumulate over all arenas.
4528         (__malloc_stats): Adjust for change in int_mallinfo interface.
4530 2012-05-16  Roland McGrath  <roland@hack.frob.com>
4532         [BZ #10375]
4533         * configure.in (NM): Add AC_CHECK_TOOL for it.
4534         (libc_extra_cflags): New substituted variable.
4535         Check for -fstack-protector being used implicitly.
4536         * configure: Regenerated.
4537         * config.make.in (config-extra-cflags): New variable,
4538         gets @libc_extra_cflags@.
4539         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4541         [BZ #10375]
4542         * configure.in: Check for _FORTIFY_SOURCE being predefined.
4543         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4544         * configure: Regenerated.
4545         * config.make.in (CPPUNDEFS): New substituted variable.
4546         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4547         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4548         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4550 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4552         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4553         (mq_attr): Use __syscall_slong_t.
4555 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4557         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4558         Check __x86_64__ instead of __WORDSIZE.
4559         (_STAT_VER_LINUX): Likewise.
4560         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
4561         __syscall_ulong_t and __syscall_slong_t.
4562         (stat64): Likewise.
4564 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4566         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4568 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4570         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4572 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4574         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4575         __syscall_ulong_t.
4577         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4578         include <bits/wordsize.h>.  Check __x86_64__ instead of
4579         __WORDSIZE.
4580         (greg_t): Use "__extension__ long long int" if __x86_64__ is
4581         defined.
4582         (mcontext_t): Replace "unsigned long" with "unsigned long long".
4584         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4585         include <bits/wordsize.h>.  Check __x86_64__ instead of
4586         __WORDSIZE.
4587         (user_regs_struct): Use "__extension__ unsigned long long"
4588         instead of "unsigned long" if __x86_64__ is defined.
4589         (user): Likewise.  Pad after pointer field if __ILP32__ is
4590         defined.
4592 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
4594         * configure.in (makeinfo): Require version 4.5 or later.  Allow
4595         versions 5 to 9.
4596         * configure: Regenerated.
4597         * manual/install.texi (texinfo): Increase version requirement to
4598         4.5 or later.
4599         * INSTALL: Regenerated.
4601         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4603 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4605         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4607         * sysdeps/x86_64/x32/ffs.c: New file.
4609         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4610         __syscall_ulong_t.
4611         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4612         defined.  Use __syscall_ulong_t.
4613         (shminfo): Use __syscall_ulong_t.
4614         (shm_info): Likewise.
4616         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4617         __syscall_ulong_t.
4619         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4620         <bits/wordsize.h>.
4621         (msgqnum_t): Use __syscall_ulong_t.
4622         (msglen_t): Likewise.
4623         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
4624         __syscall_ulong_t.
4626         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4627         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4629         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4631         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4632         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4634         * sysvipc/sys/msg.h (msgbuf): Replace long int with
4635         __syscall_slong_t.
4637         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4638         include <bits/wordsize.h>.  Check __x86_64__ instead of
4639         __WORDSIZE.
4641         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4642         "unsigned long long int" if __x86_64__ is defined.
4643         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4645         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4646         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4647         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4649         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4650         <stdint.h>.
4651         (GET_PC): Cast to uintptr_t first.
4652         (GET_FRAME): Likewise.
4653         (GET_STACK): Likewise.
4655         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4656         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4657         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4658         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4659         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4660         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4661         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4662         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4663         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4664         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4665         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4666         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4667         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4668         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4669         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4670         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4671         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4672         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4673         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4674         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4675         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4676         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4677         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4678         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4679         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4680         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4681         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4682         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4683         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4685 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
4687         * Makerules (+depfiles): Also collect depfiles from .oS in
4688         $(extra-objs).
4689         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4690         .oS, $(libnldbl-routines)).
4692         * Makerules (native-compile-mkdep-flags): Define.
4693         * sunrpc/Makefile (extra-objs): Add $(addprefix
4694         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4695         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4696         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
4697         calling $(make-target-directory).
4699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4701         * bits/types.h (__snseconds_t): Removed.
4702         * time/time.h (struct timespec): Replace __snseconds_t with
4703         __syscall_slong_t.
4704         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4705         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4706         Likewise.
4707         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4708         (__SNSECONDS_T_TYPE): Likewise.
4709         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4710         (__SNSECONDS_T_TYPE): Likewise.
4711         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4712         (__SNSECONDS_T_TYPE): Likewise.
4714 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4716         * sysdeps/mach/hurd/bits/typesizes.h
4717         (__SYSCALL_SLONG_TYPE): New macro.
4718         (__SYSCALL_ULONG_TYPE): Likewise.
4720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4722         * bits/types.h (__syscall_slong_t): New type.
4723         (__syscall_ulong_t): Likewise.
4725         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4726         (__SYSCALL_ULONG_TYPE): Likewise.
4727         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4728         (__SYSCALL_SLONG_TYPE): Likewise.
4729         (__SYSCALL_ULONG_TYPE): Likewise.
4730         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4731         (__SYSCALL_SLONG_TYPE): Likewise.
4732         (__SYSCALL_ULONG_TYPE): Likewise.
4733         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4734         (__SYSCALL_SLONG_TYPE): Likewise.
4735         (__SYSCALL_ULONG_TYPE): Likewise.
4737 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4739         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4740         Add sigaltstack-offsets.sym.
4741         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4742         <sigaltstack-offsets.h>.
4743         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
4744         longjmp_msg pointer.
4745         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
4746         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4747         signal stack.
4748         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4750 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
4752         * elf/stackguard-macros.h: Remove file.
4753         * sysdeps/generic/stackguard-macros.h: New file.
4754         * sysdeps/i386/stackguard-macros.h: Likewise.
4755         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4756         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4757         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4758         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4759         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4760         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4761         * sysdeps/x86_64/stackguard-macros.h: Likewise.
4762         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4763         <elf/stackguard-macros.h>.
4765         [BZ #14109]
4766         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4767         __aligned__ in attribute.
4768         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4769         (gregset_t): Likewise.
4771 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4773         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4774         * sysdeps/x86_64/64/Implies-after: Here.  New file.
4775         * sysdeps/x86_64/x32/Implies-after: New file.
4777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4779         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4780         and access return value for _dl_profile_fixup.  Use R10_LP to
4781         load frame size.
4783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4785         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4789         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4790         * sysdeps/x86_64/x32/sysdep.h: New file.
4792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4794         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4795         * sysdeps/x86_64/setjmp.S: Likewise.
4797 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4799         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4800         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4801         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4802         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4803         remove unused global constant.
4805 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
4807         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4808         include of <not-cancel.h>.
4810 2012-05-15  Roland McGrath  <roland@hack.frob.com>
4812         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4814 2012-05-15  Jeff Law  <law@redhat.com>
4815             Andreas Jaeger  <aj@suse.de>
4817         [BZ #13594]
4818         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4819         out from...
4820         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4821         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4822         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4823         code changing __hst_map_handle.map.
4825 2012-05-15  Roland McGrath  <roland@hack.frob.com>
4827         * configure.in (sysnames): Look for Implies-before and Implies-after
4828         files.
4829         * configure: Regenerated.
4831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4833         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4834         8-byte data alignment with LP_SIZE alignment.
4836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4838         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4839         into R10_LP.
4841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4843         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4847         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4848         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4849         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4850         Likewise.
4851         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4855         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4856         (stackinfo_sub_sp): Likewise.
4858 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4860         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4861         RAX_LP.
4863 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4865         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4866         into R*_LP.
4868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4870         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4871         sizes into R*_LP.
4873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4875         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4879         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4880         into R11_LP and load __x86_64_shared_cache_size_half into
4881         R8_LP.
4883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4885         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4886         R8_LP.
4888 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4890         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4891         logb for POWER7.
4892         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4893         logbf for POWER7.
4894         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4895         logbl for POWER7.
4896         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4897         powerpc32/power7/fpu/s_logb.c via #include.
4898         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4899         powerpc32/power7/fpu/s_logbf.c via #include.
4900         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4901         powerpc32/power7/fpu/s_logbl.c via #include.
4903 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
4905         * README.libm: Remove file.
4907 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4909         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4910         count for x32.  Use R*_LP and omit operand-size suffix.
4912 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4914         * shlib-versions: Move x86_64-.*-linux.* entries to ...
4915         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
4916         * sysdeps/x86_64/x32/shlib-versions: New file.
4918 2012-05-14  Roland McGrath  <roland@hack.frob.com>
4920         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4921         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4922         Use _dl_fatal_printf instead.
4924 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
4926         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4927         set if not set by the user.  Do not allow for being unset.
4928         * sysdeps/unix/sysv/linux/configure: Regenerated.
4930 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4932         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4933         the `q' suffix from lea and replace .quad with ASM_ADDR.
4935 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4937         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4938         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
4939         instead of $17.
4940         (PTR_DEMANGLE): Likewise.
4942 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4944         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4945         (LP_OP): Likewise.
4946         (ASM_ADDR): Likewise.
4947         (RAX_LP): Likewise.
4948         (RBP_LP): Likewise.
4949         (RBX_LP): Likewise.
4950         (RCX_LP): Likewise.
4951         (RDI_LP): Likewise.
4952         (RSI_LP): Likewise.
4953         (RSP_LP): Likewise.
4954         (R8_LP): Likewise.
4955         (R9_LP): Likewise.
4956         (R10_LP): Likewise.
4957         (R10_LP): Likewise.
4958         (R11_LP): Likewise.
4959         (R12_LP): Likewise.
4960         (R13_LP): Likewise.
4961         (R14_LP): Likewise.
4962         (R15_LP): Likewise.
4964 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4966         * sysdeps/x86_64/x32/dl-machine.h: New file.
4968 2012-05-14  Andreas Jaeger  <aj@suse.de>
4970         * manual/Makefile (subdir): Remove export of subdir.
4971         (all): Remove target.
4972         (.PHONY): Remove all from list.
4973         (mkinstalldirs): Remove.
4974         (.PHONY): Remove installdirs from list.
4975         ($(inst_infodir)/libc.info): Use make-target-directory.
4976         (installdirs): Remove.
4977         (subdir_%): Remove.
4978         (glibc-targets): Remove.
4979         (lib): Remove.
4980         (stubs): Remove.
4981         ($(objpfx)stubs ../po/manual.pot): Remove.
4982         ($(objpfx)stamp%): Remove.
4983         (make-target-directory): Remove.
4984         (subdir_install): Remove.
4985         (routines): Remove.
4986         (aux): Remove.
4987         (sources): Remove.
4988         (objects): Remove.
4989         (headers): Remove.
4991         [BZ #13750]
4992         * manual/.gitignore: Remove, it's not needed anymore.
4993         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4994         all files in it.
4995         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4996         directory.
4997         (texis): Renamed to $(objpfx)texis.
4998         (texis-path): New, contains path to generated files.
4999         (chapters.%): Use texis-path for complete path, add extra argument
5000         libc-texinfo.sh.
5001         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5002         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5003         (summary,texi, stamp-summary): Use complete path of
5004         files. Generate files in build dir.
5005         (dir-add.texi): Build in build dir.
5006         (libm-err.texi,stamp-libm-err): Likewise.
5007         (version.texi, stamp-version): Likewise.
5008         (.%c.texi): Likewise.
5009         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5010         (mostlyclean): Remove target.
5011         (realclean): Remove target.
5012         (generated): Add new variable with contents from mostlyclean and
5013         realclean, remove entries duplicated in common-mostlyclean, add
5014         stamp-libm-err and stamp-version.
5015         (generated-dirs): Add libc directory.
5016         ($(inst_infodir)/libc.info): Install files from build dir.
5018         * manual/install.texi (Configuring and compiling): Adjust since
5019         the info files are not part of the tar ball anymore.
5021 2012-05-14  Andreas Jaeger  <aj@suse.de>
5023         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5024         variable.
5026 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
5028         [BZ #13717]
5029         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5030         to 2.2.0 where earlier.
5031         * sysdeps/unix/sysv/linux/configure: Regenerated.
5032         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5033         Remove conditional code.
5034         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5035         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5036         Remove conditional code.
5037         [!__NR_lchown]: Likewise.
5038         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5039         [__NR_lchown]: Likewise.
5040         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5041         comment referencing __ASSUME_LCHOWN_SYSCALL.
5042         * sysdeps/unix/sysv/linux/i386/sigaction.c
5043         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5044         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5045         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5046         Remove conditional code.
5047         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5048         (__protocol_available): Remove #if 0 code.
5049         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5050         conditional code.
5051         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5052         * sysdeps/unix/sysv/linux/kernel-features.h
5053         (__ASSUME_GETCWD_SYSCALL): Don't define.
5054         (__ASSUME_REALTIME_SIGNALS): Likewise.
5055         (__ASSUME_PREAD_SYSCALL): Likewise.
5056         (__ASSUME_PWRITE_SYSCALL): Likewise.
5057         (__ASSUME_POLL_SYSCALL): Likewise.
5058         (__ASSUME_LCHOWN_SYSCALL): Likewise.
5059         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5060         non-SPARC.
5061         (__ASSUME_SIOCGIFNAME): Don't define.
5062         (__ASSUME_MSG_NOSIGNAL): Likewise.
5063         (__ASSUME_SENDFILE): Define unconditionally.
5064         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5065         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5066         conditional code.
5067         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5068         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5069         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5070         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5071         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5072         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5073         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5075         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5076         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5078         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5079         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5081         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5082         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5084         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5085         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5087         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5088         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5090         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5091         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5093         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5094         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5096         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5097         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5098         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5099         Remove conditional code.
5100         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5101         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5102         Remove conditional code.
5103         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5104         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5105         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5106         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5107         Remove conditional code.
5108         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5109         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5110         Remove conditional code.
5111         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5112         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5113         Remove conditional code.
5114         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5115         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5116         Remove conditional code.
5117         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5118         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5119         Remove conditional code.
5120         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5121         * sysdeps/unix/sysv/linux/sh/pwrite64.c
5122         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5123         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5124         * sysdeps/unix/sysv/linux/sigaction.c
5125         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5126         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5127         * sysdeps/unix/sysv/linux/sigpending.c
5128         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5129         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5130         * sysdeps/unix/sysv/linux/sigprocmask.c
5131         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5132         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5133         * sysdeps/unix/sysv/linux/sigsuspend.c
5134         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5135         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5136         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5137         (__libc_missing_rt_sigs): Remove.
5138         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5139         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5140         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5141         Remove conditional code.
5142         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5143         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5144         return 1.
5145         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5146         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5147         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5148         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5150 2012-05-14  Andreas Jaeger  <aj@suse.de>
5152         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5153         it's not used in glibc.
5154         (__coshm1): Likewise.
5155         (__acosh1p): Likewise.
5156         (__sgn): Likewise.
5158         * manual/string.texi (Copying and Concatenation): Add missing
5159         variable in concat example.
5160         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5162 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5164         [BZ #14103]
5165         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5166         __builtin_clzl with __builtin_clzll.
5168 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5170         [BZ #14104]
5171         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5172         libc_freeres_ptr.
5174 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5176         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5177         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5178         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5179         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5181 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
5183         * NEWS: Update ia64 info.
5185 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
5187         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5188         used as bcopy.
5190 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
5192         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5193         * sysdeps/unix/syscalls.list (dup3): Likewise.
5194         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5195         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5197 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5199         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5200         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5202 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5204         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5205         thread pointer.
5206         (TLS_IE): Use mov/add instead of movq/addq to load thread
5207         pointer.
5208         (TLS_GD_PREFIX): New.
5209         (TLS_GD): Use it.
5211 2012-05-11  David S. Miller  <davem@davemloft.net>
5213         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5214         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5215         (_FPU_SETCW): Likewise.
5217 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5219         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5220         is 32-byte aligned.
5222 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
5224         [BZ #11837]
5225         * iconvdata/gb18030.c: Update tables.
5226         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
5227         characters specially.
5228         (BODY for TO_LOOP): Add encoding of missing ranges.
5230 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
5232         [BZ #13673]
5233         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5234         * sysdeps/mach/hurd/dup3.c: Likewise.
5235         * sysdeps/mach/hurd/readlinkat.c: Likewise.
5236         * sysdeps/powerpc/memmove.c:: Likewise.
5238 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5240         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5241         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5243 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5245         * elf/elf.h (R_X86_64_RELATIVE64): New.
5246         (R_X86_64_NUM): Updated.
5247         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5248         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
5249         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5250         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5251         tst-quad1pie tst-quad2pie
5252         (modules-names): Add tst-quadmod1 tst-quadmod2.
5253         ($(objpfx)tst-quad1): New dependency.
5254         ($(objpfx)tst-quad2): Likewise.
5255         ($(objpfx)tst-quad1pie): Likewise.
5256         ($(objpfx)tst-quad2pie): Likewise.
5257         * sysdeps/x86_64/tst-quad1.c: New file.
5258         * sysdeps/x86_64/tst-quad1pie.c: New file.
5259         * sysdeps/x86_64/tst-quad2.c: Likewise.
5260         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5261         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5262         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5263         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5264         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5266 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5268         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5269         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5270         * streams/stropts.h (t_scalar_t): Define type.
5272         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5273         (_PATH_PRESERVE): Set to "/var/lib".
5274         (_PATH_RWHODIR): Set to "/var/spool/rwho".
5276         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5277         instead of int.
5279         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5280         if __dir_mkfile succeeded.
5282         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5283         checking for _hurd_dtablesize.  Unlock it right after having
5284         finished _hurd_dtable allocation.
5286 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5288         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5289         * sysdeps/mach/hurd/configure: Regenerated.
5290         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5291         special-casing to...
5292         * sysdeps/gnu/configure.in: ... this new file.
5293         * sysdeps/unix/sysv/linux/configure: Regenerated.
5294         * sysdeps/gnu/configure: New generated file.
5296         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5297         for Linux: use nsec instead of usec, as well as:
5298         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5299         members of type struct timespec.
5300         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5301         New macros.
5302         (struct stat64): Likewise.
5303         (_STATBUF_ST_NSEC): New macro.
5304         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5306         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5307         __strtoul_internal rather than strtoul.
5309 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5311         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5312         and reject them.
5314 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5316         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5317         which preserves existing values.
5318         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5320 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5322         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5323         TIMEOUT values.  Return EINVAL for NFDS values either negative or
5324         greater than FD_SETSIZE.
5326 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5328         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5329         allocated, call __vm_protect to finish enabling the existing space, and
5330         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5331         allocate the remainder.
5333 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5335         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5336         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
5338 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5340         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5341         sysdeps/mach/hurd/readlink.c.
5343         * posix/tst-sysconf.c (posix_options): Only use
5344         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5345         _POSIX_SYNCHRONIZED_IO when they are defined
5346         * sysdeps/mach/hurd/bits/posix_opt.h:
5347         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5348         (_XOPEN_REALTIME): Undefine macro.
5349         (_XOPEN_REALTIME_THREADS): Undefine macro.
5350         (_XOPEN_SHM): Undefine macro.
5351         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5352         macro to -1.
5353         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5354         macro to -1.
5355         (_POSIX_ASYNC_IO): Undefine macro.
5356         (_POSIX_PRIORITIZED_IO): Undefine macro.
5357         (_POSIX_SPIN_LOCKS): Define macro to -1.
5359         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5360         SA_NODEFER, SA_RESETHAND.
5361         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5362         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5363         F_DUPFD_CLOEXEC.
5365 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5367         * elf/Makefile (pldd-modules): Define unconditionally.
5369 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5371         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5373 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5375         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5376         Return ENOENT when name is empty.
5377         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5381         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5383         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5385 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5387         Fix mlock in all cases except non-readable pages.
5388         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5389         instead of VM_PROT_ALL as parameter to __vm_wire function.
5391         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5392         (__mkdir): When path is `/', just fail with EEXIST.
5393         * sysdeps/mach/hurd/mkdirat.c: Likewise.
5395 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5397         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5398         <sys/uio.h> (for writev).
5399         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5400         and <sys/param.h> (for MIN).
5402 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5404         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5405         REQUESTED_TIME.  Properly set the remaining time and return EINTR
5406         if interrupted.
5408 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5410         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5411         Depend on against $(link-rpcuserlibs).
5413 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5415         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5416         (__libc_stack_end): Do not use attribute_relro.
5417         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5418         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5419         to libthread-provided value.
5420         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5421         attribute_relro.
5423 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5425         [BZ #3748]
5426         * bits/libc-lock.h (__libc_once_get): New macro.
5427         * sysdeps/mach/bits/libc-lock.h: Likewise.
5428         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5429         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5430         instead of using implementation details.
5432         * libio/fileops.c: Unconditionally include <kernel-features.h>.
5433         * libio/freopen.c: Likewise.
5434         * libio/freopen64.c: Likewise.
5435         * misc/syslog.c: Likewise.
5436         * nscd/connections.c: Likewise.
5437         * nscd/netgroupcache.c: Likewise.
5438         * sysdeps/posix/getcwd.c: Likewise.
5440 2012-05-10  Roland McGrath  <roland@hack.frob.com>
5442         * math/w_ilogbf.c: Add #include <limits.h>.
5444 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5446         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5447         path instead of returning without unlocking.
5449         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5450         immediate-write ioctls.
5451         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5453 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5455         * sysdeps/mach/hurd/i386/init-first.c (init): Use
5456         __builtin_frame_address instead of making assumptions about the
5457         location of the return address relative to DATA.  Force early load of
5458         the return address.
5459         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5460         __builtin_frame_address.
5462         dup3 for GNU Hurd.
5463         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5464         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
5465         implement dup3 and do some further code clean-ups.
5466         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5467         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5469 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5471         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5473         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5474         HURD_CRITICAL_END around holding _hurd_dtable_lock.
5475         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5476         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5477         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5478         d->port.lock.
5480         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5481         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
5482         when handler == SIG_ERR, not when handler != SIG_ERR.
5484 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5486         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5487         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5488         definitions.
5490         accept4 for GNU Hurd.
5491         * include/sys/socket.h (__libc_accept4): New prototype.
5492         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
5493         to implement __libc_accept4.
5494         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5495         __libc_accept4.
5496         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5498         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5499         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5500         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5501         signal-defines.sym.
5503 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5505         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5507 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5509         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5510         assertion on O_CLOEXEC flag.
5511         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5512         * hurd/intern-fd.c: Likewise.
5513         * hurd/port2fd.c: Likewise.
5515 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5517         [BZ #3906]
5518         * bits/in.h (IPV6_PKTINFO): Define new macro.
5519         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5521 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5523         [BZ #13954]
5524         [BZ #13955]
5525         [BZ #13956]
5526         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5527         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5528         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5529         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5530         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5531         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5532         * math/libm-test.inc (logb_test) : Additional logb tests.
5534 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
5535             Andreas Jaeger  <aj@suse.de>
5537         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5538         * configure: Regenerated.
5539         * config.h.in (LINK_OBSOLETE_RPC): New macro.
5540         * config.make.in (link-obsolete-rpc): New substituted variable.
5541         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5542         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5543         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5544         (shared-only-routines): Don't set it under [link-obsolete-rpc],
5545         so that libc.a contains the symbols.
5546         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5547         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5548         * sunrpc/auth_none.c: Likewise.
5549         * sunrpc/auth_unix.c: Likewise.
5550         * sunrpc/authdes_prot.c: Likewise.
5551         * sunrpc/authuxprot.c: Likewise.
5552         * sunrpc/clnt_gen.c: Likewise.
5553         * sunrpc/clnt_perr.c: Likewise.
5554         * sunrpc/clnt_raw.c: Likewise.
5555         * sunrpc/clnt_simp.c: Likewise.
5556         * sunrpc/clnt_tcp.c: Likewise.
5557         * sunrpc/clnt_udp.c: Likewise.
5558         * sunrpc/clnt_unix.c: Likewise.
5559         * sunrpc/des_crypt.c: Likewise.
5560         * sunrpc/des_soft.c: Likewise.
5561         * sunrpc/get_myaddr.c: Likewise.
5562         * sunrpc/key_call.c: Likewise.
5563         * sunrpc/key_prot.c: Likewise.
5564         * sunrpc/netname.c: Likewise.
5565         * sunrpc/pm_getmaps.c: Likewise.
5566         * sunrpc/pm_getport.c: Likewise.
5567         * sunrpc/pmap_clnt.c: Likewise.
5568         * sunrpc/pmap_prot.c: Likewise.
5569         * sunrpc/pmap_prot2.c: Likewise.
5570         * sunrpc/pmap_rmt.c: Likewise.
5571         * sunrpc/publickey.c: Likewise.
5572         * sunrpc/rpc_cmsg.c: Likewise.
5573         * sunrpc/rpc_common.c: Likewise.
5574         * sunrpc/rpc_dtable.c: Likewise.
5575         * sunrpc/rpc_prot.c: Likewise.
5576         * sunrpc/rpc_thread.c: Likewise.
5577         * sunrpc/rtime.c: Likewise.
5578         * sunrpc/svc.c: Likewise.
5579         * sunrpc/svc_auth.c: Likewise.
5580         * sunrpc/svc_raw.c: Likewise.
5581         * sunrpc/svc_run.c: Likewise.
5582         * sunrpc/svc_tcp.c: Likewise.
5583         * sunrpc/svc_udp.c: Likewise.
5584         * sunrpc/svc_unix.c: Likewise.
5585         * sunrpc/svcauth_des.c: Likewise.
5586         * sunrpc/xcrypt.c: Likewise.
5587         * sunrpc/xdr.c: Likewise.
5588         * sunrpc/xdr_array.c: Likewise.
5589         * sunrpc/xdr_float.c: Likewise.
5590         * sunrpc/xdr_intXX_t.c: Likewise.
5591         * sunrpc/xdr_mem.c: Likewise.
5592         * sunrpc/xdr_rec.c: Likewise.
5593         * sunrpc/xdr_ref.c: Likewise.
5594         * sunrpc/xdr_sizeof.c: Likewise.
5595         * sunrpc/xdr_stdio.c: Likewise.
5597 2012-05-10  Roland McGrath  <roland@hack.frob.com>
5599         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5600         change.  Update copyright years.
5602 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
5604         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5606 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
5607             Joseph Myers  <joseph@codesourcery.com>
5608             Paul Pluzhnikov  <ppluzhnikov@google.com>
5610         [BZ #14012]
5611         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5612         requiring rpcgen.
5613         [cross-compiling] (extra-libs): Likewise.
5614         [cross-compiling] (extra-libs-others): Likewise.
5615         [cross-compiling] (librpcsvc-routines): Likewise.
5616         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5617         [cross-compiling] (omit-deps): Likewise.
5618         (sunrpc-CPPFLAGS): New variable.
5619         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5620         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5621         (cross-rpcgen-objs): New variable.
5622         (extra-objs): Append $(cross-rpcgen-objs).
5623         ($(cross-rpcgen-objs)): New rule.
5624         ($(objpfx)cross-rpcgen): Likewise.
5625         (rpcgen-cmd): Define to use $(built-program-file).  Expand
5626         comment.
5627         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5628         ($(objpfx)x%.stmp): Likewise.
5629         * sunrpc/proto.h [IS_IN_build] (_): Define.
5630         [IS_IN_build] (_libc_intl_domainname): Likewise.
5632 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5634         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5635         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5636         and R_X86_64_TPOFF64.
5638 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
5640         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5641         sysdeps/unix/sysv/syscalls.list.
5642         (stime): Likewise.
5643         (utime): Likewise.
5644         * sysdeps/unix/sysv/syscalls.list: Remove file.
5646 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
5648         [BZ #3440]
5649         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5650         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5651         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5652         (__LC_IDENTIFICATION): Make these macros useful in #if
5653         expressions, as required by C99.
5655 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
5657         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5658         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
5659         after this.
5661 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
5663         * stdlib/longlong.h: Updated from GCC.
5665 2012-05-09  Andreas Jaeger  <aj@suse.de>
5667         * nscd/nscd.c (run_modes): Make named enum, reorder so that
5668         default is first entry.
5669         (run_mode): Set type.
5670         (main): Remove informal message about syslog.
5671         (options): Fix typo.
5673         [BZ #14053]
5674         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5675         to asm.
5676         (lrint): Likewise.
5677         (llrintf): Likewise.
5678         (llrint): Likewise.
5679         (rint): Likewise.
5680         (rintf): Likewise.
5681         (nearbyint): Likewise.
5682         (nearbyintf): Likewise.
5684 2012-05-09  Andreas Jaeger  <aj@suse.de>
5685             Pedro Alves  <palves@redhat.com>
5687         * nscd/nscd.c (run_mode): Use enum.
5688         (main): Cleanup coding style issue.
5690 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
5691             Andreas Jaeger  <aj@suse.de>
5693         * nscd/nscd.c (go_background): Replaced with...
5694         (run_mode): ... this.
5695         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5696         (options): Add -F --foreground.
5697         (main): Implement it.
5698         (parse_opt): Parse it.
5700 2012-05-09  Andreas Jaeger  <aj@suse.de>
5702         [BZ #14083]
5703         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5704         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5705         -Wconversion warning.
5706         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5707         Likewise.
5709 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
5711         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
5712         == 0.
5713         (LC_ALL): Use macro-int-constant.
5714         (LC_COLLATE): Likewise.
5715         (LC_CTYPE): Likewise.
5716         (LC_MESSAGES): Likewise.
5717         (LC_MONETARY): Likewise.
5718         (LC_NUMERIC): Likewise.
5719         (LC_TIME): Likewise.
5720         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5721         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5722         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5723         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5724         Specify type.
5725         [C99-based standards] (float_t): Expect type.
5726         [C99-based standards] (double_t): Expect type.
5727         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
5728         type.
5729         [C99-based standards] (HUGE_VALL): Likewise.
5730         [C99-based standards] (INFINITY): Likewise.
5731         [C99-based standards] (NAN): Likewise.
5732         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5733         [C99-based standards] (FP_NAN): Likewise.
5734         [C99-based standards] (FP_NORMAL): Likewise.
5735         [C99-based standards] (FP_SUBNORMAL): Likewise.
5736         [C99-based standards] (FP_ZERO): Likewise.
5737         [C99-based standards] (FP_FAST_FMA): Use
5738         optional-macro-int-constant.  Specify type.  Require == 1.
5739         [C99-based standards] (FP_FAST_FMAF): Likewise.
5740         [C99-based standards] (FP_FAST_FMAL): Likewise.
5741         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5742         [C99-based standards] (FP_ILOGBNAN): Likewise.
5743         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5744         Specify type.
5745         [C99-based standards] (MATH_ERREXCEPT): Likewise.
5746         [C99-based standards] (math_errhandling): Specify type.
5747         [ISO99 || ISO11] (signgam): Do not allow.
5748         [non-C99-based standards] (copysignf): Do not allow.
5749         [non-C99-based standards] (exp2f): Likewise.
5750         [non-C99-based standards] (log2f): Likewise.
5751         [non-C99-based standards] (modff): Allow.
5752         [non-C99-based standards] (erff): Do not allow.
5753         [non-C99-based standards] (erfcf): Likewise.
5754         [non-C99-based standards] (gammaf): Likewise.
5755         [non-C99-based standards] (hypotf): Likewise.
5756         [non-C99-based standards] (j0f): Likewise.
5757         [non-C99-based standards] (j1f): Likewise.
5758         [non-C99-based standards] (jnf): Likewise.
5759         [non-C99-based standards] (lgammaf): Likewise.
5760         [non-C99-based standards] (tgammaf): Likewise.
5761         [non-C99-based standards] (y0f): Likewise.
5762         [non-C99-based standards] (y1f): Likewise.
5763         [non-C99-based standards] (ynf): Likewise.
5764         [non-C99-based standards] (isnanf): Likewise.
5765         [non-C99-based standards] (acoshf): Likewise.
5766         [non-C99-based standards] (asinhf): Likewise.
5767         [non-C99-based standards] (atanhf): Likewise.
5768         [non-C99-based standards] (cbrtf): Likewise.
5769         [non-C99-based standards] (expm1f): Likewise.
5770         [non-C99-based standards] (ilogbf): Likewise.
5771         [non-C99-based standards] (log1pf): Likewise.
5772         [non-C99-based standards] (logbf): Likewise.
5773         [non-C99-based standards] (nextafterf): Likewise.
5774         [non-C99-based standards] (remainderf): Likewise.
5775         [non-C99-based standards] (rintf): Likewise.
5776         [non-C99-based standards] (scalbf): Likewise.
5777         [non-C99-based standards] (copysignl): Likewise.
5778         [non-C99-based standards] (exp2l): Likewise.
5779         [non-C99-based standards] (log2l): Likewise.
5780         [non-C99-based standards] (modfl): Allow.
5781         [non-C99-based standards] (erfl): Do not allow.
5782         [non-C99-based standards] (erfcl): Likewise.
5783         [non-C99-based standards] (gammal): Likewise.
5784         [non-C99-based standards] (hypotl): Likewise.
5785         [non-C99-based standards] (j0l): Likewise.
5786         [non-C99-based standards] (j1l): Likewise.
5787         [non-C99-based standards] (jnl): Likewise.
5788         [non-C99-based standards] (lgammal): Likewise.
5789         [non-C99-based standards] (tgammal): Likewise.
5790         [non-C99-based standards] (y0l): Likewise.
5791         [non-C99-based standards] (y1l): Likewise.
5792         [non-C99-based standards] (ynl): Likewise.
5793         [non-C99-based standards] (isnanl): Likewise.
5794         [non-C99-based standards] (acoshl): Likewise.
5795         [non-C99-based standards] (asinhl): Likewise.
5796         [non-C99-based standards] (atanhl): Likewise.
5797         [non-C99-based standards] (cbrtl): Likewise.
5798         [non-C99-based standards] (expm1l): Likewise.
5799         [non-C99-based standards] (ilogbl): Likewise.
5800         [non-C99-based standards] (log1pl): Likewise.
5801         [non-C99-based standards] (logbl): Likewise.
5802         [non-C99-based standards] (nextafterl): Likewise.
5803         [non-C99-based standards] (remainderl): Likewise.
5804         [non-C99-based standards] (rintl): Likewise.
5805         [non-C99-based standards] (scalbl): Likewise.
5806         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5807         [non-C99-based standards] (FP_*): Do not allow.
5808         [C99-based standards] (FP_*): Change to
5809         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5810         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5811         allow.
5812         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5813         (SIG_ERR): Likewise.
5814         [X/Open-based standards] (SIG_HOLD): Likewise.
5815         (SIG_IGN): Likewise.
5816         (SIGABRT): Use macro-int-constant.  Specify type.  Require
5817         positive value.
5818         (SIGFPE): Likewise.
5819         (SIGILL): Likewise.
5820         (SIGINT): Likewise.
5821         (SIGSEGV): Likewise.
5822         (SIGTER): Likewise.
5823         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5824         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5825         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5826         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5827         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5828         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5829         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5830         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5831         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5832         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5833         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5834         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5835         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5836         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5837         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5838         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5839         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5840         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5841         [X/Open-based standards] (SIGTRAP): Likewise.
5842         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5843         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5844         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5845         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5846         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5847         allow.
5849 2012-05-08  Ian Wienand  <ianw@vmware.com>
5851         [BZ #14080]
5852         * time/tzset.c (__tzset_parse_tz): Update default rules for
5853         daylight time changes in the Energy Policy Act of 2005.
5855 2012-05-09  Andreas Jaeger  <aj@suse.de>
5857         [BZ #13983]
5858         * elf/ldconfig.c (parse_conf): Change string to make clear that
5859         ldconfig only issued a warning if ld.so.conf does not exist.
5861 2012-05-08  David S. Miller  <davem@davemloft.net>
5863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5864         movxtod instead of popping the value on the stack.
5866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5868 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
5870         * config.h.in: Add HAVE_ARM_PCS_VFP.
5872 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
5874         [BZ #13979]
5875         * include/features.h: Warn if user requests __FORTIFY_SOURCE
5876         checking but the checks are disabled for any reason.
5878 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5880         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5881         and ELF64_R_TYPE with ELFW(R_TYPE).
5883 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
5885         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5886         (ulimit): Likewise.
5888         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5889         (settimeofday): Likewise.
5891 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
5893         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
5894         a struct th_u2 inside the union, and move tu_block/tu_code into
5895         a new th_u3 union of tu_block/tu_code inside of that.  Move
5896         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
5897         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
5898         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5899         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5900         (th_stuff): Change to th_u1.tu_stuff.
5901         (th_data): Define.
5902         (th_msg): Change to th_u1.th_u2.tu_data.
5904 2012-05-07  David S. Miller  <davem@davemloft.net>
5906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5908         [BZ #14074]
5909         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5910         (SETUP_PIC_REG): Use it.
5911         (SETUP_PIC_REG_LEAF): Use it.
5913 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
5915         [BZ #13885]
5916         [BZ #13923]
5917         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5918         USE_AS_EXPM1L.
5919         (EXPL_FINITE): Likewise.
5920         (FLDLOG): Likewise.
5921         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5922         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5923         e_expl.S.
5924         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5925         USE_AS_EXPM1L.
5926         (EXPL_FINITE): Likewise.
5927         (FLDLOG): Likewise.
5928         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5929         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5930         e_expl.S.
5931         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
5932         test of -max_value argument for long double.
5933         * sysdeps/i386/fpu/libm-test-ulps: Update.
5934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5936 2012-05-06  David S. Miller  <davem@davemloft.net>
5938         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5939         quad soft-float symbols whose references which are compiler
5940         generated.
5941         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5943 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
5945         [BZ #13884]
5946         [BZ #13914]
5947         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5948         USE_AS_EXP10L.
5949         (EXPL_FINITE): Likewise.
5950         (FLDLOG): Likewise.
5951         (c0): Likewise.
5952         (c1): Likewise.
5953         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
5954         Adjust comments for base varying.
5955         (__expl_finite): Change alias to EXPL_FINITE.
5956         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5957         e_expl.S.
5958         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5959         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5960         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5961         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5962         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5963         USE_AS_EXP10L.
5964         (EXPL_FINITE): Likewise.
5965         (FLDLOG): Likewise.
5966         (c0): Likewise.
5967         (c1): Likewise.
5968         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
5969         Adjust comments for base varying.
5970         (__expl_finite): Change alias to EXPL_FINITE.
5971         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
5972         tests for bugs.
5973         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5975         [BZ #14064]
5976         * math/libm-test.inc (check_float_internal): Correct ulp
5977         calculation for subnormal expected results.
5979 2012-05-06  Andreas Jaeger  <aj@suse.de>
5981         * Makeconfig (+math-flags): New, set to -frounding-math.
5982         (+cflags): Add +math-flags so that all of glibc gets compiled with
5983         it.
5985         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5987 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
5989         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5990         Disable one test.
5992         [BZ #13787]
5993         [BZ #13922]
5994         [BZ #14036]
5995         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5996         (__ieee754_expl): Allow for and saturate large arguments.
5997         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5998         (u_threshold): Likewise.
5999         (__exp): Call __ieee754_exp before checking for overflow and
6000         underflow.
6001         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6002         (u_threshold): Likewise.
6003         (__expf): Call __ieee754_expf before checking for overflow and
6004         underflow.
6005         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6006         (u_threshold): Likewise.
6007         (__expl): Call __ieee754_expl before checking for overflow and
6008         underflow.
6009         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6010         (__ieee754_expl): Allow for and saturate large arguments.
6011         * math/libm-test.inc (exp_test): Add another test.  Do not allow
6012         missing overflow exception on overflow.
6013         (expm1_test): Do not allow missing overflow exception on overflow.
6015         * sysdeps/i386/fpu/e_expl.c: Move to ...
6016         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
6017         rather than using inline asm.
6018         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6019         * sysdeps/x86_64/fpu/e_expl.S: Copy from
6020         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6022         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6023         (nice): Likewise.
6024         (poll): Likewise.
6025         (signal): Likewise.
6026         (time): Likewise.
6027         (times): Likewise.
6029 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6031         * sysdeps/unix/syscalls.list (adjtime): Add entry from
6032         sysdeps/unix/common/syscalls.list.
6033         (fchmod): Likewise.
6034         (fchown): Likewise.
6035         (ftruncate): Likewise.
6036         (getrusage): Likewise.
6037         (gettimeofday): Likewise.
6038         (setpgid): Likewise.
6039         (setregid): Likewise.
6040         (setreuid): Likewise.
6041         (sigaction): Likewise.
6042         (truncate): Likewise.
6043         (vhangup): Likewise.
6044         * sysdeps/unix/common/syscalls.list: Remove file.
6045         * sysdeps/unix/bsd/Implies: Don't include unix/common.
6046         * sysdeps/unix/sysv/linux/Implies: Likewise.
6048 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
6050         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6052         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6053         Moved to ...
6054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6055         Here.
6056         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6057         to ...
6058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6059         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6060         to ...
6061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6062         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6063         to ...
6064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6065         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6066         to ...
6067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6068         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6069         to ...
6070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6071         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6072         to ...
6073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6074         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6075         to ...
6076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6077         Here.
6078         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6079         to ...
6080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6081         Here.
6082         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6083         to ...
6084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6085         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6086         Moved to ...
6087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6088         Here.
6089         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6090         to ...
6091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6093 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6095         * sysdeps/unix/common/bits/dirent.h: Remove file.
6096         * sysdeps/unix/common/bits/fcntl.h: Likewise.
6098         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6099         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6100         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6101         * sysdeps/unix/bsd/isatty.c: Likewise.
6102         * sysdeps/unix/bsd/tcdrain.c: Likewise.
6103         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6104         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6106 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6108         [BZ #13563]
6109         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6110         long double comparison inaccuracies.
6111         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6114 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
6116         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6117         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6119 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6121         [BZ #14049]
6122         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6123         nonzero digits before rounding a hex value.
6124         * stdlib/tst-strtod.c (tests): Add another test.
6126 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6128         * sysdeps/s390/fpu/libm-test-ulps: Update.
6130 2012-05-03  Andreas Jaeger  <aj@suse.de>
6132         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6133         does not get optimized out.
6134         (malloc_opt_barrier): New.
6136 2012-05-03  Andreas Jaeger  <aj@suse.de>
6137             Roland McGrath  <roland@hack.frob.com>
6139         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6140         intermediate file deletion.
6141         (generated): Add .symlist files.
6143 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
6145         [BZ #13775]
6146         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6147         Redirect under this condition.
6148         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6149         [__USE_GNU] (__dprintf_chk): Not under this condition.
6150         [__USE_GNU] (__vdprintf_chk): Likewise.
6151         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6152         under this condition.
6153         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6154         [__USE_XOPEN2K8] (dprintf): Define under this condition.
6155         [__USE_XOPEN2K8] (vdprintf): Likewise.
6156         [__USE_GNU] (__dprintf_chk): Not under this condition.
6157         [__USE_GNU] (__vdprintf_chk): Likewise.
6158         [__USE_GNU] (dprintf): Likewise.
6159         [__USE_GNU] (vdprintf): Likewise.
6161 2012-05-03  Roland McGrath  <roland@hack.frob.com>
6163         * elf/Makefile (common-generated): Set this instead of generated for
6164         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
6165         $(all-built-dso)-derived lists.
6167 2012-05-03  Andreas Jaeger  <aj@suse.de>
6169         * sysdeps/i386/fpu/libm-test-ulps: Update.
6171         * FAQ: Removed.
6172         * FAQ.in: Likewise.
6173         * scripts/gen-FAQ.pl: Likewise.
6174         * manual/install.texi (Installation): Point to online location of
6175         FAQ.
6176         * Makefile (files-for-dist): Remove FAQ.
6177         (FAQ): Remove.
6179 2012-05-02  Allan McRae  <allan@archlinux.org>
6181         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6182         (LDFLAGS-reldepmod5.so): Likewise.
6183         (LDFLAGS-reldep6mod1.so): Likewise.
6184         (LDFLAGS-reldep6mod4.so): Likewise.
6185         (LDFLAGS-reldep8mod3.so): Likewise.
6186         (LDFLAGS-unload4mod1.so): Likewise.
6187         (LDFLAGS-unload4mod2.so): Likewise.
6188         (LDFLAGS-tst-initorder): Likewise.
6189         (LDFLAGS-tst-initordera2.so): Likewise.
6190         (LDFLAGS-tst-initordera3.so): Likewise.
6191         (LDFLAGS-tst-initordera4.so): Likewise.
6192         (LDFLAGS-tst-initorderb2.so): Likewise.
6193         (LDFLAGS-noload): Likewise.
6194         (LDFLAGS-next): Likewise.
6195         (LDFLAGS-order2mod1.so): Likewise.
6196         (LDFLAGS-order2mod2.so): Likewise.
6197         (LDFLAGS-tst-initorder2): Likewise.
6198         (LDFLAGS-tst-initorder2a.so): Likewise.
6199         (LDFLAGS-tst-initorder2b.so): Likewise.
6200         (LDFLAGS-tst-initorder2c.so): Likewise.
6201         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6203 2012-05-02  David S. Miller  <davem@davemloft.net>
6205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6207 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6209         [BZ #14055]
6210         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6212 2012-05-02  Andreas Jaeger  <aj@suse.de>
6214         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6215         since we manipulate rounding mode.
6216         (CPPFLAGS-test-idouble.c): Likewise.
6217         (CPPFLAGS-test-ifloat.c): Likewise.
6218         (CFLAGS-test-ldouble.c): Likewise.
6219         (CFLAGS-test-double.c): Likewise.
6220         (CFLAGS-test-float.c): Likewise.
6221         (CFLAGS-test-misc.c): Likewise.
6222         (CFLAGS-test-test-fenv.c): Likewise.
6224 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6226         [BZ #2550]
6227         [BZ #2570]
6228         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6229         comparisons to determine direction to adjust input.
6231 2012-05-01  Roland McGrath  <roland@hack.frob.com>
6233         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6234         output to the target.
6236         * scripts/localplt.awk: New file.
6237         * elf/Makefile ($(objpfx)check-localplt): Target removed.
6238         (check-localplt-CFLAGS): Variable removed.
6239         ($(all-built-dso:=.jmprel)): New static pattern rule.
6240         (generated): Add those targets.
6241         (localplt-built-dso): New variable.
6242         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6244         * elf/check-localplt.c: File removed.
6246         * scripts/check-execstack.awk: New file.
6247         * elf/Makefile ($(objpfx)check-execstack): Target removed.
6248         (check-execstack-CFLAGS): Variable removed.
6249         ($(objpfx)check-execstack.h): Target removed.
6250         ($(objpfx)execstack-default): New target.
6251         (generated): Add that instead of check-execstack.h.
6252         ($(all-built-dso:=.phdr)): New static pattern rule.
6253         (generated): Add those targets.
6254         * elf/check-execstack.c: File removed.
6256         * scripts/check-textrel.awk: New file.
6257         * elf/Makefile ($(objpfx)check-textrel): Target removed.
6258         (check-textrel-CFLAGS): Variable removed.
6259         (all-built-dso): Use := to define.o
6260         ($(all-built-dso:=.dyn)): New static pattern rule.
6261         (generated): Add those targets.
6262         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6263         * config.make.in (READELF): New substituted variable.
6264         * elf/check-textrel.c: File removed.
6266 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
6268         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6269         allow.
6270         * conform/data/ctype.h-data [C99-based standards] (isblank):
6271         Expect function.
6272         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6273         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6274         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6275         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6276         Specify type.  Require positive value.
6277         (EILSEQ): Likewise.
6278         (ERANGE): Likewise.
6279         [ISO || POSIX] (EILSEQ): Do not expect.
6280         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6281         Specify type.  Require positive value.
6282         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6283         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6284         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6285         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6286         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6287         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6288         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6289         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6290         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6291         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6292         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6293         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6294         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6295         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6296         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6297         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6298         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6299         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6300         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6301         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6302         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6303         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6304         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6305         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6306         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6307         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6308         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6309         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6310         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6311         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6312         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6313         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6314         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6315         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6316         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6317         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6318         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6319         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6320         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6321         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6322         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6323         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6324         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6325         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6326         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6327         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6328         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6329         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6330         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6331         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6332         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6333         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6334         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6335         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6336         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6337         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6338         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6339         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6340         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6341         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6342         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6343         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6344         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6345         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6346         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6347         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6348         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6349         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6350         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6351         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6352         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6353         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6354         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6355         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6356         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6357         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6358         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6359         Require >= 2.
6360         (FLT_ROUNDS): Expect as macro, not constant.
6361         (FLT_MANT_DIG): Use macro-int-constant.
6362         (DBL_MANT_DIG): Likewise.
6363         (LDBL_MANT_DIG): Likewise.
6364         (FLT_DIG): Likewise.
6365         (DBL_DIG): Likewise.
6366         (LDBL_DIG): Likewise.
6367         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
6368         (DBL_MIN_EXP): Likewise.
6369         (LDBL_MIN_EXP): Likewise.
6370         (FLT_MAX_EXP): Use macro-int-constant.
6371         (DBL_MAX_EXP): Likewise.
6372         (LDBL_MAX_EXP): Likewise.
6373         (FLT_MAX_10_EXP): Likewise.
6374         (DBL_MAX_10_EXP): Likewise.
6375         (LDBL_MAX_10_EXP): Likewise.
6376         (FLT_MAX): Use macro-constant.
6377         (DBL_MAX): Likewise.
6378         (LDBL_MAX): Likewise.
6379         (FLT_EPSILON): Use macro-constant.  Give upper bound.
6380         (DBL_EPSILON): Likewise.
6381         (LDBL_EPSILON): Likewise.
6382         (FLT_MIN): Likewise.
6383         (DBL_MIN): Likewise.
6384         (LDBL_MIN): Likewise.
6385         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6386         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6387         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6388         [ISO11] (FLT_HAS_SUBNORM): Likewise.
6389         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6390         [ISO11] (DBL_DECIMAL_DIG): Likewise.
6391         [ISO11] (FLT_DECIMAL_DIG): Likewise.
6392         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6393         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6394         [ISO11] (FLT_TRUE_MIN): Likewise.
6395         [ISO11] (LDBL_TRUE_MIN): Likewise.
6396         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6397         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6398         (SCHAR_MIN): Use macro-int-constant.  Specify type.
6399         (SCHAR_MAX): Likewise.
6400         (UCHAR_MAX): Likewise.
6401         (CHAR_MIN): Likewise.
6402         (CHAR_MAX): Likewise.
6403         (MB_LEN_MAX): Use macro-int-constant.
6404         (SHRT_MIN): Use macro-int-constant.  Specify type.
6405         (SHRT_MAX): Likewise.
6406         (USHRT_MAX): Likewise.
6407         (INT_MAX): Likewise.
6408         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
6409         bound negative.
6410         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6411         bound with "U".
6412         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6413         bound with "L".
6414         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
6415         bound negative.  Suffix upper bound with "L".
6416         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6417         bound with "UL".
6418         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6419         Specify type.
6420         [C99-based standards] (LLONG_MAX): Likewise.
6421         [C99-based standards] (ULLONG_MAX): Likewise.
6422         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
6423         == 0.
6424         [ISO11] (max_align_t): Require type.
6425         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6427         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6428         from $CFLAGS, without defining away __attribute__ calls.
6429         (checknamespace): Use $CFLAGS_namespace.
6431         * conform/conformtest.pl (@keywords): Only include C99 keywords
6432         for standards based on C99 or C11.
6434         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6435         Disable tests.
6436         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6437         UNIX98]: Likewise.
6439         * conform/conformtest.pl: Handle "macro-int-constant" and test for
6440         usability of symbols in #if.
6442         * conform/conformtest.pl: If macro or constant types start
6443         "promoted:", expect the symbol to be of the following type
6444         promoted by the integer promotions.
6446         * conform/conformtest.pl: Parse all "constant" and "macro" lines
6447         in one place.  Also handle "macro-constant".
6449         * conform/conformtest.pl: Only accept expected macro values with
6450         "==".  Parse all "macro" lines in one place.
6451         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6453         * conform/conformtest.pl: Handle braced types on "constant" lines
6454         instead of handling "typed-constant".
6455         * conform/data/signal.h-data: Use "constant" instead of
6456         "typed-constant".
6458         * conform/conformtest.pl: Handle "optional-" at start of lines in
6459         one place rather than duplicating several cases.  Handle each
6460         format of "macro" line with initial "optional-".
6462         * conform/conformtest.pl: Only accept expected constant or
6463         optional-constant values with "==".  Parse all "constant" lines in
6464         one place.  Parse all "optional-constant" lines in one place.
6465         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6466         * conform/data/fmtmsg.h-data: Likewise.
6467         * conform/data/netinet/in.h-data: Likewise.
6468         * conform/data/tar.h-data: Likewise.
6469         * conform/data/limits.h-data: Use "==" form on "constant" and
6470         "optional-constant" lines.
6472         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6473         Use -std=c99 for XOPEN2K.
6474         (@knownproblems): Remove.
6475         (newtoken): Don't check %isknown.
6477         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6478         Do not expect macro.
6479         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6480         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6481         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6482         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6483         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6484         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6485         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6486         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6487         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6488         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6489         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6490         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6491         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6492         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6493         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6494         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6495         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6496         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6497         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6498         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6499         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6500         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6501         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6502         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6503         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6504         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6505         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6506         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6507         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6508         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6509         [XPG3] (acosh): Likewise.
6510         [XPG3] (asinh): Likewise.
6511         [XPG3] (atanh): Likewise.
6512         [XPG3] (cbrt): Likewise.
6513         [XPG3] (expm1): Likewise.
6514         [XPG3] (ilogb): Likewise.
6515         [XPG3] (log1p): Likewise.
6516         [XPG3] (logb): Likewise.
6517         [XPG3] (nextafter): Likewise.
6518         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6519         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6520         [XPG3] (remainder): Likewise.
6521         [XPG3] (rint): Likewise.
6522         [XPG3 || XPG4 || UNIX98] (round): Likewise.
6523         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6524         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6525         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6526         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6527         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6528         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6529         [UNIX98 || XOPEN2K] (scalb): Expect.
6530         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6531         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6532         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6533         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6534         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6535         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6536         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6537         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6538         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6539         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6540         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6541         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6542         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6543         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6544         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6545         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6546         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6547         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6548         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6549         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6550         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6551         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6552         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6553         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6554         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6555         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6556         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6557         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6558         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6559         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6560         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6561         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6562         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6563         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6564         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6565         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6566         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6567         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6568         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6569         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6570         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6571         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6572         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6573         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6574         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6575         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6576         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6577         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6578         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6579         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6580         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6581         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6582         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6583         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6584         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6585         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6586         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6587         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6588         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6589         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6590         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6591         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6592         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6593         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6594         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6595         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6596         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6597         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6598         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6599         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6600         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6601         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6602         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6603         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6604         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6605         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6606         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6607         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6608         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6609         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6610         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6611         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6612         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6613         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6614         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6615         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6616         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6617         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6618         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6619         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6620         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6621         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6622         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6623         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6624         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6625         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6626         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6627         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6628         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6629         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6630         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6631         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6632         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6633         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6634         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6635         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6636         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6637         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6638         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6639         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6640         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6641         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6642         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6643         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6644         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6645         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6646         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6647         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6648         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6649         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6650         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6651         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6652         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6653         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6654         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6655         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6656         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6657         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6658         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6659         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6660         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6661         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6662         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6663         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6664         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6665         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6666         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6668         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6669         _XOPEN_SOURCE_EXTENDED for XPG4.
6671         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6673         * Makeconfig (localtime): Remove variable.
6674         (inst_localtime-file): Likewise.
6676 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6679         Update.
6680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6681         Update.
6682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6683         Update.
6684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6685         Update.
6686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6687         Update.
6688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6689         Update.
6690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6691         Update.
6692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6693         Update.
6694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6695         Update.
6697 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
6699         [BZ #2550]
6700         [BZ #2570]
6701         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6702         comparisons to determine direction to adjust input.
6703         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6704         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6705         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6706         Likewise.
6707         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6708         Likewise.
6709         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6710         Likewise.
6711         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6712         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6713         Likewise.
6714         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6715         Likewise.
6716         * math/libm-test.inc (nexttoward_test): Add more tests.
6718 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6720         [BZ #14040]
6721         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6722         in version GLIBC_2.1, not GLIBC_2.0.
6723         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6724         Likewise.
6726 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
6728         [BZ #13942]
6729         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6730         (1 - x) * (1 + x).
6731         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6732         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6733         * math/libm-test.inc (acos_test): Add more tests.
6734         (asin_test): Likewise.
6735         * sysdeps/i386/fpu/libm-test-ulps: Update.
6736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6738         [BZ #14034]
6739         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6740         of square root.
6741         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6742         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6743         * math/libm-test.inc (acos_test_tonearest): New function.
6744         (acos_test_towardzero): Likewise.
6745         (acos_test_downward): Likewise.
6746         (acos_test_upward): Likewise.
6747         (asin_test_tonearest): Likewise.
6748         (asin_test_towardzero): Likewise.
6749         (asin_test_downward): Likewise.
6750         (asin_test_upward): Likewise.
6751         (main): Call the new functions.
6752         * sysdeps/i386/fpu/libm-test-ulps: Update.
6753         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6755         [BZ #13884]
6756         [BZ #13924]
6757         * math/e_exp10.c: Include <float.h>.
6758         (__ieee754_exp10): Handle underflow here rather than multiplying
6759         large negative argument by M_LN10.
6760         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6761         of __ieee754_expf.
6762         * math/e_exp10l.c: Include <float.h>.
6763         (__ieee754_exp10l): Handle underflow here rather than multiplying
6764         large negative argument by M_LN10l.
6765         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
6766         spurious overflow exception on underflow.
6768 2012-04-29  Marek Polacek  <polacek@redhat.com>
6770         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6771         (__fortify_function): New macro.
6772         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6773         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6774         __extern_always_inline.
6775         * libio/bits/stdio2.h: Likewise.
6776         * libio/bits/stdio.h: Likewise.
6777         * string/string.h: Likewise.
6778         * string/bits/string3.h: Likewise.
6779         * include/stdio.h: Likewise.
6780         * stdlib/bits/stdlib.h: Likewise.
6781         * stdlib/stdlib.h: Likewise.
6782         * rt/bits/mqueue2.h: Likewise.
6783         * rt/mqueue.h: Likewise.
6784         * posix/bits/unistd.h: Likewise.
6785         * posix/unistd.h: Likewise.
6786         * io/bits/poll2.h: Likewise.
6787         * io/bits/fcntl2.h: Likewise.
6788         * io/fcntl.h: Likewise.
6789         * io/sys/poll.h: Likewise.
6790         * misc/bits/syslog.h: Likewise.
6791         * misc/bits/syslog-ldbl.h: Likewise.
6792         * misc/sys/syslog.h: Likewise.
6793         * socket/bits/socket2.h: Likewise.
6794         * socket/sys/socket.h: Likewise.
6795         * debug/tst-chk1.c: Likewise.
6796         * wcsmbs/bits/wchar2.h: Likewise.
6797         * wcsmbs/bits/wchar-ldbl.h: Likewise.
6798         * wcsmbs/wchar.h: Likewise.
6800 2012-04-29  Andreas Jaeger  <aj@suse.de>
6802         * Makerules (tests): Remove enable-check-abi protection.
6803         (check-abi-warn): Remove.
6804         (check-abi-%): Remove check-abi-warn usage.
6806         * configure.in: Remove check-abi configure option.
6807         * configure: Regenerated.
6808         * config.make.in (enable-check-abi): Remove.
6810 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
6812         [BZ #14033]
6813         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6814         double functions to double *_finite functions.
6816         [BZ #13941]
6817         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6818         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6819         LDBL_MIN_EXP.
6820         * stdio-common/Makefile (tests): Add tst-sprintf3.
6821         * stdio-common/tst-sprintf3.c: New file.
6823         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6824         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6826 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
6828         * conform/conformtest.pl: Remove duplicate typed-constant
6829         handling.
6831 2012-04-28  David S. Miller  <davem@davemloft.net>
6833         * Makerules (%.abilist): Add vpath on sysdep_dirs.
6834         (check-abi-%): Remove AWK script prerequisite and explicit
6835         abilist directory.
6836         (check-abi): Rewrite to just diff the symlist with the abilist.
6837         (config-tls, config-abi-config): Delete, no longer used.
6838         (update-abi-%): Remove AWK script and explicit abilist directory.
6839         (update-abi): Rewrite to simply compare and conditionally copy the
6840         symlist and the sysdep abilist file.  Remove update-abi-config
6841         checks.
6842         * abilist/ld.abilist: Remove.
6843         * abilist/libBrokenLocale.abilist: Remove.
6844         * abilist/libanl.abilist: Remove.
6845         * abilist/libcrypt.abilist: Remove.
6846         * abilist/libdl.abilist: Remove.
6847         * abilist/librt.abilist: Remove.
6848         * abilist/libthread_db.abilist: Remove.
6849         * abilist/libutil.abilist: Remove.
6850         * scripts/extract-abilist.awk: Remove.
6851         * scripts/merge-abilist.awk: Remove.
6852         * sysdeps/generic/libcidn.abilist: New file.
6853         * sysdeps/generic/libnss_compat.abilist: New file.
6854         * sysdeps/generic/libnss_db.abilist: New file.
6855         * sysdeps/generic/libnss_dns.abilist: New file.
6856         * sysdeps/generic/libnss_files.abilist: New file.
6857         * sysdeps/generic/libnss_hesiod.abilist: New file.
6858         * sysdeps/generic/libnss_nis.abilist: New file.
6859         * sysdeps/generic/libnss_nisplus.abilist: New file.
6860         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6861         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6862         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6863         file.
6864         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6865         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6866         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6867         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6868         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6869         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6870         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6871         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6872         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6873         file.
6874         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6875         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6876         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6877         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6878         file.
6879         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6880         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6881         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6882         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6883         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6884         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6885         file.
6886         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6887         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6888         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6889         file.
6890         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6891         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6892         New file.
6893         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6894         New file.
6895         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6896         New file.
6897         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6898         New file.
6899         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6900         New file.
6901         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6902         New file.
6903         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6904         New file.
6905         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6906         New file.
6907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6908         New file.
6909         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6910         New file.
6911         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6912         New file.
6913         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6914         New file.
6915         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6916         New file.
6917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6918         file.
6919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6920         New file.
6921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6922         New file.
6923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6924         file.
6925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6926         New file.
6927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6928         New file.
6929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6930         file.
6931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6932         New file.
6933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6934         New file.
6935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6936         New file.
6937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6938         New file.
6939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6940         New file.
6941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6942         New file.
6943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6945         file.
6946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6947         New file.
6948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6949         file.
6950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6951         file.
6952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6953         file.
6954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6955         file.
6956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6957         file.
6958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6959         New file.
6960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6961         file.
6962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6963         file.
6964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6965         New file.
6966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6967         file.
6968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6970         file.
6971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6972         New file.
6973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6974         file.
6975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6976         file.
6977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6978         file.
6979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6980         file.
6981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6982         file.
6983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6984         New file.
6985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6986         file.
6987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6988         file.
6989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6990         New file.
6991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6992         file.
6993         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6994         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6995         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6996         file.
6997         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6998         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6999         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7000         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7001         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7002         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7003         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7004         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7005         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7006         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7009         file.
7010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7011         New file.
7012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7013         file.
7014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7015         file.
7016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7017         file.
7018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7019         file.
7020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7021         file.
7022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7023         New file.
7024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7025         New file.
7026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7027         file.
7028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7029         New file.
7030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7031         file.
7032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7034         file.
7035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7036         New file.
7037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7038         file.
7039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7040         file.
7041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7042         file.
7043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7044         file.
7045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7046         file.
7047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7048         New file.
7049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7050         New file.
7051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7052         file.
7053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7054         New file.
7055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7056         file.
7058 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
7060         * conform/conformtest.pl: Fix typo in handling typed-constant from
7061         allow-header.
7063 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7065         * README: Cut down references to pre-2.6 Linux kernels and
7066         Linuxthreads.  Update lists of configurations in libc and ports
7067         and sort alphabetically.  Say "or newer" with Linux kernel version
7068         requirements.
7070         * config.h.in [IS_IN_build]: Allow compiling without optimization.
7072 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7074         [BZ #887]
7075         * math/libm-test.inc (logb_test_downward): New test to expose
7076         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7077         rounding mode.
7079 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7081         [BZ #14027]
7082         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7083         to be done.
7084         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7085         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7087 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
7089         * sysdeps/unix/i386/brk.S: Remove file.
7090         * sysdeps/unix/i386/dl-brk.S: Likewise.
7091         * sysdeps/unix/i386/pipe.S: Likewise.
7092         * sysdeps/unix/i386/sigreturn.S: Likewise.
7093         * sysdeps/unix/i386/syscall.S: Likewise.
7094         * sysdeps/unix/i386/vfork.S: Likewise.
7095         * sysdeps/unix/i386/wait.S: Likewise.
7097         * sysdeps/unix/common/tcsendbrk.c: Move to ...
7098         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7100         * configure.in (arm*-none*): Do not allow without
7101         --enable-hacker-mode.
7102         (netbsd*): Remove case setting base_os.
7103         (386bsd*): Likewise.
7104         (freebsd*): Likewise.
7105         (bsdi*): Likewise.
7106         (osf*): Likewise.
7107         (sunos*): Likewise.
7108         (ultrix*): Likewise.
7109         (newsos*): Likewise.
7110         (dynix*): Likewise.
7111         (*bsd*): Likewise.
7112         (sysv*): Likewise.
7113         (isc*): Likewise.
7114         (esix*): Likewise.
7115         (sco*): Likewise.
7116         (minix*): Likewise.
7117         (irix4*): Likewise.
7118         (irix6*): Likewise.
7119         (solaris[2-9]*): Likewise.
7120         (none): Likewise.
7121         * configure: Regenerated.
7123 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7125         [BZ #11521]
7126         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7127         overflow or cancellation in calculating denominator.
7128         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7129         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7130         down expression to avoid unexpected rounding in newer GCCs.
7131         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7133 2012-04-26  David S. Miller  <davem@davemloft.net>
7135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7136         long-double compat symbols.
7137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7151 2012-04-25  David S. Miller  <davem@davemloft.net>
7153         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7154         HWCAP_* values only after the memory barriers have been defined.
7155         (atomic_full_barrier): Define.
7156         (atomic_read_barrier): Define.
7157         (atomic_write_barrier): Define.
7159 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7161         * shlib-versions: Add libgcc_s version information.
7162         * sysdeps/generic/libgcc_s.h: Remove.
7163         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7164         libgcc_s.h.
7165         * sysdeps/gnu/unwind-resume.c: Likewise.
7166         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7168 2012-04-25  David S. Miller  <davem@davemloft.net>
7170         * sysdeps/unix/sparc/brk.S: Delete.
7171         * sysdeps/unix/sparc/dl-brk.S: Delete.
7172         * sysdeps/unix/sparc/pipe.S: Delete.
7173         * sysdeps/unix/sparc/sysdep.S: Delete.
7174         * sysdeps/unix/sparc/sysdep.h: Delete.
7175         * sysdeps/unix/sparc/vfork.S: Delete.
7176         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7177         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7178         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7179         ret_ERRVAL, r0, r1, MOVE): Define.
7180         (JUMPTARGET): Remove.
7181         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7182         sysdeps/unix/sparc/sysdep.h
7183         (ENTRY, END): Remove.
7184         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7186 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
7188         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7189         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7190         -DIS_IN_build.
7192         * timezone/README: Update upstream location and email address for
7193         tzcode and tzdata.
7194         * timezone/zdump.c: Update from tzcode 2012b.
7195         * timezone/zic.c: Likewise.
7197         * configure.in (libc_cv_as_needed): Remove test.
7198         * configure: Regenerated.
7199         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7200         conditional definition.
7201         [$(have-as-needed) != yes] (no-as-needed): Likewise.
7202         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7203         * config.make.in (have-as-needed): Remove variable.
7205 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7206             Paul Pluzhnikov  <ppluzhnikov@google.com>
7208         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7209         strings correctly.
7211 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7213         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7214         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7215         * sysdeps/sh/strlen.S: Likewise.
7217 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7219         * sysdeps/unix/fork.S: Remove file.
7220         * sysdeps/unix/i386/fork.S: Likewise.
7221         * sysdeps/unix/sparc/fork.S: Likewise.
7223         * sysdeps/unix/system.c: Remove file.
7224         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7226         * sysdeps/unix/getegid.S: Remove file.
7227         * sysdeps/unix/geteuid.S: Likewise.
7229 2012-04-24  Roland McGrath  <roland@hack.frob.com>
7231         * scripts/check-localplt.awk: New file.
7232         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7233         of diff.
7234         * scripts/data/localplt-generic.data: Add a comment.
7236         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7237         NODE when __dir_mkfile failed.
7238         * sysdeps/mach/hurd/symlinkat.c: Likewise.
7239         Reported by Ludovic Courtès <ludo@gnu.org>.
7241 2012-04-24  Andreas Jaeger  <aj@suse.de>
7243         * Makerules (common-clean): Also remove gen-as-const-headers
7244         files.
7246 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7248         * Makerules (native-compile): Do not change working directory for
7249         build.  Use $(OUTPUT_OPTION) in command.
7250         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7252 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7254         [BZ #13886]
7255         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7256         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7257         * math/libm-test.inc (floor_test): Add more tests.
7258         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7260 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7262         * sysdeps/unix/getdents.c: Remove file.
7263         * sysdeps/unix/sysv/getdents.c: Likewise.
7264         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7266         * sysdeps/unix/syscalls.list (madvise): Add syscall from
7267         sysdeps/unix/mman/syscalls.list.
7268         (mmap): Likewise.
7269         (mprotect): Likewise.
7270         (msync): Likewise.
7271         (munmap): Likewise.
7272         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7273         * sysdeps/unix/mman/syscalls.list: Remove.
7274         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7276         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7277         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7278         * configure: Regenerated.
7279         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7280         $(libgcc_s_suffix).
7281         * config.make.in (libgcc_s_suffix): Remove variable.
7283 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
7285         * sysdeps/unix/sysv/gethostname.c: Move to ...
7286         * sysdeps/posix/gethostname.c: ... here.
7288         * sysdeps/unix/execve.S: Remove file.
7290         * sysdeps/unix/_exit.S: Remove file.
7292 2012-04-23  Andreas Jaeger  <aj@suse.de>
7294         [BZ #13739]
7295         * manual/Makefile: Remove make dist support, there's no
7296         need for a stand-alone documentation tar ball.
7297         (TEXI2DVI): Define always, it's not in Makeconfig.
7298         (dist): Removed.
7299         (tar-it): Removed.
7300         (edition): Removed.
7301         (glibc-doc-$(edition).tar): Removed
7302         (%.Z): Removed.
7303         (%.gz): Removed.
7304         (%.uu): Removed.
7305         (ETAGS): Remove, it's in Makeconfig.
7306         (move-if-change): Remove, it's in Makeconfig.
7308 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
7310         [BZ #13970]
7311         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7312         (strtod, strtof, strtold, strtol, strtoul, strtoq)
7313         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7314         (strtod_l, strtof_l, strtold_l): Remove __wur.
7315         It is not necessarily an error to ignore strtol's return value.
7316         One can reliably look at the stored endptr to decide whether
7317         the number had valid syntax.
7319 2012-04-21  Andreas Jaeger  <aj@suse.de>
7321         [BZ #13739]
7322         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7324 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
7326         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7327         * sysdeps/unix/sysv/Versions: Remove file.
7329 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
7331         [BZ #13927]
7332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7334 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
7336         [BZ #7064]
7337         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7338         version from __vm86.
7340 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
7342         * sysdeps/unix/common/lxstat.c: Remove file.
7343         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7345         * sysdeps/unix/sysv/Makefile: Remove file.
7347         * sysdeps/unix/sysv/direct.h: Remove file.
7349         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7350         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7351         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7352         * sysdeps/unix/sysv/bits/signum.h: Likewise.
7353         * sysdeps/unix/sysv/bits/stat.h: Likewise.
7354         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7355         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7357         * sysdeps/unix/sysv/setrlimit.c: Remove file.
7359         * sysdeps/unix/xmknod.c: Remove file.
7360         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7362         * sysdeps/unix/sysv/settimeofday.c: Remove file.
7364         * sysdeps/unix/sysv/i386/time.S: Remove file.
7366         * sysdeps/unix/fxstat.c: Remove file.
7367         * sysdeps/unix/xstat.c: Likewise.
7368         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7370         * sysdeps/unix/sysv/sigaction.c: Remove file.
7372         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7373         (sysdep_headers): Remove variable.
7374         [termio.h not in sysdep_headers] (generated): Likewise.
7375         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7376         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7377         * sysdeps/unix/sysv/tcdrain.c: Likewise.
7378         * sysdeps/unix/sysv/tcflow.c: Likewise.
7379         * sysdeps/unix/sysv/tcflush.c: Likewise.
7380         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7381         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7382         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7383         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7384         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7386         * sysdeps/unix/siglist.c: Remove file.
7388         * sysdeps/unix/getppid.S: Remove file.
7390         * sysdeps/unix/mkdir.c: Remove file.
7391         * sysdeps/unix/rmdir.c: Likewise.
7393 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
7395         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7396         ERR_MAX value.
7397         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7398         errlist-compat value.
7400 2012-04-18  David S. Miller  <davem@davemloft.net>
7402         * sysdeps/generic/memcopy.h (reg_char): Delete.
7403         * debug/strcat_chk.c: Use char, not reg_char.
7404         * debug/strcpy_chk.c: Likewise.
7405         * debug/strncat_chk.c: Likewise.
7406         * debug/strncpy_chk.c: Likewise.
7407         * string/memchr.c: Likewise.
7408         * string/memrchr.c: Likewise.
7409         * string/rawmemchr.c: Likewise.
7410         * string/strcat.c: Likewise.
7411         * string/strchr.c: Likewise.
7412         * string/strchrnul.c: Likewise.
7413         * string/strcmp.c: Likewise.
7414         * string/strcpy.c: Likewise.
7415         * string/strncat.c: Likewise.
7416         * string/strncmp.c: Likewise.
7417         * string/strncpy.c: Likewise.
7419 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7421         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7422         __builtin_memcopy is called when src and dest ranges are known to not
7423         overlap.
7425 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7427         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7428         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7429         fwd_align_merge macro call.
7430         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7431         bwd_align_merge macro call.
7432         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7434 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7436         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7437         bwd_align_merge macros.
7438         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7439         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7440         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7442 2012-04-18  David S. Miller  <davem@davemloft.net>
7444         * sysdeps/sparc/sparc64/memcopy.h: Delete.
7446 2012-04-18  Andreas Jaeger  <aj@suse.de>
7448         [BZ# 6794]
7449         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7450         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7451         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7453         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7454         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7455         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7457         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7458         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7459         Adjust for changed ldbl-128 files.
7461         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7462         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7463         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7465 2012-04-17  David S. Miller  <davem@davemloft.net>
7467         * sysdeps/sparc/sparc32/memcopy.h: Delete.
7469 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
7471         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7472         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7473         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7474         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7475         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7476         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7478 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7480         [BZ #6794]
7481         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7482         * math/libm-test.inc: Add ilogb errno and exception tests.
7483         * math/w_ilogb.c: New file: ilogb wrapper.
7484         * math/w_ilogbf.c: New file: ilogbf wrapper.
7485         * math/w_ilogbl.c: New file: ilogbl wrapper.
7486         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7487         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7488         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7489         exception being thrown with 0.0 as argument.
7490         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7491         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7492         exception being thrown with 0.0 as argument.
7493         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7494         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7495         exception being thrown with 0.0 as argument.
7496         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7497         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7498         exception being thrown with 0.0 as argument.
7499         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7500         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7501         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7502         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7503         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7504         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7505         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7506         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7507         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7509 2012-04-17  Petr Baudis  <pasky@ucw.cz>
7511         * include/sys/uio.h: Change __vector to __iovec to avoid clash
7512         with altivec.
7514 2012-04-16  Marek Polacek  <polacek@redhat.com>
7516         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7518 2012-04-16  Marek Polacek  <polacek@redhat.com>
7520         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7521         operands of fdivp instruction.
7523 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
7525         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7526         * elf/tst-auditmod3b.c: Likewise.
7527         * elf/tst-auditmod4b.c: Likewise.
7528         * elf/tst-auditmod5b.c: Likewise.
7529         * elf/tst-auditmod6b.c: Likewise.
7530         * elf/tst-auditmod6c.c: Likewise.
7531         * elf/tst-auditmod7b.c: Likewise.
7532         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7533         * sysdeps/x86_64/preconfigure.in: Likewise.
7534         * sysdeps/x86_64/preconfigure: Regenerated.
7536 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
7538         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7539         __ILP32__.
7541 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
7543         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7544         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7546 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
7548         [BZ #13973]
7549         * locale/iso-639.def: Fix gl language name. Spotted by
7550         Yaron Shahrabani.
7552 2012-04-12  Roland McGrath  <roland@hack.frob.com>
7554         [BZ #2074]
7555         * libio/libio.h (__io_write_fn): Update comment.
7557 2012-04-12  Petr Baudis  <pasky@ucw.cz>
7559         [BZ #2074]
7560         * stdio.texi (Hook Functions): The user provided writer function
7561         is not allowed to return -1.
7563 2012-04-11  David S. Miller  <davem@davemloft.net>
7565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7567 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
7569         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7570         Add a leading slash to rtkaio.
7572 2012-04-11  Jim Meyering  <meyering@redhat.com>
7574         [BZ #11959]
7575         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7576         It is not necessarily an error to ignore fwrite's return
7577         value.  One can reliably use ferror to test for errors after
7578         the fact.
7580 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
7582         * bits/types.h (__snseconds_t): New type.
7583         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7585         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7586         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7587         (__SNSECONDS_T_TYPE): Likewise.
7588         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7589         (__SNSECONDS_T_TYPE): Likewise.
7590         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7591         (__SNSECONDS_T_TYPE): Likewise.
7593 2012-04-10  Andreas Jaeger  <aj@suse.de>
7595         [BZ #2636]
7596         * manual/time.texi (Processor Time): Return type of times is
7597         elapsed real time since an arbitrary point in the past.
7598         (CPU Time): Move CLK_TCK from here...
7599         (Processor Time): ...to here.  Correct description.
7600         * manual/conf.texi (Constants for Sysconf): Correct description of
7601         _SC_CLK_TCK.
7603 2012-04-10  David S. Miller  <davem@davemloft.net>
7605         [BZ #13967]
7606         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7607         where the is a gap between DT_REL(A) and DT_JMPREL.
7609 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
7611         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7612         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7613         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7615 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7617         * elf/dl-support.c (_dl_inhibit_cache): New variable.
7618         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7619         (dl_main): Handle --inhibit-cache.
7620         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7621         _dl_inhibit_cache.
7622         * elf/dl-load.c (_dl_map_object): Use it.
7623         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7625 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
7627         [BZ #13872]
7628         * sysdeps/i386/fpu/e_powl.S (p78): New object.
7629         (__ieee754_powl): Saturate large exponents rather than testing for
7630         overflow of y*log2(x).
7631         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7632         * math/libm-test.inc (pow_test): Do not permit spurious overflow
7633         exceptions.
7635         [BZ #11521]
7636         * math/s_ctan.c: Include <float.h>.
7637         (__ctan): Avoid internal overflow or cancellation in calculating
7638         denominator.
7639         * math/s_ctanf.c: Likewise.
7640         * math/s_ctanl.c: Likewise.
7641         * math/s_ctanh.c: Likewise.
7642         * math/s_ctanhf.c: Likewise.
7643         * math/s_ctanhl.c: Likewise.
7644         * math/libm-test.inc (ctan_test): Add more tests.
7645         (ctanh_test): Likewise.
7646         * sysdeps/i386/fpu/libm-test-ulps: Update.
7647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7649 2012-04-09  Andreas Jaeger  <aj@suse.de>
7651         [BZ #6894]
7652         * manual/filesys.texi (Directory Entries): Mention that d_namlen
7653         is an optional BSD extension.
7655         [BZ #10254]
7656         * manual/stdio.texi (Opening Streams): Document additional fopen
7657         parameters.
7659 2012-04-09  Roland McGrath  <roland@hack.frob.com>
7661         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7662         %eax without telling the compiler.
7664 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
7666         [BZ # 13963]
7667         * manual/install.texi: Use sourceware.org.
7669 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
7671         [BZ #13873]
7672         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7673         (__ieee754_pow): Generate overflow and underflow using huge*huge
7674         and tiny*tiny rather than just returning constant infinity or zero
7675         for large exponents.
7676         * math/libm-test.inc (pow_test): Require overflow exceptions for
7677         applicable cases of large exponents.
7679         [BZ #706]
7680         * sysdeps/i386/fpu/e_pow.S (p10): New object.
7681         (__ieee754_pow): Use iterative multiplication algorithm only for
7682         integer exponents with absolute value below 1024.  Check for odd
7683         integer exponents when using algorithm for real exponents.
7684         * math/libm-test.inc (pow_test): Add more tests.
7685         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7687 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
7689         [BZ #13705]
7690         * math/libm-test.inc (exp_test): Do not allow overflow exception
7691         on underflow test.
7693 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
7695         [BZ #13705]
7696         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7697         instead of __kernel_standard_f.
7699 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
7701         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7702         * sysdeps/x86_64/memset_chk.S: Likewise.
7704 2012-04-08  Andreas Jaeger  <aj@suse.de>
7706         [BZ #10153]
7707         * manual/startup.texi (Environment Access): Describe return value
7708         for putenv and setenv.
7710         [BZ #6895]
7711         * manual/filesys.texi (Directory Entries): Add description for
7712         DT_LNK.
7714         [BZ #6890]
7715         * manual/filesys.texi (Directory Entries): Clarify that it's file
7716         system not operating system in the description of DT_UNKNOWN.
7718         [BZ #6578]
7719         * manual/syslog.texi (closelog): Fix reference, it's openlog.
7721 2012-04-08  Stephen Compall  <s11@member.fsf.org>
7723         [BZ #6649]
7724         * manual/llio.texi (Opening and Closing Files): Add cross
7725         reference to explain mode argument.
7727 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
7729         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7730         * sysdeps/x86_64/memset_chk.S: Likewise.
7732 2012-04-07  David S. Miller  <davem@davemloft.net>
7734         * elf/elf.h (R_SPARC_WDISP10): Define.
7735         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7736         R_SPARC_SIZE32.
7737         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7738         R_SPARC_SIZE64 and R_SPARC_H34.
7740 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
7742         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7743         conditions and remove no longer applicable assertion.
7745 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
7747         * bits/byteswap.h: Include <features.h>.
7748         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7749         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7751 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
7753         * bits/byteswap.h (__bswap_16): Removed.
7754         Include <bits/byteswap-16.h> to get __bswap_16.
7755         * sysdeps/i386/bits/byteswap.h: Likewise.
7756         * sysdeps/s390/bits/byteswap.h: Likewise.
7757         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7758         * bits/byteswap-16.h: New file.
7759         * sysdeps/i386/bits/byteswap-16.h: Likewise.
7760         * sysdeps/s390/bits/byteswap-16.h: Likewise.
7761         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7762         * string/Makefile (headers): Add bits/byteswap-16.h.
7764 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7766         [BZ #13895]
7767         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7768         extra indirection.
7769         * nss/Makefile (tests-static, tests): Add tst-nss-static.
7770         * nss/tst-nss-static.c: New.
7772 2012-04-06  Robert Millan  <rmh@gnu.org>
7774         [BZ #6486]
7775         * manual/llio.texi (File Position Primitive): lseek
7776         refers to WHENCE when it really means OFFSET.
7778 2012-04-06  Andreas Jaeger  <aj@suse.de>
7780         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7781         strncmp declarations.
7783         * abilist/libc.abilist: Add __poll and __ppoll.
7785 2012-04-05  David S. Miller  <davem@davemloft.net>
7787         * scripts/check-local-headers.sh: Accept a host triplet in the
7788         path matched by the exclude regexp.
7790         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7791         definition.
7792         * sysdeps/powerpc/powerpc32/dl-machine.h
7793         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7794         * sysdeps/s390/s390-32/dl-machine.h
7795         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7796         * sysdeps/sparc/sparc32/dl-machine.h
7797         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7798         * sysdeps/sparc/sparc64/dl-machine.h
7799         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7801         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7802         lazy binding.
7803         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7804         undefined symbol errors.
7806         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7807         DT_NEEDED entries.
7809 2012-04-05  Michael Matz  <matz@suse.de>
7811         [BZ #13592]
7812         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7814 2012-04-05  Andreas Jaeger  <aj@suse.de>
7816         [BZ #13908]
7817         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7818         comment.
7820 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7822         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7823         which ROUND is no valid rounding mode.
7825 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7827         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7828         read again.
7829         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7831 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7833         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7834         an exception using FPU order intentionally.
7836 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7838         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7839         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7840         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7841         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7843 2012-04-05  Simon Josefsson  <simon@josefsson.org>
7845         [BZ #12340]
7846         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7847         EINVAL when BUFLEN is too smal.
7849 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7851         [BZ #13553]
7852         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7853         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7855 2012-04-03  Andreas Jaeger  <aj@suse.de>
7857         [BZ #13938]
7858         * manual/setjmp.texi (System V contexts): Fix sentence.
7860         [BZ #13926]
7861         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7862         New macro for this case.
7863         [!__GNUC__] (__bswap_64): New inline function for this case.
7864         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7865         * bits/byteswap.h: Likewise.
7866         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7867         ull, guard with __GLIBC_HAVE_LONG_LONG.
7869         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7870         __GLIBC_HAVE_LONG_LONG.
7872         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7873         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7875 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7877         [BZ #13691]
7878         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7879         inptr and inend, rather than using last_ch.
7881 2012-04-02  David S. Miller  <davem@davemloft.net>
7883         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7884         * stdio-common/printf-parse.h (read_int): Change return type to
7885         'int', return -1 on INT_MAX overflow.
7886         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7887         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
7888         overflows INT_MAX.  Check for overflow of in-format-string precision
7889         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
7890         SIZE_MAX not INT_MAX for integer overflow test.
7891         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7892         skip the construct in the format string but do not record anything.
7893         * stdio-common/bug22.c: Adjust to test both width/prevision
7894         INT_MAX overflow as well as total length INT_MAX overflow.  Check
7895         explicitly for proper errno values.
7897 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7899         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7900         CHAR_MAX.
7901         * string/test-strcmp.c [! WIDE]: Likewise.
7902         * time/tst-mktime2.c: Likewise for INT_MAX.
7903         * string/test-string.h: #include <sys/param.h> for MIN.
7905         * csu/init-first.c (__libc_init_first): Call __ctype_init.
7906         * sysdeps/i386/init-first.c (init): Likewise.
7907         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7908         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7909         * sysdeps/sh/init-first.c (init): Likewise.
7911 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
7913         * po/ru.po: Update from translation team.
7914         * po/vi.po: Likewise.
7916 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7918         * resolv/nss_dns/dns-host.c: Merge copyright years.
7920 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7922         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7923         Optimize memcpy with prefetch if
7924         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
7925         src, dst pointers have unequal 16 byte alignments.
7927 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7929         [BZ #13928]
7930         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7931         from a CNAME entry and return the minimum ttl for the query.
7932         (gaih_getanswer_slice): Likewise.
7934 2012-03-30  Jeff Law  <law@redhat.com>
7936         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7937         due to long keys.
7938         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7939         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7941         * resolv/nss_dns/dns-host.c: Update copyright year.
7943 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
7945         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7946         requests to save a system call.  Fix check that all bytes are sent.
7948         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7949         comments for sendmmsg.
7951 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7953         [BZ #13691]
7954         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7955         with only 1 character between 0x0041 and 0x01b0.
7956         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7957         * wcsmbs/tst-mbsnrtowcs.c: New file.
7959 2012-03-29  David S. Miller  <davem@davemloft.net>
7961         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7962         small copies by hand.
7964 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7966         [BZ #13761]
7967         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7968         _nss_compat_initgroups_dyn): Fall back to malloc/free
7969         for large group memberships.
7971 2012-03-28  David S. Miller  <davem@davemloft.net>
7973         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7974         that branches into memcpy.
7975         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7976         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7977         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7978         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7979         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7980         bits.
7981         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7982         implementation too.
7983         * sysdeps/sparc/mempcpy.S: New file.
7985         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7986         the IFUNC routine in the libc case.
7987         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7989         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7990         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7991         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7992         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7993         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7994         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7995         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7996         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7998         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7999         loop to 256 bytes instead of 64 bytes and fix test signedness.
8001         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8002         * sysdeps/sparc/sparc32/Makefile: rather than here...
8003         * sysdeps/sparc/sparc64/Makefile: and here.
8005 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
8007         * malloc/mallocbug.c: Avoid warnings about unused variables.
8009 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8011         [BZ #13760]
8012         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8013         in the right place. Discard and retry query if response is
8014         larger than input buffer size.
8016 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
8018         [BZ #369]
8019         [BZ #2678]
8020         [BZ #3866]
8021         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8022         x for large integer exponent.
8023         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8024         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
8025         sign of result as needed afterwards.
8026         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8027         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8028         result for underflowing pow the same as for overflow.
8029         (__kernel_standard_l): Handle powl overflow and underflow here
8030         rather than calling __kernel_standard.
8031         * math/libm-test.inc (pow_test): Add more tests.
8033         [BZ #3868]
8034         [BZ #13879]
8035         [BZ #13910]
8036         [BZ #13911]
8037         [BZ #13912]
8038         [BZ #13913]
8039         [BZ #13915]
8040         [BZ #13916]
8041         [BZ #13917]
8042         [BZ #13918]
8043         [BZ #13919]
8044         [BZ #13920]
8045         [BZ #13921]
8046         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8047         * sysdeps/ieee754/k_standard.c: Include <float.h>.
8048         (__kernel_standard_l): New function.
8049         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8050         __kernel_standard.
8051         * math/w_acosl.c (__acosl): Likewise.
8052         * math/w_asinl.c (__asinl): Likewise.
8053         * math/w_atan2l.c (__atan2l): Likewise.
8054         * math/w_atanhl.c (__atanhl): Likewise.
8055         * math/w_coshl.c (__coshl): Likewise.
8056         * math/w_exp10l.c (__exp10l): Likewise.
8057         * math/w_exp2l.c (__exp2l): Likewise.
8058         * math/w_fmodl.c (__fmodl): Likewise.
8059         * math/w_hypotl.c (__hypotl): Likewise.
8060         * math/w_j0l.c (__j0l, __y0l): Likewise.
8061         * math/w_j1l.c (__j1l, __y1l): Likewise.
8062         * math/w_jnl.c (__jnl, __ynl): Likewise.
8063         * math/w_lgammal.c (__lgammal): Likewise.
8064         * math/w_log10l.c (__log10l): Likewise.
8065         * math/w_log2l.c (__log2l): Likewise.
8066         * math/w_logl.c (__logl): Likewise.
8067         * math/w_powl.c (__powl): Likewise.
8068         * math/w_remainderl.c (__remainderl): Likewise.
8069         * math/w_scalbl.c (sysv_scalbl): Likewise.
8070         * math/w_sinhl.c (__sinhl): Likewise.
8071         * math/w_sqrtl.c (__sqrtl): Likewise.
8072         * math/w_tgammal.c (__tgammal): Likewise.
8073         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8074         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8075         * math/libm-test.inc (acos_test): Add more tests.
8076         (acosh_test): Likewise.
8077         (asin_test): Likewise.
8078         (atanh_test): Likewise.
8079         (exp_test): Likewise.
8080         (exp10_test): Likewise.
8081         (exp2_test): Likewise.
8082         (expm1_test): Likewise.
8083         (lgamma_test): Likewise.
8084         (log_test): Likewise.
8085         (log10_test): Likewise.
8086         (log1p_test): Likewise.
8087         (log2_test): Likewise.
8088         (pow_test): Do not allow some spurious overflow exceptions.
8089         (sqrt_test): Add more tests.
8090         (tgamma_test): Likewise.
8091         (y0_test): Likewise.
8092         (y1_test): Likewise.
8093         (yn_test): Likewise.
8095 2012-03-27  Anton Blanchard  <anton@samba.org>
8097         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8098         MAP_HUGETLB.
8099         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8100         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8101         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8103 2012-03-27  David S. Miller  <davem@davemloft.net>
8105         * conform/Makefile: Run run-conformtest.sh using $(BASH).
8107         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8108         have-as-vis3 check.
8110 2012-03-27  Andreas Jaeger  <aj@suse.de>
8112         * sysdeps/x86_64/elf/configure.in: Moved to ...
8113         * sysdeps/x86_64/configure.in: ... here.
8114         * sysdeps/x86_64/elf/start.S: Moved to ...
8115         * sysdeps/x86_64/start.S: ... here.
8116         * sysdeps/x86_64/elf/configure: Delete.
8118         * sysdeps/x86_64/configure.in: Merge contents from
8119         sysdeps/i386/configure.in (without i686 check).
8121         * sysdeps/i386/elf/Versions: Merge into ...
8122         * sysdeps/i386/Versions: ... this.
8123         * sysdeps/i386/elf/Versions: Delete file.
8124         * sysdeps/i386/elf/start.S: Moved to ...
8125         * sysdeps/i386/start.S: ...here.
8126         * sysdeps/i386/elf/configure.in: Merge into...
8127         * sysdeps/i386/configure.in: ...here.
8128         * sysdeps/i386/elf/configure.in: Delete file.
8129         * sysdeps/i386/elf/configure: Delete file.
8131         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8132         * debug/backtracesyms.c: ... here.
8133         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8134         * debug/backtracesymsfd.c: ... here.
8135         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8136         * sysdeps/generic/ifunc-sel.h: ... here.
8138         * sysdeps/unix/i386/start.c: Delete file.
8139         * sysdeps/unix/sparc/start.c: Delete file.
8140         * sysdeps/unix/start.c: Delete file.
8142         * sysdeps/sh/elf/configure.in: Moved to ...
8143         * sysdeps/sh/configure.in: ... here.
8144         * sysdeps/sh/elf/start.S: Moved to ...
8145         * sysdeps/sh/start.S: ... here.
8146         * sysdeps/sh/elf/configure: Delete file.
8148         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8149         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8150         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8151         * sysdeps/powerpc/powerpc64/entry.h: ... here.
8152         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8153         * sysdeps/powerpc/powerpc64/start.S: here.
8154         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8155         * sysdeps/powerpc/powerpc64/Makefile: ... this.
8156         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8157         * sysdeps/powerpc/powerpc64/configure.in: ... this.
8158         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8160         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8161         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8162         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8163         * sysdeps/powerpc/powerpc32/start.S: ... here.
8164         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8165         * sysdeps/powerpc/powerpc32/configure.in: ... this.
8166         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8168         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8169         * sysdeps/powerpc/ifunc-sel.h: ... here.
8170         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8171         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8173         * sysdeps/sparc/elf/configure.in: Moved to ...
8174         * sysdeps/sparc/configure.in: ... here.
8175         * sysdeps/sparc/elf/configure: Delete file.
8176         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8177         * sysdeps/sparc/sparc32/start.S: ... here.
8178         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8179         * sysdeps/sparc/sparc64/start.S: ... here.
8180         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8181         * sysdeps/sparc/sparc32/Makefile: ... this.
8182         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8183         * sysdeps/sparc/sparc64/Makefile: ... this.
8185         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8186         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8187         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8188         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8189         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8190         * sysdeps/s390/s390-32/setjmp.S: ... here.
8191         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8192         * sysdeps/s390/s390-32/configure.in: ... here.
8193         * sysdeps/s390/s390-32/elf/configure: Delete file.
8194         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8195         * sysdeps/s390/s390-32/start.S: ... here.
8197         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8198         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8199         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8200         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8201         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8202         * sysdeps/s390/s390-64/setjmp.S: ... here.
8203         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8204         * sysdeps/s390/s390-64/configure.in: ... here
8205         * sysdeps/s390/s390-64/elf/configure: Delete file.
8206         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8207         * sysdeps/s390/s390-64/start.S: ... here.
8208         * sysdeps/s390/s390-64/elf/configure: Delete.
8210         * configure.in: Remove support for elf directories in sysdeps.
8212         * configure: Regenerated.
8213         * sysdeps/i386/configure: Regenerated.
8214         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8215         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8216         * sysdeps/s390/s390-32/configure: Regenerated.
8217         * sysdeps/s390/s390-64/configure: Regenerated.
8218         * sysdeps/sh/configure: Regenerated.
8219         * sysdeps/sparc/configure: Regenerated.
8220         * sysdeps/x86_64/configure: Regenerated.
8222 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
8224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8226         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8227         denormal result into account.
8229 2012-03-25  Roland McGrath  <roland@hack.frob.com>
8231         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8232         Reported by Allan McRae <allan@archlinux.org>.
8234 2012-03-23  Jeff Law  <law@redhat.com>
8236         * nss/getnssent.c (__nss_getent): Fix typo.
8238 2012-03-23  David S. Miller  <davem@davemloft.net>
8240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8242 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
8244         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8245         to pad to uint64_t for each field.
8246         (dl_tls_index): Replace unsigned long with uint64_t.
8248 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
8249         Paul Pluzhnikov  <ppluzhnikov@google.com>
8251         [BZ #6528]
8252         * grp/Makefile (otherlibs): Don't set it.
8253         * inet/Makefile (otherlibs): Likewise.
8254         * login/Makefile (otherlibs): Likewise.
8255         * nscd/Makefile (otherlibs): Likewise.
8256         * posix/Makefile (otherlibs): Likewise.
8257         * pwd/Makefile (otherlibs): Likewise.
8258         * rt/Makefile (otherlibs): Likewise.
8259         * sunrpc/Makefile (otherlibs): Likewise.
8260         * nss/Makefile (otherlibs): Likewise.
8261         Add libnss_files to routines and static-only-routines.
8262         ($(objpfx)getent): Remove rule.
8263         * resolv/Makefile: Add libnss_dns and libresolv to routines and
8264         static-only-routines.
8266 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8268         [BZ #13892]
8269         * math/s_cexp.c: Include <float.h>.
8270         (__cexp): Handle exp result overflowing not necessarily
8271         overflowing both real and imaginary parts of result.
8272         * math/s_cexpf.c: Likewise.
8273         * math/s_cexpl.c: Likewise.
8274         * math/libm-test.inc (cexp_test): Add more tests.
8275         * sysdeps/i386/fpu/libm-test-ulps: Update.
8276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8278 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8280         * include/link.h (ELFW): New macro.
8281         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8282         Replace ELF64_R_TYPE with ELFW(R_TYPE).
8284 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8286         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8287         with uint64_t.
8289 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8291         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8292         declaration.
8293         (struct La_x32_retval): Likewise.
8295 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8297         * sysdeps/x86_64/preconfigure.in: New file.
8298         * sysdeps/x86_64/preconfigure: New generated file.
8300 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8302         [BZ #13824]
8303         * math/e_exp2l.c: Include <float.h>.
8304         (__ieee754_exp2l): Handle overflow and underflow cases
8305         separately.  Only pass fractional part of argument to
8306         __ieee754_expl.
8307         * math/libm-test.inc (exp2_test): Add more tests.
8309         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8310         negating x to take absolute value.
8311         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8312         Likewise.
8313         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8314         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8315         Likewise.
8316         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8317         computing low part if x was negated.
8318         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8320 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8322         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8323         la_x32_gnu_pltexit.
8324         (pltexit): Cast int_retval to ptrdiff_t.
8325         * elf/tst-auditmod3b.c: Likewise.
8326         * elf/tst-auditmod4b.c: Likewise.
8327         * elf/tst-auditmod5b.c: Likewise.
8328         * elf/tst-auditmod6b.c: Likewise.
8329         * elf/tst-auditmod6c.c: Likewise.
8330         * elf/tst-auditmod7b.c: Likewise.
8332         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8333         and x32_gnu_pltexit.
8335         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8336         __ELF_NATIVE_CLASS.
8337         (La_x32_regs): New macro.
8338         (La_x32_retval): Likewise.
8339         (la_x32_gnu_pltenter): New function prototype.
8340         (la_x32_gnu_pltexit): Likewise.
8342 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
8344         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8345         exponent.
8347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8349         * configure.in (libc_cv_cc_nofma): Check for option to disable
8350         generation of FMA instructions.
8351         * configure: Regenerate.
8352         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8353         * sysdeps/ieee754/dbl-64/Makefile: New file.
8354         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8355         Remove brandred-fma4.
8356         (CFLAGS-brandred-fma4.c): Remove.
8357         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8358         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8359         define.
8360         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8361         define.
8363 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8365         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8366         LLONG_MAX != LONG_MAX.
8367         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8368         (_fitoa_word): Likewise.
8369         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8370         LLONG_MAX != LONG_MAX.
8371         * stdio-common/_itowa.h: Include <_itoa.h>.
8372         (_itowa_word): Use _ITOA_WORD_TYPE on value.
8373         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
8374         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
8375         only if not defined.
8376         (_ITOA_WORD_TYPE): Likewise.
8377         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8378         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8380 2012-03-21  David S. Miller  <davem@davemloft.net>
8382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8384 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8386         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8387         of x86_64 when setting libc_cv_slibdir, libdir and
8388         libc_cv_localedir.
8389         * sysdeps/unix/sysv/linux/configure: Regenerated.
8391 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8393         * manual/lang.texi (Old Varargs): Remove section.
8394         (How Variadic): Update menu.
8395         (va_start): Do not mention varargs.h.
8397 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8398             Joseph Myers  <joseph@codesourcery.com>
8400         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8401         link test.
8402         * configure: Regenerated.
8404 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8406         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8407         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8408         conformtest.pl
8410 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8412         * NOTES: Remove.
8413         * Makefile (files-for-dist): Remove NOTES.
8414         (NOTES): Remove rule.
8415         * README: Don't refer to NOTES.
8416         * manual/creature.texi: Don't include macros.texi.
8417         * manual/intro.texi (creature.texi): Remove comment referring to
8418         NOTES.
8420         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8421         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8422         * configure: Regenerated.
8423         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8424         LIBC_TRY_CC_OPTION.
8425         (libc_cv_as_i686): Likewise.
8426         (libc_cv_cc_avx): Likewise.
8427         (libc_cv_cc_sse2avx): Likewise.
8428         (libc_cv_cc_fma4): Likewise.
8429         (libc_cv_cc_novzeroupper): Likewise.
8430         * sysdeps/i386/configure: Regenerated.
8432         [BZ #13883]
8433         * sysdeps/i386/fpu/s_cexp.S: Remove.
8434         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8435         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8436         * math/libm-test.inc (cexp_test): Add more tests.
8437         * sysdeps/i386/fpu/libm-test-ulps: Update.
8438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8440 2012-03-21  Allan McRae  <allan@archlinux.org>
8442         * timezone/Makefile: Do not install iso3166.tab and zone.tab
8444 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8446         [BZ #13871]
8447         * math/w_exp2.c: Do not include <float.h>.
8448         (o_threshold, u_threshold): Remove.
8449         (__exp2): Calculate result before checking finiteness and calling
8450         __kernel_standard.
8451         * math/w_exp2f.c: Likewise.
8452         * math/w_exp2l.c: Likewise.
8453         * math/libm-test.inc (exp2_test): Require overflow exception for
8454         1e6 input.
8456         [BZ #3866]
8457         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8458         range of signed 64-bit integers before using fistpll.  Remove
8459         checks for whether integers fit in mantissa bits.
8460         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8461         the range of signed 32-bit integers before using fistpl.  Remove
8462         checks for whether integers fit in mantissa bits.
8463         * sysdeps/i386/fpu/e_powl.S (p64): New object.
8464         (__ieee754_powl): Test for y outside the range of signed 64-bit
8465         integers before using fistpll.  Reduce 64-bit values to 63-bit
8466         ones as needed.
8467         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8468         divide-by-zero is raised for zero to large negative powers.
8469         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8470         (__ieee754_powl): Test for y outside the range of signed 64-bit
8471         integers before using fistpll.  Reduce 64-bit values to 63-bit
8472         ones as needed.
8473         * math/libm-test.inc (pow_test): Add more tests.
8475 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8477         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8478         <stdio-common/_itoa.h>.
8479         * debug/segfault.c: Likewise.
8480         * elf/dl-cache.c: Likewise.
8481         * elf/dl-minimal.c: Likewise.
8482         * elf/dl-misc.c: Likewise.
8483         * elf/dl-sysdep.c: Likewise.
8484         * elf/dl-version.c: Likewise.
8485         * elf/rtld.c: Likewise.
8486         * hurd/hurdsock.c: Likewise.
8487         * hurd/lookup-retry.c: Likewise.
8488         * malloc/malloc.c: Likewise.
8489         * malloc/mtrace.c: Likewise.
8490         * nscd/nscd_getgr_r.c: Likewise.
8491         * nscd/nscd_getpw_r.c: Likewise.
8492         * nscd/nscd_getserv_r.c: Likewise.
8493         * posix/getopt_init.c: Likewise.
8494         * posix/wordexp.c: Likewise.
8495         * stdio-common/_itoa.c: Likewise.
8496         * stdio-common/printf_fphex.c: Likewise.
8497         * stdio-common/vfprintf.c: Likewise.
8498         * string/_strerror.c: Likewise.
8499         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8500         * sysdeps/i386/i686/hp-timing.h: Likewise.
8501         * sysdeps/mach/_strerror.c: Likewise.
8502         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8503         * sysdeps/mach/hurd/sethostid.c: Likewise.
8504         * sysdeps/mach/hurd/xmknodat.c: Likewise.
8505         * sysdeps/mach/xpg-strerror.c: Likewise.
8506         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8507         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8508         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8509         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8510         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8511         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8512         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8513         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8514         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8515         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8516         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8517         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8518         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8519         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8520         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8521         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8522         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8523         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8524         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8525         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8526         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8528         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8530         * stdio-common/_itoa.h: Moved to ...
8531         * sysdeps/generic/_itoa.h: Here.
8533         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8535         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8536         instead of "_itoa.h" and "_itowa.h".
8537         * stdio-common/vfprintf.: Likewise.
8539 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8541         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8542         <bits/wordsize.h>.
8543         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8544         (__signbit): Likwise.
8545         (llrintf): Likwise.
8546         (llrint): Likwise.
8548 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8550         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8551         __WORDSIZE != 64.
8553 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
8555         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8556         OVERFLOW_EXCEPTION_OK.
8557         * math/libm-test.inc ("Philosophy"): Update comment about
8558         exception testing.
8559         (OVERFLOW_EXCEPTION): Define.
8560         (OVERFLOW_EXCEPTION_OK): Likewise.
8561         (INVALID_EXCEPTION_OK): Renumber.
8562         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8563         (IGNORE_ZERO_INF_SIGN): Likewise.
8564         (test_exceptions): Handle FE_OVERFLOW.
8565         (exp10_test): Expect overflow exceptions.
8566         (exp2_test): Likewise.
8567         (expm1_test): Likewise.
8568         (nextafter_test): Likewise.
8569         (pow_test): Likewise.
8570         (scalbn_test): Likewise.
8571         (scalbln_test): Likewise.
8573 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8575         * sysdeps/x86_64/bits/atomic.h
8576         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8577         64bit integer.
8578         (atomic_exchange_acq): Likewise.
8579         (__arch_exchange_and_add_body): Likewise.
8580         (__arch_add_body): Likewise.
8581         (atomic_add_negative): Likewise.
8582         (atomic_add_zero): Likewise.
8584 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8586         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8587         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8589 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8591         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8592         Check __x86_64__ instead of __WORDSIZE.
8594 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8596         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8598 2012-03-19  David S. Miller  <davem@davemloft.net>
8600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8602         * sysdeps/sparc/fpu/fenv_private.h: New file.
8603         * sysdeps/sparc/fpu/math_private.h: Use it.
8604         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8605         Remove.
8606         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8607         (libc_feholdexcept_setroundl): Remove.
8608         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8609         Remove.
8610         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8611         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8613 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8615         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8616         int64_t instead of long int.
8617         (INSERT_WORDS64): Likwise.
8619 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8621         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8622         _Unwind_GetCFA return to _Unwind_Ptr first.
8624 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
8626         [BZ #13629]
8627         * math/s_clog.c: Include <float.h>.
8628         (__clog): Scale large or subnormal inputs.
8629         * math/s_clogf.c: Likewise.
8630         * math/s_clogl.c: Likewise.
8631         * math/s_clog10.c: Include <float.h>.
8632         (M_LOG10_2): Define.
8633         (__clog10): Scale large or subnormal inputs.
8634         * math/s_clog10f.c: Likewise.
8635         * math/s_clog10l.c: Likewise.
8636         * math/libm-test.inc (clog_test): Add more tests.
8637         (clog10_test): Likewise.
8638         * sysdeps/i386/fpu/libm-test-ulps: Update.
8639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8641         [BZ #11451]
8642         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8643         x and y.
8644         * math/libm-test.inc (atan2_test): Add another test.
8646         * Makerules (common-objdir-compile): Remove.
8647         * sysdeps/unix/Makefile (config-generated): Do not add
8648         $(unix-generated) to variable.
8649         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8650         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8651         Remove rule.
8652         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8653         Likewise.
8654         [generic bits/local_lim.h] (before-compile): Do not append to
8655         variable.
8656         [generic bits/local_lim.h] (common-generated): Likewise.
8657         [generic sys/param.h] (before-compile): Do not append to variable.
8658         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8659         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8660         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8661         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8662         include.
8663         [generic sys/param.h] (sys/param.h-includes): Remove variable.
8664         [generic sys/param.h] (sys/param.h-includes): Remove rule.
8665         [generic sys/param.h] ($(addprefix
8666         $(common-objpfx),$(sys/param.h-includes))): Likewise.
8667         [generic sys/param.h] (common-generated): Do not append to
8668         variable.
8669         [generic sys/param.h] (sysdep_headers): Likewise.
8670         [generic bits/errno.h] (before-compile): Do not append to
8671         variable.
8672         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8673         rule.
8674         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8675         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8676         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8677         [generic bits/errno.h] (common-generated): Do not append to
8678         variable.
8679         [generic bits/ioctls.h] (before-compile): Do not append to
8680         variable.
8681         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8682         rule.
8683         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8684         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8685         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8686         rule.
8687         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8688         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8689         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8690         [generic bits/ioctls.h] (common-generated): Do not append to
8691         variable.
8692         [generic sys/syscall.h] (syscall.h): Remove variable.
8693         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8694         rule.
8695         [generic sys/syscall.h] (before-compile): Do not append to
8696         variable.
8697         [generic sys/syscall.h] (common-generated): Likewise.
8698         * sysdeps/unix/errnos-tmpl.c: Remove file.
8699         * sysdeps/unix/errnos.awk: Likewise.
8700         * sysdeps/unix/ioctls-tmpl.c: Likewise.
8701         * sysdeps/unix/ioctls.awk: Likewise.
8702         * sysdeps/unix/mk-local_lim.c: Likewise.
8703         * sysdeps/unix/snarf-ioctls: Likewise.
8705 2012-03-19  Richard Henderson  <rth@twiddle.net>
8707         * sysdeps/i386/fpu/fenv_private.h: New file.
8708         * sysdeps/i386/fpu/math_private.h: Use it.
8709         (math_opt_barrier, math_force_eval): Remove.
8710         (libc_feholdexcept_setround_53bit): Remove.
8711         (libc_feupdateenv_53bit): Remove.
8712         * sysdeps/x86_64/fpu/math_private.h: Likewise.
8713         (math_opt_barrier, math_force_eval): Remove.
8714         (libc_feholdexcept): Remove.
8715         (libc_feholdexcept_setround): Remove.
8716         (libc_fetestexcept, libc_fesetenv): Remove.
8717         (libc_feupdateenv_test): Remove.
8718         (libc_feupdateenv, libc_feholdsetround): Remove.
8719         (libc_feresetround): Remove.
8721         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8722         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8724         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8725         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8726         (libc_feupdateenv_testl): New.
8727         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8728         (libc_feupdateenv_testf): New.
8729         (libc_feupdateenv): Use libc_feupdateenv_test.
8730         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8731         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8733         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8734         (libc_feholdsetroundf, libc_feholdsetroundl): New.
8735         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8736         (libc_feresetround_noex): New.
8737         (libc_feresetround_noexf): New.
8738         (libc_feresetround_noexl): New.
8739         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8740         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8741         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8742         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8743         SET_RESTORE_ROUND.
8744         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8745         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8746         (__cos): Likewise.
8747         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8748         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8749         SET_RESTORE_ROUND_NOEX.
8750         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8751         SET_RESTORE_ROUND_NOEXF.
8752         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8753         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8754         (libc_feholdsetroundf): New.
8755         (libc_feresetround, libc_feresetroundf): New.
8757         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8758         (libc_feholdexcept_setround_53bit): Convert from macro to function.
8759         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
8761         * sysdeps/generic/math_private.h: Include <fenv.h>.
8762         (default_libc_feholdexcept): New.
8763         (default_libc_feholdexcept_setround): New.
8764         (default_libc_fesetenv, default_libc_feupdateenv): New.
8765         (libc_feholdexcept): Only define if undefined.
8766         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8767         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8768         (libc_feholdexcept_setroundl): Likewise.
8769         (libc_feholdexcept_setround_53bit): Likewise.
8770         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8771         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8772         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8773         (libc_feupdateenv_53bit): Likewise.
8774         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8775         (libc_feholdexcept): Convert from macro to inline function.
8776         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8777         (libc_fesetenv, libc_feupdateenv): Likewise.
8779         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8780         not previously defined.
8781         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8782         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8783         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8784         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8785         * sysdeps/ieee754/flt-32/math_private.h: New file.
8786         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8787         math_private.h below SET_FLOAT_WORD.
8788         (__isnan, __isinf_ns, __finite): Remove.
8789         (__isnanf, __isinf_nsf, __finitef): Remove.
8791 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
8793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8795 2012-03-17  David S. Miller  <davem@davemloft.net>
8797         [BZ #6471]
8798         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8799         for 2.16.
8801 2012-03-16  David S. Miller  <davem@davemloft.net>
8803         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8804         warnings.
8806         [BZ #6471]
8807         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8808         properly.
8809         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8810         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8811         sysdep_routines when subdir is sysvipc.
8812         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8813         __getshmlba helper.
8815         * sysdeps/sparc/fpu/libm-test/ulps: Update.
8817 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8819         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8820         [__LP64__].
8822 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8824         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8825         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8826         (__lround): Renamed to ...
8827         (__llround): This.  Replace long int with long long int.
8828         Define lround functions as aliases of llround functions.
8829         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8831 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8833         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8834         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
8835         adresses to uintptr_t.  Replace "long int" and "unsigned long
8836         int" with "greg_t" on va_arg.
8838 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8840         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8841         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8843         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8844         Move e_machine check before EI_CLASS check.  Handle x32
8845         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8846         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8847         SKIP_EM_IA_64 and include
8848         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8850         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8851         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8852         (add_system_dir): New macro.
8854         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8855         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8857 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
8859         [BZ #2551]
8860         [BZ #2552]
8861         [BZ #2553]
8862         [BZ #2554]
8863         [BZ #2562]
8864         [BZ #2563]
8865         [BZ #2565]
8866         [BZ #2566]
8867         [BZ #2576]
8868         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8869         (y0): Likewise.
8870         * math/w_j0f.c (j0f): Likewise.
8871         (y0f): Likewise.
8872         * math/w_j0l.c (__j0l): Likewise.
8873         (__y0l): Likewise.
8874         * math/w_j1.c (j1): Likewise.
8875         (y1): Likewise.
8876         * math/w_j1f.c (j1f): Likewise.
8877         (y1f): Likewise.
8878         * math/w_j1l.c (__j1l): Likewise.
8879         (__y1l): Likewise.
8880         * math/w_jn.c (jn): Likewise.
8881         (yn): Likewise.
8882         * math/w_jnf.c (jnf): Likewise.
8883         (ynf): Likewise.
8884         * math/w_jnl.c (__jnl): Likewise.
8885         (__ynl): Likewise.
8886         * math/libm-test.inc (j0_test): Add more tests.
8887         (j1_test): Likewise.
8888         (jn_test): Likewise.  Add trailing semicolon to existing test.
8889         (y0_test): Likewise.
8890         (y1_test): Likewise.
8891         * sysdeps/i386/fpu/libm-test-ulps: Update.
8892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8894         [BZ #13851]
8895         [BZ #13854]
8896         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8897         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8898         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8899         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8900         (__tanl): Set errno for infinite argument.
8901         * sysdeps/i386/fpu/mptan.c: Remove.
8902         * sysdeps/i386/fpu/s_tan.S: Likewise.
8903         * sysdeps/i386/fpu/s_tanl.S: Likewise.
8904         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8905         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8906         * math/libm-test.inc (tan_test): Add more tests and enable more
8907         tests for double and long double.
8908         * sysdeps/i386/fpu/libm-test-ulps: Update.
8909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8911 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
8913         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8914         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8916 2012-03-16  Roland McGrath  <roland@hack.frob.com>
8918         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8919         * configure.in: Use it for both main tree and add-ons.
8920         * configure: Regenerated.
8922 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8924         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8926 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
8928         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8929         in comment.
8931         [BZ #13851]
8932         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8933         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8934         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8935         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8936         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8937         infinite argument.
8938         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8939         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8940         != 0 for prec == 2.
8941         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8942         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8943         * sysdeps/i386/fpu/s_cosl.S: Likewise.
8944         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8945         * sysdeps/i386/fpu/s_sinl.S: Likewise.
8946         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8947         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8948         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8949         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8950         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8951         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8952         * math/libm-test.inc (cos_test): Add more tests and enable more
8953         tests for long double.
8954         (sin_test): Likewise.
8955         (sincos_test): Likewise.
8956         * sysdeps/i386/fpu/libm-test-ulps: Update.
8957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8959 2012-03-16  David S. Miller  <davem@davemloft.net>
8961         * sysdeps/sparc/fpu/math_private.h: New file.
8963 2012-03-15  David S. Miller  <davem@davemloft.net>
8965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8966         file.
8967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8969         file.
8970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8975         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8976         sysdep routines.
8977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8979         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8980         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8982         * sysdeps/sparc/sparc-ifunc.h: New file.
8983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8984         sparc-ifunc.h
8985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8987         Likewise.
8988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8989         Likewise.
8990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8994         Likewise.
8995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9000         Likewise.
9001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9002         Likewise.
9003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9007         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9008         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9009         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9010         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9011         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9012         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9015         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9016         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9017         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9018         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9019         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9020         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9021         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9022         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9023         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9024         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9025         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9026         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9028 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9030         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9031         scaling.
9032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9034 2012-03-15  Andreas Jaeger  <aj@suse.de>
9036         [BZ #13852]
9037         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9038         ieee754/flt-32 implementation for sin, cos and sincos.
9039         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9040         * sysdeps/i386/fpu/s_cosf.S: Likewise.
9041         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9042         * sysdeps/i386/fpu/s_sinf.S: Likewise.
9043         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9044         ieee754/flt-32 implementation for tan.
9046         * math/libm-test.inc (cos_test): Enable some large input tests for
9047         float as well
9048         (sin_test): Likewise.
9049         (sincos_test): Likewise.
9050         (tan_test): Add tests for large input.
9052         * sysdeps/i386/fpu/libm-test-ulps: Update.
9054 2012-03-15  Andreas Jaeger  <aj@suse.de>
9056         [BZ #13658]
9057         * math/libm-test.inc (cos_test): Add more test cases.
9058         (sin_test): Likewise.
9059         (sincos_test): Likewise.
9061 2012-03-15  Andreas Jaeger  <aj@suse.de>
9063         [BZ #13837]
9064         * math/libm-test.inc (cos_test): Add a test case for large input
9065         value.
9066         (sin_test): Likewise.
9067         (sincos_test): Likewise.
9069 2012-03-15  Andreas Jaeger  <aj@suse.de>,
9070         Joseph Myers  <joseph@codesourcery.com>
9072         [BZ #13658]
9073         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9074         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9075         * sysdeps/i386/fpu/branred.c: Likewise.
9076         * sysdeps/i386/fpu/dosincos.c: Likewise.
9077         * sysdeps/i386/fpu/mpa.c: Likewise.
9078         * sysdeps/i386/fpu/s_cos.S: Likewise.
9079         * sysdeps/i386/fpu/s_sin.S: Likewise.
9080         * sysdeps/i386/fpu/s_sincos.S: Likewise.
9081         * sysdeps/i386/fpu/sincos32.c: Likewise.
9083         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9084         Define.
9085         (libc_feupdateenv_53bit): Define.
9086         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9087         Define.
9088         (libc_feupdateenv_53bit): Define.
9090         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9091         53 bit (without extend i386 double precision).
9093         * math/libm-test.inc (sincos_test): Add tests for large input.
9094         (sin): Likewise.
9095         (cos): Likewise.
9097         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9099 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9103 2012-03-15  David S. Miller  <davem@davemloft.net>
9105         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9106         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9107         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9108         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9118         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9119         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9121         file.
9122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9124         file.
9125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9127         file.
9128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9130         file.
9131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9132         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9133         fmin/fmax sysdep routines.
9134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9136 2012-03-14  David S. Miller  <davem@davemloft.net>
9138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9140         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9142         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9143         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9144         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9145         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9148         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9149         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9156         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9157         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9158         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9159         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9160         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9161         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9162         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9163         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9164         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9165         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9166         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9167         routines.
9168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9169         file.
9170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9172         file.
9173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9175         file.
9176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9178         file.
9179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9181         file.
9182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9184         file.
9185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9186         file.
9187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9188         file.
9189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9190         file.
9191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9192         New file.
9193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9194         file.
9195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9196         file.
9197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9199         file.
9200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9202         file.
9203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9205         file.
9206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9208         VIS3 routines.
9210         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9211         New file.
9213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9215         * sysdeps/sparc/configure.in: New file.
9216         * sysdeps/sparc/configure: Generate.
9217         * configure.in (libc_cv_sparc_as_vis3): Substitute.
9218         * configure: Regenerate.
9219         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9220         * config.make.in (have-as-vis3): New.
9221         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9222         available use -Av9d instead of -Av9a.
9223         * sysdeps/sparc/sparc64/Makefile: Likewise.
9224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9226         New file.
9227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9228         file.
9229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9230         New file.
9231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9232         file.
9233         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9234         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9235         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9236         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9237         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9239         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9240         fzeros/fnegs to load 0x80000000 into a float register instead of
9241         using the stack.
9242         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9244 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9246         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9247         bits/syscall.h.
9248         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9249         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9250         ($(inst_includedir)/bits/syscall.h): Remove rule.
9251         ($(objpfx)bits/syscall.d): Include instead of
9252         $(objpfx)syscall-list.d.
9253         (generated): Change syscall-list.h and syscall-list.d to
9254         bits/syscall.h and bits/syscall.d.
9256 2012-03-14  Roland McGrath  <roland@hack.frob.com>
9258         [BZ #13846]
9259         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9261 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9263         [BZ #13841]
9264         * math/s_csqrt.c: Include <float.h>.
9265         (__csqrt): Scale large or subnormal inputs.
9266         * math/s_csqrtf.c: Likewise.
9267         * math/s_csqrtl.c: Likewise.
9268         * math/libm-test.inc (csqrt_test): Add more tests.
9269         * sysdeps/i386/fpu/libm-test-ulps: Update.
9270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9272         [BZ #13840]
9273         * math/libm-test.inc (hypot_test): Add more tests.
9275 2012-03-13  David S. Miller  <davem@davemloft.net>
9277         [BZ #13840]
9278         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9279         double-precision for the calculation instead of scaling.
9281 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
9283         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9284         manipulate bits before adding and subtracting TWO52[sx].
9285         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9286         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9287         Likewise.
9288         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9290 2012-03-13  David S. Miller  <davem@davemloft.net>
9292         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9293         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9294         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9295         rtld-global-offsets.h
9296         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9298         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9299         large parameters.
9301         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9303         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9304         'err' in the ifdef scope in which it is actually used.
9306         * nss/nss_db/db-init.c: Include string.h
9308 2012-03-12  David S. Miller  <davem@davemloft.net>
9310         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9311         masking out of the most significant byte of random value used.
9312         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9313         Fix coding style in previous change.
9315         * sysdeps/unix/sysv/linux/kernel-features.h
9316         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9317         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9318         expression.
9319         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9320         later.
9322 2012-03-11  David S. Miller  <davem@davemloft.net>
9324         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9325         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9326         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9327         for 'resultvar' otherwise things get truncated on 64-bit.
9329         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9330         Fix masking out of the most significant byte of random value used.
9332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9334 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
9336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9338 2012-03-09  David S. Miller  <davem@davemloft.net>
9340         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9341         variables with appropriate CPP guards.
9342         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9343         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
9344         on resulting framesize and the management of the outregs buffer for pltexit.
9345         Preserve floating point return values across _dl_call_pltexit call.
9346         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9347         framesize and the management of the outregs buffer for pltexit.
9348         Preserve floating point return values across _dl_call_pltexit
9349         call.
9350         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9351         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9352         (print_exit): Fix format string for return register value.
9354 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
9356         * sunrpc/Makefile (others): Add rpcgen.
9357         ($(objpfx)rpcgen): Remove special build rule and dependency on
9358         libc.
9359         * sunrpc/rpcgen.c: New file.
9361 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
9363         [BZ #13673]
9364         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9365         * stdio-common/bug-vfprintf-nargs.c: Likewise.
9366         * sysdeps/i386/crti.S: Likewise.
9367         * sysdeps/i386/crtn.S: Likewise.
9368         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9369         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9370         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9371         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9372         * sysdeps/sh/crti.S: Likewise.
9373         * sysdeps/sh/crtn.S: Likewise.
9374         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9376         [BZ #13673]
9377         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9378         with URL.
9379         * locale/programs/locfile-kw.gperf: Likewise.
9380         * locale/programs/charmap-kw.h: Regenerated.
9381         * locale/programs/locfile-kw.h: Likewise.
9383         [BZ #13673]
9384         * intl/plural.y: Replace FSF snail mail address with URL.
9385         * intl/plural.c: Regenerated.
9387 2012-03-09  Richard Henderson  <rth@twiddle.net>
9389         * include/math_private.h: Remove file.
9390         * math/math_private.h: Move file ...
9391         * sysdeps/generic/math_private.h: ... here.
9393         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9394         * sysdeps/powerpc/fpu/math_private.h: Likewise.
9395         * sysdeps/x86_64/fpu/math_private.h: Likewise.
9397         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9398         and <math_private.h>.
9399         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9400         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9401         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9402         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9403         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9404         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9405         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9406         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9407         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9408         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9409         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9410         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9411         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9412         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9413         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9414         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9415         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9416         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9417         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9418         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9419         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9420         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9421         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9422         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9423         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9424         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9425         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9426         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9427         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9428         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9429         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9430         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9431         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9432         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9433         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9434         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9435         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9436         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9437         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9438         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9439         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9440         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9441         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9442         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9443         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9444         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9445         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9446         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9447         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9448         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9449         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9450         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9451         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9452         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9453         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9454         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9455         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9456         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9457         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9458         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9459         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9460         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9461         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9462         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9463         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9464         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9465         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9466         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9467         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9468         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9469         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9470         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9471         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9472         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9473         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9474         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9475         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9476         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9477         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9478         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9479         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9480         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9481         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9482         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9483         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9484         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9485         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9486         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9487         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9488         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9489         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9490         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9491         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9492         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9493         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9494         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9495         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9496         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9497         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9498         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9499         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9500         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9501         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9502         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9503         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9504         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9505         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9506         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9507         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9508         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9509         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9510         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9511         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9512         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9513         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9514         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9515         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9516         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9517         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9518         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9519         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9520         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9521         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9522         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9523         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9524         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9525         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9526         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9527         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9528         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9529         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9530         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9531         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9532         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9533         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9534         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9535         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9536         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9537         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9538         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9539         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9540         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9541         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9542         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9543         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9544         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9545         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9546         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9547         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9548         * sysdeps/ieee754/k_standard.c: Likewise.
9549         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9550         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9551         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9552         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9553         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9554         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9555         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9556         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9557         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9558         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9559         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9560         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9561         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9562         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9563         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9564         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9565         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9566         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9567         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9568         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9569         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9570         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9571         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9572         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9573         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9574         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9575         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9576         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9577         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9578         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9579         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9580         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9581         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9582         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9583         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9584         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9585         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9586         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9587         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9588         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9589         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9590         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9591         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9592         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9593         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9594         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9595         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9596         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9597         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9598         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9599         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9600         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9601         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9602         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9603         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9604         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9605         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9606         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9607         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9608         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9609         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9610         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9611         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9612         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9613         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9614         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9615         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9616         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9617         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9618         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9619         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9620         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9621         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9622         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9623         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9624         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9625         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9626         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9627         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9628         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9629         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9630         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9631         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9632         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9633         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9634         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9635         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9636         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9637         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9638         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9639         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9640         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9641         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9642         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9643         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9644         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9645         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9646         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9647         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9648         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9649         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9650         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9651         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9652         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9653         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9654         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9655         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9656         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9657         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9658         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9659         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9660         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9661         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9662         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9663         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9664         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9665         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9666         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9667         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9668         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9669         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9670         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9671         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9672         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9673         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9674         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9675         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9676         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9677         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9678         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9679         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9680         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9681         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9682         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9683         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9684         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9685         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9686         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9687         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9688         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9689         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9690         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9691         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9692         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9693         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9694         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9695         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9696         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9697         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9698         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9699         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9700         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9701         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9702         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9703         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9704         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9705         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9706         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9707         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9708         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9709         * sysdeps/ieee754/s_lib_version.c: Likewise.
9710         * sysdeps/ieee754/s_matherr.c: Likewise.
9711         * sysdeps/ieee754/s_signgam.c: Likewise.
9712         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9713         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9714         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9715         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9716         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9717         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9718         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9719         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9720         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9721         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9722         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9723         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9724         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9725         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9726         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9727         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9728         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9729         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9730         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9731         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9732         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9734 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
9736         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9737         * sunrpc/rpc_main.c: Likewise.
9738         * sunrpc/rpc_svcout.c: Likewise.
9740 2012-03-09  David S. Miller  <davem@davemloft.net>
9742         * include/math_private.h: New file.
9744 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
9746         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9747         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9748         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9749         from <bits/socket_type.h>.
9750         (enum __socket_type): Don't define here.
9751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9752         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9753         bits/socket_type.h.
9755         [BZ #13566]
9756         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9757         checking __USE_GNU.
9759         * Makerules ($(inst_includedir)/%.h): New rule.
9760         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9761         (install-others): Remove variable setting.
9762         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9764 2012-03-08  Richard Henderson  <rth@twiddle.net>
9766         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9767         from macro to inline function; merge with the
9768         !__LIBC_INTERNAL_MATH_INLINES version.
9769         (__ieee754_sqrtf): Likewise.
9771         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9772         to inline function.
9773         (__rintf, __floor, __floorf): Likewise.
9775         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9776         macro to inline function.
9777         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9779         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9780         not <math/math_private.h>.
9782 2012-03-08  David S. Miller  <davem@davemloft.net>
9784         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9785         copyright year.
9786         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9788 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
9790         * resolv/gai_misc.c (handle_requests): Fix struct timespec
9791         normalization.
9792         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9793         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9795 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
9797         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
9798         be defined individually, they must be defined as a block.  Define
9799         S for printing a string instead of hidint the different by using a
9800         macro for adding the 'l'.
9801         * stdio-common/tst-fphex-wide.c: Adjust.
9803 2012-03-07  Marek Polacek  <polacek@redhat.com>
9805         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9807 2012-03-08  Marek Polacek  <polacek@redhat.com>
9809         [BZ #13806]
9810         * stdio-common/Makefile (tests): Add tst-fphex-wide.
9811         * stdio-common/tst-fphex.c: Define a few macros to make the
9812         test reusable.  Use them.
9813         * stdio-common/tst-fphex-wide.c: New file.
9815 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
9817         [BZ #6911]
9818         * manual/macros.texi (gnusystems): New macro.
9819         (nongnusystems): Likewise.
9820         (gnulinuxhurdsystems): Likewise.
9821         (gnuhurdsystems): Likewise..
9822         (gnulinuxsystems): Likewise.
9823         * manual/charset.texi: Use new macros or @theglibc{} to refer to
9824         variants of the GNU system, not "GNU system".
9825         * manual/conf.texi: Likewise.
9826         * manual/errno.texi: Likewise.  Update example of errno macro
9827         expansion.
9828         * manual/filesys.texi: Likewise.
9829         (getumask): Document as specific to GNU/Hurd.
9830         * manual/install.texi: Likewise.  Reword some references to
9831         GNU/Linux.
9832         * manual/intro.texi: Likewise.
9833         * manual/io.texi: Likewise.
9834         (File Name Portability): Detail which constraints are inapplicable
9835         to all GNU systems and which are only inapplicable to GNU/Hurd.
9836         * manual/job.texi: Likewise.
9837         * manual/llio.texi: Likewise.
9838         (O_NOCTTY): Document as present on GNU/Linux.
9839         * manual/maint.texi: Likewise.
9840         * manual/memory.texi: Likewise.
9841         * manual/pattern.texi: Likewise.
9842         * manual/pipe.texi: Likewise.
9843         * manual/process.texi: Likewise.
9844         * manual/resource.texi: Likewise.
9845         (RUSAGE_CHILDREN): Remove statement about specifying a particular
9846         child on GNU/Hurd.
9847         * manual/setjmp.texi: Likewise.
9848         * manual/signal.texi: Likewise.
9849         * manual/startup.texi: Likewise.
9850         * manual/stdio.texi: Likewise.
9851         * manual/terminal.texi: Likewise.
9852         (ONLCR): Document as POSIX.
9853         (OXTABS): Document availability on GNU/Linux as XTABS.
9854         (ONOEOT): Document availability separately from other bits.
9855         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9856         * manual/time.texi: Likewise.
9857         * manual/users.texi: Likewise.
9858         * INSTALL: Regenerated.
9859         * sysdeps/gnu/errlist.c: Regenerated.
9861         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9862         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9863         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
9864         puts.
9865         * configure: Regenerated.
9867 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
9869         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9870         default includes instead of AC_HEADER_CHECK.
9871         * sysdeps/i386/configure: Regenerated.
9873         [BZ #10716]
9874         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9875         * math/s_cacoshf.c (__cacoshf): Likewise.
9876         * math/s_cacoshl.c (__cacoshl): Likewise.
9877         * math/s_casinh.c (__casinh): Set signs of result from argument.
9878         * math/s_casinhf.c (__casinhf): Likewise.
9879         * math/s_casinhl.c (__casinhl): Likewise.
9880         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9881         (casinh_test): Add more tests.
9882         * sysdeps/i386/fpu/libm-test-ulps: Update.
9883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9885 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
9887         * po/zh_TW.po: Update from translation team.
9889         * login/Makefile (distribute): Remove variable.
9890         * catgets/Makefile: Likewise.
9891         * mach/Makefile: Likewise.
9892         * malloc/Makefile: Likewise.
9893         * misc/Makefile: Likewise.
9894         * iconv/Makefile: Likewise.
9895         * nscd/Makefile: Likewise.
9896         * hurd/Makefile: Likewise.
9897         * manual/Makefile: Likewise.
9898         * locale/Makefile: Likewise.
9899         * intl/Makefile: Likewise.
9900         * conform/Makefile: Likewise.
9901         * nss/Makefile: Likewise.
9902         * time/Makefile: Likewise.
9903         * soft-fp/Makefile: Likewise.
9904         * dirent/Makefile: Likewise.
9905         * gmon/Makefile: Likewise.
9906         * po/Makefile: Likewise.
9907         * rt/Makefile: Likewise.
9908         * socket/Makefile: Likewise.
9909         * math/Makefile: Likewise.
9910         * signal/Makefile: Likewise.
9911         * debug/Makefile: Likewise.
9912         * elf/Makefile: Likewise.
9913         * timezone/Makefile: Likewise.
9914         * stdlib/Makefile: Likewise.
9915         * iconvdata/Makefile: Likewise.
9916         * sunrpc/Makefile: Likewise.
9917         * io/Makefile: Likewise.
9918         * argp/Makefile: Likewise.
9919         * inet/Makefile: Likewise.
9920         * hesiod/Makefile: Likewise.
9921         * grp/Makefile: Likewise.
9922         * csu/Makefile: Likewise.
9923         * wctype/Makefile: Likewise.
9924         * crypt/Makefile: Likewise.
9925         * libio/Makefile: Likewise.
9926         * string/Makefile: Likewise.
9927         * nis/Makefile: Likewise.
9928         * resolv/Makefile: Likewise.
9929         * stdio-common/Makefile: Likewise.
9930         * wcsmbs/Makefile: Likewise.
9931         * dlfcn/Makefile: Likewise.
9932         * posix/Makefile: Likewise.
9934         [BZ #6959]
9935         * timezone/Makefile: Don't install timezone files, just the programs
9936         and scripts.
9938 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
9940         * nss/databases.def: Add missing gshadow entry.
9942         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
9944 2012-03-06  Marek Polacek  <polacek@redhat.com>
9946         [BZ #13726]
9947         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9948         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9949         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9950         * stdio-common/tst-long-dbl-fphex.c: New file.
9952 2012-03-06  David S. Miller  <davem@davemloft.net>
9954         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9955         (set_obp_int): New function.
9956         (get_obp_int): New function.
9957         (__get_clockfreq_via_dev_openprom): Likewise.
9958         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9959         Avoid unused variable warnings on 'val' and use builtin_expect.
9960         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9961         __builtin_expect.
9962         (INLINE_CLONE_SYSCALL): Likewise.
9964 2012-03-05  David S. Miller  <davem@davemloft.net>
9966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9968 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
9970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9972         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9973         only for |x| >= 40.
9974         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9976 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
9978         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9979         Replace gettimeofday with __vdso_gettimeofday.
9981         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9982         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9983         __vdso_clock_gettime and __vdso_getcpu.
9985         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9986         time with __vdso_time.
9988 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
9990         * manual/lang.texi (size_t): Note types to which size_t may be
9991         equivalent with the GNU C Library, but do not describe when
9992         differences between them are significant.
9994 2012-03-05  Andreas Jaeger  <aj@suse.de>
9996         * sysdeps/i386/fpu/libm-test-ulps: Update.
9998 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
10000         [BZ #3976]
10001         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10002         (__ieee754_pow): Save and restore rounding mode and use
10003         round-to-nearest for main computations.
10004         * math/libm-test.inc (pow_test_tonearest): New function.
10005         (pow_test_towardzero): Likewise.
10006         (pow_test_downward): Likewise.
10007         (pow_test_upward): Likewise.
10008         (main): Call the new functions.
10009         * sysdeps/i386/fpu/libm-test-ulps: Update.
10010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10012         [BZ #3976]
10013         * math/libm-test.inc (cosh_test_tonearest): New function.
10014         (cosh_test_towardzero): Likewise.
10015         (cosh_test_downward): Likewise.
10016         (cosh_test_upward): Likewise.
10017         (sinh_test_tonearest): Likewise.
10018         (sinh_test_towardzero): Likewise.
10019         (sinh_test_downward): Likewise.
10020         (sinh_test_upward): Likewise.
10021         (main): Call the new functions.
10022         * sysdeps/i386/fpu/libm-test-ulps: Update.
10023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10025 2012-03-05  Tom de Vries  <tom@codesourcery.com>
10027         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10028         default stack guard is set in last bytes.
10029         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10031 2012-03-05  Kees Cook  <keescook@chromium.org>
10033         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10035         [BZ #13656]
10036         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10037         possibly allocate from heap instead of stack.
10038         * stdio-common/bug-vfprintf-nargs.c: New file.
10039         * stdio-common/Makefile (tests): Add nargs overflow test.
10041 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
10043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10045 2012-03-03  Marek Polacek  <polacek@redhat.com>
10047         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10048         * math/math_private.h: Likewise.
10049         * stdlib/tst-strtod.c: Likewise.
10050         * sysdeps/i386/i486/bits/atomic.h: Likewise.
10051         * sysdeps/x86_64/bits/atomic.h: Likewise.
10053 2012-03-02  David S. Miller  <davem@davemloft.net>
10055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10059         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10060         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10061         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10062         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10064 2012-03-02  Roland McGrath  <roland@hack.frob.com>
10066         [BZ #13792]
10067         * manual/examples/README: New file, says the example source files
10068         can be used under GPL>=2.
10069         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10070         line containing just "*/".
10071         * manual/examples/add.c: Add copyright header (GPL>=2).
10072         * manual/examples/argp-ex1.c: Likewise.
10073         * manual/examples/argp-ex2.c: Likewise.
10074         * manual/examples/argp-ex3.c: Likewise.
10075         * manual/examples/argp-ex4.c: Likewise.
10076         * manual/examples/atexit.c: Likewise.
10077         * manual/examples/db.c: Likewise.
10078         * manual/examples/dir.c: Likewise.
10079         * manual/examples/dir2.c: Likewise.
10080         * manual/examples/execinfo.c: Likewise.
10081         * manual/examples/filecli.c: Likewise.
10082         * manual/examples/filesrv.c: Likewise.
10083         * manual/examples/fmtmsgexpl.c: Likewise.
10084         * manual/examples/genpass.c: Likewise.
10085         * manual/examples/inetcli.c: Likewise.
10086         * manual/examples/inetsrv.c: Likewise.
10087         * manual/examples/isockad.c: Likewise.
10088         * manual/examples/longopt.c: Likewise.
10089         * manual/examples/memopen.c: Likewise.
10090         * manual/examples/memstrm.c: Likewise.
10091         * manual/examples/mkfsock.c: Likewise.
10092         * manual/examples/mkisock.c: Likewise.
10093         * manual/examples/mygetpass.c: Likewise.
10094         * manual/examples/pipe.c: Likewise.
10095         * manual/examples/popen.c: Likewise.
10096         * manual/examples/rprintf.c: Likewise.
10097         * manual/examples/search.c: Likewise.
10098         * manual/examples/select.c: Likewise.
10099         * manual/examples/setjmp.c: Likewise.
10100         * manual/examples/sigh1.c: Likewise.
10101         * manual/examples/sigusr.c: Likewise.
10102         * manual/examples/stpcpy.c: Likewise.
10103         * manual/examples/strdupa.c: Likewise.
10104         * manual/examples/strftim.c: Likewise.
10105         * manual/examples/strncat.c: Likewise.
10106         * manual/examples/subopt.c: Likewise.
10107         * manual/examples/swapcontext.c: Likewise.
10108         * manual/examples/termios.c: Likewise.
10109         * manual/examples/testopt.c: Likewise.
10110         * manual/examples/testpass.c: Likewise.
10111         * manual/examples/timeval_subtract.c: Likewise.
10113         [BZ #13792]
10114         * manual/time.texi (Elapsed Time): Move timeval_subtract example
10115         function to ...
10116         * manual/timeval_subtract.c.texi: ... here, new file.
10118 2012-03-02  David S. Miller  <davem@davemloft.net>
10120         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10122 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
10124         [BZ #3976]
10125         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10126         (__sin): Save and restore rounding mode and use round-to-nearest
10127         for all computations.
10128         (__cos): Save and restore rounding mode and use round-to-nearest
10129         for all computations.
10130         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10131         <fenv.h>.
10132         (tan): Save and restore rounding mode and use round-to-nearest for
10133         all computations.
10134         * math/libm-test.inc (cos_test_tonearest): New function.
10135         (cos_test_towardzero): Likewise.
10136         (cos_test_downward): Likewise.
10137         (cos_test_upward): Likewise.
10138         (sin_test_tonearest): Likewise.
10139         (sin_test_towardzero): Likewise.
10140         (sin_test_downward): Likewise.
10141         (sin_test_upward): Likewise.
10142         (tan_test_tonearest): Likewise.
10143         (tan_test_towardzero): Likewise.
10144         (tan_test_downward): Likewise.
10145         (tan_test_upward): Likewise.
10146         (main): Call the new functions.
10147         * sysdeps/i386/fpu/libm-test-ulps: Update.
10148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10150         [BZ #10135]
10151         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10152         small n, then large n, before computing and testing k+n.
10153         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10154         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10155         Likewise.
10156         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10157         Likewise.
10158         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10159         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10160         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10161         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10162         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10163         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10164         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10165         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10166         * math/libm-test.inc (scalbn_test): Add more tests.
10167         (scalbln_test): Likewise.
10169         * manual/filesys.texi (mode_t): Describe constraints on size and
10170         signedness, not exact equivalence to a particular type.
10171         (ino_t): Likewise.
10172         (ino64_t): Likewise.
10173         (dev_t): Likewise.
10174         (nlink_t): Likewise.
10175         (blkcnt_t): Likewise.
10176         (blkcnt64_t): Likewise.
10177         * manual/llio.texi (off_t): Likewise.
10179         [BZ #3976]
10180         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10181         (__ieee754_exp): Save and restore rounding mode and use
10182         round-to-nearest for all computations.
10183         * math/libm-test.inc (exp_test_tonearest): New function.
10184         (exp_test_towardzero): Likewise.
10185         (exp_test_downward): Likewise.
10186         (exp_test_upward): Likewise.
10187         (main): Call the new functions.
10188         * sysdeps/i386/fpu/libm-test-ulps: Update.
10189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10191 2012-03-01  Chris Demetriou  <cgd@google.com>
10193         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10194         have predictable order.
10196 2012-03-01  David S. Miller  <davem@davemloft.net>
10198         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10200         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10201         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10202         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10203         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10205         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10206         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10207         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10209         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10210         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10211         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10212         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10213         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10217         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10218         * sysdeps/sparc/fpu/libm-test-ulps: to here.
10219         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10221         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10222         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10223         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10224         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10225         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10226         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10227         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10228         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10229         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10230         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10231         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10232         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10233         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10234         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10235         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10236         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10237         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10238         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10239         * sysdeps/sparc/elf/configure: Regenerated.
10241 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
10243         * configure.in (AS, LD): Require binutils 2.20 or later.
10244         * configure: Regenerated.
10245         * manual/install.texi (Tools for Compilation): Give binutils 2.20
10246         as required minimum version.
10247         * INSTALL: Regenerated.
10249         [BZ #2541]
10250         [BZ #4108]
10251         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10252         before squaring exponent.
10253         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10254         bottom long double and 27 bits of top long double before squaring
10255         exponent.
10256         * math/libm-test.inc (erfc_test): Add more tests.
10257         * sysdeps/i386/fpu/libm-test-ulps: Update.
10258         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10261 2012-03-01  Kai Tietz  <ktietz@redhat.com>
10263         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10264         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10265         containing bit-fields.
10266         * soft-fp/extended.h (_FP_UNION_E): Likewise.
10267         * soft-fp/single.h (_FP_UNION_S): Likewise.
10268         * soft-fp/double.h (_FP_UNION_D): Likewise.
10270 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10272         [BZ #13786]
10273         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10274         not include ../strcmp.S.
10275         [USE_AS_STRNCASECMP_L]: Likewise.
10276         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10277         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10278         * sysdeps/i386/i686/multiarch/strncase_l-c.c
10279         (__strncasecmp_l_ia32): Define as alias to
10280         __strncasecmp_l_nonascii.
10282         [BZ #5794]
10283         * math/libm-test.inc (expm1_test): Add test for bug 5794.
10284         * sysdeps/i386/fpu/libm-test-ulps: Update.
10285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10287         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10290 2012-02-29  Jeff Law  <law@redhat.com>
10292         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10293         out of bounds read.
10295 2012-02-29  Marek Polacek  <polacek@redhat.com>
10297         [BZ #13706]
10298         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10299         * elf/Makefile: Add rules to run tst-unused-dep.out.
10301 2012-02-28  David S. Miller  <davem@davemloft.net>
10303         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10304         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10305         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10306         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10307         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10308         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10310 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10312         * math/libm-test.inc (llround_test): Move one test from
10313         lround_test.  Use TEST_f_L in moved test.
10314         (lround_test): Move misplaced test to llround_test.  Add testcase
10315         from bug 2561.
10317 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
10319         * sysdeps/x86_64/fpu/e_expf.S: New file.
10320         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10322 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
10324         [BZ #13637]
10325         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10326         of remain_len that may cause incomplete multi-byte character and
10327         false match.
10328         * posix/bug-regex33.c: New file.
10329         * posix/Makefile (tests): Add bug-regex33.
10331 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
10333         * manual/macros.texi: New file.
10334         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10335         * manual/libc.texinfo: Include macros.texi.
10336         * manual/creatute.texi: Likewise.
10337         * manual/install.texi: Likewise.
10338         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10339         @glibcadj{} in references to the GNU C Library.
10340         * manual/charset.texi: Likewise.
10341         * manual/conf.texi: Likewise.
10342         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
10343         when not using those macros.
10344         * manual/creature.texi: Likewise.
10345         * manual/crypt.texi: Likewise.
10346         * manual/errno.texi: Likewise.
10347         * manual/filesys.texi: Likewise.
10348         * manual/header.texi: Likewise.
10349         * manual/install.texi: Likewise.
10350         * manual/intro.texi: Likewise.
10351         * manual/io.texi: Likewise.
10352         * manual/job.texi: Likewise.
10353         * manual/lang.texi: Likewise.
10354         * manual/libc.texiinfo: Likewise.
10355         * manual/llio.texi: Likewise.
10356         * manual/locale.texi: Likewise.
10357         * manual/maint.texi: Likewise.
10358         * manual/math.texi: Likewise.
10359         * manual/memory.texi: Likewise.
10360         * manual/message.texi: Likewise.
10361         * manual/nss.texi: Likewise.
10362         * manual/pattern.texi: Likewise.
10363         * manual/process.texi: Likewise.
10364         * manual/resource.texi: Likewise.
10365         * manual/search.texi: Likewise.
10366         * manual/setjmp.texi: Likewise.
10367         * manual/signal.texi: Likewise.
10368         * manual/socket.texi: Likewise.
10369         * manual/startup.texi: Likewise.
10370         * manual/stdio.texi: Likewise.
10371         * manual/string.texi: Likewise.
10372         * manual/sysinfo.texi: Likewise.
10373         * manual/syslog.texi: Likewise.
10374         * manual/terminal.texi: Likewise.
10375         * manual/time.texi: Likewise.
10376         * manual/users.texi: Likewise.
10377         * INSTALL: Regenerated.
10378         * NOTES: Regenerated.
10379         * sysdeps/gnu/errlist.c: Regenerated.
10381 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
10383         * include/dirent.h: Include <dirstream.h> before
10384         <dirent/dirent.h>.
10386 2012-02-28  David S. Miller  <davem@davemloft.net>
10388         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10389         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10390         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10391         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10393 2012-02-27  David S. Miller  <davem@davemloft.net>
10395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10397         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10398         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10401         frame pointer instead of stack pointer relative arg slot.
10402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10403         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10404         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10406 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
10408         [BZ #3992]
10409         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10411 2012-02-27  David S. Miller  <davem@davemloft.net>
10413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10417         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10418         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10419         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10420         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10422 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
10424         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10425         later.  Allow versions 5-9.
10426         * configure: Regenerated.
10427         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10428         required minimum version and 4.6 as recommended version.  Do not
10429         mention bugs in GCC 2.7 and 2.8.
10430         * INSTALL: Regenerated.
10432 2012-02-27  David S. Miller  <davem@davemloft.net>
10434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10438         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10439         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10440         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10441         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10443         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10444         manipulate bits before adding and subtracting TWO112[sx].
10445         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10447 2012-02-27  Roland McGrath  <roland@hack.frob.com>
10449         [BZ #13775]
10450         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10451         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10452         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10453         being in POSIX, because they are in 1003.1-2008.
10455         * rt/tst-aio.c: Include <fcntl.h>.
10456         * rt/tst-aio7.c: Likewise.
10457         * rt/tst-aio64.c: Likewise.
10459         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10461 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
10463         * manual/install.texi (--with-headers): Describe headers as
10464         interface headers, not private headers.
10465         (Specific advice for GNU/Linux systems): Describe use of headers
10466         from "make headers_install", not private headers from older
10467         kernels.
10468         * INSTALL: Regenerated.
10469         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10470         Change to 2.6.19.
10471         * sysdeps/unix/sysv/linux/configure: Regenerated.
10473         * manual/llio.texi (fclean): Remove documentation.
10475         * manual/Makefile (libc-texi-generated): New variable.  Include
10476         version.texi.
10477         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10478         $(libc-texi-generated), not duplicated list of files.
10479         (version.texi, stamp-version): New rules.
10480         (realclean): Remove $(libc-texi-generated), not individual files
10481         from that list.  Do not remove dir-add.texinfo.
10482         * manual/libc.texinfo: Comment out uses of edition numbers and
10483         references to printed manual.  Remove last-updated dates.
10484         (EDITION): Comment out.
10485         (ISBN): Likewise.
10486         (VERSION, UPDATED): Remove.
10487         (version.texi): Include.
10489 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
10491         * sysdeps/posix/spawni.c: Include <signal.h>.
10492         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10493         * sysdeps/pthread/aio_fsync.c: Likewise.
10495 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
10497         * conform/Makefile (tests): Run only when not cross-compiling and
10498         when fast-check is not defined.
10500         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10501         * conform/data/limits.h-data: Fixes for POSIX2008.
10502         * conform/run-conformtest.sh: Run all tests.
10503         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10504         headers.
10505         * include/bits/dlfcn.h: Likewise.
10506         * include/langinfo.h: Likewise.
10507         * include/monetary.h: Likewise.
10508         * include/sys/poll.h: Likewise.
10510         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10511         for __USE_GNU.
10512         * posix/spawn.h: Define __need_sigset_t.
10513         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10514         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10515         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
10516         to get sigevent_t only.
10517         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10518         only for __USE_GNU.
10519         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10520         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10521         process_vm_writev only for __USE_GNU.
10522         * termios/termios.h: Declare tcgetsid also for POSIX2008.
10524         * conform/Makefile: For now ignore errors from run-conformtest.
10525         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
10526         POSIX to avoid namespace pollution.  Don't prepend headers.
10527         * conform/data/aio.h-data: Fixes for POSIX testing.
10528         * conform/data/fcntl.h-data: Likewise.
10529         * conform/data/glob.h-data: Likewise.
10530         * conform/data/grp.h-data: Likewise.
10531         * conform/data/pthread.h-data: Likewise.
10532         * conform/data/pwd.h-data: Likewise.
10533         * conform/data/signal.h-data: Likewise.
10534         * conform/data/spawn.h-data: Likewise.
10535         * conform/data/stdio.h-data: Likewise.
10536         * conform/data/stdlib.h-data: Likewise.
10537         * conform/data/stropts.h-data: Likewise.
10538         * conform/data/sys/mman.h-data: Likewise.
10539         * conform/data/sys/stat.h-data: Likewise.
10540         * conform/data/sys/types.h-data: Likewise.
10541         * conform/data/sys/wait.h-data: Likewise.
10542         * conform/data/time.h-data: Likewise.
10543         * conform/data/unistd.h-data: Likewise.
10544         * conform/data/utime.h-data: Likewise.
10546         * io/sys/stat.h: fchmod was always in POSIX.
10547         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10548         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10549         * rt/aio.h: Define __need_timespec before including <time.h>.
10550         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10551         struct.  Add forward declaration of pthread_attr_t and use it in
10552         sigevent.
10553         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10554         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10555         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10556         always remove CLK_TCK definition.
10558 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
10560         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10562 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
10564         * conform/run-conformtest.sh: New file.
10565         * conform/Makefile: Run run-conformtest for tests.
10566         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
10567         support.
10569         * conform/data/uchar.h-data: New file.
10570         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10571         * conform/data/arpa/inet.h-data: Likewise.
10572         * conform/data/assert.h-data: Likewise.
10573         * conform/data/complex.h-data: Likewise.
10574         * conform/data/cpio.h-data: Likewise.
10575         * conform/data/ctype.h-data: Likewise.
10576         * conform/data/dirent.h-data: Likewise.
10577         * conform/data/dlfcn.h-data: Likewise.
10578         * conform/data/errno.h-data: Likewise.
10579         * conform/data/fcntl.h-data: Likewise.
10580         * conform/data/float.h-data: Likewise.
10581         * conform/data/fmtmsg.h-data: Likewise.
10582         * conform/data/fnmatch.h-data: Likewise.
10583         * conform/data/ftw.h-data: Likewise.
10584         * conform/data/glob.h-data: Likewise.
10585         * conform/data/grp.h-data: Likewise.
10586         * conform/data/iconv.h-data: Likewise.
10587         * conform/data/inttypes.h-data: Likewise.
10588         * conform/data/langinfo.h-data: Likewise.
10589         * conform/data/libgen.h-data: Likewise.
10590         * conform/data/limits.h-data: Likewise.
10591         * conform/data/locale.h-data: Likewise.
10592         * conform/data/math.h-data: Likewise.
10593         * conform/data/monetary.h-data: Likewise.
10594         * conform/data/mqueue.h-data: Likewise.
10595         * conform/data/ndbm.h-data: Likewise.
10596         * conform/data/net/if.h-data: Likewise.
10597         * conform/data/netdb.h-data: Likewise.
10598         * conform/data/netinet/in.h-data: Likewise.
10599         * conform/data/nl_types.h-data: Likewise.
10600         * conform/data/poll.h-data: Likewise.
10601         * conform/data/pthread.h-data: Likewise.
10602         * conform/data/pwd.h-data: Likewise.
10603         * conform/data/regex.h-data: Likewise.
10604         * conform/data/sched.h-data: Likewise.
10605         * conform/data/search.h-data: Likewise.
10606         * conform/data/semaphore.h-data: Likewise.
10607         * conform/data/setjmp.h-data: Likewise.
10608         * conform/data/signal.h-data: Likewise.
10609         * conform/data/spawn.h-data: Likewise.
10610         * conform/data/stdarg.h-data: Likewise.
10611         * conform/data/stdio.h-data: Likewise.
10612         * conform/data/stdlib.h-data: Likewise.
10613         * conform/data/string.h-data: Likewise.
10614         * conform/data/strings.h-data: Likewise.
10615         * conform/data/stropts.h-data: Likewise.
10616         * conform/data/sys/ipc.h-data: Likewise.
10617         * conform/data/sys/mman.h-data: Likewise.
10618         * conform/data/sys/msg.h-data: Likewise.
10619         * conform/data/sys/resource.h-data: Likewise.
10620         * conform/data/sys/select.h-data: Likewise.
10621         * conform/data/sys/sem.h-data: Likewise.
10622         * conform/data/sys/shm.h-data: Likewise.
10623         * conform/data/sys/socket.h-data: Likewise.
10624         * conform/data/sys/stat.h-data: Likewise.
10625         * conform/data/sys/statvfs.h-data: Likewise.
10626         * conform/data/sys/time.h-data: Likewise.
10627         * conform/data/sys/timeb.h-data: Likewise.
10628         * conform/data/sys/times.h-data: Likewise.
10629         * conform/data/sys/types.h-data: Likewise.
10630         * conform/data/sys/uio.h-data: Likewise.
10631         * conform/data/sys/un.h-data: Likewise.
10632         * conform/data/sys/utsname.h-data: Likewise.
10633         * conform/data/sys/wait.h-data: Likewise.
10634         * conform/data/syslog.h-data: Likewise.
10635         * conform/data/tar.h-data: Likewise.
10636         * conform/data/termios.h-data: Likewise.
10637         * conform/data/utime.h-data: Likewise.
10638         * conform/data/utmpx.h-data: Likewise.
10639         * conform/data/varargs.h-data: Likewise.
10640         * conform/data/wchar.h-data: Likewise.
10641         * conform/data/wctype.h-data: Likewise.
10642         * conform/data/wordexp.h-data: Likewise.
10644         * include/stropts.h: New file.
10645         * include/uchar.h: New file.
10646         * include/aio.h: Changes to allow conformtest.pl to use the headers.
10647         * include/assert.h: Likewise.
10648         * include/ctype.h: Likewise.
10649         * include/dirent.h: Likewise.
10650         * include/dlfcn.h: Likewise.
10651         * include/fcntl.h: Likewise.
10652         * include/fnmatch.h: Likewise.
10653         * include/glob.h: Likewise.
10654         * include/grp.h: Likewise.
10655         * include/libio.h: Likewise.
10656         * include/locale.h: Likewise.
10657         * include/math.h: Likewise.
10658         * include/net/if.h: Likewise.
10659         * include/netdb.h: Likewise.
10660         * include/netinet/in.h: Likewise.
10661         * include/pthread.h: Likewise.
10662         * include/pwd.h: Likewise.
10663         * include/regex.h: Likewise.
10664         * include/sched.h: Likewise.
10665         * include/search.h: Likewise.
10666         * include/setjmp.h: Likewise.
10667         * include/signal.h: Likewise.
10668         * include/stdio.h: Likewise.
10669         * include/stdlib.h: Likewise.
10670         * include/string.h: Likewise.
10671         * include/sys/cdefs.h: Likewise.
10672         * include/sys/mman.h: Likewise.
10673         * include/sys/msg.h: Likewise.
10674         * include/sys/resource.h: Likewise.
10675         * include/sys/select.h: Likewise.
10676         * include/sys/socket.h: Likewise.
10677         * include/sys/stat.h: Likewise.
10678         * include/sys/statvfs.h: Likewise.
10679         * include/sys/time.h: Likewise.
10680         * include/sys/times.h: Likewise.
10681         * include/sys/uio.h: Likewise.
10682         * include/sys/utsname.h: Likewise.
10683         * include/sys/wait.h: Likewise.
10684         * include/termios.h: Likewise.
10685         * include/time.h: Likewise.
10686         * include/ulimit.h: Likewise.
10687         * include/unistd.h: Likewise.
10688         * include/utime.h: Likewise.
10689         * include/wchar.h: Likewise.
10690         * include/wctype.h: Likewise.
10691         * include/wordexp.h: Likewise.
10693         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10695         * time/time.h: TIME_UTC must be a macro.
10696         Make timespec_get available for ISO C11 only as well.
10698 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
10700         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10701         Reported by Peng Haitao <penght@cn.fujitsu.com>.
10703 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
10705         * configure.in: Use -o not -a in test for unsupported multi-arch.
10707 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
10709         * manual/texinfo.tex: Update to version 2012-01-19.16.
10711 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
10713         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10715 2012-02-24  Roland McGrath  <roland@hack.frob.com>
10717         [BZ #13738]
10718         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10719         * manual/fdl-1.3.texi: New file.
10720         * manual/fdl-1.1.texi: File removed.
10722         [BZ #13738]
10723         * manual/libc.texinfo (FDL_VERSION): New @set.
10724         Use it for mention of FDL in cover text.
10725         (Documentation License): Use it in @include file name.
10727 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10728             Roland McGrath  <roland@hack.frob.com>
10730         [BZ #5461]
10731         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10732         not LONG_LONG_MAX and LONG_LONG_MIN.
10733         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10734         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
10735         name.
10736         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10738 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10740         [BZ #2547]
10741         [BZ #11365]
10742         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10743         manipulate bits before adding and subtracting TWO23[sx].
10744         * math/libm-test.inc (nearbyint_test): Add more tests.
10746 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10748         [BZ #2548]
10749         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10750         bits before adding and subtracting TWO23[sx].
10751         * math/libm-test.inc (rint_test): Add more tests.
10752         (rint_test_tonearest): Likewise.
10753         (rint_test_towardzero): Likewise.
10754         (rint_test_downward): Likewise.
10755         (rint_test_upward: Likewise.
10757 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10759         [BZ #10110]
10760         * include/stdc-predef.h: New file.  Extracted from features.h.
10761         * include/features.h: Include stdc-predef.h.
10762         * Makefile (headers): Add stdc-predef.h.
10763         * CONFORMANCE (Compiler limitations): Update.
10765 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10767         * manual/libc.texinfo (VERSION, UPDATED): Revert.
10769 2012-02-21  David S. Miller  <davem@davemloft.net>
10771         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10772         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10774 2012-02-20  David S. Miller  <davem@davemloft.net>
10776         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10777         using a normal save/restore sequence, rather than allocating a
10778         dummy stack frame just to store a frame pointer and restore.
10779         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10781 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10783         * manual/install.texi: Fix stray word in line-wrapped comment.
10785 2012-02-20  David S. Miller  <davem@davemloft.net>
10787         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10788         both binutils and gcc support GOTDATA.
10790         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10791         "rd %pc" in the PIC register setup sequences.
10793         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10794         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10795         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10796         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10797         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10798         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10799         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10800         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10801         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10802         (SYSCALL_ERROR_HANDLER): Likewise.
10803         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10804         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10805         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10806         (SYSCALL_ERROR_HANDLER): Likewise.
10808         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10809         (HAVE_GCC_GOTDATA): New.
10810         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10811         relocation support in both binutils and gcc.
10812         * sysdeps/sparc/elf/configure: Regenerate.
10814         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10815         * sysdeps/sparc/sparc32/elf/configure: Delete.
10816         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10817         * sysdeps/sparc/sparc64/elf/configure: Delete.
10818         * sysdeps/sparc/elf/configure.in: New file.
10819         * sysdeps/sparc/elf/configure: Generate.
10821         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10822         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10823         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10824         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10825         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10827 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10829         * manual/install.texi: Do not mention specific glibc version
10830         numbers.
10831         * manual/libc.texinfo (VERSION, UPDATED): Update.
10832         (@copying): Use @copyright{} and range of years.
10834 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10836         [BZ #13695]
10837         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10838         [crti.S not in sysdirs] (generated): Do not append.
10839         [crti.S not in sysdirs] (omit-deps): Likewise.
10840         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10841         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10842         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10843         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10844         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10845         Likewise.
10846         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10847         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10848         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10849         * csu/defs.awk: Remove file.
10850         * sysdeps/generic/initfini.c: Likewise.
10851         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10852         variable.
10853         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10854         Likewise.
10856 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10858         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10859         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10860         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10861         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10862         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10863         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10864         <bits/epoll.h>.
10865         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10866         (__EPOLL_PACKED): Define to empty if not defined by
10867         <bits/epoll.h>.
10868         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10869         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10870         bits/epoll.h.
10872 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10874         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10875         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10876         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10877         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10878         <bits/timerfd.h>.
10879         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10880         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10881         bits/timerfd.h.
10883 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10885         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10886         in C locale.
10887         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10888         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10889         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10892 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
10894         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10895         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10897 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
10899         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10900         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10901         defined.
10902         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10903         Likewise.
10904         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10905         entry for 2.16.
10907 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
10909         * math/w_acos.c: Use non-signaling floating-point comparisons.
10910         * math/w_acosf.c: Likewise.
10911         * math/w_acosh.c: Likewise.
10912         * math/w_acoshf.c: Likewise.
10913         * math/w_acoshl.c: Likewise.
10914         * math/w_acosl.c: Likewise.
10915         * math/w_asin.c: Likewise.
10916         * math/w_asinf.c: Likewise.
10917         * math/w_asinl.c: Likewise.
10918         * math/w_atanh.c: Likewise.
10919         * math/w_atanhf.c: Likewise.
10920         * math/w_atanhl.c: Likewise.
10921         * math/w_exp2.c: Likewise.
10922         * math/w_exp2f.c: Likewise.
10923         * math/w_exp2l.c: Likewise.
10924         * math/w_j0.c: Likewise.
10925         * math/w_j0f.c: Likewise.
10926         * math/w_j0l.c: Likewise.
10927         * math/w_j1.c: Likewise.
10928         * math/w_j1f.c: Likewise.
10929         * math/w_j1l.c: Likewise.
10930         * math/w_jn.c: Likewise.
10931         * math/w_jnf.c: Likewise.
10932         * math/w_log.c: Likewise.
10933         * math/w_log10.c: Likewise.
10934         * math/w_log10f.c: Likewise.
10935         * math/w_log10l.c: Likewise.
10936         * math/w_log2.c: Likewise.
10937         * math/w_log2f.c: Likewise.
10938         * math/w_log2l.c: Likewise.
10939         * math/w_logf.c: Likewise.
10940         * math/w_logl.c: Likewise.
10941         * math/w_sqrt.c: Likewise.
10942         * math/w_sqrtf.c: Likewise.
10943         * math/w_sqrtl.c: Likewise.
10944         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10945         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10946         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10947         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10948         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10950 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
10952         [BZ #9739]
10953         * manual/string.texi (strnlen): Use correct parameter name in
10954         equivalent expression.
10956 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
10958         [BZ #11174]
10959         * manual/users.texi (seteuid): Consistently use neweuid for
10960         argument name.
10962 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
10964         [BZ #13704]
10965         * manual/nss.texi (Services in the NSS configuration): Correct
10966         list of services in example configuration file.
10968 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
10970         [BZ #11322]
10971         * manual/arith.texi: Remove statements about negative zero
10972         behaving identically to zero.
10974 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
10976         [BZ #5993]
10977         * manual/install.texi: Do not document upgrading from libc5.
10979 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
10981         [BZ #4596]
10982         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10984 2012-02-18  David S. Miller  <davem@davemloft.net>
10986         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10987         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10988         %o7 across the call.
10989         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10990         instead.
10991         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10992         SETUP_PIC_REG_LEAF.
10993         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10994         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10995         * sysdeps/sparc/crtn.S: Likewise.
10997 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
10999         * aout/Makefile: Remove.
11001 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
11003         [BZ #13058]
11004         * manual/examples/argp-ex1.c (main): Format definition in GNU
11005         style.
11006         * manual/examples/argp-ex2.c (main): Likewise.
11007         * manual/examples/argp-ex3.c (main): Likewise.
11008         * manual/examples/argp-ex4.c (main): Likewise.
11009         * manual/examples/longopt.c (main): Use new-style prototype
11010         definition.
11011         * manual/examples/strncat.c (main): Specify return type and use
11012         (void) for arguments.
11013         * manual/examples/subopt.c (main): Use char **argv argument.
11015 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11017         [BZ #5077]
11018         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11019         rounding modes.
11021 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
11023         [BZ #6907]
11024         * manual/string.texi (strchr): Change when strchrnul is
11025         recommended.
11027 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
11029         [BZ #174]
11030         * manual/locale.texi (setlocale): Document LOCPATH.
11032 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11034         [BZ #10210]
11035         * manual/process.texi (execle): Move @dots{} before last argument.
11037 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
11039         [BZ #12047]
11040         * manual/charset.texi (Generic Charset Conversion): Fix typo
11041         (LC_TYPE -> LC_CTYPE).
11043 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
11045         [BZ #5805]
11046         * manual/arith.texi (scalbn): Use @var{} on parameter names.
11047         (scalbnf): Likewise.
11048         (scalbnl): Likewise.
11049         (scalbln): Likewise.
11050         (scalblnf): Likewise.
11051         (scalblnl): Likewise.
11052         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11053         (vwarnx): Likewise.
11054         (verr): Likewise.
11055         (verrx): Likewise.
11056         * manual/filesys.texi (telldir): Use braces around return type.
11057         * manual/llio.texi (mmap): Add space after comma.
11058         (mmap64): Likewise.
11059         * manual/math.texi (jn): Use @var{} on parameter names.
11060         (jnf): Likewise.
11061         (jnl): Likewise.
11062         (yn): Likewise.
11063         (ynf): Likewise.
11064         (ynl): Likewise.
11065         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11066         line.
11067         * manual/resource.texi (ulimit): Use @dots{} instead of literal
11068         "...".
11069         (sched_get_priority_min): Remove semicolon on @deftypefun line.
11070         (sched_get_priority_max): Likewise.
11071         * manual/signal.texi (sigvec): Add space after comma.
11072         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11073         names.
11074         (if_indextoname): Likewise.
11075         (if_freenameindex): Likewise.
11076         (sendto): Use ',' instead of '.' in prototype.
11077         * manual/startup.texi (syscall): Use @dots{} instead of literal
11078         "...".
11079         * manual/stdio.texi (__fpending): Separate initial words of
11080         paragraph from @deftypefun line.
11081         * manual/syslog.texi (syslog): Use @dots{} instead of literal
11082         "...".
11083         (vsyslog): Use @var{} on parameter names.
11084         * manual/terminal.texi (stty): Use @var{} on parameter names.
11085         * manual/users.texi (getutmp): Use @var{} on parameter names.
11086         (getutmpx): Likewise.
11088 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11090         [BZ #6884]
11091         * manual/stdio.texi (fopen): Fix typos in description of
11092         ",ccs=STRING".
11094 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
11096         [BZ #4026]
11097         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11098         get clock_id definition.
11100 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
11102         [BZ #4822]
11103         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11104         (madvise): Cast every argument to void on its own.
11106 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11108         [BZ #9902]
11109         * manual/startup.texi (Exit Status): Fix typo.
11111 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11113         [BZ #10140]
11114         * manual/examples/argp-ex1.c: Include <stdlib.h>.
11115         * manual/examples/argp-ex2.c: Likewise.
11116         * manual/examples/argp-ex3.c: Likewise.
11118 2012-02-16  Richard Henderson  <rth@redhat.com>
11120         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11121         * sysdeps/s390/s390-32/initfini.c: Remove.
11122         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11123         * sysdeps/s390/s390-64/initfini.c: Remove.
11125 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11127         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11128         compiler output for sysdeps/generic/initfini.c.
11129         * sysdeps/sh/elf/initfini.c: Remove file.
11131 2012-02-16  David S. Miller  <davem@davemloft.net>
11133         [BZ #11494]
11134         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11136         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11137         * sysdeps/sparc/crti.S: New file.
11138         * sysdeps/sparc/crtn.S: New file.
11139         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11140         * sysdeps/sparc/sparc64/Makefile: Likewise.
11142 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
11144         [BZ #3335]
11145         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11147 2012-02-15  Roland McGrath  <roland@hack.frob.com>
11149         [BZ #4822]
11150         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11152         * mach/devstream.c (cookie_io_functions_t): Macro removed.
11153         (write, read, close): Likewise.
11154         Patch by Aurelien Jarno <aurelien@aurel32.net>.
11156 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
11158         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11159         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11160         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11161         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11162         <bits/signalfd.h>.
11163         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11164         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11165         bits/signalfd.h.
11167 2012-02-14  Marek Polacek  <polacek@redhat.com>
11169         * sysdeps/x86_64/crti.S: New file.
11170         * sysdeps/x86_64/crtn.S: New file.
11171         * sysdeps/x86_64/elf/initfini.c: Remove file.
11173 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11175         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11176         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11177         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11178         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11179         <bits/inotify.h>.
11180         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11181         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11182         bits/inotify.h.
11184 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11186         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11187         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11188         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11189         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11190         <bits/eventfd.h>.
11191         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11193         bits/eventfd.h.
11195 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
11197         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11198         __feraiseexcept instead of feraiseexcept.
11200         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11201         nanosleep invocations.
11202         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11203         strings, and add error checking for a nanosleep invocations.
11205 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
11207         Replace FSF snail mail address with URLs, as per GNU coding standards.
11208         Most of the snail mail addresses were wrong anyway, and omitting
11209         them makes the source code easier to maintain.  Almost all of the
11210         changes are to license notices and to locale LC_IDENTIFICATION
11211         addresses, except for this one:
11212         * manual/libc.texinfo: In "Published by", give the FSF's URL,
11213         not its snail mail address.
11215 2012-02-09  Richard Henderson  <rth@twiddle.net>
11217         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11218         of kernel-features.h.
11220         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11222 2012-02-08  Marek Polacek  <polacek@redhat.com>
11224         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11225         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11226         * sysdeps/gnu/_G_config.h: Likewise.
11227         * sysdeps/generic/_G_config.h: Likewise.
11229 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
11231         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11232         tests.
11233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11235         * sysdeps/powerpc/powerpc32/crti.S: New file.
11236         * sysdeps/powerpc/powerpc32/crtn.S: New file.
11237         * sysdeps/powerpc/powerpc64/crti.S: New file.
11238         * sysdeps/powerpc/powerpc64/crtn.S: New file.
11240         * Makeconfig (have-initfini): Don't set.
11241         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11242         * configure.in (nopic_initfini): Don't substitute.
11243         * config.h.in (HAVE_INITFINI): Don't #undef.
11244         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11245         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11247 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
11249         Support crti.S and crtn.S provided directly by architectures.
11250         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11251         [crti.S in sysdirs] (omit-deps): Likewise.
11252         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11253         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11254         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11255         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11256         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11257         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11258         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11259         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11260         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11261         compiler output for sysdeps/generic/initfini.c.
11262         * sysdeps/i386/elf/Makefile: Remove file.
11263         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11265 2012-02-07  Marek Polacek  <polacek@redhat.com>
11267         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11268         * sysdeps/gnu/_G_config.h: Likewise.
11269         * sysdeps/mach/hurd/_G_config.h: Likewise.
11271 2012-02-07  Marek Polacek  <polacek@redhat.com>
11273         * math/Makefile (tests): Add tst-CMPLX2.
11274         * math/tst-CMPLX2.c: New file.
11276 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
11278         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11280         * math/libm-test.inc (jn_test): Add missing L suffix.
11282 2012-02-06  Marek Polacek  <polacek@redhat.com>
11284         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11285         * sysdeps/i386/fpu/e_powf.S: Likewise.
11286         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11287         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11288         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11289         * sysdeps/i386/fpu/e_pow.S: Likewise.
11290         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11291         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11292         * sysdeps/i386/fpu/s_expm1.S: Likewise.
11293         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11294         * sysdeps/i386/fpu/e_log2.S: Likewise.
11295         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11296         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11297         * sysdeps/i386/fpu/e_powl.S: Likewise.
11298         * sysdeps/i386/fpu/s_log1p.S: Likewise.
11299         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11300         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11301         * sysdeps/i386/fpu/e_logl.S: Likewise.
11302         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11303         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11304         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11305         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11306         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11307         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11308         * sysdeps/i386/fpu/e_log.S: Likewise.
11309         * sysdeps/i386/fpu/s_cexp.S: Likewise.
11310         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11311         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11312         * sysdeps/i386/fpu/e_logf.S: Likewise.
11313         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11314         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11315         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11316         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11317         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11318         * sysdeps/i386/fpu/e_log10.S: Likewise.
11319         * sysdeps/i386/fpu/s_frexp.S: Likewise.
11320         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11321         * sysdeps/i386/fpu/s_asinh.S: Likewise.
11322         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11323         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11324         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11325         * sysdeps/i386/asm-syntax.h: Likewise.
11326         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11327         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11328         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11329         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11330         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11331         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11332         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11333         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11334         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11335         * sysdeps/powerpc/sysdep.h: Likewise.
11336         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11337         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11339 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11341         [BZ #411]
11342         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11344 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11346         * sysdeps/i386/sysdep.h: Include <features.h>.
11347         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11348         version.
11350 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
11352         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11353         Define.
11354         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11355         LOAD_PIC_REG_STR.
11357 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11359         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11360         (SETUP_PIC_REG): Use GET_PC_THUNK.
11361         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11362         macro.
11364 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11366         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11367         for non-PIC compilation.
11368         (SETUP_PIC_REG): Add .p2align directive.
11369         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11370         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11371         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11372         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11373         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11374         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11375         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11376         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11377         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11378         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11379         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11380         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11381         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11382         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11383         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11384         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11385         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11386         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11387         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11388         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11389         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11390         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11391         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11392         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11393         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11394         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11395         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11396         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11397         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11398         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11399         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11400         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11401         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11402         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11403         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11404         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11405         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11406         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11407         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11408         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11409         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11411 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11413         * math/tst-CMPLX.c: Include <stdio.h>.
11415 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
11417         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11418         float.
11419         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11420         * sysdeps/sparc/bits/mathdef.h: Likewise.
11422 2012-01-31  Marek Polacek  <polacek@redhat.com>
11424         * libio/libio.h: Don't define _PARAMS.
11425         * locale/programs/config.h: Don't define PARAMS.
11426         * stdlib/strtol_l.c: Likewise.
11427         (__strtol_l): Remove PARAMS from the prototype.
11429 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
11431         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
11432         names.  Just use the correct names.  Remove unnecessary wrapper
11433         functions.
11434         * malloc/arena.c: Likewise.
11435         * malloc/hooks.c: Likewise.
11437         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11438         ARENA_TEST says not to.  Simplify test for creation of a new arena.
11439         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11441 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
11443         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11444         into tail calls.
11445         (update_get_addr): New function.
11446         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11447         GET_ADDR_MODULE parameter.
11449 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
11451         * crypt/cert.c: Remove __STDC__ conditionals.
11452         * crypt/crypt-entry.c: Likewise.
11453         * crypt/crypt_util.c: Likewise.
11454         * libio/filedoalloc.c: Likewise.
11455         * libio/fileops.c: Likewise.
11456         * libio/genops.c: Likewise.
11457         * libio/iofclose.c: Likewise.
11458         * libio/iofdopen.c: Likewise.
11459         * libio/iofopen.c: Likewise.
11460         * libio/iofopen64.c: Likewise.
11461         * libio/iogetdelim.c: Likewise.
11462         * libio/iopopen.c: Likewise.
11463         * libio/obprintf.c: Likewise.
11464         * libio/oldfileops.c: Likewise.
11465         * libio/oldiofclose.c: Likewise.
11466         * libio/oldiofdopen.c: Likewise.
11467         * libio/oldiofopen.c: Likewise.
11468         * libio/oldiopopen.c: Likewise.
11469         * libio/wfiledoalloc.c: Likewise.
11470         * libio/wgenops.c: Likewise.
11471         * locale/programs/xmalloc.c: Likewise.
11472         * misc/syslog.c: Likewise.
11473         * stdio-common/xbug.c: Likewise.
11474         * string/memchr.c: Likewise.
11475         * string/memcmp.c: Likewise.
11476         * string/memrchr.c: Likewise.
11477         * string/rawmemchr.c: Likewise.
11478         * sysdeps/posix/getcwd.c: Likewise.
11479         * time/strftime_l.c: Likewise.
11481 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
11483         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11484         * config.make.in (config-cflags-sse2avx): Define.
11485         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11486         Fix typo.
11488 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
11490         * scripts/config.guess: Update from upstream config git repository.
11491         * scripts/config.sub: Likewise.
11493 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
11495         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11496         (EM_NUM): Update.
11497         (R_TILEPRO_*, R_TILEGX_*): New macros.
11499         * scripts/firstversions.awk: Fix bug in version range handling.
11501         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11503         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11505         * include/sys/epoll.h: New file.
11506         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11507         libc_hidden_def.
11509 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
11511         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11512         Avoid unnecessary __WORDSIZE == 64 test.
11513         (fmaxf): Use VEX format if possible.
11514         (fmax): Likewise.
11515         (fminf): Likewise.
11516         (fmin): Likewise.
11518         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11519         * math/math_private.h: Remove libc_fegetround* and
11520         libc_fesetround*.
11521         * sysdeps/i386/configure.in: Check for -msse2avx.
11522         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11523         also if SSE2AVX is defined.
11524         Remove libc_fegetround* and libc_fesetround*.
11525         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11526         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
11527         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11528         of HAS_YMM_USABLE.
11529         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11530         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11531         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11532         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11533         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11535         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11537 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11539         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11540         size is not set.
11541         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11543 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
11545         [BZ #13618]
11546         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11547         relocation.
11548         * Makeconfig (libm): Define.
11549         * elf/Makefile: Add rules to build and run tst-relsort1.
11550         * elf/tst-relsort1.c: New file.
11551         * elf/tst-relsort1mod1.c: New file.
11552         * elf/tst-relsort1mod2.c: New file.
11554 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
11556         * math/s_ldexp.c: Remove __STDC__ conditionals.
11557         * math/s_ldexpf.c: Likewise.
11558         * math/s_ldexpl.c: Likewise.
11559         * math/s_nextafter.c: Likewise.
11560         * math/s_nexttowardf.c: Likewise.
11561         * math/s_significand.c: Likewise.
11562         * math/s_significandf.c: Likewise.
11563         * math/s_significandl.c: Likewise.
11564         * math/w_jnl.c: Likewise.
11565         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11566         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11567         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11568         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11569         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11570         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11571         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11572         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11573         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11574         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11575         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11576         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11577         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11578         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11579         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11580         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11581         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11582         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11583         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11584         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11585         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11586         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11587         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11588         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11589         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11590         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11591         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11592         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11593         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11594         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11595         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11596         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11597         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11598         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11599         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11600         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11601         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11602         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11603         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11604         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11605         * sysdeps/ieee754/k_standard.c: Likewise.
11606         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11607         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11608         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11609         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11610         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11611         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11612         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11613         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11614         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11615         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11616         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11617         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11618         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11619         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11620         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11621         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11622         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11623         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11624         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11625         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11626         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11627         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11628         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11629         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11630         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11631         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11632         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11633         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11634         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11635         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11636         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11637         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11638         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11639         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11640         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11641         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11642         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11643         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11644         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11645         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11646         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11647         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11648         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11649         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11650         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11651         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11652         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11653         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11654         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11655         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11656         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11657         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11658         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11659         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11660         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11661         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11662         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11663         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11664         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11665         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11666         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11667         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11668         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11669         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11670         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11671         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11672         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11673         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11674         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11675         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11676         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11677         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11678         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11679         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11680         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11681         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11682         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11683         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11684         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11685         * sysdeps/ieee754/s_matherr.c: Likewise.
11686         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11687         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11688         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11689         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11691 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
11693         * crypt/md5.h: Remove __STDC__ conditionals.
11694         * libio/libioP.h: Likewise.
11695         * locale/programs/config.h: Likewise.
11696         * sysdeps/generic/sysdep.h: Likewise.
11697         * sysdeps/i386/asm-syntax.h: Likewise.
11698         * sysdeps/s390/asm-syntax.h: Likewise.
11699         * sysdeps/unix/sysdep.h: Likewise.
11700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11703 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
11705         * libio/libio.h: Remove __STDC__ conditionals.
11706         * malloc/obstack.h: Likewise.
11707         * math/complex.h: Likewise.
11708         * math/math.h: Likewise.
11709         * sysdeps/generic/_G_config.h: Likewise.
11710         * sysdeps/gnu/_G_config.h: Likewise.
11711         * sysdeps/mach/hurd/_G_config.h: Likewise.
11712         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11713         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11714         * sysdeps/sparc/bits/mathdef.h: Likewise.
11716 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
11718         [BZ #13583]
11719         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11720         Clean up HAS_* macros.
11721         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11722         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11723         possible.
11724         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11725         HAS_AVX.
11726         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11727         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11728         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11729         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11730         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11732 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
11734         * elf/tst-unique3.cc (gets): Remove declaration.
11735         * elf/tst-unique3lib.cc (gets): Likewise.
11736         * elf/tst-unique3lib2.cc (gets): Likewise.
11737         * elf/tst-unique4.cc (gets): Likewise.
11739 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
11741         * include/stdio.h: Add C++ protection.  Add gets declarations and
11742         definitions.
11743         * debug/tst-chk1.c: Don't declare gets here.
11744         * stdio-common/tst-gets.c: Likewise.
11746 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
11748         * posix/glob: Remove directory.
11750 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
11752         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11754 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
11756         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11757         of the non-standard EPFNOSUPPORT.
11759 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11761         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11762         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11763         ANYWHERE set to 1 only on KERN_NO_SPACE error.
11765 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
11767         * wcsmbs/uchar.h: Test __STDC_VERSION__.
11769 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
11771         * nscd/aicache.c (addhstaiX): Do not cache negative results of
11772         transient errors.
11773         * nscd/grpcache.c (cache_addgr): Likewise.
11774         * nscd/hstcache.c (cache_addhst): Likewise.
11775         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11776         * nscd/pwdcache.c (cache_addpw): Likewise.
11777         * nscd/servicescache.c (cache_addserv): Likewise.
11779 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
11781         * malloc/malloc.c: Various cleanups.
11782         * malloc/hooks.c: Likewise.
11784         * stdlib/Makefile (tests): Add bug-fmtmsg1.
11785         * stdlib/bug-fmtmsg1.c: New file.
11787         * stdlib/fmtmsg.c (init): Add missing unlock.
11788         Patch by Peng Haitao <penght@cn.fujitsu.com>.
11790 2012-01-12  Marek Polacek  <polacek@redhat.com>
11792         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11793         and _GNU_SOURCE.
11795 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
11797         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11798         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11799         macro to ensure uniqueness of label name.
11800         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11801         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11803 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
11805         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11807         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11808         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11809         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11810         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11812 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
11814         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11816         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11817         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11818         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11820         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11822         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11823         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11824         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11825         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11827         * math/bits/math-finite.h: Add ldexp support.
11829 2012-01-10  Marek Polacek  <polacek@redhat.com>
11831         * locale/programs/localedef.h (show_archive_content): Add noreturn
11832         attribute.
11834 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
11836         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11838 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11840         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11842         * io/Makefile (headers): Add bits/poll2.h.
11844 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
11846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11847         typo #include statement.
11849 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11851         * include/sys/cdefs.h: Define __attribute_alloc_size.
11852         * catgets/gencat.c: Add alloc_size attribute and apply consistently
11853         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11854         * elf/pldd.c: Likewise.
11855         * iconv/iconv_charmap.c: Likewise.
11856         * iconv/iconvconfig.c: Likewise.
11857         * iconv/strtab.c: Likewise.
11858         * locale/programs/locale.c: Likewise.
11859         * locale/programs/localedef.h: Likewise.
11860         * locale/programs/simple-hash.c: Likewise.
11861         * nscd/nscd.h: Likewise.
11862         * nss/makedb.c: Likewise.
11863         * sysdeps/generic/ldconfig.h: Likewise.
11864         * locale/programs/localedef.c: Remove xmalloc prototype.
11865         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11867 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11869         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11870         appropriate.
11872 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11874         * math/Makefile (tests): Add tst-CMPLX.
11875         * math/tst-CMPLX.c: New file.
11877         * math/complex.h (CMPLXL): Fix typo.
11879         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11880         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11881         GLIBC_2.16.
11882         * debug/tst-chk1.c: Add poll and ppoll tests.
11883         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11884         * include/sys/poll.h: Add hidden proto for ppoll.
11885         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11886         * sysdeps/mach/hurd/ppoll.c: Likewise.
11887         * io/ppoll.c: Likewise.
11888         * debug/poll_chk.c: New file.
11889         * debug/ppoll_chk.c: New file.
11890         * include/bits/poll2.h: New file.
11891         * io/bits/poll2.h: New file.
11893         [BZ #1350]
11894         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11896         * configure.in: static is always set to yes.  Remove.
11897         * config.make.in: Don't set build-static.
11898         * Makeconfig: Remove use of build-static.
11899         * dlfcn/Makefile: Likewise.
11900         * elf/Makefile: Likewise.
11901         * math/Makefile: Likewise.
11902         * misc/Makefile: Likewise.
11903         * nptl/Makefile: Likewise.
11904         * sysdeps/mach/hurd/Makefile: Likewise.
11906         * configure.in: PWD_P is not used anymore.
11907         * config.make.in: Remove PWD_P entry.
11909         * configure.in: Remove last remnants of RANLIB.
11910         No need to check for signed size_t anymore.
11911         Don't set libc_commonpagesize and libc_relro_required here for Alpha
11912         and IA-64.
11913         Remove __builtin_expect test because we require at least gcc 3.4.
11914         * aclocal.m4: Likewise.
11916         * wcsmbs/mbrtoc16.c: Implement using towc function.
11917         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11918         * wcsmbs/wcsmbsload.c: Likewise.
11919         * iconv/gconv_simple.c: Likewise.
11920         * iconv/gconv_int.h: Likewise.
11921         * iconv/gconv_builtin.h: Likewise.
11922         * iconv/iconv_prog.c: Remove CHAR16 handling.
11924         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11926         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11928         * configure.in: Remove --with-elf and --enable-bounded options.
11929         Dont set base_machine for ia64.  More non-ELF conditions removed.
11930         Remove testing and setting of leading underscore information.
11931         * config.make.in (build-bounded): Set to no.
11932         * config.h.in: Remove NO_UNDERSCORES entry.
11933         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
11934         them.
11935         * csu/start.c: Remove !NO_UNDERSCORE code.
11936         * locale/localeinfo.h: Likewise.
11937         * sysdeps/generic/machine-gmon.h: Likewise.
11938         * sysdeps/generic/sysdep.h: Likewise.
11939         * sysdeps/i386/sysdep.h: Likewise.
11940         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11941         * sysdeps/mach/sysdep.h: Likewise.
11942         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11943         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11944         * sysdeps/sh/sysdep.h: Likewise.
11945         * sysdeps/sparc/sparc32/alloca.S: Likewise.
11946         * sysdeps/unix/i386/sysdep.S: Likewise.
11947         * sysdeps/unix/sparc/start.c: Likewise.
11948         * sysdeps/unix/sparc/sysdep.S: Likewise.
11949         * sysdeps/unix/sparc/sysdep.h: Likewise.
11950         * sysdeps/unix/start.c: Likewise.
11951         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11952         * sysdeps/x86_64/sysdep.h: Likewise.
11954 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
11956         [BZ #13553]
11957         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11958         for non-gcc.
11959         * argp/argp-fmtstream.h: Use const instead __const.
11960         * argp/argp.h: Likewise.
11961         * assert/assert.h: Likewise.
11962         * bits/fenv.h: Likewise.
11963         * bits/sched.h: Likewise.
11964         * bits/sigset.h: Likewise.
11965         * bits/sigthread.h: Likewise.
11966         * catgets/nl_types.h: Likewise.
11967         * conform/data/pthread.h-data: Likewise.
11968         * crypt/crypt-private.h: Likewise.
11969         * crypt/crypt.h: Likewise.
11970         * crypt/crypt_util.c: Likewise.
11971         * ctype/ctype.h: Likewise.
11972         * debug/execinfo.h: Likewise.
11973         * debug/mbsnrtowcs_chk.c: Likewise.
11974         * debug/mbsrtowcs_chk.c: Likewise.
11975         * debug/wcsnrtombs_chk.c: Likewise.
11976         * debug/wcsrtombs_chk.c: Likewise.
11977         * debug/wcstombs_chk.c: Likewise.
11978         * dirent/dirent.h: Likewise.
11979         * dlfcn/dlfcn.h: Likewise.
11980         * elf/neededtest4.c: Likewise.
11981         * grp/grp.h: Likewise.
11982         * gshadow/gshadow.h: Likewise.
11983         * iconv/gconv.h: Likewise.
11984         * iconv/gconv_int.h: Likewise.
11985         * iconv/gconv_simple.c: Likewise.
11986         * iconv/iconv.h: Likewise.
11987         * iconv/loop.c: Likewise.
11988         * iconv/skeleton.c: Likewise.
11989         * include/aio.h: Likewise.
11990         * include/aliases.h: Likewise.
11991         * include/argz.h: Likewise.
11992         * include/arpa/inet.h: Likewise.
11993         * include/assert.h: Likewise.
11994         * include/dirent.h: Likewise.
11995         * include/dlfcn.h: Likewise.
11996         * include/execinfo.h: Likewise.
11997         * include/fcntl.h: Likewise.
11998         * include/fenv.h: Likewise.
11999         * include/glob.h: Likewise.
12000         * include/grp.h: Likewise.
12001         * include/libintl.h: Likewise.
12002         * include/mntent.h: Likewise.
12003         * include/netdb.h: Likewise.
12004         * include/pwd.h: Likewise.
12005         * include/rpc/netdb.h: Likewise.
12006         * include/sched.h: Likewise.
12007         * include/search.h: Likewise.
12008         * include/shadow.h: Likewise.
12009         * include/signal.h: Likewise.
12010         * include/stdio.h: Likewise.
12011         * include/stdlib.h: Likewise.
12012         * include/string.h: Likewise.
12013         * include/sys/socket.h: Likewise.
12014         * include/sys/stat.h: Likewise.
12015         * include/sys/statfs.h: Likewise.
12016         * include/sys/statvfs.h: Likewise.
12017         * include/sys/syslog.h: Likewise.
12018         * include/sys/time.h: Likewise.
12019         * include/sys/uio.h: Likewise.
12020         * include/time.h: Likewise.
12021         * include/unistd.h: Likewise.
12022         * include/utmp.h: Likewise.
12023         * include/wchar.h: Likewise.
12024         * include/wctype.h: Likewise.
12025         * inet/aliases.h: Likewise.
12026         * inet/arpa/inet.h: Likewise.
12027         * inet/netinet/ether.h: Likewise.
12028         * inet/netinet/in.h: Likewise.
12029         * intl/libintl.h: Likewise.
12030         * io/bits/fcntl2.h: Likewise.
12031         * io/fcntl.h: Likewise.
12032         * io/ftw.h: Likewise.
12033         * io/sys/poll.h: Likewise.
12034         * io/sys/stat.h: Likewise.
12035         * io/sys/statfs.h: Likewise.
12036         * io/sys/statvfs.h: Likewise.
12037         * io/utime.h: Likewise.
12038         * libio/bits/stdio.h: Likewise.
12039         * libio/bits/stdio2.h: Likewise.
12040         * libio/libio.h: Likewise.
12041         * libio/libioP.h: Likewise.
12042         * libio/stdio.h: Likewise.
12043         * locale/lc-ctype.c: Likewise.
12044         * locale/locale.h: Likewise.
12045         * login/utmp.h: Likewise.
12046         * malloc/arena.c: Likewise.
12047         * malloc/malloc.c: Likewise.
12048         * malloc/malloc.h: Likewise.
12049         * malloc/mcheck.c: Likewise.
12050         * malloc/mtrace.c: Likewise.
12051         * math/bits/mathcalls.h: Likewise.
12052         * math/fenv.h: Likewise.
12053         * math/math_private.h: Likewise.
12054         * misc/bits/error.h: Likewise.
12055         * misc/bits/syslog.h: Likewise.
12056         * misc/err.h: Likewise.
12057         * misc/error.h: Likewise.
12058         * misc/fstab.h: Likewise.
12059         * misc/mntent.h: Likewise.
12060         * misc/regexp.h: Likewise.
12061         * misc/search.h: Likewise.
12062         * misc/sgtty.h: Likewise.
12063         * misc/sys/mman.h: Likewise.
12064         * misc/sys/syslog.h: Likewise.
12065         * misc/sys/uio.h: Likewise.
12066         * misc/sys/xattr.h: Likewise.
12067         * misc/ttyent.h: Likewise.
12068         * nis/rpcsvc/ypclnt.h: Likewise.
12069         * nss/nss.h: Likewise.
12070         * posix/bits/unistd.h: Likewise.
12071         * posix/fnmatch.h: Likewise.
12072         * posix/glob.h: Likewise.
12073         * posix/sched.h: Likewise.
12074         * posix/spawn.h: Likewise.
12075         * posix/sys/wait.h: Likewise.
12076         * posix/unistd.h: Likewise.
12077         * posix/wordexp.h: Likewise.
12078         * pwd/pwd.h: Likewise.
12079         * resolv/netdb.h: Likewise.
12080         * resource/sys/resource.h: Likewise.
12081         * rt/aio.h: Likewise.
12082         * rt/bits/mqueue2.h: Likewise.
12083         * rt/mqueue.h: Likewise.
12084         * shadow/shadow.h: Likewise.
12085         * signal/signal.h: Likewise.
12086         * socket/send.c: Likewise.
12087         * socket/sendto.c: Likewise.
12088         * socket/sys/socket.h: Likewise.
12089         * stdio-common/printf.h: Likewise.
12090         * stdlib/bits/stdlib.h: Likewise.
12091         * stdlib/fmtmsg.h: Likewise.
12092         * stdlib/monetary.h: Likewise.
12093         * stdlib/stdlib.h: Likewise.
12094         * stdlib/ucontext.h: Likewise.
12095         * streams/stropts.h: Likewise.
12096         * string/argz.h: Likewise.
12097         * string/bits/string2.h: Likewise.
12098         * string/string.h: Likewise.
12099         * string/strings.h: Likewise.
12100         * sunrpc/rpc/auth.h: Likewise.
12101         * sunrpc/rpc/auth_des.h: Likewise.
12102         * sunrpc/rpc/clnt.h: Likewise.
12103         * sunrpc/rpc/netdb.h: Likewise.
12104         * sunrpc/rpc/pmap_clnt.h: Likewise.
12105         * sunrpc/rpc/xdr.h: Likewise.
12106         * sysdeps/generic/inttypes.h: Likewise.
12107         * sysdeps/generic/net/if.h: Likewise.
12108         * sysdeps/generic/sys/swap.h: Likewise.
12109         * sysdeps/gnu/net/if.h: Likewise.
12110         * sysdeps/gnu/utmpx.h: Likewise.
12111         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12112         * sysdeps/i386/i486/bits/string.h: Likewise.
12113         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12114         * sysdeps/s390/bits/string.h: Likewise.
12115         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12116         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12117         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12118         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12119         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12120         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12121         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12122         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12123         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12124         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12125         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12126         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12127         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12128         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12129         * sysdeps/unix/sysv/linux/readv.c: Likewise.
12130         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12131         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12132         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12133         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12134         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12135         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12136         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12137         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12138         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12139         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12140         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12141         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12142         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12143         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12144         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12145         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12146         * sysvipc/sys/ipc.h: Likewise.
12147         * sysvipc/sys/msg.h: Likewise.
12148         * sysvipc/sys/sem.h: Likewise.
12149         * sysvipc/sys/shm.h: Likewise.
12150         * termios/termios.h: Likewise.
12151         * time/sys/time.h: Likewise.
12152         * time/time.h: Likewise.
12153         * wcsmbs/bits/wchar2.h: Likewise.
12154         * wcsmbs/uchar.h: Likewise.
12155         * wcsmbs/wchar.h: Likewise.
12156         * wctype/wctype.h: Likewise.
12158         [BZ #13551]
12159         * Makeconfig: Remove all but ELF support including AIX support.
12160         * Makerules: Likewise.
12161         * config.h.in: Likewise.
12162         * config.make.in: Likewise.
12163         * configure: Likewise.
12164         * configure.in: Likewise.
12165         * csu/Makefile: Likewise.
12166         * csu/version.c: Likewise.
12167         * debug/Makefile: Likewise.
12168         * dlfcn/Makefile: Likewise.
12169         * elf/Makefile: Likewise.
12170         * extra-lib.mk: Likewise.
12171         * iconv/Makefile: Likewise.
12172         * include/libc-symbols.h: Likewise.
12173         * include/shlib-compat.h: Likewise.
12174         * resolv/Makefile: Likewise.
12175         * resolv/res_libc.c: Likewise.
12176         * rt/Makefile: Likewise.
12177         * sysdeps/i386/asm-syntax.h: Likewise.
12178         * sysdeps/i386/sysdep.h: Likewise.
12179         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12180         * sysdeps/mach/sysdep.h: Likewise.
12181         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12182         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12183         * sysdeps/s390/asm-syntax.h: Likewise.
12184         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12185         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12186         * sysdeps/sh/sysdep.h: Likewise.
12187         * sysdeps/unix/sparc/sysdep.h: Likewise.
12188         * sysdeps/wordsize-32/divdi3.c: Likewise.
12189         * sysdeps/x86_64/sysdep.h: Likewise.
12191         * argp/Versions: Remove _argp_unlock_xxx.
12193         [BZ #13559]
12194         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
12195         * abilist/libBrokenLocale.abilist: Likewise.
12196         * abilist/libanl.abilist: Likewise.
12197         * abilist/libc.abilist: Likewise.
12198         * abilist/libcrypt.abilist: Likewise.
12199         * abilist/libdl.abilist: Likewise.
12200         * abilist/libm.abilist: Likewise.
12201         * abilist/libnsl.abilist: Likewise.
12202         * abilist/libpthread.abilist: Likewise.
12203         * abilist/libresolv.abilist: Likewise.
12204         * abilist/librt.abilist: Likewise.
12205         * abilist/libthread_db.abilist: Likewise.
12206         * abilist/libutil.abilist: Likewise.
12207         * abilist/libnss_db.abilist: New file.
12209         * scripts/abilist.awk: Add support for indirect functions.
12211         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12213         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12215         * shlib-versions: Remove entries for ports architectures.
12217         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
12218         files in ports.
12219         * elf/stackguard-macros.h: Remove support for IA-64.
12220         * elf/tst-auditmod1.c: Likewise.
12221         * sysdeps/generic/ldsodefs.h: Likewise.
12223         * sysdeps/unix/sysv/linux/configure.in: Ports should define
12224         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12225         configure files.
12227         [BZ #13552]
12228         * configure.in: Remove --enable-omitfp support.
12229         * FAQ.in: Adjust.
12230         * config.make.in: Likewise.
12231         * Makeconfig: Likewise.
12232         * manual/install.texi: Likewise.
12234         In case anyone cares, the IA-64 architecture could move to ports.
12235         * sysdeps/ia64/*: Removed.
12236         * sysdeps/unix/sysv/linux/ia64/*: Removed.
12237         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12239         [BZ #13555]
12240         * configure.in: Remove entries for unsupported architectures.
12242         [BZ #13533]
12243         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12244         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
12245         routines.
12246         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12247         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12248         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
12249         fall back to using wcrtomb.
12250         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12251         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
12252         renaming.
12253         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12254         * wcsmbs/tst-c16c32-1.c: New file.
12256         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12257         local variable.
12259         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12261         * elf/tst-unique3.cc: Add explicit declaration of gets.
12262         * elf/tst-unique3lib.cc: Likewise.
12263         * elf/tst-unique3lib2.cc: Likewise.
12264         * elf/tst-unique4.cc: Likewise.
12266         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12268 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
12270         [BZ #13566]
12271         * assert/assert.h (static_assert): Don't define for C++.
12272         * libio/stdio.h (gets): Do declare for C++ <= C++11.
12273         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12275 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
12277         * iconv/loop.c (single loop): Fix assertion in storing of
12278         remaining bytes.
12280         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12282 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
12284         * posix/getconf.c: Update copyright year.
12285         * nss/getent.c: Likewise.
12286         * nss/makedb.c: Likewise.
12287         * iconv/iconvconfig.c: Likewise.
12288         * iconv/iconv_prog.c: Likewise.
12289         * elf/ldconfig.c: Likewise.
12290         * elf/pldd.c: Likewise.
12291         * elf/sotruss.ksh: Likewise.
12292         * catgets/gencat.c: Likewise.
12293         * csu/version.c: Likewise.
12294         * elf/ldd.bash.in: Likewise.
12295         * elf/sprof.c (print_version): Likewise.
12296         * locale/programs/locale.c: Likewise.
12297         * locale/programs/localedef.c: Likewise.
12298         * login/programs/pt_chown.c: Likewise.
12299         * nscd/nscd.c (print_version): Likewise.
12300         * debug/xtrace.sh: Likewise.
12301         * malloc/memusage.sh: Likewise.
12302         * malloc/mtrace.pl: Likewise.
12303         * debug/catchsegv.sh: Likewise.
12305 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
12307         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12308         pure attribute.
12310 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
12312         [BZ #13533]
12313         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12314         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12315         transformations.
12316         * iconv/gconv_int.h: Likewise.
12317         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12318         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12319         from libc for GLIBC_2.16.
12320         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12321         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12322         * wcsmbs/uchar.h: Really define mbstate_t.
12323         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12324         * wcsmbs/c16rtomb.c: New file.
12325         * wcsmbs/mbrtoc16.c: New file.
12326         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12327         for C/POSIX locale.
12328         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12329         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12331         * wcsmbs/wchar.h: Add missing __restrict.
12333 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12335         [BZ #13532]
12336         * time/Makefile (routines): Add timespec_get.
12337         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12338         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
12339         timespec for ISO C11.
12340         * time/timespec_get.c: New file.
12341         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12342         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12344         [BZ #13531]
12345         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12346         * stdlib/stdlib.h: Declare aligned_alloc.
12347         * Versions.def: Add GLIBC_2.16 for libc.
12348         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12350         [BZ 13527]
12351         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12352         ISO C11.
12354         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12355         code.
12357         [BZ #13528]
12358         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12360         [BZ #13529]
12361         * assert/assert.h (static_assert): Define.
12363         * version.h: Update for 2.16 development version.
12365         [BZ #13526]
12366         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12367         _ISOC11_SOURCE.
12369         * version.h (RELEASE): Bump for 2.15 release.
12370         * include/features.h (__GLIBC_MINOR__): Bump to 15.
12372         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12373         Patch by Marek Polacek <mpolacek@redhat.com>.
12375         * bits/byteswap.h: Protect long long constants with __extension__.
12376         * sysdeps/i386/bits/byteswap.h: Likewise.
12377         * sysdeps/ia64/bits/byteswap.h: Likewise.
12378         * sysdeps/s390/bits/byteswap.h: Likewise.
12379         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12381 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12383         [BZ #13540]
12384         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12385         destination buffer.
12386         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12388 2011-12-23  Marek Polacek  <polacek@redhat.com>
12390         * elf/dl-addr.c (determine_info): Add inline keyword.
12391         * elf/tst-auditmod4b.c (check_avx): Likewise.
12392         * elf/tst-auditmod6b.c (check_avx): Likewise.
12393         * elf/tst-auditmod6c.c (check_avx): Likewise.
12394         * elf/tst-auditmod7b.c (check_avx): Likewise.
12396 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12398         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12399         !__SSE_MATH__.
12401 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12403         [BZ #13540]
12404         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12405         processing for last bytes.
12407 2011-08-06  Bruno Haible  <bruno@clisp.org>
12409         [BZ #13061]
12410         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12411         U+0385, not to U+1FEE.
12413         [BZ #13062]
12414         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12415         entry for U+00A5 U+0301.
12417 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
12419         [BZ #13166]
12420         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12421         buffer for the output is too small.
12423         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12424         optimization.
12426         [BZ #13185]
12427         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12428         SSE flags if possible.
12430 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12432         [BZ #13540]
12433         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12434         processing for last bytes.
12436 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
12438         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12439         (syscall-list-default-options, syscall-list-default-condition)
12440         (syscall-list-includes): Define.
12441         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12442         list of ABIs and options and #if conditions for each ABI.  Do not
12443         handle common syscalls between ABIs specially.
12444         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12445         Remove.
12446         (syscall-list-variants, syscall-list-32bit-options)
12447         (syscall-list-32bit-condition, syscall-list-64bit-options)
12448         (syscall-list-64bit-condition): Define.
12449         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12450         (syscall-list-variants, syscall-list-32bit-options)
12451         (syscall-list-32bit-condition, syscall-list-64bit-options)
12452         (syscall-list-64bit-condition): Define.
12453         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12454         Remove.
12455         (syscall-list-variants, syscall-list-32bit-options)
12456         (syscall-list-32bit-condition, syscall-list-64bit-options)
12457         (syscall-list-64bit-condition): Define.
12458         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12459         Remove.
12460         (syscall-list-variants, syscall-list-32bit-options)
12461         (syscall-list-32bit-condition, syscall-list-64bit-options)
12462         (syscall-list-64bit-condition): Define.
12464 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
12466         * locale/iso-639.def: Add brx entry.
12468         [BZ #13328]
12469         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12470         Proposed by Mariusz_Cukr <marcukr@op.pl>.
12472         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12473         __feraiseexcept_renamed.
12475 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
12477         [BZ #13538]
12478         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12479         EPOLLET with unsigned values.
12480         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12481         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12483         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12484         to large cancellation.
12485         * math/s_cacoshf.c: Likewise.
12486         * math/s_cacoshl.c: Likewise.
12488 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
12490         [BZ #13305]
12491         [BZ #12786]
12492         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12493         * math/s_cacoshf.c: Likewise.
12494         * math/s_cacoshl.c: Likewise.
12496 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
12498         [BZ #13439]
12499         * iconv/gconv.h: Define __GCONV_SWAP.
12500         * iconvdata/unicode.c: The swap bit must be stored in __flags.
12501         * iconvdata/utf-16.c: Likewise.
12502         * iconvdata/utf-32.c: Likewise.
12504 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
12506         [BZ #13524]
12507         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12508         numerator after shifting it by one limb.
12510 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
12512         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12513         under [__USE_EXTERN_INLINES].
12515 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
12517         [BZ #13446]
12518         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12520 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12522         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12523         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12524         optimized code.
12525         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12526         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12527         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12528         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12529         for strncasecmp/strncasecmp_l compilation.
12530         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12531         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12533 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
12535         [BZ #13484]
12536         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12537         of __asm__.
12539 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
12541         [BZ #13506]
12542         * time/tzfile.c (__tzfile_read): Check values from file header.
12544 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
12546         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12547         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12548         * powerpc/powerpc32/dl-start.S: Likewise.
12549         * powerpc/powerpc32/elf/start.S: Likewise.
12550         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12551         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12552         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12553         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12554         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12555         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12556         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12557         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12558         * powerpc/powerpc32/fpu/s_round.S: Likewise.
12559         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12560         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12561         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12562         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12563         * powerpc/powerpc32/memset.S: Likewise.
12564         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12565         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12566         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12567         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12568         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12569         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12570         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12571         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12572         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12573         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12574         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12575         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12576         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12578 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12580         * math/libm-test.inc: Added more nearbyint tests.
12581         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12582         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12583         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12584         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12586 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
12588         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12589         FD_CLOEXEC.
12591 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12593         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12594         Add wcscpy-ssse3 wcscpy-c.
12595         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12596         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12597         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12598         * sysdeps/x86_64/wcschr.S: New file.
12599         * sysdeps/x86_64/wcsrchr.S: New file.
12600         * string/test-strcmp.c: Remove checking of wcscmp function for
12601         wrong alignments.
12602         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12603         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12604         wcsrchr-sse2 wcsrchr-c.
12605         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12606         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12607         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12608         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12609         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12610         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12611         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12612         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12613         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12614         * wcsmbc/wcschr.c (WCSCHR): New macro.
12616 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12618         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12619         * wcsmbs/test-wcsrchr.c: New file.
12620         * string/test-strrchr.c: Add wcsrchr support.
12621         (WIDE): New macro.
12622         * wcsmbs/test-wcscpy.c: New file.
12623         * string/test-strcpy.c: Add wcscpy support.
12624         (WIDE): New macro.
12626 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
12628         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12629         the inner loop.
12631 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
12633         [BZ #13472]
12634         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12636 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
12638         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12639         Minor optimizations.
12641         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12642         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12643         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12645 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
12647         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12648         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12649         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12650         for gcc to avoid warnings.
12651         * inet/Makefile (tests): Add tst-checks.
12652         * inet/tst-checks.c: New file.
12654         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12655         warning.
12657         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12658         __wmemcmp_sse2.
12660         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12661         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12663         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12665 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
12667         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12668         problem.
12670         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12672 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
12674         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12675         conditional on GCC version.
12676         (__arch_compare_and_exchange_val_8_acq)
12677         (__arch_compare_and_exchange_val_16_acq)
12678         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12679         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12680         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12682 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
12684         * sysdeps/sh/backtrace.c: New file.
12686 2011-12-02  Andreas Schwab  <schwab@redhat.com>
12688         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
12689         parenthesis.
12691 2011-12-01  Andreas Schwab  <schwab@redhat.com>
12693         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12694         falling back to utime.
12696 2011-11-30  Andreas Schwab  <schwab@redhat.com>
12698         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12699         expectations for float.
12701 2011-11-29  Andreas Schwab  <schwab@redhat.com>
12703         * locale/weight.h (findidx): Add parameter len.
12704         * locale/weightwc.h (findidx): Likewise.
12705         * posix/fnmatch_loop.c (FCT): Adjust caller.
12706         * posix/regcomp.c (build_equiv_class): Likewise.
12707         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12708         * posix/regexec.c (check_node_accept_bytes): Likewise.
12709         * string/strcoll_l.c (STRCOLL): Likewise.
12710         * string/strxfrm_l.c (STRXFRM): Likewise.
12712 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
12714         * Makefile.in: Remove CVSOPT handling.
12715         * configure.in: Remove use of AC_REVISION.
12716         * iconvdata/Makefile (distribute): No need to filter out CVS.
12717         * scripts/list-sources.sh: Remove CVS, subversion and monotone
12718         handling.
12720 2011-11-16  Andreas Schwab  <schwab@redhat.com>
12722         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12723         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12724         [USE_AS_STRNCASECMP_L]: Likewise.
12725         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12726         NO_TLS_DIRECT_SEG_REFS.
12727         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12728         Fix argument offsets for non-PIC.
12729         [USE_AS_STRNCASECMP_L]: Likewise.
12730         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12731         NO_TLS_DIRECT_SEG_REFS.
12733 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
12735         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12736         O_CLOEXEC.
12737         * locale/loadlocale.c (_nl_load_locale): Likewise.
12739 2011-11-15  Andreas Schwab  <schwab@redhat.com>
12741         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12742         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12743         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12744         (SYSCALL_GETTIME): Set errno on error.
12746         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12747         count references to noai6ai_cached.
12749 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
12751         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12753         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12754         FD_CLOEXEC for /proc/self/maps.
12756         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12757         FD_CLOEXEC for /proc/meminfo.
12759         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12760         gai.conf.
12762         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
12763         FD_CLOEXEC for given file.
12765         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12767         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12768         FD_CLOEXEC for /etc/hosts.
12769         (_gethtent): Likewise.
12771         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12773         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12774         cancellation and set FD_CLOEXEC for /etc/netgroup.
12776         * nss/nss_files/files-key.c (search): Don't allow cancellation when
12777         reading /etc/publickey.
12779         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12780         allow cancellation when reading /etc/group.
12782         * nss/nss_files/files-alias.c (internal_setent): Don't allow
12783         cancellation.
12784         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
12786         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12787         when using data file.
12789         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12791         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12792         (write_nis_obj): Use "c" and "e" in fopen.
12794         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12796         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12798         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12800         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12802         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12803         locale.alias.
12805         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12807         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12809         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12811         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12812         file parsing and set FD_CLOEXEC.
12814 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
12816         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12818 2011-11-14  Andreas Schwab  <schwab@redhat.com>
12820         * malloc/arena.c (arena_get2): Don't call reused_arena when
12821         _int_new_arena failed.
12823 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
12825         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12826         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12827         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12828         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12829         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12830         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12831         to compile strcasecmp and strncasecmp.
12832         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12833         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12835         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12837 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
12839         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12840         locale-defines.sym to gen-as-const-headers.
12841         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12842         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12843         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12844         to compile strcasecmp and strncasecmp.
12845         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12846         strcasecmp_l and strncasecmp_l.
12847         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12848         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12849         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12850         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12851         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12852         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12853         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12854         * sysdeps/i386/i686/multiarch/strncase.S: New file.
12855         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12856         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12857         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12859 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
12861         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12862         result of SYSDEP_GETTIME_CPU to retval.
12863         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12864         parameter list to macro.  Remove trailing semicolon.  Adjust users.
12866         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12867         variable.
12869         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12870         mantissa words.
12871         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12873         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12874         from unused variable.
12876         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12877         DWARF definitions.
12878         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12879         for assembling.
12881         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12882         over namespaces.
12884         * sunrpc/rpc_prot.c (rejected): Fix case value.
12886         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12887         unsigned long long int to avoid warnings in shift.
12889         * posix/regex_internal.c (re_string_reconstruct): Actually use result
12890         of use of trans.
12891         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12892         variable tmp.
12894         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12895         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12896         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12898         * nis/nis_table.c (nis_list): Use variable of correct type for
12899         result of __follow_path call.
12901 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12903         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12904         of math functions ceil, trunc, floor, round, and sqrt, when
12905         avaliable on the platform.
12906         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12907         name clash.
12908         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12909         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12910         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12912 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
12914         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12915         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12917 2011-11-11  Roland McGrath  <roland@hack.frob.com>
12919         * include/unistd.h: Fix __readlink return type.
12920         Reported by Chris Metcalf <cmetcalf@tilera.com>.
12922 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
12924         * stdlib/ucontext.h: Undo last change for makecontext.
12926 2011-11-11  Andreas Schwab  <schwab@redhat.com>
12928         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12930         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12931         * setjmp/setjmp.h: Mark functions as non-leaf.
12932         * setjmp/bits/setjmp2.h: Likewise.
12933         * stdlib/ucontext.h: Likewise.
12935 2011-11-10  Andreas Schwab  <schwab@redhat.com>
12937         * malloc/arena.c (_int_new_arena): Don't increment narenas.
12938         (reused_arena): Don't check arena limit.
12939         (arena_get2): Atomically check arena limit.
12941 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
12943         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12944         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12946         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12947         instructions.
12949 2011-11-07  Andreas Schwab  <schwab@redhat.com>
12951         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12952         handler when locking.
12954         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12955         Fix size of allocated buffer.
12957 2011-11-04  Andreas Schwab  <schwab@redhat.com>
12959         [BZ #10103]
12960         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12961         declarations for long double functions.
12962         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12964         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12966 2011-11-03  Andreas Schwab  <schwab@redhat.com>
12968         * nscd/nscd.c (main): Don't start AVC thread until credentials are
12969         installed.
12971         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12972         is disabled.
12974 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12976         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12978 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12980         * include/alloca.h (stackinfo_alloca_round): Define.
12981         (extend_alloca): Use it.
12982         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12983         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12984         here.
12986         * scripts/check-local-headers.sh: Ignore libaudit.h.
12988         * nscd/Makefile (extra-objs): Make recursively expanded.
12990 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
12992         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12993         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12995         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12996         * posix/tst-rfc3484-2.c: Likewise.
12997         * posix/tst-rfc3484-3.c: Likewise.
12999         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13000         process_vm_writev.
13001         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13002         process_vm_writev.
13003         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13004         process_vm_writev from libc using GLIBC_2.15 version.
13006         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13008 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
13010         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13011         stack usage.
13013 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
13015         [BZ #13367]
13016         * nss/getent.c (initgroups_keys): Show error message in case no group
13017         names are given.
13019         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13020         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13021         __bump_nl_timestamp.
13022         * nscd/connections (nscd_init): When host database is served open
13023         netlink socket and request notification about configuration changes.
13024         (main_loop_poll): Track netlink file descriptor and bump timestamp
13025         in case data becomes available.
13026         (main_loop_epoll): Likewise.
13027         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13028         (database_pers_head): Add extra_data fileds.
13029         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13030         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13031         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13032         Adjust caller.
13033         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13034         in6ai data, call __free_in6ai.
13035         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13036         Add -DHAVE_NETLINK.
13037         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
13038         interface information.  Reuse previous data if netlink timestamp
13039         is not changed.
13040         (__bump_nl_timestamp): New function.
13041         (__free_in6ai): New function.
13043 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
13045         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13046         close_not_cancel_no_status here.
13047         (__check_pf): Reorganize code a bit to not call close twice if OOM.
13049 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13051         [BZ #13276]
13052         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13053         return value.
13055         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13056         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13057         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13059 2011-07-03  Andreas Jaeger  <aj@suse.de>
13061         [BZ #10709]
13062         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13063         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13064         * math/libm-test.inc (sin_test): Add test case.
13066 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13068         [BZ #13337]
13069         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13070         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13072         * elf/chroot_canon.c (chroot_canon): Cleanups.
13074         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13076         [BZ #13335]
13077         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13078         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13080         * string/test-strchr.c: Make usable for strchrnul testing.
13081         * string/test-strchrnul.c: New file.
13082         * string/Makefile (strop-tests): Add strchrnul.
13084         * po/it.po: Update from translation team.
13085         * po/es.po: Likewise.
13087 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
13089         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13090         the three constants needed as parameters.  Drop the others.
13091         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13092         __m128i_strloadu_tolower.
13093         Create and initialize variable zero and use it in all the places
13094         where _mm_setzero_si128 was used.
13096         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13097         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13098         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13099         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13100         anymore.
13101         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13102         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13103         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13104         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13105         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13106         __mpranred, __mptan.
13107         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13108         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13109         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13110         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13111         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13112         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13113         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13114         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13115         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13117 2011-10-28  Andreas Schwab  <schwab@redhat.com>
13119         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13120         redefine if SHARED.
13121         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13123         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13124         wide char related routines to wcsmbs subdir.
13126 2011-10-27  Andreas Schwab  <schwab@redhat.com>
13128         [BZ #13344]
13129         * misc/sys/cdefs.h (__THROWNL): Define.
13130         * posix/unistd.h: Use __THREADNL instead of __THREAD
13131         for memory synchronization functions.
13133 2011-10-26  Roland McGrath  <roland@hack.frob.com>
13135         [BZ #13349]
13136         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13137         doesn't exist.
13138         * manual/stdio.texi (Obstack Streams): Node removed.
13140 2011-10-26  Andreas Schwab  <schwab@redhat.com>
13142         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13143         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13144         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13146         * math/math_private.h (math_force_eval): Allow non-addressable
13147         arguments.
13148         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13150 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13152         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13153         file is not needed.
13155         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13156         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13157         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13158         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13159         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13160         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13161         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13162         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13163         Add AVX variants.
13164         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13165         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13166         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13167         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13168         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13169         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13170         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13171         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13172         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13173         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13174         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13175         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13176         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13177         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13178         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13179         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13180         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13181         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13182         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13184         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13185         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
13187         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13188         place.  Use VEX encoding when compiling for AVX.
13190 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13192         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13193         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13195         * string/test-strchr.c (do_test): Don't generate NUL bytes.
13197 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13199         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13200         useless if() expression.
13201         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13202         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13203         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13204         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13205         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13206         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13207         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13208         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13209         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13210         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13211         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13212         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13213         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13214         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13215         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13216         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13217         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13218         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13219         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13221         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13223 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13225         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13226         condition.
13227         * elf/dl-fini.c (_dl_sort_fini): Likewise.
13229 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13231         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13232         .text section.  Avoid duplicate constants.
13233         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13234         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13235         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13236         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13237         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13238         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13239         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13240         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13241         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13242         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13243         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13244         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13245         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13246         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13247         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13248         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13249         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13250         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13251         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13252         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13253         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13254         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13255         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13256         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13257         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13258         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13259         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13260         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13261         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13262         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13263         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13264         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13265         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13266         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13267         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13268         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13269         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13270         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13271         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13272         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13273         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13274         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13275         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13276         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13277         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13279 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
13281         * sysdeps/x86_64/dla.h: Move to ...
13282         * sysdeps/x86_64/fpu/dla.h: ...here.
13283         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13284         situations.  Use __builtin_fma only for gcc 4.6 and up.
13286         * config.make.in: Add have-mfma4 entry.
13287         * configure.in: Substitute libc_cv_cc_fma4.
13288         * math/Makefile (dbl-only-routines): Add sincostab.
13289         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13290         Use __sincostab not sincos.
13291         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13292         name is a macro.
13293         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13294         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13295         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13296         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
13297         using __copysign.
13298         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
13299         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
13300         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13301         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13302         and __inv.
13303         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13304         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13305         __copysign.
13306         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
13307         define aliases when function name is a macro.
13308         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13309         sysdeps/ieee754/dbl-64/sincos.tbl.
13310         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13311         fma4-enabled routines.
13312         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13313         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13314         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13315         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13316         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13317         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13318         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13319         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13320         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13321         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13322         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13323         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13324         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13325         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13326         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13327         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13328         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13329         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13330         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13331         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13332         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13333         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13334         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13335         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13336         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13337         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13338         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13339         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13340         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13341         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13343         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13344         rename.
13345         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13346         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13347         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13348         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13349         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13350         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13351         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13352         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13354 2011-10-24  Andreas Schwab  <schwab@redhat.com>
13356         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13358 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13360         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13362         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13363         prediction.
13364         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13366         * string/strnlen.c: Don't define STRNLEN, reverse logic.
13367         Remove unused variable magic_bits.
13368         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13370         * string/strnlen.c: Define and use STRNLEN macro.
13371         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13372         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13373         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13374         * wcsmbs/wcslen.c: Define and use WCSLEN.
13375         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13376         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13377         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13378         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13379         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13380         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13381         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13383 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13386         strnlen-sse2-no-bsf.
13387         Rename strlen-no-bsf to strlen-sse2-no-bsf.
13388         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13389         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13390         Add strnlen support.
13391         (USE_AS_STRNLEN): New macro.
13392         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13393         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13394         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13395         * sysdeps/x86_64/wcslen.S: New file.
13397 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
13399         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13400         XMM-moves are used for copying on small sizes.
13402 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13404         * wcsmbs/Makefile (strop-tests): Add wcschr.
13405         * wcsmbs/test-wcschr.c: New file.
13406         * string/test-strchr.c: Update.
13407         Add wcschr support.
13408         (WIDE): New macro.
13410 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13412         * wcsmbs/Makefile (strop-tests): Add wcslen.
13413         * wcsmbs/test-wcslen.c: New file.
13414         * string/test-strlen.c: Update.
13415         Add wcslen support.
13416         (WIDE): New macro.
13418 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13420         * po/it.po: Update from translation team.
13422 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13424         * sysdeps/x86_64/wcscmp.S: Update.
13425         Fix wrong comparison semantics.
13426         wcscmp shall use signed comparison not unsigned.
13427         Don't use substraction to avoid overflow bug.
13428         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13429         * wcsmbc/wcscmp.c: Likewise.
13430         * string/test-strcmp.c: Likewise.
13431         Add new tests to check cases with negative values.
13433 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13435         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13436         * sysdeps/x86_64/dla.h: ...here.  New file.
13437         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13438         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13439         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13440         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13441         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13442         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13443         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13444         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13445         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13447 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
13449         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13450         __ynl_finite aliases.
13452 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
13454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13456         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13457         define DLA_FMA.
13458         [DLA_FMA] (EMULV): Use DLA_FMA.
13459         [DLA_FMA] (MUL12): Use EMULV.
13460         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13461         that are not needed.
13462         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13463         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13464         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13465         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13466         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13467         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13468         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13470 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
13472         * math/s_nan.c: Undef __nan.
13473         * math/s_nanf.c: Undef __nanf.
13474         * math/s_nanl.c: Undef __nanl.
13475         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13476         "math_private.h".
13478 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
13480         * math/s_catan.c: Add branch predictions.
13481         * math/s_catanf.c: Likewise.
13482         * math/s_catanh.c: Likewise.
13483         * math/s_catanhf.c: Likewise.
13484         * math/s_catanhl.c: Likewise.
13485         * math/s_catanl.c: Likewise.
13486         * math/s_cexp.c: Likewise.
13487         * math/s_cexpf.c: Likewise.
13488         * math/s_cexpl.c: Likewise.
13489         * math/s_clog.c: Likewise.
13490         * math/s_clog10.c: Likewise.
13491         * math/s_clog10f.c: Likewise.
13492         * math/s_clog10l.c: Likewise.
13493         * math/s_clogf.c: Likewise.
13494         * math/s_clogl.c: Likewise.
13495         * math/s_csqrt.c: Likewise.
13496         * math/s_csqrtf.c: Likewise.
13497         * math/s_csqrtl.c: Likewise.
13498         * math/s_ctanf.c: Likewise.
13499         * math/s_ctanh.c: Likewise.
13500         * math/s_ctanhf.c: Likewise.
13501         * math/s_ctanhl.c: Likewise.
13502         * math/s_ctanl.c: Likewise.
13504         * math/math_private.h: Define __nan, __nanf, __nanl.
13505         * math/s_cacosh.c: Include <math_private.h>.
13506         * math/s_cacoshl.c: Likewise.
13507         * math/s_casinh.c: Likewise.
13508         * math/s_casinhf.c: Likewise.
13509         * math/s_casinhl.c: Likewise.
13510         * math/s_ccos.c: Rely entire on ccosh.
13511         * math/s_ccosf.c: Rely entire on ccoshf.
13512         * math/s_ccosl.c: Rely entirely on ccoshl.
13513         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
13514         Remove tests for FE_INVALID.
13515         * math/s_ccoshf.c: Likewise.
13516         * math/s_ccoshl.c: Likewise.
13517         * math/s_csin.c: Likewise.
13518         * math/s_csinf.c: Likewise.
13519         * math/s_csinh.c Likewise.
13520         * math/s_csinhf.c: Likewise.
13521         * math/s_csinhl.c: Likewise.
13522         * math/s_csinl.c: Likewise.
13523         * math/s_ctan.c: Likewise.
13524         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13525         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13526         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13528 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
13530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13531         compilation problems.
13533         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13534         __builtin_expect.
13536 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
13538         * sysdeps/i386/configure.in: Test for -mfma4 option.
13539         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13540         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13541         COMMON_CPUID_INDEX_80000001.
13542         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13543         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13544         use it if FMA3 is not supported.
13545         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13547         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13548         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13550 2011-10-20  Andreas Schwab  <schwab@redhat.com>
13552         [BZ #12892]
13553         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13554         it would create a cycle with a link time dependency.
13556 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
13558         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13559         instruction.
13560         * string/Makefile (strop-tests): Add rawmemchr.
13561         * string/test-rawmemchr.c: New file.
13563         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13564         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
13565         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
13566         when compiling str{,n}casecmp and when AVX is available.  Hook up
13567         new optimized code in initializers.
13569 2011-10-19  Andreas Schwab  <schwab@redhat.com>
13571         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13572         __feraiseexcept instead of feraiseexcept.
13574 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
13576         * math/math_private.h: Define defaults for libc_fetestexcept and
13577         libc_feupdateenv.
13578         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13579         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13580         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13581         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13582         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13583         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13584         libc_fetestexcept and libc_feupdateenv.
13586         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13587         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13588         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13589         * sysdeps/x86_64/fpu/math_private.h: Define special version of
13590         libc_feholdexcept_setround.
13592         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13593         Add s_nearbyint-c and s_nearbyintf-c.
13594         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13595         nearbyintf inlines.
13596         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13597         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13598         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13599         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13601         * math/math_private.h: Define defaults for libc_fegetround,
13602         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13603         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13604         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13605         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13606         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13607         standard functions.
13608         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13609         Remove comments and hacks for old compiler versions.
13610         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13611         libc_fegetround, libc_fesetround, libc_feholdexcept, and
13612         libc_feholdexceptl.
13614 2011-10-18  Andreas Schwab  <schwab@redhat.com>
13616         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13617         (__feraiseexcept_renamed): Add __NTH.
13618         (feraiseexcept): Add __NTH.  Rename local variables to fix
13619         namespace violations.
13621 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
13623         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13625         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13627         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13628         recently added interfaces.
13629         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13631         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13632         about macro parameter expansion.
13634         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13635         __NO_MATH_INLINES is defined.  Cleanups.
13637         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13638         and __floorf is target has SSE4.1.
13639         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13640         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13641         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13642         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13644         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13645         name.
13646         (floorf): Likewise.
13648         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13650 2011-10-17  Andreas Schwab  <schwab@redhat.com>
13652         * misc/sys/cdefs.h: Fix last change.
13654         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13655         database lookup.
13657 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
13659         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13661         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13662         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13663         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13664         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13665         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13666         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13667         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13668         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13669         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13670         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13671         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13672         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13673         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13674         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13675         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13676         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13677         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13678         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13679         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13680         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13681         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13682         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13684         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13685         ceil, ceilf, floor, floorf.
13687         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13688         Perform IRELATIVE relocations last.
13690         * elf/do-rel.h: Add another parameter nrelative, replacing the
13691         local variable with the same name.  Change name of the function
13692         to end in Rel or Rela (uppercase).
13693         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13694         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
13695         elf_dynamic_do_##reloc function.
13697 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
13699         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13700         is sufficient, at least on modern CPUs.
13702         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13704         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13705         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13707         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13708         __expl_finite.
13709         * math/bits/math-finite.h: Add entries for exp.
13710         * math/e_expl.c: Add __*_finite alias.
13711         * sysdeps/i386/fpu/e_exp.S: Likewise.
13712         * sysdeps/i386/fpu/e_expf.S: Likewise.
13713         * sysdeps/i386/fpu/e_expl.c: Likewise.
13714         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13715         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13716         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13717         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13718         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13719         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13720         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13722         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13723         is sufficient, at least on modern CPUs.
13725         * ctype/ctype-info.c (__ctype_init): Define.
13726         * include/ctype.h (__ctype_init): Declare.
13727         (__ctype_b_loc): The variable is always initialized.
13728         (__ctype_toupper_loc): Likewise.
13729         (__ctype_tolower_loc): Likewise.
13730         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13731         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13733 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
13735         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13737         * configure.in: Also look in $cxxmachine/include for C++ system
13738         headers.
13740 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13742         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13743         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13744         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13745         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
13746         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13747         (USE_AS_WMEMCMP): New macro.
13748         Fixing indents.
13749         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13750         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13751         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13752         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13753         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13754         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13755         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13756         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13757         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13758         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13759         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13760         (USE_AS_WMEMCMP): New macro.
13761         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13762         * sysdeps/string/test-memcmp.c: Update.
13763         Fix simple_wmemcmp.
13764         Add new tests.
13765         * wcsmbs/wmemcmp.c: Update.
13766         (WMEMCMP): New macro.
13767         Fix overflow bug.
13769 2011-10-12  Andreas Jaeger  <aj@suse.de>
13771         [BZ #13268]
13772         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13774 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
13776         * libio/iofwide.c (do_length): Avoid warning.
13778         * ctype/ctype.h (__isctype_f): Add missing __THROW.
13780 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
13782         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13784         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13785         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13786         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13787         * sysdeps/i386/i686/fpu/e_log.S: New file.
13788         * sysdeps/i386/i686/fpu/e_logf.S: New file.
13789         * sysdeps/i386/i686/fpu/e_logl.S: New file.
13791         * ctype/ctype.h: Add support for inlined isXXX functions when
13792         compiling C++ code.
13794 2011-10-14  Andreas Schwab  <schwab@redhat.com>
13796         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13798         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13800 2011-10-13  Roland McGrath  <roland@hack.frob.com>
13802         [BZ #13291]
13803         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13805 2011-10-13  Andreas Schwab  <schwab@redhat.com>
13807         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13808         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13809         feraiseexcept.
13811         * sysdeps/x86_64/memrchr.S: Check for zero size.
13813         * string/stratcliff.c: Add memrchr tests.
13815 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13817         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13818         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13819         rawmemchr-sse2 rawmemchr-sse2-bsf.
13820         * sysdeps/i386/i686/multiarch/memchr.S: New file.
13821         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13822         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13823         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13824         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13825         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13826         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13827         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13828         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13829         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13830         * string/memrchr.c (MEMRCHR): New macro.
13832 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
13834         Add integration with gcc's -ffinite-math-only and optimize wrapper
13835         functions in libm.
13836         * Versions.def: Define GLIBC_2.15 version for libm.
13837         * math/Makefile (headers): Add bits/math-finite.h.
13838         * math/bits/math-finite.h: New file.
13839         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13840         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13841         * math/e_acoshl.c: Add __*_finite alias.
13842         * math/e_acosl.c: Likewise.
13843         * math/e_asinl.c: Likewise.
13844         * math/e_atan2l.c: Likewise.
13845         * math/e_atanhl.c: Likewise.
13846         * math/e_coshl.c: Likewise.
13847         * math/e_exp10.c: Likewise.
13848         * math/e_exp10f.c: Likewise.
13849         * math/e_exp10l.c: Likewise.
13850         * math/e_exp2l.c: Likewise.
13851         * math/e_fmodl.c: Likewise.
13852         * math/e_gammal_r.c: Likewise.
13853         * math/e_hypotl.c: Likewise.
13854         * math/e_j0l.c: Likewise.
13855         * math/e_j1l.c: Likewise.
13856         * math/e_jnl.c: Likewise.
13857         * math/e_lgammal_r.c: Likewise.
13858         * math/e_log10l.c: Likewise.
13859         * math/e_log2l.c: Likewise.
13860         * math/e_logl.c: Likewise.
13861         * math/e_powl.c: Likewise.
13862         * math/e_sinhl.c: Likewise.
13863         * math/e_sqrtl.c: Likewise.
13864         * math/e_scalb.c: Completely rewritten and optimized.
13865         * math/e_scalbf.c: Likewise.
13866         * math/e_scalbl.c: Likewise.
13867         * math/w_acos.c: Likewise.
13868         * math/w_acosf.c: Likewise.
13869         * math/w_acosl.c: Likewise.
13870         * math/w_acosh.c: Likewise.
13871         * math/w_acoshf.c: Likewise.
13872         * math/w_acoshl.c: Likewise.
13873         * math/w_asin.c: Likewise.
13874         * math/w_asinf.c: Likewise.
13875         * math/w_asinl.c: Likewise.
13876         * math/w_atan2.c: Likewise.
13877         * math/w_atan2f.c: Likewise.
13878         * math/w_atan2l.c: Likewise.
13879         * math/w_atanh.c: Likewise.
13880         * math/w_atanhf.c: Likewise.
13881         * math/w_atanhl.c: Likewise.
13882         * math/w_exp10.c: Likewise.
13883         * math/w_exp10f.c: Likewise.
13884         * math/w_exp10l.c: Likewise.
13885         * math/w_fmod.c: Likewise.
13886         * math/w_fmodf.c: Likewise.
13887         * math/w_fmodl.c: Likewise.
13888         * math/w_j0.c: Likewise.
13889         * math/w_j0f.c: Likewise.
13890         * math/w_j0l.c: Likewise.
13891         * math/w_j1.c: Likewise.
13892         * math/w_j1f.c: Likewise.
13893         * math/w_j1l.c: Likewise.
13894         * math/w_jn.c: Likewise.
13895         * math/w_jnf.c: Likewise.
13896         * math/w_log.c: Likewise.
13897         * math/w_logf.c: Likewise.
13898         * math/w_logl.c: Likewise.
13899         * math/w_log10.c: Likewise.
13900         * math/w_log10f.c: Likewise.
13901         * math/w_log10l.c: Likewise.
13902         * math/w_log2.c: Likewise.
13903         * math/w_log2f.c: Likewise.
13904         * math/w_log2l.c: Likewise.
13905         * math/w_pow.c: Likewise.
13906         * math/w_powf.c: Likewise.
13907         * math/w_powl.c: Likewise.
13908         * math/w_remainder.c: Likewise.
13909         * math/w_remainderf.c: Likewise.
13910         * math/w_remainderl.c: Likewise.
13911         * math/w_scalb.c: Likewise.
13912         * math/w_scalbf.c: Likewise.
13913         * math/w_scalbl.c: Likewise.
13914         * math/w_sqrt.c: Likewise.
13915         * math/w_sqrtf.c: Likewise.
13916         * math/w_sqrtl.c: Likewise.
13917         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13918         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
13919         used.
13920         * math/math_private.h: Declare __kernel_standard_f.
13921         * math/w_cosh.c: Remove cruft and optimize a bit.
13922         * math/w_coshf.c: Likewise.
13923         * math/w_coshl.c: Likewise.
13924         * math/w_exp2.c: Likewise.
13925         * math/w_exp2f.c: Likewise.
13926         * math/w_exp2l.c: Likewise.
13927         * math/w_hypot.c: Likewise.
13928         * math/w_hypotf.c: Likewise.
13929         * math/w_hypotl.c: Likewise.
13930         * math/w_lgamma.c: Likewise.
13931         * math/w_lgamma_r.c: Likewise.
13932         * math/w_lgammaf.c: Likewise.
13933         * math/w_lgammaf_r.c: Likewise.
13934         * math/w_lgammal.c: Likewise.
13935         * math/w_lgammal_r.c: Likewise.
13936         * math/w_sinh.c: Likewise.
13937         * math/w_sinhf.c: Likewise.
13938         * math/w_sinhl.c: Likewise.
13939         * math/w_tgamma.c: Likewise.
13940         * math/w_tgammaf.c: Likewise.
13941         * math/w_tgammal.c: Likewise.
13942         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13943         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13944         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13945         Minor optimizations.  Pretty printing.  Remove cruft.
13946         * sysdeps/i386/fpu/e_acosf.S: Likewise.
13947         * sysdeps/i386/fpu/e_acosh.S: Likewise.
13948         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13949         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13950         * sysdeps/i386/fpu/e_acosl.c: Likewise.
13951         * sysdeps/i386/fpu/e_asin.S: Likewise.
13952         * sysdeps/i386/fpu/e_asinf.S: Likewise.
13953         * sysdeps/i386/fpu/e_atan2.S: Likewise.
13954         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13955         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13956         * sysdeps/i386/fpu/e_atanh.S: Likewise.
13957         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13958         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13959         * sysdeps/i386/fpu/e_exp10.S: Likewise.
13960         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13961         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13962         * sysdeps/i386/fpu/e_exp2.S: Likewise.
13963         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13964         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13965         * sysdeps/i386/fpu/e_fmod.S: Likewise.
13966         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13967         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13968         * sysdeps/i386/fpu/e_hypot.S: Likewise.
13969         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13970         * sysdeps/i386/fpu/e_log.S: Likewise.
13971         * sysdeps/i386/fpu/e_log10.S: Likewise.
13972         * sysdeps/i386/fpu/e_log10f.S: Likewise.
13973         * sysdeps/i386/fpu/e_log10l.S: Likewise.
13974         * sysdeps/i386/fpu/e_log2.S: Likewise.
13975         * sysdeps/i386/fpu/e_log2f.S: Likewise.
13976         * sysdeps/i386/fpu/e_log2l.S: Likewise.
13977         * sysdeps/i386/fpu/e_logf.S: Likewise.
13978         * sysdeps/i386/fpu/e_logl.S: Likewise.
13979         * sysdeps/i386/fpu/e_pow.S: Likewise.
13980         * sysdeps/i386/fpu/e_powf.S: Likewise.
13981         * sysdeps/i386/fpu/e_powl.S: Likewise.
13982         * sysdeps/i386/fpu/e_remainder.S: Likewise.
13983         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13984         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13985         * sysdeps/i386/fpu/e_scalb.S: Likewise.
13986         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13987         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13988         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13989         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13990         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13991         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13992         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13993         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13994         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13995         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13996         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13997         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13998         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13999         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14000         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14001         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14002         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14003         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14004         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14005         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14006         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14007         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14008         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14009         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14010         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14011         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14012         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14013         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14014         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14015         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14016         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14017         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14018         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14019         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14020         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14021         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14022         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14023         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14024         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14025         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14026         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14027         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14028         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14029         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14030         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14031         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14032         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14033         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14034         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14035         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14036         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14037         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14038         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14039         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14040         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14041         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14042         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14043         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14044         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14045         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14046         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14047         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14048         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14049         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14050         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14051         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14052         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14053         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14054         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14055         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14056         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14057         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14058         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14059         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14060         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14061         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14062         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14063         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14064         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14065         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14066         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14067         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14068         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14069         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14070         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14071         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14072         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14073         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14074         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14075         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14076         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14077         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14078         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14079         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14080         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14081         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14082         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14083         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14084         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14085         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14086         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14087         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14088         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14089         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14090         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14091         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14092         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14093         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14094         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14095         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14096         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14097         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14098         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14099         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14100         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14101         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
14102         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14103         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14104         (__isnanf): Likewise.
14105         (__isinf_ns): Likewise.
14106         (__isinf_nsf): Likewise.
14107         (__finite): Likewise.
14108         (__finitef): Likewise.
14109         (__ieee754_sqrt): Define as macro.
14110         (__ieee754_sqrtf): Define as macro.
14111         (__ieee754_sqrtl): Define as macro.
14112         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14113         inlined copy.
14114         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14115         __FINITE_MATH_ONLY__ consistent.
14116         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14118 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
14120         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14121         of rawmemchr.
14123         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14125 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
14127         * po/ja.po: Update from translation team.
14129 2011-10-08  Roland McGrath  <roland@hack.frob.com>
14131         * locale/programs/locarchive.c (prepare_address_space): New function.
14132         (create_archive, enlarge_archive, open_archive): Use it.
14134         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14135         inside [SHARED], where it is used.
14137         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14139         * nss/getent.c (netgroup_keys): Remove unused variable.
14140         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14142 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
14144         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14145         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14146         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14147         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14148         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14149         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14150         * math/Makefile (libm-calls): Add s_isinf_ns.
14151         * math/divtc3.c: Use __isinf_nsl instead of isinf.
14152         * math/multc3.c: Likewise.
14153         * math/s_casin.c: Likewise.
14154         * math/s_casinf.c: Likewise.
14155         * math/s_casinl.c: Likewise.
14156         * math/s_ccos.c: Likewise.
14157         * math/s_ccosf.c: Likewise.
14158         * math/s_ccosl.c: Likewise.
14159         * math/s_ctan.c: Likewise.
14160         * math/s_ctanf.c: Likewise.
14161         * math/s_ctanh.c: Likewise.
14162         * math/s_ctanhf.c: Likewise.
14163         * math/s_ctanhl.c: Likewise.
14164         * math/s_ctanl.c: Likewise.
14165         * math/w_fmod.c: Likewise.
14166         * math/w_fmodf.c: Likewise.
14167         * math/w_fmodl.c: Likewise.
14168         * math/w_remainder.c: Likewise.
14169         * math/w_remainderf.c: Likewise.
14170         * math/w_remainderl.c: Likewise.
14171         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14172         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14173         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14174         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14175         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14176         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14177         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14178         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14180         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14181         of the number.
14182         * stdio-common/printf_fphex.c: Likewise.
14183         * stdio-common/printf_size.c: Likewise.
14185         * math/e_exp10.c: Include math_private.h using <...> not "...".
14186         * math/e_exp10f.c: Likewise.
14187         * math/e_exp10l.c: Likewise.
14188         * math/e_exp2l.c: Likewise.
14189         * math/e_j0l.c: Likewise.
14190         * math/e_j1l.c: Likewise.
14191         * math/e_jnl.c: Likewise.
14192         * math/e_lgammal_r.c: Likewise.
14193         * math/e_rem_pio2l.c: Likewise.
14194         * math/e_scalb.c: Likewise.
14195         * math/e_scalbf.c: Likewise.
14196         * math/e_scalbl.c: Likewise.
14197         * math/k_cosl.c: Likewise.
14198         * math/k_sinl.c: Likewise.
14199         * math/k_tanl.c: Likewise.
14200         * math/s_cacoshf.c: Likewise.
14201         * math/s_catan.c: Likewise.
14202         * math/s_catanf.c: Likewise.
14203         * math/s_catanh.c: Likewise.
14204         * math/s_catanhf.c: Likewise.
14205         * math/s_catanhl.c: Likewise.
14206         * math/s_catanl.c: Likewise.
14207         * math/s_ccosh.c: Likewise.
14208         * math/s_ccoshf.c: Likewise.
14209         * math/s_ccoshl.c: Likewise.
14210         * math/s_cexp.c: Likewise.
14211         * math/s_cexpf.c: Likewise.
14212         * math/s_cexpl.c: Likewise.
14213         * math/s_clog.c: Likewise.
14214         * math/s_clog10.c: Likewise.
14215         * math/s_clog10f.c: Likewise.
14216         * math/s_clog10l.c: Likewise.
14217         * math/s_clogf.c: Likewise.
14218         * math/s_clogl.c: Likewise.
14219         * math/s_csin.c: Likewise.
14220         * math/s_csinf.c: Likewise.
14221         * math/s_csinh.c: Likewise.
14222         * math/s_csinhf.c: Likewise.
14223         * math/s_csinhl.c: Likewise.
14224         * math/s_csinl.c: Likewise.
14225         * math/s_csqrt.c: Likewise.
14226         * math/s_csqrtf.c: Likewise.
14227         * math/s_csqrtl.c: Likewise.
14228         * math/s_ctan.c: Likewise.
14229         * math/s_ctanf.c: Likewise.
14230         * math/s_ctanh.c: Likewise.
14231         * math/s_ctanhf.c: Likewise.
14232         * math/s_ctanhl.c: Likewise.
14233         * math/s_ctanl.c: Likewise.
14234         * math/s_ldexp.c: Likewise.
14235         * math/s_ldexpf.c: Likewise.
14236         * math/s_ldexpl.c: Likewise.
14237         * math/s_significand.c: Likewise.
14238         * math/s_significandf.c: Likewise.
14239         * math/s_significandl.c: Likewise.
14240         * math/w_acos.c: Likewise.
14241         * math/w_acosf.c: Likewise.
14242         * math/w_acosh.c: Likewise.
14243         * math/w_acoshf.c: Likewise.
14244         * math/w_acoshl.c: Likewise.
14245         * math/w_acosl.c: Likewise.
14246         * math/w_asin.c: Likewise.
14247         * math/w_asinf.c: Likewise.
14248         * math/w_asinl.c: Likewise.
14249         * math/w_atan2.c: Likewise.
14250         * math/w_atan2f.c: Likewise.
14251         * math/w_atan2l.c: Likewise.
14252         * math/w_atanh.c: Likewise.
14253         * math/w_atanhf.c: Likewise.
14254         * math/w_atanhl.c: Likewise.
14255         * math/w_cosh.c: Likewise.
14256         * math/w_coshf.c: Likewise.
14257         * math/w_coshl.c: Likewise.
14258         * math/w_dremf.c: Likewise.
14259         * math/w_exp10.c: Likewise.
14260         * math/w_exp10f.c: Likewise.
14261         * math/w_exp10l.c: Likewise.
14262         * math/w_exp2.c: Likewise.
14263         * math/w_exp2f.c: Likewise.
14264         * math/w_fmod.c: Likewise.
14265         * math/w_fmodf.c: Likewise.
14266         * math/w_fmodl.c: Likewise.
14267         * math/w_hypot.c: Likewise.
14268         * math/w_hypotf.c: Likewise.
14269         * math/w_hypotl.c: Likewise.
14270         * math/w_j0.c: Likewise.
14271         * math/w_j0f.c: Likewise.
14272         * math/w_j0l.c: Likewise.
14273         * math/w_j1.c: Likewise.
14274         * math/w_j1f.c: Likewise.
14275         * math/w_j1l.c: Likewise.
14276         * math/w_jn.c: Likewise.
14277         * math/w_jnf.c: Likewise.
14278         * math/w_jnl.c: Likewise.
14279         * math/w_lgamma.c: Likewise.
14280         * math/w_lgamma_r.c: Likewise.
14281         * math/w_lgammaf.c: Likewise.
14282         * math/w_lgammaf_r.c: Likewise.
14283         * math/w_lgammal.c: Likewise.
14284         * math/w_lgammal_r.c: Likewise.
14285         * math/w_log.c: Likewise.
14286         * math/w_log10.c: Likewise.
14287         * math/w_log10f.c: Likewise.
14288         * math/w_log10l.c: Likewise.
14289         * math/w_log2.c: Likewise.
14290         * math/w_log2f.c: Likewise.
14291         * math/w_log2l.c: Likewise.
14292         * math/w_logf.c: Likewise.
14293         * math/w_logl.c: Likewise.
14294         * math/w_pow.c: Likewise.
14295         * math/w_powf.c: Likewise.
14296         * math/w_powl.c: Likewise.
14297         * math/w_remainder.c: Likewise.
14298         * math/w_remainderf.c: Likewise.
14299         * math/w_remainderl.c: Likewise.
14300         * math/w_scalb.c: Likewise.
14301         * math/w_scalbf.c: Likewise.
14302         * math/w_scalbl.c: Likewise.
14303         * math/w_sinh.c: Likewise.
14304         * math/w_sinhf.c: Likewise.
14305         * math/w_sinhl.c: Likewise.
14306         * math/w_sqrt.c: Likewise.
14307         * math/w_sqrtf.c: Likewise.
14308         * math/w_sqrtl.c: Likewise.
14309         * math/w_tgamma.c: Likewise.
14310         * math/w_tgammaf.c: Likewise.
14311         * math/w_tgammal.c: Likewise.
14313         * po/ja.po: Update from translation team.
14315 2011-09-29  Andreas Jaeger  <aj@suse.de>
14317         [BZ #13179]
14318         * sunrpc/netname.c (netname2host): Fix logic.
14320         [BZ #6779]
14321         [BZ #6783]
14322         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14323         correctly.
14324         * math/w_remainder.c (__remainder): Likewise.
14325         * math/w_remainderf.c (__remainderf): Likewise.
14326         * math/libm-test.inc (remainder_test): Add test cases.
14328 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14330         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
14331         sdiv_qrnnd.
14333 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14335         * string/test-memcmp.c: Avoid unncessary #defines.
14336         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14338 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14340         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14341         Use new sse2 version for core i3 - i7 as it's faster
14342         than sse42 version.
14343         (bit_Prefer_PMINUB_for_stringop): New.
14344         * sysdeps/x86_64/rawmemchr.S: Update.
14345         Replace with faster SSE2 version.
14346         * sysdeps/x86_64/memrchr.S: New file.
14347         * sysdeps/x86_64/memchr.S: Update.
14348         Replace with faster SSE2 version.
14350 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
14352         * elf/dl-load.c (lose): Add cast to avoid warning.
14354 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14356         * po/ca.po: Update from translation team.
14358         * inet/getnetgrent_r.c: Hook up nscd.
14359         * nscd/Makefile (routines): Add nscd_netgroup.
14360         (nscd-modules): Add netgroupcache.
14361         (CFLAGS-netgroupcache.c): Define.
14362         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14363         (cache_search): Add const to second parameter.
14364         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14365         INNETGR.
14366         (dbs): Add netgrdb entry.
14367         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14368         (verify_persistent_db): Handle netgrdb.
14369         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14370         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14371         GETFDNETGR.
14372         (netgroup_response_header): Define.
14373         (innetgroup_response_header): Define.
14374         (datahead): Add netgroup_response_header and innetgroup_response_header
14375         elements.
14376         * nscd/nscd.conf: Add entries for netgroup cache.
14377         * nscd/nscd.h (dbtype): Add netgrdb.
14378         (_PATH_NSCD_NETGROUP_DB): Define.
14379         (netgroup_iov_disabled): Declare.
14380         (xmalloc, xcalloc, xrealloc): Move declarations here.
14381         (cache_search): Adjust prototype.
14382         Add netgroup-related prototypes.
14383         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14384         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14385         (__nscd_innetgr): Declare.
14386         * nscd/selinux.c (perms): Use access_vector_t as element type and
14387         add netgroup-related initializers.
14388         * nscd/netgroupcache.c: New file.
14389         * nscd/nscd_netgroup.c: New file.
14390         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14391         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14392         For four parameters use innetgr.
14393         * nss/nss_files/files-init.c: Add definition and callback for netgr.
14394         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14395         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14396         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14398         * nscd/connections.c (register_traced_file): Don't register file
14399         for disabled databases.
14401 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
14403         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14405         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14406         from tree and freeing node.
14408 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
14410         * nss/nsswitch.c (__nss_database_lookup): Handle
14411         nss_parse_service_list out of memory case.
14413 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
14415         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14416         out of memory case.
14418 2011-10-04  Andreas Schwab  <schwab@redhat.com>
14420         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14421         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14422         pass it down.
14423         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14424         elf_machine_rela, elf_machine_lazy_rel.
14425         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14426         (ELF_DYNAMIC_DO_REL): Likewise.
14427         (ELF_DYNAMIC_DO_RELA): Likewise.
14428         (ELF_DYNAMIC_RELOCATE): Likewise.
14429         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14430         to ELF_DYNAMIC_DO_REL.
14431         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14432         (dl_main): In trace mode always set __RTLD_NOIFUNC.
14433         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14434         elf_machine_rela.
14435         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14436         skip_ifunc, don't call ifunc function if non-zero.
14437         (elf_machine_rela): Likewise.
14438         (elf_machine_lazy_rel): Likewise.
14439         (elf_machine_lazy_rela): Likewise.
14440         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14441         (elf_machine_lazy_rel): Likewise.
14442         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14443         Likewise.
14444         (elf_machine_lazy_rel): Likewise.
14445         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14446         Likewise.
14447         (elf_machine_lazy_rel): Likewise.
14448         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14449         (elf_machine_lazy_rel): Likewise.
14450         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14451         (elf_machine_lazy_rel): Likewise.
14452         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14453         (elf_machine_lazy_rel): Likewise.
14454         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14455         (elf_machine_lazy_rel): Likewise.
14456         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14457         (elf_machine_lazy_rel): Likewise.
14458         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14459         (elf_machine_lazy_rel): Likewise.
14461 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
14463         * nss/nss_files/files-init.c (_nss_files_init): Use static
14464         initialization for all the *_traced_file variables.
14466 2011-09-28  Andreas Schwab  <schwab@redhat.com>
14468         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14470 2011-09-27  Roland McGrath  <roland@hack.frob.com>
14472         [BZ #13226]
14473         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14475 2011-09-27  Andreas Schwab  <schwab@redhat.com>
14477         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14478         Reread the line before reparsing it.
14480 2011-09-26  Andreas Schwab  <schwab@redhat.com>
14482         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14484 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
14485             Maxim Kuvyrkov  <maxim@codesourcery.com>
14486             Joseph Myers  <joseph@codesourcery.com>
14488         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14489         if needed for __stack_chk_guard.
14491 2011-09-19  Roland McGrath  <roland@hack.frob.com>
14493         * sysdeps/posix/spawni.c (script_execute): Always define it.
14494         It will be optimized away if unused.
14495         (maybe_script_execute): New function.
14496         (__spawni): Call it.
14498         * Makerules: Don't include tls.make.
14499         (config-tls): Always set to thread.
14500         * tls.make.c: File removed.
14502 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
14504         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14505         * config.make.in (CPPFLAGS-config): New substituted variable.
14507 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
14509         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14511         [BZ #13192]
14512         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14513         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14515 2011-09-15  Roland McGrath  <roland@hack.frob.com>
14517         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14518         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14519         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14520         (CALL_FAIL): Likewise.
14521         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14522         (CALL_FAIL): Macro removed.
14523         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14525 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
14527         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14528         for __FINITE_MATH_ONLY__ == 1.
14530 2011-09-15  Andreas Schwab  <schwab@redhat.com>
14532         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14533         __ieee754_sqrt instead of sqrt.
14534         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14535         __ieee754_sqrtf instead of sqrtf.
14536         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14537         __floorf instead of floorf.
14538         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14539         __floorf, __truncf instead of floorf, truncf.
14541 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
14543         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14545         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14546         __extern_always_inline.
14547         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14548         32-bit.
14550 2011-09-14  Andreas Schwab  <schwab@redhat.com>
14552         * elf/rtld.c (dl_main): Also relocate in dependency order when
14553         doing symbol dependency testing.
14555 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
14557         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14558         Always define `refsym'.
14560 2011-09-13  Andreas Schwab  <schwab@redhat.com>
14562         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14563         (__FD_ELT): Renamed from __FDELT.
14564         * misc/bits/select2.h (__FD_ELT): Likewise.
14565         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14566         __FD_MASK instead of __FDELT, __FDMASK.
14567         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14568         Likewise.
14569         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14570         Likewise.
14572         * elf/Makefile (gen-ldd): Fix pattern.
14574         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14575         (init_tls): Likewise.
14577 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
14579         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14581 2011-09-12  Andreas Schwab  <schwab@redhat.com>
14583         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14584         `struct cmsghdr *' instead of `void *'.
14585         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14586         Likewise.
14588 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
14590         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14591         if non-absolute.
14592         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14593         ldd_rewrite_script.
14595 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
14597         * configure.in: Remove --with-tls option.
14598         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14599         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14600         out in case it is missing.
14601         * sysdeps/ia64/elf/configure.in: Likewise.
14602         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14603         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14604         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14605         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14606         * sysdeps/sh/elf/configure.in: Likewise.
14607         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14608         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14609         * sysdeps/x86_64/elf/configure.in: Likewise.
14610         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14611         * sysdeps/mach/hurd/tls.h: Likewise.
14613         [BZ #13067]
14614         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14616         [BZ #13090]
14617         * configure.in: Fix use of AC_INIT.
14619         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14621 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
14623         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14624         __set_errno.
14625         * malloc/hooks.c: Likewise.
14627         [BZ #11929]
14628         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
14629         variables statically.
14630         (narenas): Initialize.
14631         (list_lock): Initialize.
14632         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
14633         initializtion of main_arena and list_lock.  Small cleanups.
14634         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14635         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
14636         Add initializers to main_arena and mp_.
14637         (malloc_state): Remove pagesize member.  Change all users to use
14638         GLRO(dl_pagesize).
14640         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14641         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
14642         is always initialized.
14644         * malloc/malloc.c: Removed unused configurations and dead code.
14645         * malloc/arena.c: Likewise.
14646         * malloc/hooks.c: Likewise.
14647         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14649         * include/tls.h: Removed.  USE___THREAD must always be defined.
14650         * bits/libc-tsd.h: Don't handle !USE___THREAD.
14651         * elf/dl-libc.c: Likewise.
14652         * elf/dl-tsd.c: Likewise.
14653         * include/errno.h: Likewise.
14654         * include/netdb.h: Likewise.
14655         * include/resolv.h: Likewise.
14656         * inet/herrno-loc.c: Likewise.
14657         * inet/herrno.c: Likewise.
14658         * malloc/arena.c: Likewise.
14659         * malloc/hooks.c: Likewise.
14660         * malloc/malloc.c: Likewise.
14661         * resolv/res-state.c: Likewise.
14662         * resolv/res_libc.c: Likewise.
14663         * sysdeps/i386/dl-machine.h: Likewise.
14664         * sysdeps/ia64/dl-machine.h: Likewise.
14665         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14666         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14667         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14668         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14669         * sysdeps/sh/dl-machine.h: Likewise.
14670         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14671         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14672         * sysdeps/unix/i386/sysdep.S: Likewise.
14673         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14674         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14675         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14676         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14677         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14678         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14679         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14680         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14681         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14682         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14683         * sysdeps/unix/x86_64/sysdep.S: Likewise.
14684         * sysdeps/x86_64/dl-machine.h: Likewise.
14685         * tls.make.c: Likewise.
14687         * configure.in: Remove --with-__thread option.  Make tests for
14688         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14689         tls_model attribute fail if no support is available.  Remove
14690         USE_IN_LIBIO.
14691         * Makeconfig: Adjust for dropped configure option.  All features are
14692         now mandatory.
14693         * Makerules: Likewise.
14694         * Versions.def: Likewise.
14695         * argp/argp-fmtstream.c: Likewise.
14696         * argp/argp-fmtstream.h: Likewise.
14697         * argp/argp-help.c: Likewise.
14698         * assert/assert.c: Likewise.
14699         * config.h.in: Likewise.
14700         * config.make.in: Likewise.
14701         * configure: Likewise.
14702         * configure.in: Likewise.
14703         * csu/Versions: Likewise.
14704         * csu/init.c: Likewise.
14705         * elf/tst-audit2.c: Likewise.
14706         * elf/tst-tls10.c: Likewise.
14707         * elf/tst-tls10.h: Likewise.
14708         * elf/tst-tls11.c: Likewise.
14709         * elf/tst-tls12.c: Likewise.
14710         * elf/tst-tls14.c: Likewise.
14711         * elf/tst-tlsmod11.c: Likewise.
14712         * elf/tst-tlsmod12.c: Likewise.
14713         * elf/tst-tlsmod13.c: Likewise.
14714         * elf/tst-tlsmod13a.c: Likewise.
14715         * elf/tst-tlsmod14a.c: Likewise.
14716         * elf/tst-tlsmod15b.c: Likewise.
14717         * elf/tst-tlsmod16a.c: Likewise.
14718         * elf/tst-tlsmod16b.c: Likewise.
14719         * elf/tst-tlsmod7.c: Likewise.
14720         * elf/tst-tlsmod8.c: Likewise.
14721         * elf/tst-tlsmod9.c: Likewise.
14722         * gmon/gmon.c: Likewise.
14723         * grp/fgetgrent_r.c: Likewise.
14724         * grp/putgrent.c: Likewise.
14725         * hurd/fopenport.c: Likewise.
14726         * include/libc-symbols.h: Likewise.
14727         * include/tls.h: Likewise.
14728         * intl/gettextP.h: Likewise.
14729         * intl/loadinfo.h: Likewise.
14730         * locale/global-locale.c: Likewise.
14731         * locale/localeinfo.h: Likewise.
14732         * mach/devstream.c: Likewise.
14733         * malloc/arena.c: Likewise.
14734         * malloc/set-freeres.c: Likewise.
14735         * misc/err.c: Likewise.
14736         * misc/getttyent.c: Likewise.
14737         * misc/mntent_r.c: Likewise.
14738         * posix/getopt.c: Likewise.
14739         * posix/wordexp.c: Likewise.
14740         * pwd/fgetpwent_r.c: Likewise.
14741         * resolv/Versions: Likewise.
14742         * resolv/res_hconf.c: Likewise.
14743         * shadow/fgetspent_r.c: Likewise.
14744         * shadow/putspent.c: Likewise.
14745         * stdio-common/printf_fphex.c: Likewise.
14746         * stdio-common/tmpfile.c: Likewise.
14747         * stdlib/abort.c: Likewise.
14748         * stdlib/fmtmsg.c: Likewise.
14749         * sunrpc/auth_unix.c: Likewise.
14750         * sunrpc/clnt_perr.c: Likewise.
14751         * sunrpc/clnt_tcp.c: Likewise.
14752         * sunrpc/clnt_udp.c: Likewise.
14753         * sunrpc/clnt_unix.c: Likewise.
14754         * sunrpc/openchild.c: Likewise.
14755         * sunrpc/svc_simple.c: Likewise.
14756         * sunrpc/svc_tcp.c: Likewise.
14757         * sunrpc/svc_udp.c: Likewise.
14758         * sunrpc/svc_unix.c: Likewise.
14759         * sunrpc/xdr.c: Likewise.
14760         * sunrpc/xdr_array.c: Likewise.
14761         * sunrpc/xdr_rec.c: Likewise.
14762         * sunrpc/xdr_ref.c: Likewise.
14763         * sunrpc/xdr_stdio.c: Likewise.
14765 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
14767         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14769 2011-07-03  Andreas Jaeger  <aj@suse.de>
14771         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14772         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14773         regenerate with gen-libm-tests.pl.
14775 2010-05-12  Petr Baudis  <pasky@suse.cz>
14777         [BZ #11589]
14778         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14779         around j0() zero points by switching to j1().
14780         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14781         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14782         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14783         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14785 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
14787         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14788         instead of 0.
14789         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14790         instead of 0.                              .
14791         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14792         Patch in part by Pavel Roskin <proski@gnu.org>.
14794         [BZ #13138]
14795         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14796         realloc.
14797         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
14798         Free memory block if necessary.
14800         [BZ #12847]
14801         * libio/genops.c (INTDEF): For string streams the _lock pointer can
14802         be NULL.  Don't lock in this case.
14804 2011-09-09  Roland McGrath  <roland@hack.frob.com>
14806         * elf/elf.h (ELFOSABI_GNU): New macro.
14807         (ELFOSABI_LINUX): Define to that.
14809 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
14811         * string/strncat.c (strncat): Undef the symbol in case it has been
14812         defined in bits/string.h.
14814 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
14816         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14818         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14819         link map.
14821 2011-08-17  Andreas Jaeger  <aj@suse.de>
14823         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14825 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14826             Ian Lance Taylor  <iant@google.com>
14828         * math/libm-test.inc (lround_test): New testcase.
14829         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14831 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
14833         * Makefile: Remove support for automatic cvs check-ins.
14834         * Makerules: Likewise.
14835         * config.make.in: Likewise.
14836         * configure.in: Likewise.
14837         * intl/Makefile: Likewise.
14838         * locale/Makefile: Likewise.
14839         * po/Makefile: Likewise.
14840         * posix/Makefile: Likewise.
14841         * sysdeps/gnu/Makefile: Likewise.
14842         * sysdeps/mach/hurd/Makefile: Likewise.
14843         * sysdeps/sparc/sparc32/Makefile: Likewise.
14845         [BZ #13118]
14846         * posix/Makefile (bug-regex32-ENV): Define.
14847         Patch by John Stanley <jpsinthemix@verizon.net>.
14849         * misc/Makefile (headers): Add bits/select2.h.
14850         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14851         * misc/bits/select2.h: New file.
14852         * include/bits/select2.h: New file.
14853         * debug/Makefile (routines): Add fdelt_chk.
14854         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14855         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14856         FD_ISSET.
14857         * debug/fdelt_chk.c: New file.
14859         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
14860         * wcsmbs/test-wmemcmp.c: Likewise.
14861         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14862         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14864 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14866         * string/Makefile (strop-tests): Add memcmp.
14867         * string/test-wmemcmp.c: New file.
14868         * string/test-memcmp.c: Add wmemcmp support.
14870 2011-09-08  Roland McGrath  <roland@hack.frob.com>
14872         [BZ #13153]
14873         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14874         2011-07-19 change.
14876         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14877         garbage value in a __mach_port_mod_refs call in the cases of the
14878         task-self and thread-self ports.
14880 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14882         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14884 2011-09-08  Andreas Schwab  <schwab@redhat.com>
14886         * elf/dl-load.c (lose): Check for non-null L.
14888 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
14890         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14892         * elf/dl-libc.c (dlerror_run): Pass back error code from
14893         dl_catch_error.
14895         [BZ #13123]
14896         * elf/dl-load.c (lose): Free l_origin if it is valid.
14898         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14899         names.
14900         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14901         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14902         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14903         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14904         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14905         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14907 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14909         * sysdeps/powerpc/fpu/e_hypot.c: New file.
14910         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14911         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14912         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14913         * sysdeps/powerpc/fpu/k_cosf.c: New file.
14914         * sysdeps/powerpc/fpu/k_sinf.c: New file.
14915         * sysdeps/powerpc/fpu/s_cosf.c: New file.
14916         * sysdeps/powerpc/fpu/s_sinf.c: New file.
14917         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14918         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14920 2011-08-15  Alan Modra  <amodra@gmail.com>
14922         [BZ #13092]
14923         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14924         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14925         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
14926         ppc_mcount to static-only-routines.
14927         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14928         __mcount_internal.
14929         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14930         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
14932 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
14934         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14935         for finite and infinity parameters.
14937 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
14939         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14940         and add nop instructions for throughput optimization.
14941         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14943 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
14945         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14946         aligned copy for power7 with vector-scalar instructions.
14947         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14949 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
14951         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14952         AVX check.
14954 2011-09-07  Andreas Schwab  <schwab@redhat.com>
14956         [BZ #13144]
14957         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14958         last change.
14960 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
14962         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14963         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14964         syscall wrapper around clock_gettime in __vdso_clock_gettime.
14965         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14966         clock_gettime.
14968 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
14970         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14971         Forgot to demangle the pointer.
14973         * sysdeps/i386/sysdep.h: Define atom_text_section.
14974         * sysdeps/x86_64/sysdep.h: Likewise.
14975         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14976         section with atom_text_section.
14977         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14978         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14979         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14980         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14981         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14983         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14984         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14985         already be defined.  Change to take two parameters and don't assign
14986         result to variable.  Adjust all users.
14987         Define INTERNAL_GETTIME if not already defined.
14988         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14989         call.
14990         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14991         HAVE_CLOCK_GETTIME_VSYSCALL.
14992         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14994         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14995         gettimeofday vsyscall, just use time.
14997 2011-09-06  Andreas Schwab  <schwab@redhat.com>
14999         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15000         <errno.h>.
15002 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
15004         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15005         syscall on x86-64.
15006         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15007         syscall.
15008         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15009         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15010         syscall if possible.
15012 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15014         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15015         e_ident.  Don't pass to find_mapsXX.
15016         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15018 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15021         strchr-sse2-no-bsf strrchr-sse2-no-bsf
15022         * sysdeps/x86_64/multiarch/strchr.S: Update.
15023         Check bit_slow_BSF bit.
15024         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15025         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15026         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15028 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15030         [BZ #13134]
15031         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15032         before glibc 2.15.
15033         (tryshell): Define.
15034         (__spawni): Change last parameter to be flag.  Test
15035         SPAWN_XFLAGS_USE_PATH flag to use path or not.
15036         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15037         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15038         * posix/spawni.c: Likewise.
15039         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15040         * posix/spawnp.c: Likewise.  Change normal version to use
15041         SPAWN_XFLAGS_USE_PATH.
15042         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15043         SPAWN_XFLAGS_TRY_SHELL.
15045         [BZ #13150]
15046         * posix/glob.h: Remove gcc 1.x support.
15048         [BZ #13068]
15049         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15051 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15053         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15054         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15055         strrchr-sse2-bsf
15056         * sysdeps/i386/i686/multiarch/strchr.S: New file.
15057         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15058         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15059         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15060         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15061         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15063 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15065         * sysdeps/x86_64/wcscmp.S: New file.
15067         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15068         wcscmp-c wcscmp-sse2
15069         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15070         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15071         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15072         * wcsmbs/wcscmp.c: Allow renaming.
15074 2011-09-05  David S. Miller  <davem@davemloft.net>
15076         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15077         stack slot, rather than the struct return pointer slot.
15078         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15079         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15081         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15083 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15085         * po/ja.po: Update from translation team.
15087         [BZ #13144]
15088         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15089         kernel in 64-bit binaries.
15091 2011-09-01  David S. Miller  <davem@davemloft.net>
15093         * elf/elf.h (HWCAP_SPARC_*): Move to..
15094         * sysdeps/sparc/sysdep.h: this new file and add new values.
15095         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15096         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15097         _DL_HWCAP_COUNT to 24.
15098         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15099         entries.
15100         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15101         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15102         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15103         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15104         instead of magic constants.
15105         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15107 2011-08-31  David S. Miller  <davem@davemloft.net>
15109         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15110         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15111         Reimplement to do errno handling inline.
15112         (SYSCALL_ERROR_HANDLER): New macro.
15113         (__SYSCALL_STRING): Do not do errno handling in asm.
15114         (__CLONE_SYSCALL_STRING): Delete.
15115         (__INTERNAL_SYSCALL_STRING): Delete.
15116         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15117         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15118         (PSEUDO): Reimplement to do errno handling inline.
15119         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15120         (SYSCALL_ERROR_HANDLER): New macro.
15121         (__SYSCALL_STRING): Do not do errno handling in asm.
15122         (__CLONE_SYSCALL_STRING): Delete.
15123         (__INTERNAL_SYSCALL_STRING): Delete.
15124         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15125         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15126         i386.
15127         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15128         (inline_syscall*): Add 'err' argument.
15129         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15130         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15131         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15132         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15134         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15135         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15137 2011-08-30  Andreas Schwab  <schwab@redhat.com>
15139         * elf/rtld.c (dl_main): Relocate objects in dependency order.
15141 2011-08-29  Jiri Olsa <jolsa@redhat.com>
15143         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15144         directive.
15146 2011-08-24  David S. Miller  <davem@davemloft.net>
15148         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15150 2011-08-24  Andreas Schwab  <schwab@redhat.com>
15152         * elf/Makefile: Add rules to build and run unload8 test.
15153         * elf/unload8.c: New file.
15154         * elf/unload8mod1.c: New file.
15155         * elf/unload8mod1x.c: New file.
15156         * elf/unload8mod2.c: New file.
15157         * elf/unload8mod3.c: New file.
15159         * elf/dl-close.c (_dl_close_worker): Reset private search list if
15160         it wasn't used.
15162 2011-08-23  David S. Miller  <davem@davemloft.net>
15164         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15165         subtract stack bias.
15166         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15167         %sp not %fp in calculations.
15168         (_JMPBUF_UNWINDS_ADJ): Likewise.
15170         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15171         (aio_suspend): Call it to force an exception region around the
15172         AIO_MISC_WAIT() invocation.
15174 2011-08-23  Andreas Schwab  <schwab@redhat.com>
15176         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15177         backslash.
15179 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
15181         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15182         protection macro.
15183         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15184         and <dl-machine.h>.
15185         (Elf64_FuncDesc): Remove.
15187 2011-08-22  David S. Miller  <davem@davemloft.net>
15189         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15190         sigaltstack check, add missing cfi directives.
15191         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15192         missing cfi directives, and sigaltstack handling.
15194 2011-08-16  Andreas Schwab  <schwab@redhat.com>
15196         [BZ #11724]
15197         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15198         object is seen twice.
15199         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15201         * elf/Makefile (distribute): Add tst-initorder2.c.
15202         (tests): Add tst-initorder2.
15203         (modules-names): Add tst-initorder2a tst-initorder2b
15204         tst-initorder2c tst-initorder2d.  Add rules to build them.
15205         ($(objpfx)tst-initorder2.out): New rule.
15206         * elf/tst-initorder2.c: New file.
15207         * elf/tst-initorder2.exp: New file.
15209 2011-08-22  Andreas Schwab  <schwab@redhat.com>
15211         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15213         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15214         dependencies back to end of function.
15216         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15217         $(elfobjdir)/ld.so.
15219 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
15221         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15222         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15223         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15224         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15225         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15226         of __vdso_gettimeofday.
15227         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15228         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
15229         attribute_hidden.
15230         (_libc_vdso_platform_setup): Remove initialization of
15231         __vdso_gettimeofday and __vdso_time.
15233 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15235         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15236         and fgetc_unlocked.
15237         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15238         getc_unlocked.
15240         * elf/dl-open.c (add_to_global): Report additions to the global scope
15241         for LD_DEBUG=scopes.
15242         (dl_open_worker): Also print scope of newly loaded dependencies.
15243         (_dl_show_scope): Indicate if there is no scope.
15245         [BZ #13114]
15246         * stdio-common/Makefile (tests): Add bug24.
15247         * stdio-common/bug24.c: New file.
15249 2011-08-19  Andreas Jaeger  <aj@suse.de>
15251         [BZ #13114]
15252         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15253         non-existant file when using close-on-exec mode.
15255 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15257         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15258         the very first instruction.
15260         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15261         the CFI state in the end.
15262         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15263         inclusion of dl-trampoline.h.
15264         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15266 2011-08-19  Andreas Schwab  <schwab@redhat.com>
15268         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15269         expectations for long double.
15271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15272         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15274 2011-08-14  David S. Miller  <davem@davemloft.net>
15276         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15277         artificual limit depends upon the system page size.
15279 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15281         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15282         * resolv/Makefile: Define CFLAGS-libresolv.
15284 2011-08-17  Andreas Schwab  <schwab@redhat.com>
15286         * nss/makedb.c (compute_tables): Make variables used in nested
15287         function static.
15289 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15291         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15292         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15293         if buffer was too small.
15295         * elf/pldd.c (main): Attach to all threads in the process.
15296         Rewrite /proc handling to use *at functions.
15298 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
15300         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15301         specifies first scope to show.
15302         (dl_open_worker): Update callers.  Move printing scope of new
15303         object to before the relocation.
15304         * elf/rtld.c (dl_main): Update _dl_show_scope call.
15305         * sysdeps/generic/ldsodefs.h: Update declaration.
15307         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15308         string for the scope number.
15310 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
15312         * nscd/servicescache.c (cache_addserv): Make sure written is always
15313         initialized.
15315 2011-08-14  Roland McGrath  <roland@hack.frob.com>
15317         * sysdeps/i386/i486/bits/atomic.h
15318         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15319         statement expression, so as to suppress "set but not used" warning.
15320         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15322         * string/strncat.c (STRNCAT): Use prototype definition.
15324         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15325         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15326         -Iprograms here.
15327         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15328         (localedef-modules): Add localedef.
15329         (locale-modules): Add locale.
15331         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15332         * elf/rtld.c (dl_main): Invert order of assignment in last change,
15333         to avoid a warning.
15335 2011-08-14  David S. Miller  <davem@davemloft.net>
15337         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15338         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15340 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
15342         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15343         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15344         * elf/rtld.c (dl_main): Set l_name of vDSO.
15345         Call _dl_show_scope when DL_DEBUG_SCOPES.
15346         (process_dl_debug): Recognize scopes flag and also set it for all.
15347         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15348         Declare _dl_show_scope.
15350         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15351         (do_dlopen): Pass caller_dlopen to dl_open.
15352         (__libc_dlopen_mode): Initialize caller_dlopen.
15354         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15355         of libc.  Make tolower call locale-independent.  Optimize a bit by
15356         using isdigit instead of isalnum.
15357         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15359 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
15361         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15362         was a dependency or dynamically loaded.
15364 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
15366         * intl/l10nflist.c: Allow architecture-specific pop function.
15367         * sysdeps/x86_64/l10nflist.c: New file.
15369         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15370         classification.
15372 2011-08-10  Andreas Schwab  <schwab@redhat.com>
15374         * include/dirent.h: Add libc_hidden_proto for scandirat and
15375         scandirat64.  Don't declare __scandirat64.
15376         * dirent/scandirat.c: Add libc_hidden_def.
15377         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15378         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15380 2011-08-10  David S. Miller  <davem@davemloft.net>
15382         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15383         enum.
15384         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15385         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15386         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15388 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
15390         * Versions.def [libc]: Add GLIBC_2.15.
15391         * dirent/Makefile (routines): Add scandirat and scandirat64.
15392         * dirent/Versions [libc]: Export scandirat and scandirat64 for
15393         GLIBC_2.15.
15394         * dirent/dirent.h: Declare scandirat and scandirat64.
15395         * dirent/scandirat.c: New file.
15396         * dirent/scandirat64.c: New file.
15397         * sysdeps/wordsize-64/scandirat.c: New file.
15398         * sysdeps/wordsize-64/scandirat64.c: New file.
15399         * dirent/opendir.c: Define opendirat.
15400         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
15401         using scandirat.
15402         * dirent/scandir64.c: Adjust for scandir.c change.
15403         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
15404         __scandirat64, and __scandir_cancel_handler.
15405         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
15406         additional parameter and use openat instead of open (outside of ld.so).
15407         Add new __opendir as wrapper around __opendirat.
15408         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15409         here without requiring old scandirat implementation.
15411 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
15413         * dirent/scandir.c (cancel_handler): Renamed to
15414         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
15415         defined.  Adjust users.
15416         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15417         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15419 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
15421         * string/test-string.h (IMPL): Use __STRING to expand name and then
15422         stringify it.
15424         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
15425         of cleanups.
15427 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15429         * string/Makefile: Update.
15430         (strop-tests): Append strncat.
15431         * string/test-wcscmp.c: New file.
15432         New comprehensive test for wcscmp.
15433         * string/test-strcmp.c: Update.
15434         (WIDE): New define.
15436 2011-07-22  Andreas Schwab  <schwab@redhat.com>
15438         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15439         line.
15441 2011-07-26  Andreas Schwab  <schwab@redhat.com>
15443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15444         encoding to ACE if AI_IDN.
15446 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
15448         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15449         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15451 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15453         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15454         Fix overflow bug in strncat.
15455         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15457         * string/test-strncat.c: Update.
15458         Add new tests for checking overflow bugs.
15460 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15463         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15464         * sysdeps/i386/i686/multiarch/strcat.S: New file.
15465         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15466         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15467         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15468         * sysdeps/i386/i686/multiarch/strncat.S: New file.
15469         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15470         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15472         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15473         (USE_AS_STRCAT): Define.
15474         Add strcat and strncat support.
15475         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15477 2011-07-25  Andreas Schwab  <schwab@redhat.com>
15479         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15480         __n bigger than INT_MAX+1.
15481         (__strncmp_g): Likewise.
15483 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
15485         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15486         * libio/stido.h: Likewise.
15488         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15489         (AF_NFC): Define.
15490         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15491         (AF_NFC): Define.
15493         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15494         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15495         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15496         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15497         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15499         [BZ #13021]
15500         * scripts/test-installation.pl: Don't expect libnss_test1 to be
15501         installed.
15503         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15504         typo.
15505         (_dl_x86_64_save_sse): Likewise.
15507 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
15509         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15510         OSXSAVE.
15511         (_dl_x86_64_save_sse): Likewise.
15513         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15515         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15517 2011-07-21  Andreas Schwab  <schwab@redhat.com>
15519         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15520         change.
15521         (_dl_x86_64_save_sse): Use correct AVX check.
15523 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15525         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15526         bug in strncpy/strncat.
15527         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15529 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
15531         * string/tester.c (test_strcat): Add tests for different alignments
15532         of source and destination.
15533         (test_strncat): Likewise.
15535 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
15537         [BZ #12852]
15538         * posix/glob.c (glob): Check passed in values before using them in
15539         expressions to avoid some overflows.
15540         (glob_in_dir): Likewise.
15542         [BZ #13007]
15543         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15544         check for AVX enablement so that we don't crash with old kernels and
15545         new hardware.
15546         * elf/tst-audit4.c: Add same checks here.
15547         * elf/tst-audit6.c: Likewise.
15549         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15551 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
15553         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15555 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
15557         * po/cs.po: Update from translation team.
15558         * po/bg.po: Likewise.
15560 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
15562         * misc/sys/cdefs.h: Add support for const attribute.
15563         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15564         to gnu_dev_{major,minor,makedev} functions.
15566 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
15568         * intl/dcigettext.c (get_output_charset): Add missing bracket.
15570 2011-07-20  Andreas Schwab  <schwab@redhat.com>
15572         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15573         strlen results.
15575 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15577         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15578         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15579         register in order to avoid conflicts with the soft frame pointer
15580         being held in r11 when necessary.
15581         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15582         (INTERNAL_VSYSCALL_NCS): Likewise.
15584 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
15586         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15587         * elf/dl-fini.c (_dl_fini): Adjust caller.
15588         * elf/dl-close.c (_dl_close_worker): Likewise.
15589         * sysdeps/generic/ldsodefs.h: Adjust declaration.
15591 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
15593         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15594         "aux_cache->nlibs < 0".
15596         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15597         in the reload-count case.
15599 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15602         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15603         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15604         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15605         * sysdeps/x86_64/multiarch/strcat.S: New file.
15606         * sysdeps/x86_64/multiarch/strncat.S: New file.
15607         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15608         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15609         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15610         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15611         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15612         (USE_AS_STRCAT): Define.
15613         Add strcat and strncat support.
15614         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15615         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15616         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15617         * string/strncat.c: Update.
15618         (USE_AS_STRNCAT): Define.
15619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15620         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15621         and i7.
15622         * sysdeps/x86_64/multiarch/init-arch.h
15623         (bit_Prefer_PMINUB_for_stringop): New.
15624         (index_Prefer_PMINUB_for_stringop): Likewise.
15625         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15626         bit_Prefer_PMINUB_for_stringop.
15628 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
15630         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15631         buffer64.
15632         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15633         of casting of buffer.
15634         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15635         buffer32 and buffer64.
15636         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15637         writes instead of casting of buffer.
15638         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15639         buffer32.
15640         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15641         casting of buffer.
15643 2011-07-19  Andreas Schwab  <schwab@redhat.com>
15645         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15647 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
15649         * nscd/nscd.c (termination_handler): Don't do anything for a database
15650         if it has not yet been initialized.
15652 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
15654         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15656 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
15658         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15660 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
15662         * po/nl.po: Update from translation team.
15663         * po/sv.po: Likewise.
15665 2011-07-16  Roland McGrath  <roland@hack.frob.com>
15667         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15668         now disallowed by GCC.
15670         * configure.in (use-default-link): Default to yes if a test -shared
15671         link meets our qualifications.
15672         * configure: Regenerated.
15674         * config.make.in (output-format): New variable.
15675         * configure.in: Check for ld --print-output-format support.
15676         * configure: Regenerated.
15677         * Makerules ($(common-objpfx)format.lds)
15678         [$(output-format) != unknown]: Just use $(output-format),
15679         instead of the linker-script munging.
15681 2011-07-14  Roland McGrath  <roland@hack.frob.com>
15683         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15684         of $(common-objpfx)shlib.lds.
15685         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15687         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15688         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15690         * configure.in (-z relro check): Adjust test code to add a large
15691         writable data section after it.
15692         * configure: Regenerated.
15694 2011-07-11  Roland McGrath  <roland@hack.frob.com>
15696         * configure.in (-z relro check): Fix test code to make the variable
15697         truly const.
15698         * configure: Regenerated.
15700 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
15702         * nscd/nscd.h (struct traced_file): Define.
15703         (struct database_dyn): Remove inotify_descr, reset_res, and filename
15704         elements.  Add traced_files.
15705         (inotify_fd): Declare.
15706         (register_traced_file): Declare.
15707         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15708         (inotify_fd): Export.
15709         (resolv_conf_descr): Remove.
15710         (nscd_init): Move inotify descriptor creation to main.
15711         Don't register files for notification here.
15712         (register_traced_file): New function.
15713         (invalidate_cache): Don't use reset_res to determine whether to call
15714         res_init, go through the list of registered files.
15715         (main_loop_poll): The inotify descriptors are now stored in the
15716         structures for the traced files.
15717         (main_loop_epoll): Likewise
15718         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
15719         to __nss_disable_nscd.
15720         * nscd/cache.c (prune_cache): There is no single inotify descriptor
15721         for a database anymore.  Check the records for all the registered
15722         files instead.
15723         * nss/Makefile (libnss_files-routines): Add files-init.
15724         (libnss_db-routines): Add db-init.
15725         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15726         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15727         * nss/nss_db/db-init.c: New file.
15728         * nss/nss_files/files-init.c: New file.
15729         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
15730         __nss_lookup_function.
15731         (__nss_lookup_function): Call nss_load_library.
15732         (nss_load_all_libraries): New function.
15733         (__nss_disable_nscd): Take parameter with callback function for files
15734         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
15735         used for the cached services.
15736         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15737         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15738         options for features to all the files in nscd.
15740         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15742 2011-07-10  Roland McGrath  <roland@hack.frob.com>
15744         * csu/elf-init.c (__libc_csu_init): Comment typo.
15746 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
15748         * po/pl.po: Update from translation team.
15749         * po/ja.po: Likewise.
15750         * po/ru.po: Likewise.
15751         * po/ko.po: Likewise.
15752         * po/fr.po: Likewise.
15754 2011-07-09  Roland McGrath  <roland@hack.frob.com>
15756         * configure.in (.ctors/.dtors header and trailer check):
15757         Use an empirical test on a built program.
15758         * configure: Regenerated.
15760         * configure.in (-z relro check): Use an empirical test on a built DSO.
15761         Detect, but do not require, on ia64.
15762         * configure: Regenerated.
15764         * configure.in (READELF): Find it with AC_CHECK_TOOL.
15765         Update tests that use readelf to use $READELF instead.
15766         * configure: Regenerated.
15768 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
15770         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15771         if the result is not used.
15773 2011-07-05  Andreas Jaeger  <aj@suse.de>
15775         [BZ#9696]
15776         * stdlib/tst-strtod.c: Add testcase.
15778 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
15780         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15781         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15782         The latter has a higher limit.  Take additional parameter to pass to
15783         the new function.
15784         (__pathconf): Pass file to __statfs_link_max.
15785         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15786         __statfs_link_max.
15787         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15788         __statfs_link_max.
15790         [BZ #12868]
15791         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15792         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15793         Handle Lustre.
15794         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15795         (__statfs_filesize_max): Likewise.
15796         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15798 2011-07-05  Andreas Jaeger  <aj@suse.de>
15800         * resolv/res_comp.c (dn_skipname): Remove unused variable.
15802 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
15804         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15805         `status' variable.
15806         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15807         Likewise.
15809 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
15811         * Makefile (strop-tests): Add strncat.
15812         * string/test-strncat.c: New file.
15814 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
15816         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15818 2011-06-21  Andreas Jaeger  <aj@suse.de>
15820         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15821         Copy rule from iconvdata/Makefile.
15823 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
15825         [BZ #12922]
15826         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15827         but no long options are defined, just return 'W'.
15829 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
15831         [BZ #9696]
15832         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15834 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
15836         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15837         netgroups to read.
15838         (innetgr): Likewise.
15840 2011-07-05  Roland McGrath  <roland@hack.frob.com>
15842         * config.make.in (install_root): Default to $(DESTDIR).
15844 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
15846         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15848 2011-07-02  Roland McGrath  <roland@hack.frob.com>
15850         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15852         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15853         containing directory rather than embedding absolute directory names.
15855         * scripts/check-local-headers.sh: Rewritten using awk.
15856         Match by word, not by line.  Print error messages for matches.
15857         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15859         * Makerules [shlib-lds-flags empty]:
15860         ($(common-objpfx)libc_pic.opts): New target.
15861         ($(common-objpfx)libc_pic.os.clean): New target.
15862         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15864         * config.make.in (OBJCOPY): New variable.
15865         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15866         * configure: Regenerated.
15868         * config.make.in (use-default-link): New variable.
15869         * configure.in (use_default_link): Grok --with-default-link to set it.
15870         * configure: Regenerated.
15871         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15872         (shlib-lds, shlib-lds-flags): Define to empty.
15874         * Makerules (shlib-lds): New variable.
15875         (shlib-lds-flags): New variable.
15876         (build-shlib, build-moduile, build-module-asneeded): Use it.
15877         ($(common-objpfx)libc.so): Use $(shlib-lds).
15878         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15879         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15881         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15882         DT_FLAGS/DT_FLAGS_1 with zero flags.
15884         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15885         linker script munging.
15887 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
15889         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15890         as 128-bit value.
15891         * crypt/sha512.c (sha512_process_block): Perform total addition using
15892         128-bit if possible.
15893         (__sha512_finish_ctx): Likewise.
15894         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15895         as 64-bit value.
15896         * crypt/sha256.c (SWAP64): Define.
15897         (sha256_process_block): Perform total addition using 64-bit if
15898         possible.
15899         (__sha256_finish_ctx): Likewise.
15901 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
15903         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
15904         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15905         * nscd/hstcache.c (cache_addhst): Likewise.
15906         * nscd/grpcache.c (cache_addgr): Likewise.
15907         * nscd/aicache.c (addhstaiX): Likewise
15908         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15910 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
15912         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15913         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15914         * nscd/hstcache.c (cache_addhst): Likewise.
15915         * nscd/grpcache.c (cache_addgr): Likewise.
15916         * nscd/aicache.c (addhstaiX): Likewise
15918 2011-07-01  Andreas Schwab  <schwab@redhat.com>
15920         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15921         domain only when needed.
15923 2011-06-30  Andreas Schwab  <schwab@redhat.com>
15925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15926         is always restored.
15928 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
15930         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15931         are re-adding the entry.
15932         * nscd/servicescache.c (cache_addserv): Likewise.
15934 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15936         * sysdeps/generic/dl-irel.h: fix protection against multiple
15937         inclusions.
15938         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15940 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
15942         [BZ #12935]
15943         * malloc/memusage.sh: Fix quoting in message.
15944         * debug/xtrace.sh: Likewise.
15946         * configure.in: Remove support for --experimental-malloc option, make
15947         it the default.
15948         * config.make.in: Likewise.
15949         * malloc/Makefile: Likewise.
15951 2011-06-27  Andreas Schwab  <schwab@redhat.com>
15953         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15954         two-byte characters.
15956 2011-06-27  Roland McGrath  <roland@hack.frob.com>
15958         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15959         AC_CACHE_CHECK invocation.
15960         * configure: Regenerated.
15962         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15964 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
15966         [BZ #12350]
15967         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
15968         bit from old_res_options.
15970         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15972         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15973         value type for setfct.
15975 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
15977         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15978         __gettimeofday instead of gettimeofday.
15980 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
15982         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15984 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15986         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15988         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15989         info.
15991 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
15993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15994         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15995         strcpy-sse2-unaligned strncpy-sse2-unaligned
15996         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15997         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15998         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15999         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16000         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16001         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16002         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16003         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16004         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16005         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16006         (STRCPY): Support SSE2 and SSSE3 versions.
16008 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
16010         [BZ #12874]
16011         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16012         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16013         kernels which artificially limit size of requests.
16015 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
16017         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16018         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16019         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16020         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16021         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16022         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16023         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16024         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16025         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16026         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16027         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16028         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16029         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16030         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16031         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16032         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16033         Enable unaligned load optimization for Intel Core i3, i5 and i7
16034         processors.
16035         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16036         Define.
16037         (index_Fast_Unaligned_Load): Define.
16038         (HAS_FAST_UNALIGNED_LOAD): Define.
16040 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
16042         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16044 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
16046         [BZ #12907]
16047         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16048         until it is clear that the information is realy needed.
16049         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16051 2011-06-22  Andreas Schwab  <schwab@redhat.com>
16053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16055 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
16057         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16058         /sys/devices/system/cpu/online if it is usable.
16060         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16061         reading the information from the /proc filesystem to once a second.
16063 2011-06-21  Andreas Jaeger  <aj@suse.de>
16065         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16066         NULL after inclusion of kernel headers.
16068 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
16070         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16071         calls to internal_setent.
16073         [BZ #12885]
16074         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16075         addresses using gethostbyname4_r ignore IPv4 addresses.
16077         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16078         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
16080         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16082 2011-06-20  David S. Miller  <davem@davemloft.net>
16084         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16085         inclusions.
16086         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16088         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16089         (elf_irel): Use it.
16090         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16091         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16092         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16093         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16094         * sysdeps/x86_64/dl-irel.h: Likewise.
16096         * elf/dl-runtime.c: Use elf_ifunc_invoke.
16097         * elf/dl-sym.c: Likewise.
16099 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16101         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
16102         need to dereference resplen2.
16104 2011-06-14  Andreas Schwab  <schwab@redhat.com>
16106         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16108 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16110         * Makeconfig: Define vardbdir and inst_vardbdir.
16111         * nss/Makefile: Add rules to install db-Makefile.
16113         * nss/nss_db/db-XXX.c: Cleanup.
16115         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16116         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16117         GLIBC_PRIVATE.
16118         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16119         * nss/makedb.c: Implement -g option to specify that value strings
16120         are generated and should not be added to table iterated over for
16121         get*ent calls.
16122         * nss/nss_db/db-initgroups.c: New file.
16124         * nss/getent.c: Add support for initgroups lookups through getgrouplist
16125         interface.
16127         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16128         (internal_getgrouplist): Adjust to name change.
16129         Update use_initgroups_entry if this is not the first call.
16130         * nss/databases.def: Add initgroups entry.
16132         * nss/makedb.c (compute_tables): Check result of multiple hash table
16133         sizes to minimize maximum chain length.
16135 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
16137         * Versions.def: Add entry for libnss_db.
16138         * shlib-versions: Likewise.
16139         * nss/Makefile: Add rules to build libnss_db.
16140         * nss/Versions: Add libnss_db information.  Organize libnss_files
16141         entries better.
16142         * nss/db-Makefile: Add gshadow support.  Change rules for the new
16143         makedb progra.  Some minor improvements to generate smaller files.
16144         * nss/nss_db/nss_db.h: Move NSS database header data structures to
16145         here from...
16146         * nss/makedb.c: ...here.
16147         Improve database format to be smaller and require less memory at
16148         runtime.
16149         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
16150         db anymore.
16151         * nss/nss_db/db-netgrp.c: Likewise.
16152         * nss/nss_db/db-open.c: Likewise.
16153         * nss/nss_files/flies-XXX.x: Adjust comments.
16154         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16155         * nss/nss_files/files-grp.c: Likewise.
16156         * nss/nss_files/files-hosts.c: Likewise.
16157         * nss/nss_files/files-network.c: Likewise.
16158         * nss/nss_files/files-proto.c: Likewise.
16159         * nss/nss_files/files-pwd.c: Likewise.
16160         * nss/nss_files/files-rpc.c: Likewise.
16161         * nss/nss_files/files-service.c: Likewise.
16162         * nss/nss_files/files-sgrp.c: Likewise.
16163         * nss/nss_files/files-spwd.c: Likewise.
16164         * nss/nss_db/db-alias.c: Removed.
16165         * nss/nss_db/dummy-db.h: Removed.
16167 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
16169         * nss/makedb.c: Rewritten to not use database library.
16170         * nss/Makefile: Update to build new makedb program.
16172 2011-06-14  Andreas Jaeger  <aj@suse.de>
16174         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16175         memset declaration.
16177 2011-06-10  Andreas Schwab  <schwab@redhat.com>
16179         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16180         tmpbuf.
16182 2011-06-10  Roland McGrath  <roland@hack.frob.com>
16184         * Makerules (shlib.lds): Fail if the linker script comes out empty.
16185         * elf/Makefile ($(objpfx)ld.so): Likewise.
16187         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16188         Don't list ld.so twice in dependencies.
16190         * posix/bug-regex31.c: Include <stdlib.h>.
16192         * nscd/hstcache.c (cache_addhst): Remove unused variable.
16194         * nis/nss_compat/compat-spwd.c
16195         (getspent_next_nss_netgr): Remove unused variable.
16196         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16198         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16199         nonmembers" output to use the right array.
16201         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16203         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16205         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16206         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16207         * catgets/gencat.c (read_input_file): Likewise.
16208         * locale/programs/locarchive.c (enlarge_archive): Likewise.
16210         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16211         variable definition inside #if's controlling its use.
16213         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16215         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16217         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16219         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16220         unreachable code.
16222         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16224         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16225         * configure: Regenerated.
16227         * Makerules: Revert last change.
16228         * elf/Makefile: Likewise.
16230 2011-06-09  Roland McGrath  <roland@hack.frob.com>
16232         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16233         * elf/Makefile ($(objpfx)librtld.os): Likewise.
16234         (reloc-link): Likewise.
16236 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
16238         * elf/Makefile: Add rules to build pldd.
16239         * elf/pldd.c: New file.
16240         * elf/pldd-xx.c: New file.
16242 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
16244         * version.h: Update for 2.15 development version.
16246 2011-06-07  David S. Miller  <davem@davemloft.net>
16248         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16249         ifuncs.
16250         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16251         elf_machine_lazy_rel): Likewise.
16252         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16253         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16254         elf_machine_lazy_rel): Likewise.
16255         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16256         dl_hwcap via passed in argument.
16257         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16258         Likewise.
16260 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16262         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
16264 2011-06-06  Roland McGrath  <roland@hack.frob.com>
16266         [BZ #12849]
16267         * manual/fdl-1.1.texi: New file, verbatim from:
16268         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16269         * manual/lgpl-2.1.texi: New file, verbatim from:
16270         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16271         * manual/Makefile (licenses): New variable, list those new file names.
16272         (texis): Use it.
16273         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16275         * manual/fdl.texi: File removed.
16276         * manual/lesser.texi: File removed.
16277         * manual/libc.texinfo (Copying, Documentation License):
16278         Use new @include file names, put @appendix directive before @include.
16280 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
16282         [BZ #12841]
16283         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16284         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16285         (mq_open): Add __NTH.
16287 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
16289         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16290         Assume Intel Core i3/i5/i7 processor if AVX is available.
16292 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16294         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16295         typo.
16297 2011-05-31  Andreas Schwab  <schwab@redhat.com>
16299         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16300         memory.  Use alloca_account.  Fix memory leak when retrying.
16302 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16304         * version.h (RELEASE): Bump for 2.14 release.
16305         * include/features.h (__GLIBC_MINOR__): Bump to 14.
16307         * config.make.in (RANLIB): Remove entry.
16309 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
16311         * po/Makefile (po-sed-cmd): Add ksh to extensions.
16312         (libc.pot): Work around missing support for .ksh extension in xgettext.
16314         [BZ #12684]
16315         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16316         if both request failed.
16317         (send_dg): In case of server errors clear resplen or *resplen2.
16319         [BZ #12454]
16320         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16321         when there are multiple maps.
16322         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16323         (_dl_fini): Remove test here.
16325         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16327 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
16329         [BZ #12350]
16330         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16331         bit from old_res_options.
16332         (gaih_inet): Likewise.
16334         [BZ #11099]
16335         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16336         as signed.
16338         * resolv/res_init.c (res_setoptions): Make the code more compact.
16340         [BZ #11558]
16341         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16342         set RES_USEVC.
16344         [BZ #11634]
16345         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16347         * malloc/malloc.h: Mark malloc hook variables as deprecated.
16349         [BZ #11781]
16350         * malloc/malloc.h: Declare malloc hook variables as volatile.
16352         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16353         in last patch.
16355         [BZ #11799]
16356         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16357         raise in the comment.
16358         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16359         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16360         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16362 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
16364         [BZ #12811]
16365         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16366         grow the buffers more if it already has to be sufficient.
16367         (build_wcs_upper_buffer): Likewise.
16368         * posix/regexec.c (check_matching): Likewise.
16369         (clean_state_log_if_needed): Likewise.
16370         (extend_buffers): Don't enlarge buffers beyond size of the input
16371         buffer.
16372         Patches mostly by Emil Wojak <emil@wojak.eu>.
16373         * posix/bug-regex32.c: New file.
16374         * posix/Makefile (tests): Add bug-regex32.
16376         * locale/findlocale.c (_nl_find_locale): Return right away if
16377         _nl_explode_name failed.
16378         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16380         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16382         * debug/xtrace.sh: Unify messages.
16383         * malloc/memusage.sh: Likewise.
16385         [BZ #12813]
16386         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16387         time symbol from vDSO.  Substitute with vsyscall if not available.
16388         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16389         __vdso_time.
16391         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16392         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16393         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16394         Add sendmmsg and internal_sendmmsg.
16395         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16396         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16397         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16399         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16400         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16401         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16403 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
16405         [BZ #12813]
16406         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16407         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
16408         available.
16409         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16410         __vdso_getcpu.
16412         [BZ #12814]
16413         * iconvdata/Makefile (tests): Add bug-iconv9.
16414         * iconvdata/bug-iconv9.c: New file.
16416 2011-05-27  Andreas Schwab  <schwab@redhat.com>
16418         [BZ #12814]
16419         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16421 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
16423         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16424         (struct user_regs_struct): Change intcs field back to cs.
16426 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
16428         * po/ja.po: Update from translation team.
16430 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
16432         [BZ #12795]
16433         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16434         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16436 2011-05-20  Andreas Schwab  <schwab@redhat.com>
16438         * stdlib/longlong.h: Update from GCC.
16440 2011-05-23  Andreas Schwab  <schwab@redhat.com>
16442         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16443         parameter name.
16444         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16445         Add parameter name.
16446         (__sysconf): Pass it down.
16448 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
16450         [BZ #12671]
16451         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16452         some situations.
16453         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16454         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16455         add in in __libc_use_alloca calls.  Adjust callers.
16456         (glob): Use malloc in some situations.
16458         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16459         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16460         pltexit.
16462 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
16464         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16465         and CLOCK_BOOTTIME_ALARM.
16467         [BZ #12782]
16468         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16469         is returned.
16471         * string/_strerror.c (__strerror_r): Print negative errors as signed
16472         numbers.
16474         [BZ #12777]
16475         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16476         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16477         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16479         * configure.in: Fix typo in redirection and correct removal of test
16480         files in two cases.
16482         [BZ #12788]
16483         * locale/setlocale.c (new_composite_name): Fix test to check for
16484         identical name of all categories.
16486         [BZ #12792]
16487         * libio/filedoalloc.c (local_isatty): New function.
16488         (_IO_file_doallocate): Use local_isatty.
16489         * stdio-common/perror.c (perror): In case a new stream is used
16490         forward the stream error.
16491         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16492         error flag.
16494 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
16496         [BZ #11869]
16497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16498         alloca.
16499         * include/alloca.h (extend_alloca_account): Define.
16501         [BZ #11857]
16502         * posix/regex.h: Fix comments with documentation of user-accessible
16503         fields after compilation and describe correct free'ing of pattern
16504         after re_compile_pattern.
16505         Patch by Reuben Thomas <rrt@sc3d.org>.
16507 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
16509         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16510         and -mno-altivec to prevent the compiler from using Altivec and/or
16511         VSX instructions when the corresponding registers are not available.
16513 2011-05-19  Andreas Schwab  <schwab@redhat.com>
16515         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16517 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
16519         * libio/freopen.c (freopen): Use __dup2, not dup2.
16520         * libio/freopen64.c (freopen64): Likewise.
16522 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16524         [BZ #12775]
16525         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16526         * math/Makefile (tests): Add test-powl.
16527         (CFLAGS-test-powl.c): Define.
16528         * math/test-powl.c: New file.
16530 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16532         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16534 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
16536         [BZ #11837]
16537         * iconvdata/gb18030.c: Update to GB18020-2005.
16539 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
16541         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16542         RE_SYNTAX_POSIX_AWK): Update to match recent development.
16543         Patch by Aharon Robbins <arnold@skeeve.com>.
16545         [BZ #11892]
16546         * stdlib/putenv.c (putenv): Don't always create copy of the variable
16547         on the stack.
16549         [BZ #11895]
16550         * misc/pselect.c (__pselect): Handle timeout value errors hidden
16551         through underflows.
16553         [BZ #12766]
16554         * misc/error.c (error_at_line): Ensure file_name and old_file_name
16555         point to strings before performing equality test for error_one_per_line
16556         mode.
16558         [BZ #11697]
16559         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16561         [BZ #11820]
16562         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16563         (struct user_fpregs_struct): Avoid __uint*_t types.
16565         [BZ #6420]
16566         * malloc/mtrace.c (tr_where): Add additional parameter to point to
16567         symbol info.  Use it instead of calling _dl_addr locally.
16568         (lock_and_info): New function.
16569         (tr_freehook): Call lock_and_info and pass symbol info as additional
16570         parameter to tr_where.
16571         (tr_mallochook): Likewise.
16572         (tr_reallochook): Likewise.
16573         (tr_memalignhook): Likewise.
16575         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
16576         used and couldn't be at all thread-safe.
16578 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
16580         * libio/freopen.c (freopen): Don't close old file descriptor
16581         before the new one is opened.  Instead dup the new file descriptor
16582         to the old one after the new stream is created.
16583         * libio/freopen64.c (freopen64): Likewise.
16584         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16585         * libio/fileops.c (_IO_new_file_close_it): Handle new
16586         _IO_FLAGS2_NOCLOSE flag.
16587         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16588         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16589         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16590         _IO_FLAGS2_NOCLOSE flag.
16591         * include/unistd.h: Add hidden_proto for dup3.
16592         Define __have_dup3.
16593         * io/dup3.c: Define hidden symbol.
16594         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16596         [BZ #7101]
16597         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16598         when an incomplete long option is used.
16599         * posix/tst-getopt_long1.c: New file.
16600         * posix/Makefile (tests): Add tst-getopt_long1.
16602         [BZ #10138]
16603         * scripts/config.guess: Update from autoconf-2.68.
16604         * scripts/config.sub: Likewise.
16606         [BZ #10157]
16607         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16608         tests into ...
16609         (has_cpuclock): ...this.  New function.
16610         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16611         macro here based on has_cpuclock code.
16613         [BZ #10149]
16614         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16615         First byte (not low byte) is now always NUL.
16616         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16618         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16619         Use non-cancelable interfaces.
16621         [BZ #9809]
16622         * locale/iso-639.def: Add entry for Sorani.
16624         [BZ #11901]
16625         * include/stdlib.h: Move include protection to the right place.
16626         Define abort_msg_s.  Declare __abort_msg with it.
16627         * stdlib/abort.c (__abort_msg): Adjust type.
16628         * assert/assert.c (__assert_fail_base): New function.  Majority
16629         of code from __assert_fail.  Allocate memory for __abort_msg with
16630         mmap.
16631         (__assert_fail): Now call __assert_fail_base.
16632         * assert/assert-perr.c: Remove bulk of implementation.  Use
16633         __assert_fail_base.
16634         * include/assert.hL Declare __assert_fail_base.
16635         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16636         mmap.
16637         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16639 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
16641         [BZ #11952]
16642         [BZ #12453]
16643         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16644         until all modules are registered in the DTV.
16645         * elf/Makefile: Add rules to build and run tst-tls19.
16646         * elf/tst-tls19.c: New file.
16647         * elf/tst-tls19mod1.c: New file.
16648         * elf/tst-tls19mod2.c: New file.
16649         * elf/tst-tls19mod3.c: New file.
16650         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16652         [BZ #12083]
16653         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16654         correctly.
16656         [BZ #12601]
16657         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16658         two-byte sequence errors.
16659         * iconvdata/Makefile (tests): Add bug-iconv8.
16660         * iconvdata/bug-iconv8.c: New file.
16662         [BZ #12626]
16663         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16664         buf2 definition.
16666         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16668         [BZ #12432]
16669         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16670         (dummy_getcfa): New function.
16671         (init): Get _Unwind_GetCFA address, use dummy if not found.
16672         (backtrace_helper): In recursion check, also check whether CFA changes.
16673         (__backtrace): Completely initialize arg.
16675         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16676         storing incomplete byte sequence in state object.  Avoid testing for
16677         guaranteed too small input if we know there is enough data available.
16679 2011-05-11  Andreas Schwab  <schwab@redhat.com>
16681         * Makeconfig (+link-pie): Indent.
16682         * Rules (binaries-pie): Define if $(have-fpie) and
16683         $(build-shared).
16684         (binaries-shared): Also filter out $(binaries-pie).
16685         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16686         * nscd/Makefile (others-pie): Add nscd.
16687         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16688         ($(objpfx)nscd): Remove command override.
16689         * login/Makefile (others-pie): Add pt_chown.
16690         ($(objpfx)pt_chown): Remove command override.
16691         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16692         remove command overrides.
16694 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
16696         * libio/tst_putwc.c: Fix error messages.
16698         [BZ #12724]
16699         * libio/fileops.c (_IO_new_file_close_it): Always flush when
16700         currently writing and seek to current position when not.
16701         * libio/Makefile (tests): Add bug-fclose1.
16702         * libio/bug-fclose1.c: New file.
16704 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
16706         [BZ #12511]
16707         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16708         don't set DF_1_NODELETE here.
16709         (do_lookup_x): When entering new entry test for copy relocation
16710         and if necessary set DF_1_NODELETE flag.
16711         * elf/tst-unique4.cc: New file.
16712         * elf/tst-unique4.h: New file.
16713         * elf/tst-unique4lib.cc: New file.
16714         * elf/Makefile: Add rules to build and run tst-unique4.
16715         Patch by Piotr Bury <pbury@goahead.com>.
16717 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
16719         [BZ #12052]
16720         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16722         [BZ #12625]
16723         * misc/mntent_r.c (addmntent): Flush the stream after the output
16725         [BZ #12393]
16726         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16727         (is_trusted_path_normalize): Skip initial colon.  Append slash
16728         to empty buffer.  Duplicate is_trusted_path code but allow
16729         constructed patch to be prefix.
16730         (is_dst): Allow $ORIGIN followed by /.
16731         (_dl_dst_substitute): Correct clearing of check_for_trusted.
16732         Correct testing of result of is_trusted_path_normalize
16733         (decompose_rpath): Fix warning.
16735 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
16737         [BZ #11257]
16738         * grp/initgroups.c (internal_getgrouplist): When we found the service
16739         list through the initgroups entry in nsswitch.conf do not always
16740         continue on a successful lookup.  Don't always use the
16741         __nss_group_database value if it is set.
16742         * nss/nsswitch.conf (initgroups): Change action for successful db
16743         lookup to continue for compatibility.
16745 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
16747         [BZ #11532]
16748         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16749         and CP774 modules.
16750         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16751         and CP774 modules.
16752         * iconvdata/tst-tables.sh: Likewise.
16753         * iconvdata/cp770.c: New file.
16754         * iconvdata/cp771.c: New file.
16755         * iconvdata/cp772.c: New file.
16756         * iconvdata/cp773.c: New file.
16757         * iconvdata/cp774.c: New file.
16758         * iconvdata/testdata/CP770: New file.
16759         * iconvdata/testdata/CP770..UTF8: New file.
16760         * iconvdata/testdata/CP771: New file.
16761         * iconvdata/testdata/CP771..UTF8: New file.
16762         * iconvdata/testdata/CP772: New file.
16763         * iconvdata/testdata/CP772..UTF8: New file.
16764         * iconvdata/testdata/CP773: New file.
16765         * iconvdata/testdata/CP773..UTF8: New file.
16766         * iconvdata/testdata/CP774: New file.
16767         * iconvdata/testdata/CP774..UTF8: New file.
16769         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16770         END CHARMAP line.
16771         * iconvdata/gen-8bit-gap.sh: Likewise.
16772         * iconvdata/gen-8bit.sh: Likewise.
16774         * locale/iso-639.def: Add ary entry.
16776         [BZ #11258]
16777         * locale/C-translit.h.in: Add U20A1 transliteration.
16779         [BZ #12178]
16780         * locale/iso-639.def: Add wae entry.
16781         Patch by Kevin Bortis <bortis@translate-wae.ch>.
16783         [BZ #12545]
16784         * locale/programs/localedef.c (construct_output_path): Use ssize_t
16785         for n.
16787         [BZ #12711]
16788         * locale/C-translit.h.in: Add entry for U20B9.
16789         Patch by pravin.d.s@gmail.com.
16791 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
16793         [BZ #12713]
16794         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16795         ENAMETOOLONG use generic getcwd.
16796         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
16797         in rtld.  Use *stat64.
16798         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16799         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16800         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16801         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16802         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16803         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16804         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16805         __fstatat64 macros.
16806         * include/dirent.h: Add libc_hidden_proto for rewinddir.
16807         * dirent/rewinddir.c: Add libc_hidden_def.
16808         * sysdeps/mach/hurd/rewinddir.c: Likewise.
16809         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
16811         * include/dirent.h (__alloc_dir): Add flags parameter.
16812         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16813         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16814         __alloc_dir.
16815         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
16816         from fdopendir if O_CLOEXEC is already set.
16818 2011-03-15  Alan Modra  <amodra@gmail.com>
16820         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16821         l_tls_firstbyte_offset non-zero.  Save padding offset in
16822         l_tls_firstbyte_offset for later use.
16823         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16824         freeing static tls block.
16826 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
16828         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16829         where #ifdef was intended.  The intent is to prevent ARG_MAX from
16830         being defined by the kernel headers.
16832 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
16834         [BZ #12734]
16835         * resolv/resolv.h: Define RES_NOTLDQUERY.
16836         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16837         no-tld-query and set RES_NOTLDQUERY.
16838         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16839         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16840         modern BIND to search name as TLD unless forbidden.
16842 2011-05-07  Petr Baudis  <pasky@suse.cz>
16843             Ulrich Drepper  <drepper@gmail.com>
16845         [BZ #12393]
16846         * elf/dl-load.c (fillin_rpath): Move trusted path check...
16847         (is_trusted_path): ...to here.
16848         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16849         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16850         using is_trusted_path_normalize() in setuid scripts.
16852 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16854         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16855         __BEGIN/__END_DECLS.
16857 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
16859         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16860         NSS_STATUS_NOTFOUND if no record was found.
16862 2011-05-05  Andreas Schwab  <schwab@redhat.com>
16864         * sunrpc/Makefile (headers): Add rpc/netdb.h.
16865         (headers-not-in-tirpc): Remove rpc/netdb.h
16866         * resolv/netdb.h: Revert last change.
16868 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16870         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16871         circular dependency between libgcc.a and libc.a.
16873 2011-05-05  Andreas Schwab  <schwab@redhat.com>
16875         * resolv/netdb.h: Don't include <rpc/netdb.h>.
16876         * nis/Makefile: Don't install rpcsvc/*.
16877         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16878         instead of <rpc/types.h>.
16879         (MAXHOSTNAMELEN): Define.
16881 2011-05-03  Andreas Schwab  <schwab@redhat.com>
16883         * elf/ldconfig.c (add_dir): Don't crash on empty path.
16885 2011-04-28  Maciej Babinski  <mbabinski@google.com>
16887         [BZ #12714]
16888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16889         gethostbyname4_r when IPv6 results are possible.
16891 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
16893         [BZ #12723]
16894         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16895         _PC_PIPE_BUF handling.
16897 2011-04-30  Bruno Haible  <bruno@clisp.org>
16899         [BZ #12717]
16900         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16901         * resolv/netdb.h (getnameinfo): Change type of flags parameter
16902         to 'int'.
16903         * inet/getnameinfo.c (getnameinfo): Likewise.
16905 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
16907         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16908         to groups setting in database lookup.
16909         * nss/nsswitch.conf: Add initgroups entry.
16911 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
16913         [BZ #12685]
16914         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16915         mode string.
16916         Patch by Eric Blake <eblake@redhat.com>.
16918 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
16920         * sunrpc/Makefile (need-export-routines): Add svc_run.
16921         (routines): Remove svc_run.
16922         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16923         * sunrpc/clnt_perr.c (clnt_perrno): Export.
16924         * sunrpc/svc_run.c (svc_run): Likewise.
16925         * sunrpc/svc_udp.c (svcudp_create): Likewise.
16927 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
16929         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16930         problem in reallocation in last patch.
16932 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
16934         * sunrpc/Makefile: Move inclusion of Rules.
16936 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
16938         * nss/nss_files/files-initgroups.c: New file.
16939         * nss/Makefile (libnss_files-routines): Add files-initgroups.
16940         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16941         _nss_files_initgroups_dyn.
16943 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
16945         * elf/elf.h (R_ARM_IRELATIVE): Define.
16947 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
16949         * po/ru.po: Update from translation team.
16951 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
16953         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16954         dependencies.
16956 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
16958         [BZ #12653]
16959         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16960         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16961         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16962         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16963         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16965 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
16967         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16968         differing bytes.
16969         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16970         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16971         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16973 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
16975         [BZ #12420]
16976         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16977         storing it.
16978         * stdlib/bug-getcontext.c: New file.
16979         * stdlib/Makefile: Add rules to build and run bug-getcontext.
16981 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16983         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16984         instructions into .machine "z9-109".
16985         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16986         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16988 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16990         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16991         between environment variables and auxiliary vector.
16993 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
16995         * Makefile: Add rules to build linkobj/libc.so.
16996         * include/libc-symbols.h: Define libc_hidden_nolink.
16997         * include/rpc/auth.h: Mark functions which are to be hidden.
16998         * include/rpc/auth_des.h: Likewise.
16999         * include/rpc/auth_unix.h: Likewise.
17000         * include/rpc/clnt.h: Likewise.
17001         * include/rpc/des_crypt.h: Likewise.
17002         * include/rpc/key_prot.h: Likewise.
17003         * include/rpc/pmap_clnt.h: Likewise.
17004         * include/rpc/pmap_prot.h: Likewise.
17005         * include/rpc/pmap_rmt.h: Likewise.
17006         * include/rpc/rpc_msg.h: Likewise.
17007         * include/rpc/svc.h: Likewise.
17008         * include/rpc/svc_auth.h: Likewise.
17009         * include/rpc/xdr.h: Likewise.
17010         * nis/Makefile: Link all DSOs against linkobj/libc.so.
17011         * nss/Makefile: Likewise.
17012         * sunrpc/Makefile: Don't install headers.  Build library with normal
17013         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
17014         * sunrpc/auth_des.c: Hide exported symbols by default, export some
17015         for the compat linking library.  Remove use of INTDEF/INTUSE.
17016         * sunrpc/auth_none.c: Likewise.
17017         * sunrpc/auth_unix.c: Likewise.
17018         * sunrpc/authdes_prot.c: Likewise.
17019         * sunrpc/authuxprot.c: Likewise.
17020         * sunrpc/clnt_gen.c: Likewise.
17021         * sunrpc/clnt_perr.c: Likewise.
17022         * sunrpc/clnt_raw.c: Likewise.
17023         * sunrpc/clnt_simp.c: Likewise.
17024         * sunrpc/clnt_tcp.c: Likewise.
17025         * sunrpc/clnt_udp.c: Likewise.
17026         * sunrpc/clnt_unix.c: Likewise.
17027         * sunrpc/des_crypt.c: Likewise.
17028         * sunrpc/des_soft.c: Likewise.
17029         * sunrpc/get_myaddr.c: Likewise.
17030         * sunrpc/key_call.c: Likewise.
17031         * sunrpc/key_prot.c: Likewise.
17032         * sunrpc/netname.c: Likewise.
17033         * sunrpc/pm_getmaps.c: Likewise.
17034         * sunrpc/pm_getport.c: Likewise.
17035         * sunrpc/pmap_clnt.c: Likewise.
17036         * sunrpc/pmap_prot.c: Likewise.
17037         * sunrpc/pmap_prot2.c: Likewise.
17038         * sunrpc/pmap_rmt.c: Likewise.
17039         * sunrpc/publickey.c: Likewise.
17040         * sunrpc/rpc_cmsg.c: Likewise.
17041         * sunrpc/rpc_common.c: Likewise.
17042         * sunrpc/rpc_dtable.c: Likewise.
17043         * sunrpc/rpc_prot.c: Likewise.
17044         * sunrpc/rpc_thread.c: Likewise.
17045         * sunrpc/rtime.c: Likewise.
17046         * sunrpc/svc.c: Likewise.
17047         * sunrpc/svc_auth.c: Likewise.
17048         * sunrpc/svc_authux.c: Likewise.
17049         * sunrpc/svc_raw.c: Likewise.
17050         * sunrpc/svc_run.c: Likewise.
17051         * sunrpc/svc_simple.c: Likewise.
17052         * sunrpc/svc_tcp.c: Likewise.
17053         * sunrpc/svc_udp.c: Likewise.
17054         * sunrpc/svc_unix.c: Likewise.
17055         * sunrpc/svcauth_des.c: Likewise.
17056         * sunrpc/xcrypt.c: Likewise.
17057         * sunrpc/xdr.c: Likewise.
17058         * sunrpc/xdr_array.c: Likewise.
17059         * sunrpc/xdr_float.c: Likewise.
17060         * sunrpc/xdr_intXX_t.c: Likewise.
17061         * sunrpc/xdr_mem.c: Likewise.
17062         * sunrpc/xdr_rec.c: Likewise.
17063         * sunrpc/xdr_ref.c: Likewise.
17064         * sunrpc/xdr_sizeof.c: Likewise.
17065         * sunrpc/xdr_stdio.c: Likewise.
17067 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
17069         [BZ #12650]
17070         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17071         * sysdeps/ia64/dl-tls.h: Likewise.
17072         * sysdeps/powerpc/dl-tls.h: Likewise.
17073         * sysdeps/s390/dl-tls.h: Likewise.
17074         * sysdeps/sh/dl-tls.h: Likewise.
17075         * sysdeps/sparc/dl-tls.h: Likewise.
17076         * sysdeps/x86_64/dl-tls.h: Likewise.
17077         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17079 2011-03-14  Andreas Schwab  <schwab@redhat.com>
17081         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17082         rpath element also skip the following colon.
17083         (expand_dynamic_string_token): Add is_path parameter and pass
17084         down to DL_DST_REQUIRED and _dl_dst_substitute.
17085         (decompose_rpath): Call expand_dynamic_string_token with
17086         non-zero is_path.  Ignore empty rpaths.
17087         (_dl_map_object_from_fd): Call expand_dynamic_string_token
17088         with zero is_path.
17090 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
17092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17093         Make cancelable.
17095 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
17097         [BZ #12655]
17098         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17099         Patch by Filipe David Manana <fdmanana@apache.org>.
17101 2011-04-07  Andreas Schwab  <schwab@redhat.com>
17103         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17104         Maintain aligned stack.
17105         (CHECK_RSP): Remove unused macro.
17107 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
17109         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17110         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17112 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
17114         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17116         * include/features.h: Mention __USE_XOPEN2K8 in comment.
17118 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
17120         [BZ #12518]
17121         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17122         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17123         * sysdeps/x86_64/memmove.c: New file.
17124         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17125         (memcpy): Renamed to ...
17126         (__new_memcpy): This.
17127         (memcpy): Provide GLIBC_2_14 memcpy.
17128         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17129         (memcpy): Provide GLIBC_2_2_5 memcpy.
17131 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17133         [BZ #12631]
17134         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17136 2011-03-30  Andreas Schwab  <schwab@redhat.com>
17138         * misc/syncfs.c: New file.
17139         * misc/Makefile (routines): Add syncfs.
17140         * posix/unistd.h: Declare syncfs.
17141         * sysdeps/unix/syscalls.list: Add syncfs.
17143 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17145         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17146         open_by_handle_at.
17147         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17148         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17149         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17150         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17151         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17152         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17153         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17155 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17157         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17158         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17159         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17160         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17161         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17162         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17163         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17165         * io/Makefile: Compile fallocate.c, fallocate64.c, and
17166         sync_file_range.c with -fexceptions.
17167         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17168         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17169         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17170         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17171         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17172         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17173         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17174         sync_file_range as cancellation point
17175         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
17176         now a wrapper around __call_sync_file_range with cancellation handling.
17177         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17178         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
17179         function name to __call_sync_file_range.
17180         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17181         Add call_sync_file_range.
17183 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17185         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17186         bits/timex.h.
17188 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17190         * iconv/iconv.h: Fix typo in comment.
17191         * io/fcntl.h: Likewise.
17192         * libio/stdio.h: Likewise.
17193         * posix/spawn.h: Likewise.
17194         * posix/unistd.h: Likewise.
17195         * stdlib/stdlib.h: Likewise.
17196         * time/time.h: Likewise.
17197         * wcsmbs/wchar.h: Likewise.
17199         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17200         open_by_handle): Add.
17201         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17202         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
17203         Augment a few comments.
17204         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17205         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17206         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17207         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17208         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17209         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17210         open_by_handle.
17212         * io/fcntl.h (AT_EMPTY_PATH): Define.
17214 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
17216         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17217         * sysdeps/unix/sysv/linux/bits/time.h: New file.
17218         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17219         to...
17220         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
17221         * Versions.def: Add GLIBC_2.14.
17222         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17223         Export.
17225 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
17227         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17228         round counter.
17229         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17231 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17233         [BZ #12597]
17234         * string/test-strncmp.c (do_page_test): New function.
17235         (check2): Likewise.
17236         (test_main): Call check2.
17237         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17239 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
17241         [BZ #12587]
17242         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17243         Handle cache information in CPU leaf 4.
17244         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17246 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
17248         [BZ #12583]
17249         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17250         character representation.
17251         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17253 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
17255         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17256         END(__isnan) to END(__isnanf) to match function entry point/label
17257         EALIGN(__isnanf,...).
17259 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
17261         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17263 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
17265         [BZ #12510]
17266         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17267         copy from the symbol referenced in the relocation to initialize the
17268         used variable.
17269         Patch by Piotr Bury <pbury@goahead.com>.
17270         * elf/Makefile: Add rules to build and tst-unique3.
17271         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17272         * elf/tst-unique3.cc: New file.
17273         * elf/tst-unique3.h: New file.
17274         * elf/tst-unique3lib.cc: New file.
17275         * elf/tst-unique3lib2.cc: New file.
17277         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17279 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
17281         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17282         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
17283         to _start.
17285 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
17287         * elf/dl-load.c (_dl_map_object): If we are looking for the first
17288         to-be-loaded object along a path to loader is ld.so.
17290 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17291             Ulrich Drepper  <drepper@gmail.com>
17293         * sysdeps/x86_64/memset.S: After aligning destination, code
17294         branches to different locations depending on the value of
17295         misalignment, when multiarch is enabled. Fix this.
17297 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17299         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17300         Set _x86_64_preferred_memory_instruction for AMD processsors.
17301         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17302         Set bit_Prefer_SSE_for_memop for AMD processors.
17304 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
17306         * libio/fmemopen.c (fmemopen): Optimize a bit.
17308 2011-03-03  Andreas Schwab  <schwab@redhat.com>
17310         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17312 2011-03-03  Roland McGrath  <roland@redhat.com>
17314         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17316 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
17318         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17319         __bzero_ultra1 instead of __memset_ultra1.
17321 2011-02-23  Andreas Schwab  <schwab@redhat.com>
17322             Ulrich Drepper  <drepper@gmail.com>
17324         [BZ #12509]
17325         * include/link.h (struct link_map): Add l_orig_initfini.
17326         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17327         returning unsuccessfully.
17328         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17329         close of a file loaded at startup, restore the original l_initfini
17330         list.
17331         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17332         list, store the pointer.
17333         * elf/Makefile ($(objpfx)noload-mem): New rule.
17334         (noload-ENV): Define.
17335         (tests): Add $(objpfx)noload-mem.
17336         * elf/noload.c: Include <memcheck.h>.
17337         (main): Call mtrace.  Close all opened handles.
17339 2011-02-17  Andreas Schwab  <schwab@redhat.com>
17341         [BZ #12454]
17342         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17343         dependencies are missing.
17345 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17347         Fix __if_freereq crash: Unlike the generic version which uses free,
17348         Hurd needs munmap.
17349         * sysdeps/mach/hurd/ifreq.h: New file.
17351 2011-01-27  Petr Baudis  <pasky@suse.cz>
17352             Ulrich Drepper  <drepper@gmail.com>
17354         [BZ 12445]#
17355         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17356         to extend_alloca().
17357         * stdio-common/bug23.c: New file.
17358         * stdio-common/Makefile (tests): Add bug23.
17360 2010-09-28  Andreas Schwab  <schwab@redhat.com>
17361             Ulrich Drepper  <drepper@gmail.com>
17363         [BZ #12489]
17364         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17365         before performing relro protection.  At old place add assertion
17366         to make sure nothing changed.
17368 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
17369             Glauber de Oliveira Costa  <glommer@gmail.com>
17371         * elf/elf.h: Add new ARM TLS relocs.
17373 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
17375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17376         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17377         cast from r3.
17378         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
17379         'tests' variable.
17380         * sysdeps/wordsize-64/tst-writev.c: New file.
17382 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
17384         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17385         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17386         insns in _dl_start to prevent a TOC reference before relocs are
17387         resolved.
17389 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
17391         [BZ #12469]
17392         * Makeconfig: Remove RANLIB definition.
17393         * Makerules: Don't use RANLIB.
17394         * aclocal.m4: Remove ranlib test.
17395         * configure.in: No need to check for ranlib.
17396         * elf/rtld-Rules: Don't use RANLIB.
17398 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17400         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17401         protection macro.
17402         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17403         inclusion protection macro.
17405         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17406         SIGRTMIN and SIGRTMAX and print information in that case only when
17407         SIGRTMIN is defined.
17409 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
17411         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17412         arginfo fn returning -1.
17414         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17415         and thousands string is zero terminated.
17417 2011-02-03  Andreas Schwab  <schwab@redhat.com>
17419         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17420         sysdeps/unix/sysv/linux/bits/socket.h.
17422 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17424         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17425         (__CPU_COUNT): Remove old macros.
17426         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17427         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17428         (__CPU_ALLOC, __CPU_FREE): Add macros.
17429         (__sched_cpualloc, __sched_cpufree): Add declarations.
17431 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
17433         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17434         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17435         * nscd/aicache.c (addhstaiX): Return timeout of added value.
17436         (readdhstai): Return value of addhstaiX call.
17437         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17438         (addgrbyX): Return value returned by cache_addgr.
17439         (readdgrbyname): Return value returned by addgrbyX.
17440         (readdgrbygid): Likewise.
17441         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17442         (addpwbyX): Return value returned by cache_addpw.
17443         (readdpwbyname): Return value returned by addhstbyX.
17444         (readdpwbyuid): Likewise.
17445         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17446         (addservbyX): Return value returned by cache_addserv.
17447         (readdservbyname): Return value returned by addservbyX:
17448         (readdservbyport): Likewise.
17449         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17450         (addhstbyX): Return value returned by cache_addhst.
17451         (readdhstbyname): Return value returned by addhstbyX.
17452         (readdhstbyaddr): Likewise.
17453         (readdhstbynamev6): Likewise.
17454         (readdhstbyaddrv6): Likewise.
17455         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17456         (readdinitgroups): Return value returned by addinitgroupsX.
17457         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17458         (prune_cache): Keep track of timeout value of re-added entries.
17459         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17460         * nscd/nscd.h: Adjust prototypes of readd* functions.
17462 2011-02-04  Roland McGrath  <roland@redhat.com>
17464         * nis/nis_server.c (nis_servstate): Use the right name for 0.
17465         (nis_stats): Likewise.
17466         * nis/nis_modify.c (nis_modify): Likewise.
17467         * nis/nis_remove.c (nis_remove): Likewise.
17468         * nis/nis_add.c (nis_add): Likewise.
17470         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17472         * posix/fnmatch_loop.c: Add some consts.
17474         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17476 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
17478         [BZ #12460]
17479         * config.make.in (config-cflags-novzeroupper): Define.
17480         * configure.in: Substitute libc_cv_cc_novzeroupper.
17481         * elf/Makefile (AVX-CFLAGS): Define.
17482         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17483         (CFLAGS-tst-auditmod4a.c): Likewise.
17484         (CFLAGS-tst-auditmod4b.c): Likewise.
17485         (CFLAGS-tst-auditmod6b.c): Likewise.
17486         (CFLAGS-tst-auditmod6c.c): Likewise.
17487         (CFLAGS-tst-auditmod7b.c): Likewise.
17488         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17490 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
17492         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17493         function to the callback.
17494         Patch partly by Jiri Olsa <jolsa@redhat.com>.
17496 2011-02-02  Andreas Schwab  <schwab@redhat.com>
17498         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17499         of errno.
17501 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
17503         [BZ #11724]
17504         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17505         of constructors.
17506         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17507         of destructors.
17508         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17510         [BZ #11724]
17511         * elf/Makefile: Add rules to build and run new test.
17512         * elf/tst-initorder.c: New file.
17513         * elf/tst-initorder.exp: New file.
17514         * elf/tst-initordera1.c: New file.
17515         * elf/tst-initordera2.c: New file.
17516         * elf/tst-initordera3.c: New file.
17517         * elf/tst-initordera4.c: New file.
17518         * elf/tst-initorderb1.c: New file.
17519         * elf/tst-initorderb2.c: New file.
17520         * elf/tst-order-a1.c: New file.
17521         * elf/tst-order-a2.c: New file.
17522         * elf/tst-order-a3.c: New file.
17523         * elf/tst-order-a4.c: New file.
17524         * elf/tst-order-b1.c: New file.
17525         * elf/tst-order-b2.c: New file.
17526         * elf/tst-order-main.c: New file.
17527         New test case by George Gensure <werkt0@gmail.com>.
17529 2010-10-01  Andreas Schwab  <schwab@redhat.com>
17531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17532         decoding ACE if AI_CANONIDN.
17534 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
17536         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17538 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
17540         * version.h (RELEASE): Bump for 2.13 release.
17541         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17543         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17545         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17546         MADV_NOHUGEPAGE.
17547         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17548         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17549         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17550         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17551         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17552         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17554         * posix/getconf.c: Update copyright year.
17555         * catgets/gencat.c: Likewise.
17556         * csu/version.c: Likewise.
17557         * debug/catchsegv.sh: Likewise.
17558         * debug/xtrace.sh: Likewise.
17559         * elf/ldconfig.c: Likewise.
17560         * elf/ldd.bash.in: Likewise.
17561         * elf/sprof.c (print_version): Likewise.
17562         * iconv/iconv_prog.c: Likewise.
17563         * iconv/iconvconfig.c: Likewise.
17564         * locale/programs/locale.c: Likewise.
17565         * locale/programs/localedef.c: Likewise.
17566         * malloc/memusage.sh: Likewise.
17567         * malloc/mtrace.pl: Likewise.
17568         * nscd/nscd.c (print_version): Likewise.
17569         * nss/getent.c: Likewise.
17571         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17572         PF_CAIF, and PF_ALG.
17573         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17575 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
17577         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17578         (modules-names): Use them.
17579         (ifunc-test-modules, ifunc-pie-tests): Define.
17580         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17581         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17582         (test-extras): Likewise.
17583         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17584         $(compile-command.c).
17585         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17586         (all-built-dso): Define.
17587         (check-textrel.out, check-execstack.out): Depend on it.
17589         * configure.in: Don't override --enable-multi-arch.
17591 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
17593         [BZ #6812]
17594         * nscd/hstcache.c (tryagain): Define.
17595         (cache_addhst): Return tryagain not notfound for temporary errors.
17596         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17597         failed.
17599 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
17601         [BZ #10563]
17602         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17603         to make the syscall.
17604         * sysdeps/unix/sysv/linux/setgroups.c: New file.
17606         [BZ #12378]
17607         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17608         and fall back to matching as normal character if the string ends before
17609         the matching ']' is found.  This is what POSIX requires.
17610         * posix/testfnm.c: Adjust test result.
17611         * posix/globtest.sh: Adjust test result.  Add new test.
17612         * posix/tst-fnmatch.input: Likewise.
17613         * posix/tst-fnmatch2.c: Add new test.
17615 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
17617         * elf/Makefile (check-execstack): Revert last change.  Depend on
17618         check-execstack.h.
17619         (check-execstack.h): New target.
17620         (generated): Add check-execstack.h.
17621         * elf/check-execstack.c: Include "check-execstack.h".
17622         (main): Revert last change.
17623         (handle_file): Return zero if GNU_STACK is absent and
17624         DEFAULT_STACK_PERMS doesn't include PF_X.
17626 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
17628         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17629         in child fails because the descriptor is already closed.
17630         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17631         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17632         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17634         [BZ #12397]
17635         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17636         syscall.
17638         [BZ #10484]
17639         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17640         temporary buffer used to handle multi lookups locally.
17641         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17643 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
17645         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17646         loader is ld.so.
17648 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
17650         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17651         alignment for SSE2.
17653 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
17655         [BZ #12394]
17656         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17657         characters.  When rounding increased number of integer digits recompute
17658         number of groups.
17659         * stdio-common/tst-grouping.c: New file.
17660         * stdio-common/Makefile: Add rules to build and run tst-grouping.
17662 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
17664         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17665         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
17667         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17668         void.
17669         * bits/select.h: Likewise.
17671 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
17673         * po/ja.po: Update from translation team.
17675 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
17677         [BZ #11155]
17678         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17679         implementation just like for lxstat, fxstatat, et al.
17681 2010-12-27  Jim Meyering  <meyering@redhat.com>
17683         [BZ #12348]
17684         * posix/regexec.c (build_trtable): Return failure indication upon
17685         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
17687 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
17689         [BZ #12201]
17690         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17691         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17692         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17693         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17695         [BZ #12207]
17696         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17698         [BZ #12204]
17699         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17700         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17702 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17704         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17705         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17706         script has SORT_BY_INIT_PRIORITY.
17707         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17708         NO_CTORS_DTORS_SECTIONS is defined.
17709         * elf/soinit.c: Likewise.
17710         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17711         NO_CTORS_DTORS_SECTIONS is defined.
17712         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17713         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17714         * sysdeps/sh/init-first.c: Likewise.
17715         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17717 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
17719         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17720         always use the slow path.
17722 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
17724         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17725         similar rule which adds the sysdep directories to the header search in
17726         order to pick up the correct platform stackinfo.h.
17727         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17728         perform test if it is, otherwise return successfully without testing.
17729         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17730         DEFAULT_STACK_PERMS define in stackinfo.h.
17731         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17732         defined in stackinfo.h.
17733         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17734         DEFAULT_STACK_PERMS defined in stackinfo.h.
17735         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17736         * sysdeps/ia64/stackinfo.h: Likewise.
17737         * sysdeps/s390/stackinfo.h: Likewise.
17738         * sysdeps/sh/stackinfo.h: Likewise.
17739         * sysdeps/sparc/stackinfo.h: Likewise.
17740         * sysdeps/x86_64/stackinfo.h: Likewise.
17741         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17742         PF_X for powerpc64.  Retain PF_X for powerpc32.
17744 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
17746         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17747         accurately.
17748         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17749         GETDENTS_64BIT_ALIGNED.
17751 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
17753         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17755 2010-12-10  Andreas Schwab  <schwab@redhat.com>
17757         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17758         _GNU_SOURCE.
17760         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17761         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17762         Remove __restrict.
17763         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17764         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17766 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
17768         [BZ #11655]
17769         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17770         are initialized.
17772 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
17774         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17776 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
17778         * po/it.po: Update from translation team.
17780 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
17782         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17783         unused codes.
17785 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
17787         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17789 2010-11-24  Andreas Schwab  <schwab@redhat.com>
17791         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17792         specially.
17793         (gaih_getanswer_slice): Likewise.
17795 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
17797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17799 2010-05-31  Petr Baudis  <pasky@suse.cz>
17801         [BZ #11149]
17802         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17803         silently even in the chroot mode.
17805 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
17807         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17808         last patch a bit.  Pretty printing
17810 2010-05-31  Petr Baudis <pasky@suse.cz>
17812         [BZ #10085]
17813         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17814         initialization of skip_initgroups_dyn.
17816 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
17818         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17819         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17821 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
17823         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17825 2010-11-11  Andreas Schwab  <schwab@redhat.com>
17827         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17828         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17829         (tst-fnmatch-ENV): Set MALLOC_TRACE.
17830         ($(objpfx)tst-fnmatch-mem): New rule.
17831         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17832         * posix/tst-fnmatch.c (main): Call mtrace.
17834 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
17836         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17837         Support Intel processor model 6 and model 0x2c.
17839 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
17841         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17842           signed comparison.
17844 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
17846         [BZ #12205]
17847         * string/test-strncasecmp.c (check_result): New function.
17848         (do_one_test): Use it.
17849         (check1): New function.
17850         (test_main): Use it.
17851         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17852         Support strcasecmp and strncasecmp.
17854 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
17856         [BZ #12194]
17857         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17858         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17860 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17862         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17863         IFUNC support.
17864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17865         memset-x86-64.
17866         * sysdeps/x86_64/multiarch/bzero.S: New file.
17867         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17868         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17869         * sysdeps/x86_64/multiarch/memset.S: New file.
17870         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17872         Set bit_Prefer_SSE_for_memop for Intel processors.
17873         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17874         Define.
17875         (index_Prefer_SSE_for_memop): Define.
17876         (HAS_PREFER_SSE_FOR_MEMOP): Define.
17878 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
17880         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17881         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17883 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
17885         [BZ #12191]
17886         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17887         (__x86_64_raw_data_cache_size_half): Likewise.
17888         (__x86_64_raw_shared_cache_size): Likewise.
17889         (__x86_64_raw_shared_cache_size_half): Likewise.
17891         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17892         (__x86_64_raw_data_cache_size_half): Likewise.
17893         (__x86_64_raw_shared_cache_size): Likewise.
17894         (__x86_64_raw_shared_cache_size_half): Likewise.
17895         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17896         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17897         and __x86_64_raw_shared_cache_size_half.  Round
17898         __x86_64_data_cache_size_half, __x86_64_data_cache_size
17899         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17900         to multiple of 256 bytes.
17902 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
17904         [BZ #12167]
17905         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17906         of inacessible symlinks.  Verify result of symlink before returning it.
17907         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17908         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17910 2010-10-28  Erich Ritz  <erichritz@gmail.com>
17912         * math/math.h (isinf): Fix typo in comment.
17914 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
17916         * po/da.po: Update from translation team.
17918 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
17920         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17921         is added to the list.
17923 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17924             Ulrich Drepper  <drepper@gmail.com>
17926         * elf/dl-object.c (_dl_new_object): Don't append the new object to
17927         the global list here.  Move code to...
17928         (_dl_add_to_namespace_list): ...here.  New function.
17929         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17930         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17931         * elf/dl-load.c (lose): Don't remove the element from the list.
17932         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17933         (_dl_map_object): Likewise.
17935 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
17937         [BZ #12159]
17938         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17939         into all bytes of SSE register.
17940         Patch by Richard Li <richardpku@gmail.com>.
17942 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
17944         [BZ #12140]
17945         * malloc/malloc.c (_int_free): Fill correct number of bytes when
17946         perturbing.
17948 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
17950         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17951         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17952         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17953         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17955         submachine.
17956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17958 2010-10-22  Andreas Schwab  <schwab@redhat.com>
17960         * include/dlfcn.h (__RTLD_SECURE): Define.
17961         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
17962         mode & __RTLD_SECURE instead.
17963         (open_path): Rename preloaded parameter to secure.
17964         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17965         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17966         * elf/dl-deps.c (openaux): Likewise.
17967         * elf/rtld.c (struct map_args): Remove is_preloaded.
17968         (map_doit): Don't use it.
17969         (dl_main): Likewise.
17970         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17971         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17973 2010-09-09  Andreas Schwab  <schwab@redhat.com>
17975         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17976         (sysd-rules-targets): Remove duplicates.
17977         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17978         rtld-%.$o dependency.
17980 2010-10-18  Andreas Schwab  <schwab@redhat.com>
17982         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17983         _dl_map_object do it.
17985 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
17987         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17988         fast fma builtins, define the macros in the C99 standard.
17989         (FP_FAST_FMAF): Likewise.
17990         (FP_FAST_FMAL): Likewise.
17991         * sysdeps/x86_64/bits/mathdef.h: Likewise.
17993         * bits/mathdef.h: Update copyright year.
17994         * sysdeps/powerpc/bits/mathdef.h: Likewise.
17996 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
17998         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17999         builtins, define the macros in the C99 standard.
18000         (FP_FAST_FMAF): Likewise.
18001         (FP_FAST_FMAL): Likewise.
18002         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18003         multiply/add.
18004         (FP_FAST_FMAF): Likewise.
18006 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
18008         [BZ #3268]
18009         * math/libm-test.inc (fma_test): Some new testcases.
18010         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18011         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18012         y and infinite z.  Do multiplication by C already in long double.
18013         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18014         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18015         y and infinite z.  Do bitwise or of inexact bit into u.d.
18016         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18017         * sysdeps/i386/fpu/s_fmaf.S: Removed.
18018         * sysdeps/i386/fpu/s_fma.S: Removed.
18019         * sysdeps/i386/fpu/s_fmal.S: Removed.
18021 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
18023         [BZ #3268]
18024         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18025         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18026         computation is not scheduled after fetestexcept.  Fix value
18027         of minimum denormal long double.
18029 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
18031         [BZ #3268]
18032         * math/libm-test.inc (fma_test): Add some more tests.
18033         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18034         correctly.
18036 2010-10-15  Andreas Schwab  <schwab@redhat.com>
18038         * scripts/data/localplt-s390-linux-gnu.data: New file.
18039         * scripts/data/localplt-s390x-linux-gnu.data: New file.
18041 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
18043         [BZ #3268]
18044         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18045         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18046         instead of dbl-64.
18047         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18048         inlines.
18049         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18051         if one of x and y is very large and the other is subnormal.
18052         * sysdeps/s390/fpu/s_fmaf.c: New file.
18053         * sysdeps/s390/fpu/s_fma.c: New file.
18054         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18055         * sysdeps/powerpc/fpu/s_fma.S: New file.
18056         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18057         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18058         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18060 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
18062         [BZ #3268]
18063         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18064         fma tests.
18065         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18066         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18067         * sysdeps/i386/i686/multiarch/s_fma.c: Include
18068         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18069         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18070         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18071         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18073 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
18075         [BZ #12078]
18076         * posix/regcomp.c (parse_branch): One more memory leak plugged.
18077         * posix/bug-regex31.input: Add test case.
18079 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18081         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18082         * posix/bug-regex31.input: New file.
18084         [BZ #12078]
18085         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18086         (parse_sub_exp): Fix last change, use postorder.
18088         * posix/bug-regex31.c: New file.
18089         * posix/Makefile: Add rules to build and run bug-regex31.
18091         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18093         [BZ #12078]
18094         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18096         [BZ #12108]
18097         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18098         to have entries in sys_siglist.
18100         [BZ #12093]
18101         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18102         be NULL.
18104 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
18106         [BZ #3268]
18107         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18108         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18109         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18110         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18111         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18112         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18113         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18114         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18115         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18116         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18117         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18118         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18119         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18120         * math/ftestexcept.c (fetestexcept): Likewise.
18121         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18122         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18123         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18124         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18125         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18126         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18127         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18129 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18131         [BZ #12107]
18132         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18133         newline.
18135 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
18137         * string/bug-strstr1.c: New file.
18138         * string/Makefile: Add rules to build and run bug-strstr1.
18140 2010-10-05  Eric Blake  <eblake@redhat.com>
18142         [BZ #12092]
18143         * string/str-two-way.h (two_way_long_needle): Always clear memory
18144         when skipping input due to the shift table.
18146 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
18148         [BZ #12005]
18149         * malloc/mcheck.c: Handle large requests.
18151         [BZ #12077]
18152         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18153         for strncmp and strncasecmp.
18154         * string/stratcliff.c: Add tests for strcmp and strncmp.
18155         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18157 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18159         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18160         __set_fpscr.
18162 2010-09-30  Andreas Jaeger  <aj@suse.de>
18164         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18165         (CGROUP_SUPER_MAGIC): Define.
18166         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18167         Handle btrfs and cgroup file systems.
18168         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18169         Likewise.
18171 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
18173         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18174         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18176 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18178         [BZ #12067]
18179         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18180         trying to locate the ELF header.
18182 2010-09-27  Andreas Schwab  <schwab@redhat.com>
18184         [BZ #11611]
18185         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18186         Mask out sign-bit copies when constructing f_fsid.
18188 2010-09-24  Petr Baudis <pasky@suse.cz>
18190         * debug/stack_chk_fail_local.c: Add missing licence exception.
18191         * debug/warning-nop.c: Likewise.
18193 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
18195         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18196         implementing getdents64 using getdents syscall, set d_type if
18197         __ASSUME_GETDENTS32_D_TYPE.
18199 2010-09-16  Andreas Schwab  <schwab@redhat.com>
18201         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18202         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18204 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
18206         [BZ #12037]
18207         * posix/unistd.h: Undo change of feature selection for ftruncate from
18208         2010-01-11.
18210 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
18212         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18213         detection.
18215 2010-09-20  Andreas Schwab  <schwab@redhat.com>
18217         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18218         fanotify_mark.
18219         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18221 2010-09-14  Andreas Schwab  <schwab@redhat.com>
18223         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18224         variables after CHECK_SP call.
18225         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18227 2010-09-13  Andreas Schwab  <schwab@redhat.com>
18228             Ulrich Drepper  <drepper@redhat.com>
18230         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18231         re-relocationg ld.so.
18232         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18233         _dl_init_paths call.
18234         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
18235         here anymore.
18237 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
18239         * resolv/res_init.c (__res_vinit): Count the default server we added.
18241 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
18242             Ulrich Drepper  <drepper@redhat.com>
18244         [BZ #11968]
18245         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18246         (____longjmp_chk): Use %ebx for saving value across system call.
18247         Add unwind info.
18249 2010-09-06  Andreas Schwab  <schwab@redhat.com>
18251         * manual/Makefile: Don't mix pattern rules with normal rules.
18253 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18255         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18256         operation.
18257         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18258         * libio/iofopncook.c (_IO_cookie_init): Likewise.
18259         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18260         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18262         Likewise.
18264 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
18266         [BZ #11979]
18267         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18268         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18270 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
18272         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18273         * sysdeps/x86_64/addmul_1.S: Likewise.
18274         * sysdeps/x86_64/lshift.S: Likewise.
18275         * sysdeps/x86_64/mul_1.S: Likewise.
18276         * sysdeps/x86_64/rshift.S: Likewise.
18277         * sysdeps/x86_64/sub_n.S: Likewise.
18278         * sysdeps/x86_64/submul_1.S: Likewise.
18280 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18282         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18283         Define __sched_param instead of SCHED_* and sched_param when
18284         <bits/sched.h> is included with __need_schedparam defined.
18285         * bits/sched.h [__need_schedparam]
18286         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18287         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18288         (__defined_schedparam): Define to 1.
18289         (__sched_param): New structure, identical to sched_param.
18290         (__need_schedparam): Undefine.
18292 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
18294         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18295         (epoll_create1): Declare.
18297         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18299 2010-08-31  Andreas Schwab  <schwab@redhat.com>
18301         [BZ #7066]
18302         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18303         shifting retval into place.
18305 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
18307         * nis/rpcsvc/nis.h: Update copyright notice.
18308         * nis/rpcsvc/nis.x: Likewise.
18309         * nis/rpcsvc/nis_callback.h: Likewise.
18310         * nis/rpcsvc/nis_callback.x: Likewise.
18311         * nis/rpcsvc/nis_object.x: Likewise.
18312         * nis/rpcsvc/nis_tags.h: Likewise.
18313         * nis/rpcsvc/yp.h: Likewise.
18314         * nis/rpcsvc/yp.x: Likewise.
18315         * nis/rpcsvc/ypupd.h: Likewise.
18316         * nis/yp_xdr.c: Likewise.
18317         * nis/ypupdate_xdr.c: Likewise.
18319         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
18320         mainly the body of pmap_getport.  Add parameters to specify timeouts.
18321         (pmap_getport): Use __libc_rpc_getport.
18322         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18323         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18324         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18326 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
18328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18329         fanotify_mark.
18331 2010-08-27  Roland McGrath  <roland@redhat.com>
18333         * sysdeps/i386/i686/multiarch/Makefile
18334         (CFLAGS-varshift.c): New variable.
18336 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
18338         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18339         * sysdeps/i386/i686/multiarch/varshift.c: New file.
18341         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18343         * sysdeps/x86_64/strlen.S: Minimal code improvement.
18345 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18347         * sysdeps/x86_64/strlen.S: Unroll the loop.
18348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18349         strlen-sse2 strlen-sse2-bsf.
18350         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18351         __strlen_no_bsf if bit_Slow_BSF is set.
18352         (__strlen_sse42): Removed.
18353         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18354         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18356 2010-08-25  Roland McGrath  <roland@redhat.com>
18358         * sysdeps/x86_64/multiarch/varshift.S: File removed.
18359         * sysdeps/x86_64/multiarch/varshift.c: New file.
18360         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18361         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18362         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18363         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18365 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18367         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18368         strlen-sse2 strlen-sse2-bsf.
18369         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18370         __strlen_sse2_bsf if bit_Slow_BSF is unset.
18371         (__strlen_sse2): Removed.
18372         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18373         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18375         bit_Slow_BSF for Atom.
18376         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18377         (index_Slow_BSF): Define.
18378         (HAS_SLOW_BSF): Define.
18380 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
18382         [BZ #10851]
18383         * resolv/res_init.c (__res_vinit): When no server address at all
18384         is given default to loopback.
18386 2010-08-24  Roland McGrath  <roland@redhat.com>
18388         * configure.in: Remove config-name.h generation.
18389         * configure: Regenerated.
18390         * config-name.in: File removed.
18391         * scripts/config-uname.sh: New file.
18392         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18393         ($(objdir)config-name.h): New target.
18395         * sunrpc/rpc_parse.h: Avoid nested comment.
18397 2010-08-24  Richard Henderson  <rth@redhat.com>
18398             Ulrich Drepper  <drepper@redhat.com>
18399             H.J. Lu  <hongjiu.lu@intel.com>
18401         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18403         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18404         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
18405         _mm_alignr_epi8 with _mm_loadu_si128.
18406         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18407         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18408         (__m128i_shift_right): Removed.
18409         * sysdeps/i386/i686/multiarch/varshift.h: New file.
18410         * sysdeps/i386/i686/multiarch/varshift.S: New file.
18411         * sysdeps/x86_64/multiarch/varshift.h: New file.
18412         * sysdeps/x86_64/multiarch/varshift.S: New file.
18414 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
18416         * configure.in: Move assembler checks to before sysdep dir checking.
18418 2010-08-20  Petr Baudis  <pasky@suse.cz>
18420         * LICENSES: Sync the sunrpc license.
18422 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
18424         * sunrpc/auth_des.c: Update copyright notice once again.
18425         * sunrpc/auth_none.c: Likewise.
18426         * sunrpc/auth_unix.c: Likewise.
18427         * sunrpc/authdes_prot.c: Likewise.
18428         * sunrpc/authuxprot.c: Likewise.
18429         * sunrpc/bindrsvprt.c: Likewise.
18430         * sunrpc/clnt_gen.c: Likewise.
18431         * sunrpc/clnt_perr.c: Likewise.
18432         * sunrpc/clnt_raw.c: Likewise.
18433         * sunrpc/clnt_simp.c: Likewise.
18434         * sunrpc/clnt_tcp.c: Likewise.
18435         * sunrpc/clnt_udp.c: Likewise.
18436         * sunrpc/clnt_unix.c: Likewise.
18437         * sunrpc/des_crypt.c: Likewise.
18438         * sunrpc/des_soft.c: Likewise.
18439         * sunrpc/get_myaddr.c: Likewise.
18440         * sunrpc/getrpcport.c: Likewise.
18441         * sunrpc/key_call.c: Likewise.
18442         * sunrpc/key_prot.c: Likewise.
18443         * sunrpc/openchild.c: Likewise.
18444         * sunrpc/pm_getmaps.c: Likewise.
18445         * sunrpc/pm_getport.c: Likewise.
18446         * sunrpc/pmap_clnt.c: Likewise.
18447         * sunrpc/pmap_prot.c: Likewise.
18448         * sunrpc/pmap_prot2.c: Likewise.
18449         * sunrpc/pmap_rmt.c: Likewise.
18450         * sunrpc/rpc/auth.h: Likewise.
18451         * sunrpc/rpc/auth_unix.h: Likewise.
18452         * sunrpc/rpc/clnt.h: Likewise.
18453         * sunrpc/rpc/des_crypt.h: Likewise.
18454         * sunrpc/rpc/key_prot.h: Likewise.
18455         * sunrpc/rpc/netdb.h: Likewise.
18456         * sunrpc/rpc/pmap_clnt.h: Likewise.
18457         * sunrpc/rpc/pmap_prot.h: Likewise.
18458         * sunrpc/rpc/pmap_rmt.h: Likewise.
18459         * sunrpc/rpc/rpc.h: Likewise.
18460         * sunrpc/rpc/rpc_des.h: Likewise.
18461         * sunrpc/rpc/rpc_msg.h: Likewise.
18462         * sunrpc/rpc/svc.h: Likewise.
18463         * sunrpc/rpc/svc_auth.h: Likewise.
18464         * sunrpc/rpc/types.h: Likewise.
18465         * sunrpc/rpc/xdr.h: Likewise.
18466         * sunrpc/rpc_clntout.c: Likewise.
18467         * sunrpc/rpc_cmsg.c: Likewise.
18468         * sunrpc/rpc_common.c: Likewise.
18469         * sunrpc/rpc_cout.c: Likewise.
18470         * sunrpc/rpc_dtable.c: Likewise.
18471         * sunrpc/rpc_hout.c: Likewise.
18472         * sunrpc/rpc_main.c: Likewise.
18473         * sunrpc/rpc_parse.c: Likewise.
18474         * sunrpc/rpc_parse.h: Likewise.
18475         * sunrpc/rpc_prot.c: Likewise.
18476         * sunrpc/rpc_sample.c: Likewise.
18477         * sunrpc/rpc_scan.c: Likewise.
18478         * sunrpc/rpc_scan.h: Likewise.
18479         * sunrpc/rpc_svcout.c: Likewise.
18480         * sunrpc/rpc_tblout.c: Likewise.
18481         * sunrpc/rpc_util.c: Likewise.
18482         * sunrpc/rpc_util.h: Likewise.
18483         * sunrpc/rpcinfo.c: Likewise.
18484         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18485         * sunrpc/rpcsvc/key_prot.x: Likewise.
18486         * sunrpc/rpcsvc/klm_prot.x: Likewise.
18487         * sunrpc/rpcsvc/mount.x: Likewise.
18488         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18489         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18490         * sunrpc/rpcsvc/rex.x: Likewise.
18491         * sunrpc/rpcsvc/rstat.x: Likewise.
18492         * sunrpc/rpcsvc/rusers.x: Likewise.
18493         * sunrpc/rpcsvc/sm_inter.x: Likewise.
18494         * sunrpc/rpcsvc/spray.x: Likewise.
18495         * sunrpc/rpcsvc/yppasswd.x: Likewise.
18496         * sunrpc/rtime.c: Likewise.
18497         * sunrpc/svc.c: Likewise.
18498         * sunrpc/svc_auth.c: Likewise.
18499         * sunrpc/svc_authux.c: Likewise.
18500         * sunrpc/svc_raw.c: Likewise.
18501         * sunrpc/svc_run.c: Likewise.
18502         * sunrpc/svc_simple.c: Likewise.
18503         * sunrpc/svc_tcp.c: Likewise.
18504         * sunrpc/svc_udp.c: Likewise.
18505         * sunrpc/svc_unix.c: Likewise.
18506         * sunrpc/svcauth_des.c: Likewise.
18507         * sunrpc/xcrypt.c: Likewise.
18508         * sunrpc/xdr.c: Likewise.
18509         * sunrpc/xdr_array.c: Likewise.
18510         * sunrpc/xdr_float.c: Likewise.
18511         * sunrpc/xdr_mem.c: Likewise.
18512         * sunrpc/xdr_rec.c: Likewise.
18513         * sunrpc/xdr_ref.c: Likewise.
18514         * sunrpc/xdr_sizeof.c: Likewise.
18515         * sunrpc/xdr_stdio.c: Likewise.
18517         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18518         handling.
18520 2010-08-19  Andreas Schwab  <schwab@redhat.com>
18522         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18524 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
18526         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18527         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18528         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18529         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18530         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18531         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18532         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18533         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18534         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18535         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18536         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18537         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18538         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18539         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18541 2010-07-26  Anton Blanchard  <anton@samba.org>
18543         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18544         * malloc/arena.c (heap_trim): Likewise.
18546 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
18548         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18549         here.  Not...
18550         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18551         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18553 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
18555         * sysdeps/i386/elf/Makefile: New file.
18557 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
18559         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18560         from fanotify_init.
18561         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18562         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18564 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
18566         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18567         of strncasecmp_l.
18568         * sysdeps/multiarch/strcmp.S: Likewise.
18570 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
18572         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18573         strncase_l-nonascii.
18574         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18575         Add strncase_l-ssse3.
18576         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18577         * sysdeps/x86_64/strcmp.S: Likewise.
18578         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18579         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18580         * sysdeps/x86_64/strncase.S: New file.
18581         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18582         * sysdeps/x86_64/strncase_l.S: New file.
18583         * string/Makefile (strop-tests): Add strncasecmp.
18584         * string/test-strncasecmp.c: New file.
18586         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18587         warning.
18589         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18590         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18592 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
18594         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18596 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
18598         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18599         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18600         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18602 2010-05-01  Alan Modra  <amodra@gmail.com>
18604         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18605         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18606         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18607         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18608         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18609         tidying.  Don't tail-call __sigjmp_save for static lib.
18610         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18611         save location.
18612         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18613         (CALL_MCOUNT): Add eh info, and nop after bl.
18614         (TAIL_CALL_SYSCALL_ERROR): New macro.
18615         (PSEUDO_RET): Use it.
18616         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18617         Correct save location of integer regs and cr.
18618         (_dl_profile_resolve): Correct cr save location.  Delete nops
18619         after bl when SHARED.  Reduce cfi size a little by better
18620         placement of cfi directives.
18621         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18622         make a stack frame.  Instead use parm save area as a temp.
18623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18624         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
18625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18626         Don't make a stack frame for parent, use parm save area.
18627         Increase child stack frame to 112 bytes.  Don't save unused reg,
18628         and adjust reg usage.  Set up cfi on error recovery and
18629         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18631         (__makecontext): Add dummy nop after jump to exit.
18632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18633         Use correct parm save area and cr save, reduce stack frame.
18634         Correct cfi for possible PSEUDO_RET frame setup.
18635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18636         Branch to local label emitted by PSEUDO_RET rather than
18637         __syscall_error.
18639 2010-08-12  Andreas Schwab  <schwab@redhat.com>
18641         [BZ #11904]
18642         * locale/programs/locale.c (print_assignment): New function.
18643         (show_locale_vars): Use it.
18645 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
18647         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18648         field.
18649         (struct statfs64): Likewise.
18650         (_STATFS_F_FLAGS): Define.
18651         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18652         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18653         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18654         (ST_VALID): Define locally.
18655         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18656         __statvfs_getflags, use the provided value.
18657         * sysdeps/unix/sysv/linux/kernel-features.h: Define
18658         __ASSUME_STATFS_F_FLAGS.
18660         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18662         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18663         Add sys/fanotify.h.
18664         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18665         fanotify_mask for GLIBC_2.13.
18666         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18667         fanotify_init and fanotify_mark.
18668         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18669         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18671         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18672         Add prlimit.
18673         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18674         prlimit64 for GLIBC_2.13.
18675         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18676         prlimit64.
18677         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18678         syscall.
18679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18680         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18681         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18682         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18683         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
18684         add prlimit alias.
18685         * sysdeps/unix/sysv/linux/prlimit.c: New file.
18687         [BZ #11903]
18688         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18689         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18691         * nss/Makefile: Add rules to build and run tst-nss-test1.
18692         * shlib-versions: Add entry for libnss_test1.
18693         * nss/nss_test1.c: New file.
18694         * nss/tst-nss-test1.c: New file.
18696         * nss/nsswitch.c (__nss_database_custom): Define new variable.
18697         (__nss_configure_lookup): Set appropriate entry in
18698         __nss_configure_lookup to true.
18699         * nss/nsswitch.h: Define enum with indeces of databases in
18700         databases and __nss_database_custom arrays.  Declare
18701         __nss_database_custom.
18702         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18703         to avoid using nscd when custom rules are installed.
18704         * nss/getXXbyYY_r.c: Likewise.
18705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18707         * nss/nss_files/files-parse.c: Whitespace fixes.
18709 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
18711         [BZ #11883]
18712         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18713         * posix/fnmatch_loop.c: Likewise.
18715 2010-07-17  Andi Kleen  <ak@linux.intel.com>
18717         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18718         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18719         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18720         * Versions.def [GLIBC_2.13]: Add.
18722 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
18724         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18725         Also fail if tpwd after pwuid call is NULL.
18727 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18729         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18730         when converting to ms.
18732 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18734         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18735         EOPNOTSUPP errors with ENOTTY.
18736         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18737         EOPNOTSUPP errors with ENOTTY.
18739 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
18741         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18742         Add strcasecmp_l-ssse3.
18743         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18744         strcasecmp.
18745         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18746         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18747         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18749 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
18751         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18753         * string/Makefile (strop-tests): Add strcasecmp.
18754         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18755         strcasecmp_l-nonascii.
18756         (gen-as-const-headers): Add locale-defines.sym.
18757         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18758         * sysdeps/x86_64/strcasecmp.S: New file.
18759         * sysdeps/x86_64/strcasecmp_l.S: New file.
18760         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18761         * sysdeps/x86_64/locale-defines.sym: New file.
18762         * string/test-strcasecmp.c: New file.
18764         * string/test-strcasestr.c: Test both ends of the range of characters.
18765         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18767 2010-07-29  Roland McGrath  <roland@redhat.com>
18769         [BZ #11856]
18770         * manual/locale.texi (Yes-or-No Questions): Fix example code.
18772 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
18774         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18775         for ld.so.
18777 2010-07-27  Andreas Schwab  <schwab@redhat.com>
18779         * manual/memory.texi (Malloc Tunable Parameters): Document
18780         M_PERTURB.
18782 2010-07-26  Roland McGrath  <roland@redhat.com>
18784         [BZ #11840]
18785         * configure.in (-fgnu89-inline check): Set and substitute
18786         gnu89_inline, not libc_cv_gnu89_inline.
18787         * configure: Regenerated.
18788         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18790 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
18792         * string/test-strnlen.c: New file.
18793         * string/Makefile (strop-tests): Add strnlen.
18794         * string/tester.c (test_strnlen): Add a few more test cases.
18795         * string/tst-strlen.c: Better error reporting.
18797         * sysdeps/x86_64/strnlen.S: New file.
18799 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
18801         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18802         lower-latency instructions.
18804 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
18806         * string/test-strcasestr.c: New file.
18807         * string/test-strstr.c: New file.
18808         * string/Makefile (strop-tests): Add strstr and strcasestr.
18809         * string/str-two-way.h: Don't undefine MAX.
18810         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18812 2010-07-21  Andreas Schwab  <schwab@redhat.com>
18814         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18815         strcasestr-nonascii.
18816         (CFLAGS-strcasestr-nonascii.c): Define.
18817         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18818         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18819         Remove unused attribute.
18821 2010-07-20  Roland McGrath  <roland@redhat.com>
18823         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18824         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
18825         ld.so.cache was broken.  With it, there is no way to disable dsocaps
18826         like LD_HWCAP_MASK can disable hwcaps.
18828 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
18830         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18832 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
18834         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18835         call in strcasestr.
18836         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18837         __strcasestr_sse42_nonascii.
18838         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18839         strcasestr-nonascii.c.
18840         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18842 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
18844         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18845         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18846         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18847         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18849 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
18851         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18852         fcntl.
18854 2010-07-06  Andreas Schwab  <schwab@redhat.com>
18856         [BZ #11577]
18857         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18858         dl_signal_cerror.
18860 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
18862         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18863         _PC_PIPE_BUF using F_GETPIPE_SZ.
18865 2010-07-05  Roland McGrath  <roland@redhat.com>
18867         * manual/arith.texi (Rounding Functions): Fix rint description
18868         implicit in round description.
18870 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
18872         * elf/Makefile: Fix linking for a few tests to make recent linker
18873         happy.
18875 2010-06-30  Andreas Schwab  <schwab@redhat.com>
18877         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18878         $(common-objpfx)libc_nonshared.a.
18880 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
18882         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18883         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18884         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18885         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18886         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18887         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18888         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18889         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18904         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18905         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18906         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18907         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18908         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18909         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18910         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18911         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18912         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18913         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18914         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18915         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18931 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18933         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18934         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
18935         * string/memmove.c (memmove): Renamed to ...
18936         (MEMMOVE): ...this.  Default to memmove.
18937         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18938         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18939         (END_CHK): Define.
18940         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18941         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18942         mempcpy-ssse3-back memmove-ssse3-back.
18943         * sysdeps/x86_64/multiarch/bcopy.S: New file .
18944         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18945         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18946         * sysdeps/x86_64/multiarch/memcpy.S: New file.
18947         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18948         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18949         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18950         * sysdeps/x86_64/multiarch/memmove.c: New file.
18951         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18952         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18953         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18954         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18955         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18956         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18957         Define.
18958         (index_Fast_Copy_Backward): Define.
18959         (HAS_ARCH_FEATURE): Define.
18960         (HAS_FAST_REP_STRING): Define.
18961         (HAS_FAST_COPY_BACKWARD): Define.
18963 2010-06-21  Andreas Schwab  <schwab@redhat.com>
18965         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18966         Restore proper fallback handling.
18968 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
18970         [BZ #11701]
18971         * posix/group_member.c (__group_member): Correct checking loop.
18973         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18974         OOM in getpwuid_r correctly.  Return error number when the caller
18975         should return, otherwise -1.
18976         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18977         call returning > 0 value.
18978         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18980 2010-06-07  Andreas Schwab  <schwab@redhat.com>
18982         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18983         libc_nonshared.a from targets in modules-names.
18985 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
18987         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18988         requires it.
18990 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
18992         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18993         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18994         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18995         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18997 2010-06-02  Andreas Schwab  <schwab@redhat.com>
18999         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19001 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
19003         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19004         and F_GETPIPE_SZ.
19005         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19006         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19007         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19008         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19009         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19010         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19012 2010-06-14  Roland McGrath  <roland@redhat.com>
19014         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19016 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
19018         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19019         __REDIRECT followed by __THROW.
19020         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19021         * posix/getopt.h (getopt): Likewise.
19023 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
19025         * hurd/lookup-at.c (__file_name_lookup_at): Accept
19026         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
19027         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19028         in AT_FLAGS.
19029         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19030         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19032 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
19034         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19036 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
19038         [BZ #11640]
19039         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19040         Properly check family and model.
19042 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
19044         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19046 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
19048         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19050 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
19052         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19053         symbol reference.
19055 2010-05-19  Andreas Schwab  <schwab@redhat.com>
19057         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19058         symbol reference.
19060 2010-05-21  Andreas Schwab  <schwab@redhat.com>
19062         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19063         and internal_recvmmsg.
19064         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19065         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19066         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19067         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19069         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19070         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19071         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19073 2010-05-20  Andreas Schwab  <schwab@redhat.com>
19075         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19077 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
19079         POWER7 optimizations.
19080         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19081         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19083 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
19085         * version.h: Update for 2.13 development version.
19087 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
19089         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19090         exceptions.  Return 0.
19092 2010-05-07  Roland McGrath  <roland@redhat.com>
19094         * elf/ldconfig.c (main): Add a const.
19096 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
19098         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19099         (args_options): Add no-idn option.
19100         (ahosts_keys_int): Add idn_flags to ai_flags.
19101         (parse_option): Handle 'i' option to clear idn_flags.
19103         * malloc/malloc.c (_int_free): Possible race in the most recently
19104         added check.  Only act on the data if no current modification
19105         happened.
19107 See ChangeLog.17 for earlier changes.