Synchronize with linux/elf.h.
[glibc.git] / ChangeLog
blob986ed54a799e0764401b0039a5a945f6ef159e07
1 2012-09-06  Petr Machata  <pmachata@redhat.com>
3         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10         [BZ #14545]
11         * csu/libc-tls.c (_dl_initial_dtv): New variable.
12         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13         freeing dtv[-1].
15 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17         [BZ #14544]
18         * Makeconfig (link-static-before-libc): Replace $(+prector)
19         with $(+prectorT).
20         (link-static-after-libc): Replace $(+postctor) with
21         $(+postctorT).
22         (link-bounded): Replace $(+prector)/$(+postctor) with
23         $(+prectorT)/$(+postctorT).
24         (+prectorT): New macro.
25         (+postctorT): Likewise.
27 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30         (round_str): Handle values above the maximum for IBM long double
31         as inexact.
32         * stdlib/tst-strtod-round.c (tests): Regenerated.
34 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37         assembler flag.
38         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39         zarch_nohighgprs around the zarch optimized routines.
40         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43         for zarch.
45 2012-09-05  David S. Miller  <davem@davemloft.net>
47         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
50         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
51         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
52         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53         entries.
55 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57         * malloc/arena.c: Fold copyright years.
58         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
68 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
71         change internal state upon failure.
73 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75         * malloc/mcheck.c (mcheck_check_all): Fix typo.
76         * malloc/memusage.c (mmap): Likewise.
77         (mmap64, mremap): Likewise.  Adjust name in comment.
79 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
81         * libio/fileops.c: Fix typos in comments.
82         * libio/oldfileops.c: Likewise.
83         * libio/wfileops.c: Likewise.
85 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
87         [BZ #1349]
88         * malloc/Makefile (tests): Add tst-malloc-usable test case.
89         (tst-malloc-usable-ENV): Set environment for test case.
90         * malloc/hooks.c (malloc_check_get_size): New function to get
91         requested size.
92         * malloc/malloc.c (musable): Use malloc_check_get_size.
93         * malloc/tst-malloc-usable.c: New test case.
95 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
97         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
99 2012-09-05  Allan McRae  <allan@archlinux.org>
101         [BZ #13966]
102         * configure.in (CXX_SYSINCLUDES): Use compiler output to
103         determine header location.
104         * configure: Regenerated.
106 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
108         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
109         float format.
110         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
111         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
112         format.
113         (test): Regenerate.
115 2012-09-04  David S. Miller  <davem@davemloft.net>
117         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
118         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
119         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
121 2012-09-04  Florian Weimer  <fweimer@redhat.com>
123         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
124         failures.
126         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
128 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
130         [BZ #9914]
131         * libio/iogetdelim.c: Include <limits.h>.
132         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
133         + len + 1 would overflow.
135 2012-09-03  Andreas Jaeger  <aj@suse.de>
137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
138         * sysdeps/i386/fpu/libm-test-ulps: Update.
140 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
142         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
143         Add s_sinf-sse2, s_conf-sse2.
145         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
146         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
147         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
148         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
150         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
151         for using routine as __sinf_ia32.
152         Use macro for function declaration and weak_alias.
153         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
154         for using routine as __cosf_ia32.
155         Use macro for function declaration and weak_alias.
157         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
158         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
160         * sysdeps/x86_64/fpu/s_sinf.S: New file.
161         * sysdeps/x86_64/fpu/s_cosf.S: New file.
162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
164         * math/libm-test.inc (cos_test): Add more test cases.
165         (sin_test): Likewise.
166         (sincos_test): Likewise.
168 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
170         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
171         (IFUNC_RESOLVE): Make pointers to the specialized implementations
172         hidden.
173         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
175 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
177         [BZ #14538]
178         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
179         first element of the GOT.
180         (elf_machine_load_address): Return the difference between
181         the runtime address of _DYNAMIC and elf_machine_dynamic ().
183 2012-09-01  Allan McRae  <allan@archlinux.org>
185         [BZ #13412]
186         * configure.in (AWK): Require gawk version 3.0 or later.
187         * configure: Regenerated.
189 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
191         * sysdeps/unix/sysv/linux/kernel-features.h
192         (__ASSUME_POSIX_CPU_TIMERS): Remove.
193         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
194         [__NR_clock_getres]: Make code unconditional.
195         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
196         (clock_getcpuclockid): Remove code left unreachable by removal of
197         conditionals.
198         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
199         code unconditional.
200         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
201         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
202         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
203         Make code unconditional.
204         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
205         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
206         * sysdeps/unix/sysv/linux/clock_settime.c
207         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
208         conditional code.
209         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
210         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
212 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
214         [BZ #14476]
215         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
216         scripts/test-installation.pl.
218         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
219         and $ld_so_version if it is set.
221 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
223         [BZ #14516]
224         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
225         failure if reading from procfs failed.
226         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
228 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
230         * sysdeps/unix/sysv/linux/kernel-features.h
231         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
232         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
233         Remove conditional code.
234         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
235         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
236         Remove conditional code.
237         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
238         * sysdeps/unix/sysv/linux/i386/fxstat.c
239         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
240         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
241         * sysdeps/unix/sysv/linux/i386/fxstatat.c
242         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
243         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
244         * sysdeps/unix/sysv/linux/i386/lxstat.c
245         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
246         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
247         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
248         Remove conditional code.
249         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
250         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
251         Remove conditional code.
252         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
253         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
254         <kernel-features.h>.
255         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
256         Remove.
257         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
258         Remove conditional code.
259         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
260         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
261         Remove conditional.
263 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
265         [BZ #5400]
266         * NEWS: Add fixed bug number.
268 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
270         [BZ #14519]
271         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
272         underflowing exponent in case of negative sign.
273         * stdlib/tst-strtod-round-data: Add more tests.
274         * stdlib/tst-strtod-round.c (tests): Regenerated.
276         [BZ #3479]
277         * stdlib/strtod_l.c (NDIG): Remove.
278         (HEXNDIG): Likewise.
279         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
280         smallest representable value.
281         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
282         lie within an exact representation of 1/2 ulp of the result.
283         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
284         unconditionally.
285         (TENS_P9_IDX): Define unconditionally.
286         (TENS_P9_SIZE): Likewise.
287         (TENS_P10_IDX): Likewise.
288         (TENS_P10_SIZE): Likewise.
289         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
290         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
291         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
292         entries for 10^2^13 and 10^2^14.
293         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
294         (TENS_P13_IDX): Define.
295         (TENS_P13_SIZE): Likewise.
296         (TENS_P14_IDX): Likewise.
297         (TENS_P14_SIZE): Likewise.
298         (_fpioconst_pow10): Change array size to
299         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
300         unconditional.
301         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
302         1024]: Add entries for 10^2^13 and 10^2^14.
303         [LAST_POW10 > _LAST_POW10]: Remove #error.
304         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
305         (_fpioconst_pow10): Change array size to
306         FPIOCONST_POW10_ARRAY_SIZE.
307         * stdlib/gen-fpioconst.c: New file.
308         * stdlib/gen-tst-strtod-round.c: Likewise.
309         * stdlib/tst-strtod-round-data: Likewise.
310         * stdlib/tst-strtod-round.c: Likewise.
311         * stdlib/Makefile (tests): Add tst-strtod-round.
313         [BZ #14459]
314         * stdlib/strtod_l.c: Include <stdint.h>.
315         (NDEBUG): Do not define.
316         (round_and_return): Change EXPONENT parameter to type intmax_t.
317         Rearrange calculations to avoid internal overflow possibilities.
318         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
319         Rearrange calculations to avoid internal overflow possibilities.
320         Assert that number fits inside MPNSIZE limbs.
321         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
322         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
323         calculations and add assertions to avoid internal overflow
324         possibilities.  Add casts to avoid signed/unsigned operations.
325         * stdlib/tst-strtod-overflow.c: New file.
326         * stdlib/Makefile (tests): Add tst-strtod-overflow.
328 2012-08-25  Marek Polacek  <polacek@redhat.com>
330         * time/time.h: Fix some typos in comments.
332 2012-08-23  Roland McGrath  <roland@hack.frob.com>
334         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
335         * posix/tst-rfc3484-2.c: Likewise.
336         * posix/tst-rfc3484-3.c: Likewise.
338 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
340         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
341         (EF_ARM_ABI_FLOAT_HARD): Likewise.
343 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
345         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
346         #include of fxstatat64.c.
348 2012-08-22  Roland McGrath  <roland@hack.frob.com>
350         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
351         * shadow/getspent_r.c: Likewise.
352         * shadow/getspnam.c: Likewise.
353         * shadow/getspnam_r.c: Likewise.
354         * gshadow/getsgent.c: Likewise.
355         * gshadow/getsgent_r.c: Likewise.
356         * gshadow/getsgnam.c: Likewise.
357         * gshadow/getsgnam_r.c: Likewise.
358         * inet/getnetbyad.c: Likewise.
359         * inet/getnetbyad_r.c: Likewise.
360         * inet/getnetbynm.c: Likewise.
361         * inet/getnetbynm_r.c: Likewise.
362         * inet/getnetent.c: Likewise.
363         * inet/getnetent_r.c: Likewise.
364         * inet/getproto.c: Likewise.
365         * inet/getproto_r.c: Likewise.
366         * inet/getprtent.c: Likewise.
367         * inet/getprtent_r.c: Likewise.
368         * inet/getprtname.c: Likewise.
369         * inet/getprtname_r.c: Likewise.
370         * inet/getrpcbyname.c: Likewise.
371         * inet/getrpcbyname_r.c: Likewise.
372         * inet/getrpcbynumber.c: Likewise.
373         * inet/getrpcbynumber_r.c: Likewise.
374         * inet/getrpcent.c: Likewise.
375         * inet/getrpcent_r.c: Likewise.
376         * inet/getaliasent.c: Likewise.
377         * inet/getaliasent_r.c: Likewise.
378         * inet/getaliasname.c: Likewise.
379         * inet/getaliasname_r.c: Likewise.
380         * nscd/getgrgid_r.c: Likewise.
381         * nscd/getgrnam_r.c: Likewise.
382         * nscd/gethstbyad_r.c: Likewise.
383         * nscd/gethstbynm3_r.c: Likewise.
384         * nscd/getpwnam_r.c: Likewise.
385         * nscd/getpwuid_r.c: Likewise.
386         * nscd/getsrvbynm_r.c: Likewise.
387         * nscd/getsrvbypt_r.c: Likewise.
388         * nscd/gai.c: Likewise.
390         * configure.in (build_nscd): New substituted variable, set
391         by --disable-build-nscd and defaults to $use_nscd.
392         * configure: Regenerated.
393         * config.make.in (build-nscd): New substituted variable.
394         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
395         Change conditional to require [$(build-nscd) = yes] as well.
396         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
398         [BZ# 13696]
399         * configure.in (use_nscd): New substituted variable, set by
400         --disable-nscd.  If enabled, define USE_NSCD.
401         * configure: Regenerated.
402         * config.h.in: Add USE_NSCD.
403         * config.make.in (use-nscd): New substituted variable.
404         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
405         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
406         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
407         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
408         (CFLAGS-getgrnam_r.c): Likewise.
409         (CFLAGS-initgroups.c): Likewise.
410         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
411         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
412         Variables removed.
413         * inet/getnetgrent_r.c
414         (nscd_setnetgrent): New function, broken out of ...
415         (setnetgrent): ... here.  Call it.
416         (innetgr): Conditionalize nscd bits on [USE_NSCD].
417         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
418         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
419         * nscd/Makefile (routines, aux): Move definitions after include of
420         Makeconfig.  Conditionalize on [$(use-nscd) != no].
421         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
422         Conditionalize on [USE_NSCD].
423         (is_nscd, nscd_init_cb): Likewise.
424         (nss_load_library): Conditionalize init callback on [USE_NSCD].
425         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
426         * nss/nss_db/db-init.c: Likewise.
427         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
428         [USE_NSCD].
429         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
430         (make_request): Use it.
431         (cache_valid_p): New function.
432         (__check_pf): Use it.
433         * NEWS: Add item for --disable-nscd.
435 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
437         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
438         to support sed >= 4.2.1-20-ga9bf076.
439         * configure: Regenerated.
441 2012-08-22  Roland McGrath  <roland@hack.frob.com>
443         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
444         Conditionalize whole body on [IREL].
446 2012-08-22  Jeff Law <law@redhat.com>
448         [BZ #14505]
449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
450         if the family is PF_UNSPEC.
452 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
454         * Makerules (lib-version): Rename from V.
455         (install-lib-nosubdir): Change V to lib-version.
457 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
459         [BZ #14252]
460         * powerpc32/power6/wcschr.c: New file.
461         * powerpc32/power6/wcscpy.c: New file.
462         * powerpc32/power6/wcsrchr.c: New file.
463         * powerpc64/power6/wcschr.c: New file.
464         * powerpc64/power6/wcscpy.c: New file.
465         * powerpc64/power6/wcsrchr.c: New file.
467 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
469         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
470         (two_way_short_needle): Use it.
471         * string/strstr.c (AVAILABLE1_USES_J): Define.
472         * string/strcasestr.c: Likewise.
474         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
475         array references.
476         * string/strcasestr.c (TOLOWER): Make side-effect safe.
478         [BZ #11607]
479         * NEWS: Add an entry.
480         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
481         define their defaults.
482         (two_way_short_needle): Detect end-of-string on-the-fly.
483         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
484         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
485         * string/bug-strcasestr1.c: New test.
486         * string/Makefile: Run it.
488 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
490         [BZ #11607]
491         * string/str-two-way.h (two_way_short_needle): Optimize matching of
492         the first character.
494 2012-08-21  Roland McGrath  <roland@hack.frob.com>
496         * csu/elf-init.c (__libc_csu_irel): Function removed.
497         * csu/libc-start.c (apply_irel): New function.
498         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
500 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
502         * sysdeps/unix/sysv/linux/kernel-features.h
503         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
504         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
505         <kernel-features.h>.
506         [__NR_fadvise64_64]: Make code unconditional.
507         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
508         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
509         !__NR_fadvise64_64)]: Likewise.
510         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
511         !__NR_fadvise64_64))]: Likewise.
512         [__NR_fadvise64]: Make code unconditional.
513         [!__NR_fadvise64]: Remove conditional code.
514         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
515         <kernel-features.h>.
516         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
517         unconditional.
518         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
519         conditional code.
520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
521         not include <kernel-features.h>.
522         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
523         unconditional.
524         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
525         conditional code.
526         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
527         include <kernel-features.h>.
528         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
529         unconditional.
530         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
531         conditional code.
533 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
535         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
536         slight instruction rearrangements per scrollpipe analysis.
537         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
539 2012-08-20  Roland McGrath  <roland@hack.frob.com>
541         * manual/syslog.texi (syslog; vsyslog, closelog):
542         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
543         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
545         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
546         DSOCAPS to match condition on defining it.
548 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
550         * sysdeps/unix/sysv/linux/kernel-features.h
551         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
553         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
554         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
556         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
557         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
559         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
560         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
562         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
563         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
565         * sysdeps/unix/sysv/linux/kernel-features.h
566         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
567         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
568         unconditional.
569         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
570         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
571         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
572         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
573         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
574         Make code unconditional.
575         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
576         (__mmap64) [!__NR_mmap2]: Likewise.
577         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
578         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
579         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
580         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
581         [__NR_mmap2]: Make code unconditional.
582         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
583         (__mmap64) [!__NR_mmap2]: Likewise.
585 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
587         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
589 2012-08-18  Andreas Jaeger  <aj@suse.de>
591         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
593 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
595         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
596         * include/unistd.h (__have_sock_cloexec): Likewise.
597         (__have_pipe2): Likewise.
598         (__have_dup3): Likewise.
600 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
602         [BZ #9685]
603         * include/unistd.h (__have_pipe2): Change define into an extern int.
604         (__have_dup3): Likewise.
605         * socket/have_sock_cloexec.c: Include fcntl.h.
606         (__have_pipe2): New variable.
607         (__have_dup3): Likewise.
609 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
611         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
613 2012-08-17  Marek Polacek  <polacek@redhat.com>
615         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
616         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
618 2012-08-17  Roland McGrath  <roland@hack.frob.com>
620         * configure.in: Add AC_SUBST for sysheaders.
621         * configure: Regenerated.
622         * config.make.in (sysheaders): New substituted variable.
624         * sysdeps/unix/mkfifo.c: Moved ...
625         * sysdeps/posix/mkfifo.c: ... here.
626         * sysdeps/unix/mkfifoat.c: Moved ...
627         * sysdeps/posix/mkfifoat.c: ... here.
629         * sysdeps/unix/utime.c: Moved ...
630         * sysdeps/posix/utime.c: ... here.
632         * sysdeps/unix/time.c: Moved ...
633         * sysdeps/posix/time.c: ... here.
634         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
635         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
637         * sysdeps/unix/nice.c: Moved ...
638         * sysdeps/posix/nice.c: ... here.
640         * sysdeps/unix/alarm.c: Moved ...
641         * sysdeps/posix/alarm.c: ... here.
643         * intl/Makefile ($(codeset_mo)): Depend on the input file.
645 2012-08-17  Jeff Law <law@redhat.com>
647         * intl/Makefile (codeset_mo): New variable.
648         ($(codeset_mo)): New target.
649         (tst-codeset.out): Depend on that.  Remove explicit rule.
650         (tst-gettext3.out, tst-gettext5.out): Likewise.
651         (LOCPATH-ENV, tst-codeset-ENV): New variables.
652         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
653         * intl/tst-codeset.sh: Remove.
654         * intl/tst-gettext3.sh: Likewise.
655         * intl/tst-gettext5.sh: Likewise.
657 2012-08-17  Roland McGrath  <roland@hack.frob.com>
659         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
660         * sysdeps/unix/syscalls.list: ... here.
662         * sysdeps/posix/getaddrinfo.c
663         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
664         (gaiconf_init, gaiconf_reload): Use them.
665         [!_STATBUF_ST_NSEC]
666         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
667         Define using time_t rather than struct timespec.
669         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
670         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
671         Macros removed.
672         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
673         [!NO_THREADS].
674         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
675         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
676         Likewise.
678         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
679         __libc_cleanup_push argument.
681         * bits/param.h: New file.
682         * misc/sys/param.h: New file.
683         * include/sys/param.h: New file.
684         * misc/Makefile (headers): Add bits/param.h.
685         * sysdeps/generic/sys/param.h: File removed.
686         * sysdeps/unix/sysv/linux/bits/param.h: New file.
687         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
688         * sysdeps/mach/hurd/bits/param.h: New file.
689         * sysdeps/mach/hurd/sys/param.h: New file.
691         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
692         last change.
694         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
695         [_IO_MTSAFE_IO].
696         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
697         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
698         New macros.
700         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
701         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
702         rather than -D_IO_MTSAFE_IO conditionally.
703         * stdio-common/Makefile (CPPFLAGS): Likewise.
704         * wcsmbs/Makefile (CPPFLAGS): Likewise.
705         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
706         Use $(libio-mtsafe).
707         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
708         of -D_IO_MTSAFE_IO.
709         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
710         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
711         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
712         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
713         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
714         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
715         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
716         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
717         (CFLAGS-fread_u_chk.c): Likewise.
718         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
719         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
720         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
721         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
722         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
723         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
724         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
725         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
726         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
728         * libio/Makefile: Test [$(libc-reentrant) = yes]
729         instead of [$(filter %REENTRANT, $(defines)) nonempty].
731         * Makeconfig
732         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
733         * sysdeps/pthread/configure: File removed.
734         * sysdeps/pthread/Makeconfig: New file.
735         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
736         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
738 2012-08-16  Gary Benson  <gbenson@redhat.com>
740         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
741         unmapping the first object in a namespace.
743 2012-08-16  Roland McGrath  <roland@hack.frob.com>
745         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
746         (__internal_setnetgrent): ... this.  Add internal_function to
747         definition.  Add libc_hidden_def.
748         (setnetgrent): Update caller.
749         (internal_endnetgrent): Renamed to ...
750         (__internal_endnetgrent): ... this.  Add internal_function to
751         definition.  Add libc_hidden_def.
752         (endnetgrent): Update caller.
753         (internal_getnetgrent_r): Renamed to ...
754         (__internal_getnetgrent_r): ... this.  Add internal_function to
755         definition.  Add libc_hidden_def.
756         (__getnetgrent_r): Update caller.
757         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
759 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
761         * stdlib/longlong.h: Update from GCC.
763 2012-08-16  Roland McGrath  <roland@hack.frob.com>
765         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
766         on _QL, which is set by umul_ppmm but never used.
767         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
768         variables, which are set by GMP macros but never used.
769         * stdio-common/_itowa.c (_itowa): Likewise.
770         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
771         * stdlib/mod_1.c (mpn_mod_1): Likewise.
773 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
775         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
776         struct La_sh_regs is not constant.
777         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
778         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
779         and struct La_sparc64_regs are not constant.
781 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
783         * sysdeps/unix/sysv/linux/kernel-features.h
784         (__ASSUME_POSIX_TIMERS): Remove.
785         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
786         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
787         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
788         Make code unconditional.
789         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
790         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
791         Make code unconditional.
792         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
793         * sysdeps/unix/sysv/linux/clock_nanosleep.c
794         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
795         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
796         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
797         Make code unconditional.
798         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
799         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
800         (__libc_missing_posix_timers): Remove.
802 2012-08-15  Roland McGrath  <roland@hack.frob.com>
804         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
805         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
807         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
809         * elf/dl-sym.c: Include <stdlib.h>.
811         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
812         constants, which avoids warnings in 32-bit builds.
814         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
815         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
817         * misc/lseek.c: File moved to ...
818         * io/lseek.c: ... here.
820         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
822         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
823         shifting LEN more than 31 bits at once.
825 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
827         [BZ #14195]
828         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
829         segmentation fault for a case of two empty input strings.
830         * string/test-strncasecmp.c (check1): Renamed to...
831         (bz12205): ...this.
832         (bz14195): Add new testcase for two empty input strings and N > 0.
833         (test_main): Call new testcase, adapt for renamed function.
835 2012-08-15  Andreas Jaeger  <aj@suse.de>
837         [BZ #14090]
838         * crypt/md5test2.c: New test, based on test supplied by Serge
839         Belyshev <belyshev@depni.sinp.msu.ru>.
840         * crypt/Makefile (xtests): Add md5test-giant..
841         * crypt/Makefile ($(objpfx)md5test-giant): Add.
843 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
845         [BZ #14090]
846         * crypt/md5.c (md5_process_block): Don't assume the buffer
847         length is less than 2**32.
848         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
849         length is less than 2**64.
851 2012-08-15  Roland McGrath  <roland@hack.frob.com>
853         * string/str-two-way.h: Include <sys/param.h>.
854         (MAX): Macro removed.
856         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
857         Move #define and #undef of memmove to just before and after
858         including <string.h>.
860         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
861         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
862         and after including <string.h>.  Move declarations of
863         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
864         to before #include "string/memmove.c".
866         * include/dirent.h: Declare __getdirentries.
868         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
869         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
871 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
873         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
874         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
875         * sysdeps/i386/configure: Regenerated.
876         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
877         STABS_CURRENT_FILE, and STABS_FUN.
878         (END): Remove call to STABS_FUN_END.
879         (STABS_CURRENT_FILE1): Delete.
880         (STABS_CURRENT_FILE): Likewise.
881         (STABS_FUN): Likewise.
882         (STABS_FUN_END): Likewise.
883         (STABS_FUN2): Likewise.
884         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
885         * sysdeps/x86_64/configure: Regenerated.
887 2012-08-14  Roland McGrath  <roland@hack.frob.com>
889         * elf/dl-open.c: Include <atomic.h>.
890         * elf/dl-lookup.c: Likewise.
892 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
894         * sysdeps/unix/sysv/linux/kernel-features.h
895         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
896         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
897         unconditionally.
898         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
899         unconditionally.
900         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
901         condition on __ASSUME_CLONE_THREAD_FLAGS.
903 2012-08-14  Andreas Jaeger  <aj@suse.de>
905         * sysdeps/i386/fpu/libm-test-ulps: Update.
907 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
909         * include/atomic.h (atomic_exchange_and_add): Split into ...
910         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
911         New atomic macros.
913 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
915         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
917 2012-08-13  Jeff Law <law@redhat.com>
919         * manual/stdio.texi (snprintf): Clarify handling of the trailing
920         null byte in the output string.
922 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
924         * sysdeps/unix/sysv/linux/kernel-features.h
925         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
926         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
927         (__ASSUME_ARG_MAX_STACK_BASED): Define.
928         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
929         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
930         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
931         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
933 2012-08-09  Jeff Law <law@redhat.com>
935         [BZ #13939]
936         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
937         When avoid_arena is set, don't retry in the that arena.  Pick the
938         next one, whatever it might be.
939         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
940         (arena_lock): Pass in new parameter to arena_get2.
941         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
942         arena_get2.
943         (__libc_malloc): Unify retrying after main arena failure with
944         __libc_memalign version.
945         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
947 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
949         [BZ #14166]
950         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
951         to __redirect_strstr.
952         (__strstr_sse42): Use typeof __redirect_strstr.
953         (__strstr_ia32): Likewise.
954         (__libc_strstr): New prototype.
955         (strstr): Renamed to ...
956         (__libc_strstr): This.
957         (strstr): New strong alias of __libc_strstr.
958         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
959         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
960         __redirect_time.
961         Include <time.h>.
962         (__libc_time): New prototype.
963         (time_ifunc): Replace time with __libc_time.
964         (time): New strong alias and hidden definition of __libc_time.
965         (__GI_time): Remove strong alias.
966         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
967         Include <stddef.h>.
968         (memmove): Redefined to __redirect_memmove.
969         (__memmove_sse2): Use typeof __redirect_memmove.
970         (__memmove_ssse3): Likewise.
971         (__memmove_ssse3_back): Likewise.
972         (__libc_memmove): New prototype.
973         (memmove): Renamed to ...
974         (__libc_memmove): This.
975         (memmove): New strong alias of __libc_memmove.
977 2012-08-08  Mark Salter  <msalter@redhat.com>
979         * elf/elf.h
980         (R_MN10300_TLS_GD): Define.
981         (R_MN10300_TLS_LD): Likewise.
982         (R_MN10300_TLS_LDO): Likewise.
983         (R_MN10300_TLS_GOTIE): Likewise.
984         (R_MN10300_TLS_IE): Likewise.
985         (R_MN10300_TLS_LE): Likewise.
986         (R_MN10300_TLS_DTPMOD): Likewise.
987         (R_MN10300_TLS_DTPOFF): Likewise.
988         (R_MN10300_TLS_TPOFF): Likewise.
989         (R_MN10300_SYM_DIFF): Likewise.
990         (R_MN10300_ALIGN): Likewise.
991         (R_MN10300_NUM): Update.
993 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
995         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
996         Remove.
998 2012-08-08  Roland McGrath  <roland@hack.frob.com>
1000         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1002         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1003         sysdeps/unix -> sysdeps/posix move.
1004         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1006 2012-08-07      Allan McRae     <allan@archlinux.org>
1008         [BZ #14303]
1009         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1010         (SUNOS_CPP): Likewise.
1011         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1012         not found.
1013         (open_input): Call CPP using execvp.
1015 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
1017         * sysdeps/unix/sysv/linux/kernel-features.h
1018         (__ASSUME_PROT_GROWSUPDOWN): Remove.
1019         (__ASSUME_NO_CLONE_DETACHED): Likewise.
1020         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1021         (__ASSUME_WAITID_SYSCALL): Likewise.
1022         * sysdeps/unix/sysv/linux/dl-execstack.c
1023         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1024         code unconditional.
1025         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1026         conditional code.
1027         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1028         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1029         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1030         code.
1031         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1032         unconditional.
1033         [__ASSUME_WAITID_SYSCALL]: Likewise.
1034         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1036 2012-08-07  Roland McGrath  <roland@hack.frob.com>
1038         * sysdeps/unix/closedir.c: Renamed to ...
1039         * sysdeps/posix/closedir.c: ... here.
1040         * sysdeps/unix/dirfd.c: Renamed to ...
1041         * sysdeps/posix/dirfd.c: ... here.
1042         * sysdeps/unix/dirstream.h: Renamed to ...
1043         * sysdeps/posix/dirstream.h: ... here.
1044         * sysdeps/unix/fdopendir.c: Renamed to ...
1045         * sysdeps/posix/fdopendir.c: ... here.
1046         * sysdeps/unix/opendir.c: Renamed to ...
1047         * sysdeps/posix/opendir.c: ... here.
1048         * sysdeps/unix/readdir.c: Renamed to ...
1049         * sysdeps/posix/readdir.c: ... here.
1050         * sysdeps/unix/readdir_r.c: Renamed to ...
1051         * sysdeps/posix/readdir_r.c: ... here.
1052         * sysdeps/unix/rewinddir.c: Renamed to ...
1053         * sysdeps/posix/rewinddir.c: ... here.
1054         * sysdeps/unix/seekdir.c: Renamed to ...
1055         * sysdeps/posix/seekdir.c: ... here.
1056         * sysdeps/unix/telldir.c: Renamed to ...
1057         * sysdeps/posix/telldir.c: ... here.
1058         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1059         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1060         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1061         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1063         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1064         * bits/fcntl.h: ... here.
1066         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1067         not 0.
1068         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1069         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1070         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1071         (struct flock): Move l_start, l_len to the beginning.
1072         Use __pid_t for l_pid.
1073         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1074         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1075         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1076         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1077         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1078         [__USE_LARGEFILE64] (struct flock64): New type.
1079         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1081         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1082         * bits/dirent.h: ... here.
1084         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1085         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1087 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
1089         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1090         Change from 2.6.0 to 2.6.16.
1091         * sysdeps/unix/sysv/linux/configure: Regenerated.
1092         * sysdeps/unix/sysv/linux/kernel-features.h
1093         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1094         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1095         version.
1096         (__ASSUME_UTIMES): Likewise.
1097         (__ASSUME_CLONE_STOPPED): Remove.
1098         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1099         architectures, not kernel version.
1100         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1101         (__ASSUME_NO_CLONE_DETACHED): Likewise.
1102         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1103         (__ASSUME_WAITID_SYSCALL): Likewise.
1104         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1105         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1106         * README: State 2.6.16 as minimum Linux kernel version.  Do not
1107         refer to older versions.
1109 2012-08-06  Roland McGrath  <roland@hack.frob.com>
1111         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1112         Define alphasort64 as an alias.
1113         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1114         Define versionsort64 as an alias.
1115         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1116         Define scandir64 as an alias.
1117         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1118         Define scandirat64 as an alias.
1119         * dirent/alphasort64.c (alphasort64):
1120         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1121         * dirent/versionsort64.c: Likewise.
1122         * dirent/scandir64.c: Likewise.
1123         * dirent/scandirat64.c: Likewise.
1124         * sysdeps/wordsize-64/alphasort.c: File removed.
1125         * sysdeps/wordsize-64/alphasort64.c: File removed.
1126         * sysdeps/wordsize-64/scandir.c: File removed.
1127         * sysdeps/wordsize-64/scandir64.c: File removed.
1128         * sysdeps/wordsize-64/scandirat.c: File removed.
1129         * sysdeps/wordsize-64/scandirat64.c: File removed.
1130         * sysdeps/wordsize-64/versionsort.c: File removed.
1131         * sysdeps/wordsize-64/versionsort64.c: File removed.
1132         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1133         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1134         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1135         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1136         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1137         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1138         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1139         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1141         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1142         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1143         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1144         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1145         [defined __arch64__ || defined __sparcv9]
1146         (__INO_T_MATCHES_INO64_T): New macro.
1147         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1148         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1149         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1150         * sysdeps/unix/sysv/linux/bits/dirent.h
1151         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1152         (_DIRENT_MATCHES_DIRENT64): New macro.
1154         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1155         Define lockf64 as an alias.
1156         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1157         Define fseeko64 as an alias.
1158         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1159         Define ftello64 as an alias.
1160         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1161         Define _IO_fgetpos64 and fgetpos64 as aliases.
1162         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1163         Define _IO_fsetpos64 and fsetpos64 as aliases.
1164         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1165         Conditionalize body on this.
1166         * libio/fseeko64.c: Likewise.
1167         * libio/ftello64.c: Likewise.
1168         * libio/iofgetpos64.c: Likewise.
1169         * libio/iofsetpos64.c: Likewise.
1170         * sysdeps/wordsize-64/lockf.c: File removed.
1171         * sysdeps/wordsize-64/lockf64.c: File removed.
1172         * sysdeps/wordsize-64/fseeko.c: File removed.
1173         * sysdeps/wordsize-64/fseeko64.c: File removed.
1174         * sysdeps/wordsize-64/ftello.c: File removed.
1175         * sysdeps/wordsize-64/ftello64.c: File removed.
1176         * sysdeps/wordsize-64/iofgetpos.c: File removed.
1177         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1178         * sysdeps/wordsize-64/iofsetpos.c: File removed.
1179         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1180         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1181         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1182         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1183         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1184         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1185         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1186         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1187         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1188         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1189         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1191         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1192         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1193         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1194         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1195         [defined __arch64__ || defined __sparcv9]
1196         (__OFF_T_MATCHES_OFF64_T): New macro.
1197         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1198         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1199         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1200         (__OFF_T_MATCHES_OFF64_T): New macro.
1202 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1204         * stdlib/secure-getenv.c (__secure_getenv): Replace
1205         GLIBC_2_16 with GLIBC_2_17.
1207 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1209         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1210         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1212 2012-08-03  David S. Miller  <davem@davemloft.net>
1214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1216 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1218         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1219         Remove.
1220         (__ASSUME_CORRECT_SI_PID): Likewise.
1221         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1222         (__ASSUME_TMPFS_NAME): Likewise.
1223         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1224         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1225         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1226         (HAVE_AUX_SECURE): Make definition unconditional.
1227         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1228         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1230 2012-08-03  Roland McGrath  <roland@hack.frob.com>
1232         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1233         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1234         * sysdeps/mach/hurd/eloop-threshold.h: New file.
1235         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1236         __eloop_threshold instead of SYMLOOP_MAX.
1238         * sysdeps/generic/eloop-threshold.h: New file.
1239         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1240         of MAXSYMLINKS.
1241         * elf/chroot_canon.c (chroot_canon): Likewise.
1243 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1245         [BZ #13717]
1246         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1247         Change to 2.6.0 everywhere.
1248         * sysdeps/unix/sysv/linux/configure: Regenerated.
1249         * sysdeps/unix/sysv/linux/kernel-features.h
1250         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1251         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1252         kernel versions.
1253         (__ASSUME_POSIX_TIMERS): Define unconditionally.
1254         (__ASSUME_FUTEX_REQUEUE): Remove.
1255         (__ASSUME_STATFS64): Define unconditionally.
1256         (__ASSUME_AT_SECURE): Likewise.
1257         (__ASSUME_CORRECT_SI_PID): Likewise.
1258         (__ASSUME_TGKILL): Define without depending on kernel version for
1259         i386.
1260         (__ASSUME_UTIMES): Likewise.
1261         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1262         kernel version.
1263         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1264         (__ASSUME_TMPFS_NAME): Likewise.
1265         * README: Update reference to Linux kernel versions.
1267 2012-08-02  Marek Polacek  <polacek@redhat.com>
1269         [BZ# 14150]
1270         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
1271         libc_cv_asm_type_prefix with %.
1272         * configure: Regenerated.
1273         * include/libc-symbols.h: Remove comment about
1274         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1275         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1276         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1277         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1278         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1279         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1280         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1281         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1282         * elf/tst-unique2mod1.c: Likewise.
1283         * elf/tst-unique1mod2.c: Likewise.
1284         * elf/tst-unique1mod1.c: Likewise.
1285         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1286         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1287         Replace ASM_TYPE_DIRECTIVE with .type.
1288         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1289         * sysdeps/i386/sysdep.h: Likewise.
1290         * sysdeps/x86_64/sysdep.h: Likewise.
1291         * sysdeps/sh/sysdep.h: Likewise.
1292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1293         Do not define ASM_TYPE_DIRECTIVE.
1294         * sysdeps/powerpc/sysdep.h: Likewise.
1295         * sysdeps/powerpc/powerpc32/sysdep.h:
1296         Replace ASM_TYPE_DIRECTIVE with .type.
1297         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1298         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1299         * sysdeps/i386/fpu/e_powf.S: Likewise.
1300         * sysdeps/i386/fpu/e_expl.S: Likewise.
1301         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1302         * sysdeps/i386/fpu/e_acosh.S: Likewise.
1303         * sysdeps/i386/fpu/e_pow.S: Likewise.
1304         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1305         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1306         * sysdeps/i386/fpu/s_expm1.S: Likewise.
1307         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1308         * sysdeps/i386/fpu/e_log2.S: Likewise.
1309         * sysdeps/i386/fpu/e_log2l.S: Likewise.
1310         * sysdeps/i386/fpu/e_scalb.S: Likewise.
1311         * sysdeps/i386/fpu/e_powl.S: Likewise.
1312         * sysdeps/i386/fpu/e_log10f.S: Likewise.
1313         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1314         * sysdeps/i386/fpu/e_logl.S: Likewise.
1315         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1316         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1317         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1318         * sysdeps/i386/fpu/e_log2f.S: Likewise.
1319         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1320         * sysdeps/i386/fpu/e_log.S: Likewise.
1321         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1322         * sysdeps/i386/fpu/e_logf.S: Likewise.
1323         * sysdeps/i386/fpu/e_log10l.S: Likewise.
1324         * sysdeps/i386/fpu/e_atanh.S: Likewise.
1325         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1326         * sysdeps/i386/fpu/e_log10.S: Likewise.
1327         * sysdeps/i386/fpu/s_frexp.S: Likewise.
1328         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1329         * sysdeps/i386/fpu/s_asinh.S: Likewise.
1330         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1331         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1332         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1333         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1334         * sysdeps/i386/i686/strtok.S: Likewise.
1335         * sysdeps/i386/i386-mcount.S: Likewise.
1336         * sysdeps/i386/strtok.S: Likewise.
1337         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1338         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1339         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1340         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1341         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1342         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1343         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1344         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1345         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1346         * sysdeps/x86_64/_mcount.S: Likewise.
1347         * sysdeps/x86_64/strtok.S: Likewise.
1348         * sysdeps/sh/_mcount.S: Likewise.
1350 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1352         * libio/iofopen.c: Include <fcntl.h>.
1353         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1354         (_IO_fopen64, fopen64): Define as aliases.
1355         * libio/iofopen64.c: Include <fcntl.h>.
1356         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1357         Conditionalize body on this.
1358         * sysdeps/wordsize-64/iofopen.c: File removed.
1359         * sysdeps/wordsize-64/iofopen64.c: File removed.
1361 2012-08-01  Marek Polacek  <polacek@redhat.com>
1363         * libc/Makeconfig: Use elf in place of binfmt-subdir.
1364         Use dlfcn directly instead of a variable.
1365         (binfmt-subdir): Do not define.
1366         (dlfcn): Likewise.
1368 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
1370         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1371         Remove all definitions.
1372         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1373         <kernel-features.h>.
1374         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1375         (miss_F_GETOWN_EX): Remove all definitions.
1376         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1377         macro definition.
1378         [!__ASSUME_FCNTL64]: Remove conditional code.
1379         [__ASSUME_FCNTL64]: Make code unconditional.
1380         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1381         <kernel-features.h>.
1382         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1383         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1384         (lockf64) [__NR_fcntl64]: Make code unconditional.
1385         (lockf64) [__ASSUME_FCNTL64]: Likewise.
1387         * sysdeps/unix/sysv/linux/kernel-features.h
1388         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1389         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1390         Make code unconditional.
1391         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1392         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1394         [__NR_vfork]: Make code unconditional.
1395         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1396         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1398         [__NR_vfork]: Make code unconditional.
1399         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1400         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1402 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1404         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1405         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1407         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1408         Define mkstemp64 as an alias.
1409         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1410         Define mkstemps64 as an alias.
1411         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1412         Define mkostemp64 as an alias.
1413         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1414         Define mkostemps64 as an alias.
1415         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1416         Conditionalize body on this.
1417         * misc/mkostemp64.c: Likewise.
1418         * misc/mkostemps64.c: Likewise.
1419         * misc/mkstemps64.c: Likewise.
1420         * sysdeps/wordsize-64/mkstemp64.c: File removed.
1421         * sysdeps/wordsize-64/mkostemp64.c: File removed.
1422         * sysdeps/wordsize-64/mkostemp.c: File removed.
1423         * sysdeps/wordsize-64/mkstemp.c: File removed.
1424         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1425         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1426         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1427         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1429         [BZ #14138]
1430         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1431         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1432         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1433         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1435         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1436         compat_symbol macros from <shlib-compat.h> rather than the underlying
1437         default_symbol_version and symbol_version macros, so that DEFAULT
1438         lines in shlib-versions are respected.
1439         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1441 2012-08-01  Florian Weimer  <fweimer@redhat.com>
1443         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1444         Declare with warn_unused_result.
1445         (setgid, setregid, setegid, setresgid): Likewise.
1446         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1447         Likewise.
1448         * WUR-REPORT: Remove set*id functions.
1450 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
1452         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1454 2012-07-31  Roland McGrath  <roland@hack.frob.com>
1456         * include/sys/socket.h (__libc_accept, __libc_accept4):
1457         Add attribute_hidden.
1458         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1460         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1461         use of PTR_MANGLE.
1462         * inet/getnetgrent_r.c (setup): Likewise.
1464         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1466 2012-07-31  David S. Miller  <davem@davemloft.net>
1468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1470 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
1472         [BZ #13629]
1473         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1474         value between 1.0 and 2.0 and smaller part has absolute value less
1475         than 1.0.
1476         * math/s_clog10.c (__clog10): Likewise.
1477         * math/s_clog10f.c (__clog10f): Likewise.
1478         * math/s_clog10l.c (__clog10l): Likewise.
1479         * math/s_clogf.c (__clogf): Likewise.
1480         * math/s_clogl.c (__clogl): Likewise.
1481         * math/libm-test.inc (clog_test): Add more tests.
1482         (clog10_test): Likewise.
1483         * sysdeps/i386/fpu/libm-test-ulps: Update.
1484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1486 2012-07-31  Florian Weimer  <fweimer@redhat.com>
1488         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1489         Exit with zero in case no suitable GID is found, and write a
1490         message to standard error.
1492 2012-07-30  Roland McGrath  <roland@hack.frob.com>
1494         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1495         rather than to 1.
1496         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1497         (MAXPATHLEN): Removed.
1498         (NOGROUP, NODEV): New macros.
1499         (setbit, clrbit, isset, isclr): New macros.
1500         (howmany, roundup, powerof2): New macros.
1501         (DEV_BSIZE): New macro.
1503         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1504         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1506         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1507         definition on [!__NO_LONG_DOUBLE_MATH].
1509         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1510         PTR_MANGLE and PTR_DEMANGLE.
1512         * socket/accept4.c (accept4): Rename to __libc_accept4.
1513         Define accept4 as a weak alias.
1515         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1516         on [_DIRENT_HAVE_D_TYPE].
1517         * io/ftw.c (ftw_dir): Likewise.
1519         * io/xmknod.c (__xmknod): Don't check PATH for being null.
1521         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1523         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1524         Use the BSD numbers rather than the arbitrary ones we had.
1525         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1526         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1527         (SIGXCPU, SIGXFSZ): New macros.
1528         (_NSIG): Now 32.
1530         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1531         initializer on [_LIBC_REENTRANT].
1533         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1534         definitions inside [_POSIX_MAPPED_FILES].
1536         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1538         * dirent/opendir.c: Include <fcntl.h>.
1540         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1541         (__libc_getspecific): Likewise.
1542         (__libc_key_create): Likewise.
1544         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1545         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1546         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1547         (tmpfile64): Define as alias.
1548         * sysdeps/wordsize-64/tmpfile.c: File removed.
1549         * sysdeps/wordsize-64/tmpfile64.c: File removed.
1550         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1551         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1553         * stdio-common/vfscanf.c: Include <stdbool.h>.
1554         * nss/makedb.c: Likewise.
1555         * stdio-common/_i18n_number.h: Likewise.
1556         * argp/argp-help.c: Likewise.
1557         * posix/wordexp.c: Likewise.
1558         * sysdeps/posix/spawni.c: Likewise.
1559         * nss/nss_files/files-initgroups.c: Likewise.
1560         * stdio-common/reg-modifier.c: Include <stdlib.h>.
1561         * nss/nss_files/files-initgroups.c: Likewise.
1562         * nss/nss_db/db-netgrp.c: Likewise.
1563         * nss/nss_db/db-initgroups.c: Likewise.
1564         * io/fchmodat.c: Include <sys/stat.h>.
1566         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1567         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1569         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1570         [HAVE_MMAP].
1572         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1573         Add multiple inclusion protection.
1575 2012-07-27  David S. Miller  <davem@davemloft.net>
1577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1579 2012-07-27  Gary Benson  <gbenson@redhat.com>
1581         [BZ #14298]
1582         * elf/rtld.c: Include <stap-probe.h>.
1583         (dl_main): Added static probes "init_start" and "init_complete".
1584         * elf/dl-load.c: Include <stap-probe.h>.
1585         (lose): Take new parameter "nsid".
1586         Added static probe "map_failed".
1587         (_dl_map_object_from_fd): Pass namespace id to lose.
1588         Added static probe "map_start".
1589         (open_verify): Pass namespace id to lose.
1590         * elf/dl-open.c: Include <stap-probe.h>.
1591         (dl_open_worker) Added static probes "map_complete", "reloc_start"
1592         and "reloc_complete".
1593         * elf/dl-close.c: Include <stap-probe.h>.
1594         (_dl_close_worker): Added static probes "unmap_start" and
1595         "unmap_complete".
1596         * elf/rtld-debugger-interface.txt: New file documenting the above.
1598 2012-07-26  Roland McGrath  <roland@hack.frob.com>
1600         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1601         rather than a string variable.
1602         * sunrpc/rpc_main.c (h_output): Likewise.
1603         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1605 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
1607         * inet/check_native.c: New file.
1609 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
1611         [BZ #13629]
1612         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1613         if larger part has absolute value 1.0.
1614         * math/s_clog10.c (__clog10): Likewise.
1615         * math/s_clog10f.c (__clog10f): Likewise.
1616         * math/s_clog10l.c (__clog10l): Likewise.
1617         * math/s_clogf.c (__clogf): Likewise.
1618         * math/s_clogl.c (__clogl): Likewise.
1619         * math/libm-test.inc (clog_test): Add more tests.
1620         (clog10_test): Likewise.
1621         * sysdeps/i386/fpu/libm-test-ulps: Update.
1622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1624         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1625         (pltexit): Likewise.
1626         (La_regs): Likewise.
1627         (La_retval): Likewise.
1628         (int_retval): Likewise.
1629         Update #error for removed macros to refer only to definitions in
1630         tst-audit.h.
1631         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1632         macro.
1633         (pltexit): Likewise.
1634         (La_regs): Likewise.
1635         (La_retval): Likewise.
1636         (int_retval): Likewise.
1637         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1638         macro.
1639         (pltexit): Likewise.
1640         (La_regs): Likewise.
1641         (La_retval): Likewise.
1642         (int_retval): Likewise.
1643         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1644         macro.
1645         (pltexit): Likewise.
1646         (La_regs): Likewise.
1647         (La_retval): Likewise.
1648         (int_retval): Likewise.
1649         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1650         macro.
1651         (pltexit): Likewise.
1652         (La_regs): Likewise.
1653         (La_retval): Likewise.
1654         (int_retval): Likewise.
1655         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1656         macro.
1657         (pltexit): Likewise.
1658         (La_regs): Likewise.
1659         (La_retval): Likewise.
1660         (int_retval): Likewise.
1661         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1662         macro.
1663         (pltexit): Likewise.
1664         (La_regs): Likewise.
1665         (La_retval): Likewise.
1666         (int_retval): Likewise.
1667         * sysdeps/generic/tst-audit.h: Update comment to refer only to
1668         macro definitions in tst-audit.h.
1669         * sysdeps/i386/tst-audit.h: New file.
1670         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1671         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1672         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1673         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1674         * sysdeps/sh/tst-audit.h: Likewise.
1675         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1676         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1677         * sysdeps/x86_64/tst-audit.h: Likewise.
1679 2012-07-26  Andreas Jaeger  <aj@suse.de>
1681         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1682         ptrace.
1684         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1685         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1686         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1687         PTRACE_O_MASK.
1688         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1689         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1690         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1692         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1693         value.
1695         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1696         _sigsys.
1697         (si_call_addr, si_syscall, si_arch): Define new macro.
1698         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1699         _sigsys.
1700         (si_call_addr, si_syscall, si_arch): Define new marcro.
1701         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1702         _sigsys.
1703         (si_call_addr, si_syscall, si_arch): Define new macro.
1704         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1705         _sigsys.
1706         (si_call_addr, si_syscall, si_arch): Define new macro.
1708 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
1710         [BZ #13717]
1711         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1712         Change to 2.4.21 where previously 2.4.1.
1713         * sysdeps/unix/sysv/linux/configure: Regenerated.
1714         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1715         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1716         Linux kernel version.
1717         (__ASSUME_STD_AUXV): Remove.
1718         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1719         kernel version.
1720         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1721         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1722         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1723         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1724         (__ASSUME_NETLINK_SUPPORT): Likewise.
1725         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1726         (__no_netlink_support): Remove conditional definition.
1727         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1728         Remove.
1729         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1730         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1731         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1732         (if_nameindex_ioctl): Remove.
1733         (if_nameindex_netlink): Do not handle __no_netlink_support.
1734         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1735         code.
1736         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1737         Remove conditional code.
1738         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1739         code.
1740         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1741         unconditional.
1742         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1743         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1744         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1745         Remove.
1746         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1747         [!__ASSUME_STD_AUXV]: Remove conditional code.
1748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1749         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1750         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1752         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1753         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1754         code.
1755         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1757         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1758         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1759         conditional code.
1760         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1762         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1763         code.
1764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1765         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1766         conditional code.
1767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1768         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1769         code unconditional.
1770         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1771         conditional code.
1772         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1773         unconditional.
1774         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1775         conditional code.
1776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1777         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1778         unconditional.
1779         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1780         conditional code.
1781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1782         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1783         code unconditional.
1784         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1785         conditional code.
1786         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1787         unconditional.
1788         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1789         conditional code.
1790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1791         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1792         code unconditional.
1793         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1794         conditional code.
1795         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1796         unconditional.
1797         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1798         conditional code.
1800 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
1802         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1803         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1804         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1805         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1806         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1807         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1808         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1809         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1810         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1811         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1812         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1813         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1814         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1815         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1816         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1817         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1818         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1819         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1820         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1821         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1822         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1823         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1824         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1826 2012-07-25  Florian Weimer  <fweimer@redhat.com>
1828         * Versions.def: Add GLIBC_2.17.
1829         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1830         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1831         Introduce __libc_secure_getenv.
1832         * stdlib/Versions (2.17): Add secure_getenv
1833         (GLIBC_PRIVATE): Add __libc_secure_getenv.
1834         * stdlib/secure-getenv.c: Rename __secure_getenv to
1835         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
1836         symbol __secure_getenv for GLIBC_2.0.
1837         * stdlib/tst-secure-getenv.c: New.
1838         * stdlib/Makefile (tests): Add testcase.
1839         * manual/startup.texi (Environment Access): Document
1840         secure_getenv.
1841         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1842         __libc_secure_getenv.
1843         * inet/ruserpass.c (ruserpass): Likewise.
1844         * malloc/mtrace.c (mtrace): Likewise.
1845         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1846         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1847         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1848         * sysdeps/posix/tempname.c: Likewise.  Evaluate
1849         HAVE_SECURE_GETENV.
1850         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1851         __secure_getenv to __libc_secure_getenv.
1852         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1854         Likewise.
1855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1856         Likewise.
1857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1859         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1865 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
1867         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1868         (struct La_i86_retval): Likewise.
1869         (struct La_x86_64_regs): Likewise.
1870         (struct La_x86_64_retval): Likewise.
1871         (struct La_x32_regs): Likewise.
1872         (struct La_x32_retval): Likewise.
1873         (struct La_ppc32_regs): Likewise.
1874         (struct La_ppc32_retval): Likewise.
1875         (struct La_ppc64_regs): Likewise.
1876         (struct La_ppc64_retval): Likewise.
1877         (struct La_sh_regs): Likewise.
1878         (struct La_sh_retval): Likewise.
1879         (struct La_s390_32_regs): Likewise.
1880         (struct La_s390_32_retval): Likewise.
1881         (struct La_s390_64_regs): Likewise.
1882         (struct La_s390_64_retval): Likewise.
1883         (struct La_sparc32_regs): Likewise.
1884         (struct La_sparc32_retval): Likewise.
1885         (struct La_sparc64_regs): Likewise.
1886         (struct La_sparc64_retval): Likewise.
1887         (struct audit_ifaces): Remove architecture-specific pltenter and
1888         pltexit members.
1889         * sysdeps/i386/ldsodefs.h: New file.
1890         * sysdeps/powerpc/ldsodefs.h: Likewise.
1891         * sysdeps/s390/ldsodefs.h: Likewise.
1892         * sysdeps/sh/ldsodefs.h: Likewise.
1893         * sysdeps/sparc/ldsodefs.h: Likewise.
1894         * sysdeps/x86_64/ldsodefs.h: Likewise.
1896 2012-07-25  Marek Polacek  <polacek@redhat.com>
1898         [BZ #6808]
1899         * math/libm-test.inc (yn_test): Add another test.
1900         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1901         to ERANGE when the result is +-Inf.
1902         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1903         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1904         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1905         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1907 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
1909         * conform/data/time.h-data (NULL): Use macro-constant.  Require
1910         equal to 0.
1911         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
1912         clock_t.
1913         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
1915 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
1917         * configure.in <sysdeps resolving>: Correct printing
1918         Implies_before.
1919         * configure: Regenerate.
1921 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
1923         * math/w_ilogb.c: Include <limits.h>.
1924         * math/w_ilogbl.c: Likewise.
1926 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
1928         * manual/lang.texi (__va_copy): Document primarily as ISO C99
1929         va_copy.  Document allowing for unavailable va_copy only as
1930         pre-C99 compatibility.
1931         * manual/string.texi (Copying and Concatenation): Use va_copy
1932         instead of __va_copy in concat example.
1934 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
1936         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1937         (__sendto): Use create_address_port.  Initialize APORT and deallocate
1938         it if not null.
1940         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1941         with O_NOLINK passed to __file_name_lookup.
1943         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1944         with O_NOLINK passed to __file_name_lookup.
1946         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1947         negative N or less than NGIDS.
1949         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1950         type to string_t.  Set ERANGE as errno and return it if NAME is not big
1951         enough.  Use memcpy instead of strncpy.
1953 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
1955         * elf/Makefile (check-data): Remove.
1956         (localplt.data): New vpath directive.
1957         ($(objpfx)check-localplt.out): Use localplt.data from vpath
1958         instead of $(check-data).
1959         * scripts/data/localplt-generic.data: Move to ...
1960         * sysdeps/generic/localplt.data: ... here.
1961         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1962         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1963         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1965         ... here.
1966         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1968         ... here.
1969         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1971         ... here.
1972         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1974         ... here.
1975         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1977         ... here.
1978         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1980         ... here.
1982 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1984         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1985         PPC32 and PPC64 files.
1986         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1987         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1989 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1991         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1992         __makecontext_ret to ...
1993         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1994         ... here and call exit if uc_link is NULL.  New file.
1995         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1996         __makecontext_ret.S.
1997         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1998         __makecontext_ret to ...
1999         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2000         ... here and call exit if uc_link is NULL.  New file.
2001         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2002         __makecontext_ret.S.
2004 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2006         * elf/elf.h (R_390_IRELATIVE): New definition.
2007         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2008         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
2009         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2010         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2011         (elf_machine_lazy_rel): Likewise.
2012         * sysdeps/s390/dl-irel.h: New file.
2013         * sysdeps/s390/s390-64/memcpy.S: New asm code.
2014         * sysdeps/s390/s390-64/memset.S: New asm code.
2015         * sysdeps/s390/s390-64/memcmp.S: New asm code.
2016         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2017         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2018         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2019         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2020         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2021         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2022         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2023         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2024         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2025         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2026         * sysdeps/s390/s390-32/memcpy.S: New asm code.
2027         * sysdeps/s390/s390-32/memset.S: New asm code.
2028         * sysdeps/s390/s390-32/memcmp.S: New asm code.
2030 2012-07-17  Marek Polacek  <polacek@redhat.com>
2032         [BZ #14349]
2033         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2034         * sysdeps/s390/s390-64/configure.in: Likewise.
2035         * sysdeps/sparc/configure.in: Likewise.
2036         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2037         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2038         * sysdeps/i386/configure.in: Likewise.
2039         * sysdeps/x86_64/configure.in: Likewise.
2040         * sysdeps/sh/configure.in: Likewise.
2041         * sysdeps/s390/s390-32/configure: Regenerated.
2042         * sysdeps/s390/s390-64/configure: Likewise.
2043         * sysdeps/x86_64/configure: Likewise.
2044         * sysdeps/sh/configure: Likewise.
2045         * sysdeps/powerpc/powerpc64/configure: Likewise.
2046         * sysdeps/powerpc/powerpc32/configure: Likewise.
2047         * sysdeps/sparc/configure: Likwise.
2048         * sysdeps/i386/configure: Likewise.
2050         * elf/dl-open.c: Comment fixes.
2052 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
2054         * Makefile [CXX] (check-data): Remove.
2055         [CXX] (c++-types.data): New vpath directive.
2056         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2057         vpath.  Do not allow for C++ type data being missing.
2058         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2059         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2060         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2061         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2062         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2063         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2064         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2066         ... here.
2067         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2069         ... here.
2070         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2072         ... here.
2073         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2075         ... here.
2076         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2078         ... here.
2079         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2081         ... here.
2082         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2084         ... here.
2085         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2088         * elf/tls-macros.h (TLS_LE): Move architecture-specific
2089         definitions to architecture-specific files.
2090         (TLS_IE): Likewise.
2091         (TLS_LD): Likewise.
2092         (TLS_GD): Likewise.
2093         * sysdeps/i386/tls-macros.h: New file.
2094         * sysdeps/powerpc/tls-macros.h: Likewise.
2095         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2096         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2097         * sysdeps/sh/tls-macros.h: Likewise.
2098         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2099         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2100         * sysdeps/x86_64/tls-macros.h: Likewise.
2102 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2104         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2105         zero value for regular exit case.
2107         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2108         (__start_context): Preserve zero value for regular exit case.
2110 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2111             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2113         * manual/setjmp.texi (setcontext): Clarify normal process
2114         termination when uc_link is the null pointer.
2115         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2116         exit call.
2118 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
2120         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2121         preprocessor.  Test for each exception mask separately.
2123 2012-07-16  Andreas Jaeger  <aj@suse.de>
2125         * po/ru.po: Update from translation team.
2127 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
2129         * conform/data/string.h-data (NULL): Use macro-constant.  Require
2130         equal to 0.
2131         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2132         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2133         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2134         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2135         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2137 2012-07-13  Andreas Jaeger  <aj@suse.de>
2139         * po/fr.po: Update from translation team.
2141 2012-07-12  Marek Polacek  <polacek@redhat.com>
2143         [BZ #14173]
2144         * math/libm-test.inc (yn_test): Add test for BZ #14173.
2145         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2146         loop condition.
2148 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
2150         [BZ #13717]
2151         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2152         Change to 2.4.1 where previously 2.4.0.
2153         * sysdeps/unix/sysv/linux/configure: Regenerated.
2154         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2155         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2156         version.
2157         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2158         (__ASSUME_AT_CLKTCK): Remove.
2159         (__ASSUME_AT_PAGESIZE): Likewise.
2160         (__ASSUME_AT_XID): Likewise.
2161         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2162         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2163         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2164         unconditionally.
2165         (HAVE_AUX_PAGESIZE): Likewise.
2166         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2167         [__ASSUME_AT_CLKTCK]: Make code unconditional.
2168         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2170 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
2172         [BZ #14307]
2173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2174         the temporary buffer used to invoke __gethostbyname2_r,
2175         __gethostbyaddr_r and gethostbyname4_r to make room for struct
2176         host_data / struct gaih_addrtuple.
2177         * resolv/nss_dns/dns-host.c (global scope): Move definition of
2178         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2179         header file nss/nsswitch.h.
2180         * nss/nsswitch.h (global scope): Add definition of implementation
2181         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2182         resolv/nss_dns/dns-host.c).
2184 2012-07-11  Andreas Jaeger  <aj@suse.de>
2186         * po/fr.po: Update from translation team.
2188         * po/sv.po: Update from translation team
2189         * po/fr.po: Another update from translation team.
2191 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2193         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2194         for subnormals or multiply small sinh result by itself.
2195         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2198 2012-07-11  David S. Miller  <davem@davemloft.net>
2200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2202 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
2204         [BZ #14347]
2205         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2206         (INTERNAL_MARK): Shift it here.
2208 2012-07-10  Marek Polacek  <polacek@redhat.com>
2210         [BZ #14151]
2211         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
2212         libc_cv_asm_global_directive with .globl.
2213         * configure: Regenerated.
2214         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2215         with .globl.
2216         * sysdeps/i386/configure: Regenerated.
2217         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2218         with .globl.
2219         * sysdeps/x86_64/configure: Regenerated.
2220         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2221         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2222         * elf/tst-unique2mod2.c: Likewise.
2223         * elf/tst-unique2mod1.c: Likewise.
2224         * elf/tst-unique1mod2.c: Likewise.
2225         * elf/tst-unique1mod1.c: Likewise.
2226         * sysdeps/s390/s390-32/sysdep.h: Likewise.
2227         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2228         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2229         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2230         * sysdeps/mach/sysdep.h: Likewise.
2231         * sysdeps/i386/sysdep.h: Likewise.
2232         * sysdeps/i386/i386-mcount.S: Likewise.
2233         * sysdeps/x86_64/_mcount.S: Likewise.
2234         * sysdeps/x86_64/sysdep.h: Likewise.
2235         * sysdeps/sh/_mcount.S: Likewise.
2236         * sysdeps/sh/sysdep.h: Likewise.
2237         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2238         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2239         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2240         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2241         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2242         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2243         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2244         * locale/localeinfo.h: Likewise.
2245         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2246         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2248 2012-07-09  Roland McGrath  <roland@hack.frob.com>
2250         [BZ #14336]
2251         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2252         system".
2253         * manual/message.texi (The Uniforum approach): Likewise.
2254         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2255         (glibc iconv Implementation): Likewise.
2257 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
2259         [BZ #14337]
2260         * math/s_clog.c (__clog): Avoid scaling a value down where that
2261         could result in underflow.
2262         * math/s_clog10.c (__clog10): Likewise.
2263         * math/s_clog10f.c (__clog10f): Likewise.
2264         * math/s_clog10l.c (__clog10l): Likewise.
2265         * math/s_clogf.c (__clogf): Likewise.
2266         * math/s_clogl.c (__clogl): Likewise.
2267         * math/libm-test.inc (clog_test): Add more tests.
2268         (clog10_test): Likewise.
2269         * sysdeps/i386/fpu/libm-test-ulps: Update.
2270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2272 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
2274         [BZ #14283]
2275         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2276         by 7 not 8 to examine high bit of fractional part.
2278         [BZ #14042]
2279         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2280         for call to __mcount_internal.
2281         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2282         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2283         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2285 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
2287         [BZ #14154]
2288         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2289         approximation for values within 0x1p-13f of an odd multiple of
2290         pi/4.
2291         * math/libm-test.inc (tan_test): Do not allow spurious underflow
2292         exception.  Add more tests.
2293         * sysdeps/i386/fpu/libm-test-ulps: Update.
2295         [BZ #6778]
2296         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2297         inputs and return -1 for them.  Do not check for +Inf in case not
2298         reachable for +Inf.
2299         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2300         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2301         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2302         and return -1 for them.  Do not check for +Inf in case not
2303         reachable for +Inf.
2304         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2305         define.
2306         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2307         and return -1 for them.  Do not check for +Inf in case not
2308         reachable for +Inf.
2309         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
2310         spurious underflow.
2311         * sysdeps/i386/fpu/libm-test-ulps: Update.
2312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2314 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
2316         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2318 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
2320         [BZ #14157]
2321         [BZ #14331]
2322         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2323         could result in spurious underflow.  Scale down values above
2324         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2325         * math/s_csqrtf.c (__csqrtf): Likewise.
2326         * math/s_csqrtl.c (__csqrtl): Likewise.
2327         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
2328         spurious underflow.
2329         * sysdeps/i386/fpu/libm-test-ulps: Update.
2330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2332 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2334         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2335         xopen-msg.sed.
2336         * catgets/xopen-msg.awk: New file.
2337         * catgets/xopen-msg.sed: Removed.
2339         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2340         po2text.sed.
2341         * intl/po2test.awk: New file.
2342         * intl/po2test.sed: Removed.
2344 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
2346         [BZ #14328]
2347         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2348         or multiply small sinh result by itself.
2349         * math/s_ctanf.c (__ctanf): Likewise.
2350         * math/s_ctanh.c (__ctanh): Likewise.
2351         * math/s_ctanhf.c (__ctanhf): Likewise.
2352         * math/s_ctanhl.c (__ctanhl): Likewise.
2353         * math/s_ctanl.c (__ctanl): Likewise.
2354         * math/libm-test.inc (ctan_test_tonearest): New function.
2355         (ctan_test_towardzero): Likewise.
2356         (ctan_test_downward): Likewise.
2357         (ctan_test_upward): Likewise.
2358         (ctanh_test_tonearest): Likewise.
2359         (ctanh_test_towardzero): Likewise.
2360         (ctanh_test_downward): Likewise.
2361         (ctanh_test_upward): Likewise.
2362         (main): Call these new functions.
2363         * sysdeps/i386/fpu/libm-test-ulps: Update.
2364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2366 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
2368         * .gitignore: Delete /ports entry.
2370 2012-07-03  Andreas Jaeger  <aj@suse.de>
2372         * po/bg.po: Update from translation team.
2373         * po/cs.po: Likewise.
2374         * po/de.po: Likewise.
2375         * po/hr.po: Likewise.
2376         * po/nl.pl: Likewise.
2377         * po/pl.po: Likewise.
2378         * po/vi.po: Likewise.
2380 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
2382         * Makeconfig [!+link] (+link-before-libc): New variable.
2383         [!+link] (+link-after-libc): Likewise.
2384         [!+link] (+link-tests): Likewise.
2385         [!+link] (+link): Define in terms of $(+link-before-libc) and
2386         $(+link-after-libc).
2387         [!+link-static] (+link-static-before-libc): New variable.
2388         [!+link-static] (+link-static-after-libc): Likewise.
2389         [!+link-static] (+link-static-tests): Likewise.
2390         [!+link-static] (+link-static): Define in terms of
2391         $(+link-static-before-libc) and $(+link-static-after-libc).
2392         [build-shared] (link-libc-before-gnulib): New variable.
2393         [build-shared] (link-libc-tests): Likewise.
2394         [build-shared] (link-libc): Define in terms of
2395         $(link-libc-before-gnulib).
2396         [!build-shared] (link-libc-tests): New variable.
2397         (link-libc-static-tests): New variable.
2398         [!gnulib] (gnulib-arch): New variable.
2399         [!gnulib] (gnulib-tests): Likewise.
2400         [!gnulib] (static-gnulib-arch): Likewise.
2401         [!gnulib] (static-gnulib-tests): Likewise.
2402         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
2403         Define with "=" instead of ":=".
2404         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
2405         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
2406         * Rules (binaries-all-notests): New variable.
2407         (binaries-all-tests): Likewise.
2408         (binaries-static-notests): Likewise.
2409         (binaries-static-tests): Likewise.
2410         (binaries-all): Define using $(binaries-all-notests) and
2411         $(binaries-all-tests).
2412         (binaries-static): Define using $(binaries-static-notests) and
2413         $(binaries-static-tests).
2414         (binaries-shared-tests): New variable.
2415         (binaries-shared-notests): Likewise.
2416         (binaries-shared): Remove variable.
2417         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2418         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2419         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2420         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2421         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2422         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2423         * elf/Makefile (sln-modules): New variable.
2424         (extra-objs): Add $(sln-modules:=.o).
2425         (ldconfig-modules): Add static-stubs.
2426         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2427         * elf/static-stubs.c: New file.
2429         [BZ #14283]
2430         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2431         by 7 not 8 to examine high bit of fractional part.  Use volatile
2432         variables when splitting into final array of floats if
2433         __FLT_EVAL_METHOD__ != 0.
2434         * math/libm-test.inc (cos_test): Add another test.
2435         (sin_test): Likewise.
2436         * sysdeps/i386/fpu/libm-test-ulps: Update.
2438         [BZ #14273]
2439         * math/libm-test.inc (cosh_test): Add more tests.
2441         * version.h (RELEASE): Set to "development".
2442         (VERSION): Set to "2.16.90".
2444 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
2446         * NEWS: Update copyright. Remove last-updated date.
2447         Mention math library bug fixes and timezone data changes.
2448         * README: Mention GNU/Hurd, x32, and HPPA support status.
2450 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
2452         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2454 2012-06-27  Andreas Jaeger  <aj@suse.de>
2456         * manual/contrib.texi (Contributors): Add Samuel Thibault.
2458 2012-06-25  Andreas Jaeger  <aj@suse.de>
2460         * sysdeps/s390/fpu/libm-test-ulps: Update.
2462 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
2463             Thomas Schwinge  <thomas@codesourcery.com>
2465         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2466         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2467         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2468         fanotify_mark.
2470 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
2472         * sysdeps/mach/start.c: Remove file.
2473         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2474         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2475         * sysdeps/sh/init-first.c: Likewise.
2477         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2478         registers for frame unwinding purposes, add CFI directives.
2479         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2480         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2481         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2482         Likewise.
2484         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2485         __fortify_fail returning.
2486         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2488         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2489         sysdeps/sh/____longjmp_chk.S.
2490         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2491         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2492         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2493         (gen-as-const-headers): Append sigaltstack-offsets.sym.
2495         * sysdeps/sh/abort-instr.h: New file.
2496         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2497         process in case exit returns.
2499         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2500         initialize the GOT register before use.
2502         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2503         calculation of ARGC > 4.
2505         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2506         meaningful names to some local labels.
2508 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2509             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2511         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2512         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2513         (__arch_compare_and_exchange_val_16_acq): Likewise.
2514         (__arch_compare_and_exchange_val_32_acq): Likewise.
2515         (atomic_exchange_and_add): Fix gUSA sequence.
2516         (atomic_add): Likewise.
2517         (atomic_add_negative): Likewise.
2518         (atomic_add_zero): Likewise.
2519         (atomic_bit_test_set): Likewise.
2521 2012-06-22  Andreas Schwab  <schwab@redhat.com>
2523         [BZ #13579]
2524         * include/link.h (struct link_map): Add l_free_initfini.
2525         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2526         l_initfini.
2527         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2528         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2529         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2530         set.
2532 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
2534         * configure.in: Use AC_LANG_SOURCE.
2535         * configure: Regenerate.
2537 2012-06-22  Roland McGrath  <roland@hack.frob.com>
2539         * configure.in (libc_cv_localstatedir): New substituted variable.
2540         * configure: Regenerated.
2541         * config.make.in (localstatedir): New variable, substituted from
2542         libc_cv_localstatedir.
2543         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2544         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2545         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2546         * sysdeps/gnu/configure: Regenerated.
2548 2012-06-21  Jeff Law  <law@redhat.com>
2550         [BZ #14277]
2551         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2552         free.  Simplify list management for _LIBC case.
2554 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
2556         [BZ #14273]
2557         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2558         Clear sign bit of 64-bit integer value before comparing against
2559         overflow value.
2561         * sysdeps/mach/configure: Regenerated.
2563 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
2565         [BZ #14278]
2566         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2568 2012-06-21  Jeff Law  <law@redhat.com>
2570         [BZ #13882]
2571         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
2572         uint16_t for elements in the "seen" array to avoid char overflows.
2573         * elf/dl-fini.c (_dl_sort_fini): Likewise.
2574         * elf/dl-open.c (dl_open_worker): Likewise.
2576 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
2578         * scripts/list-sources.sh: Scan PORTS for translations.
2579         * po/libc.pot: Regenerated.
2581 2012-06-21  Andreas Jaeger  <aj@suse.de>
2583         [BZ #12194]
2584         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2585         warning.
2586         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2587         * bits/byteswap-16.h (__bswap_16): Likewise.
2588         * bits/byteswap.h (__bswap_constant_16): Likewise.
2590 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
2592         [BZ #14117]
2593         * sysdeps/i386/fpu_control.h: Removed.
2594         * sysdeps/x86_64/fpu_control.h: Moved to ...
2595         * sysdeps/x86/fpu_control.h: Here.
2597         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2598         (_FPU_SETCW): Likewise.
2600 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2602         [BZ #14117]
2603         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2604         * sysdeps/x86/fpu/bits/mathinline.h: This.
2605         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2607         [BZ #14050]
2608         [BZ #14117]
2609         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2610         functions if __x86_64__ is defined.
2612 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
2614         * string/endian.h: Add !__ASSEMBLER__ condition for including
2615         conversion interfaces.
2617 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
2619         [BZ #14241]
2620         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2621         of ABS(x) in calculating zero to negative powers other than odd
2622         integers.
2623         * math/libm-test.inc (pow_test): Add more tests.
2625 2012-06-15  Andreas Jaeger  <aj@suse.de>
2627         * manual/contrib.texi (Contributors): Update entry of Liubov
2628         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2629         Machado Filho.
2631 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
2633         * string/string.h: Add __wur to GNU version of strerror_r.
2635 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
2637         [BZ #14229]
2638         * string/Makefile (tests): Add tst-strtok_r.
2639         * string/tst-strtok_r.c: New file.
2640         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2641         RAX_LP/RDX_LP on SAVE_PTR.
2643 2012-06-14  Roland McGrath  <roland@hack.frob.com>
2645         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2647 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
2649         * libm_test.inc (csqrt_test): Allow more spurious underflow
2650         exceptions.
2651         (j0_test): Likewise.
2652         (j1_test): Likewise.
2653         (y0_test): Likewise.
2654         (y1_test): Likewise.
2656 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
2658         * po/Makefile (libc.pot): Use UTF-8 charset.
2660 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
2662         [BZ #14210]
2663         Suppress sign-conversion warning from FD_SET.
2664         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2665         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2666         not unsigned long int.
2667         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2669 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
2671         [BZ #14050]
2672         [BZ #14117]
2673         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2674         __extern_always_inline instead of __extern_inline.
2675         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2676         (__signbit): Likewise.
2677         (__signbitl): Support C++ namespace.
2678         (lrintf): New inline function.
2679         (lrint): Likewise.
2680         (llrintf): Likewise.
2681         (llrint): Likewise.
2682         (fmaxf): Likewise.
2683         (fmax): Likewise.
2684         (fminf): Likewise.
2685         (fmin): Likewise.
2686         (rint): Likewise.
2687         (rintf): Likewise.
2688         (ceil): Likewise.
2689         (ceilf): Likewise.
2690         (floor): Likewise.
2691         (floorf): Likewise.
2692         (nearbyint): Likewise.
2693         (nearbyintf): Likewise.
2695 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
2697         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2698         non-default versions.
2700 2012-06-11  Roland McGrath  <roland@hack.frob.com>
2702         [BZ #14218]
2703         * manual/argp.texi (Argp): Reword argp_parse description slightly.
2705 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
2707         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2708         (FE_UPWARD, FE_DOWNWARD): Don't define.
2709         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2710         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2712         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2713         reading it.
2714         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2715         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2717 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2719         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2720         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2721         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2722         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2724 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2726         [BZ #14117]
2727         * sysdeps/i386/fpu/bits/fenv.h: Removed.
2728         * sysdeps/i386/fpu/Implies: New file.
2729         * sysdeps/x86_64/fpu/Implies: Likewise.
2730         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2731         * sysdeps/x86/fpu/bits/fenv.h: This.
2733         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2734         __SSE_MATH__.
2736 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2738         [BZ #14134]
2739         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2740         character 0xffff that matches the last element of the
2741         conversion table.
2743 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2745         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2746         fmodl commit.
2748 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2750         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2751         values higher than 25.6283.
2753 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2755         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2756         subnormal exponent extraction and add some __builtin_expect.
2757         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2758         Fix for subnormal mantissa calculation.
2760 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
2762         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2763         cpu2 is -1 and errno is not ENOSYS.
2765 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
2767         [BZ #14117]
2768         * sysdeps/i386/i486/bits/string.h: Renamed to ...
2769         * sysdeps/x86/bits/string.h: This.
2770         * sysdeps/x86_64/bits/string.h: Removed.
2772         * sysdeps/i386/i486/bits/string.h: Define inline functions only
2773         if not compiling for x86-64, but compiling for >= i486.
2775         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2776         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2778         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2779         New macro from Linux kernel 3.4.0.
2780         (FP_XSTATE_MAGIC2): Likewise.
2781         (FP_XSTATE_MAGIC2_SIZE): Likewise.
2782         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2783         (struct _fpx_sw_bytes): New struct.
2784         (struct _xsave_hdr): Likewise.
2785         (struct _ymmh_state): Likewise.
2786         (struct _xstate): Likewise.
2788         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2789         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2790         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2791         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2792         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2793         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2795         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2796         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2797         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2798         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2799         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2800         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2802 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2804         [BZ #13743]
2805         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2806         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2807         (sysdep_headers): Include sys/platform/ppc.h.
2808         * sysdeps/powerpc/test-gettimebase.c: Test for
2809         __ppc_get_timebase() to catch future ISA opcode/insn changes.
2810         * manual/Makefile (appendices): Include platform.texi.
2811         * manual/contrib.texi (Contributors): Update @node pointers.
2812         * manual/maint.texi (Maintenance): Likewise.
2813         (Platform): New node.
2814         * manual/platform.texi: New file.  Document the new features.
2816 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2817             Jakub Jelinek  <jakub@redhat.com>
2819         [BZ #14188]
2820         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2821         where __builtin_expect is unavailable.
2823 2012-06-03  David S. Miller  <davem@davemloft.net>
2825         * stdlib/longlong.h: Updated from GCC.
2827 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
2829         [BZ #14042]
2830         * sysdeps/powerpc/powerpc32/mcount.c: New file.
2831         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2832         __mcount_internal.
2833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2834         (GLIBC_2.16): Likewise.
2836 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2838         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2840 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
2842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2843         (default-abi): New variable.
2844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2845         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2846         variable.
2847         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2848         Likewise.
2849         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2850         Likewise.
2851         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2852         Likewise.
2854         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2855         definition.  Document in comment.
2857 2012-06-01  David S. Miller  <davem@davemloft.net>
2859         * stdlib/longlong.h: Updated from GCC.
2861 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2863         [BZ #14117]
2864         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2865         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2866         sys/debugreg.h sys/io.h here.
2867         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2868         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2869         sys/io.h.
2870         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2871         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2872         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2873         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2874         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2875         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2877         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2878         Define only if __x86_64__ is defined.
2880 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
2882         [BZ #14048]
2883         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2884         Use int64_t for variable i.
2885         * math/libm-test.inc (fmod_test): Add more tests.
2887         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2888         z computation is not scheduled after fetestexcept.
2889         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2890         Use math_force_eval instead of asm to ensure calculation scheduled
2891         before exception test.
2892         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2893         Ensure a1 + u.d computation is not scheduled after fetestexcept.
2895 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
2897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2898         computation is not scheduled after fetestexcept.
2900 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2902         [BZ #14117]
2903         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2904         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2906 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2908         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2909         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2911 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
2913         [BZ #14117]
2914         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2915         <bits/wordsize.h>.
2916         (__WCHAR_MIN): Support __WORDSIZE == 64.
2917         (__WCHAR_MAX): Likewise.
2919         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2920         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2922         [BZ #14183]
2923         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2924         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2926         [BZ #14117]
2927         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2928         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2930         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2931         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2933         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2934         Defined to 1 if __x86_64__ isn't defined.
2935         (_STAT_VER_LINUX_OLD): New.
2936         (st_atime): Remove duplicate.
2937         (st_mtime): Likewise.
2938         (st_ctime): Likewise.
2940 2012-05-31  David S. Miller  <davem@davemloft.net>
2942         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2943         entries.
2945 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
2947         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2948         gen-libm-test.pl.
2950         [BZ #14132]
2951         * elf/dl-reloc.c: Include <_itoa.h>.
2952         (_dl_reloc_bad_type): Remove use of INTUSE.
2953         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2954         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2955         * stdio-common/psiginfo.c (psiginfo): Likewise.
2956         * stdio-common/psignal.c (psignal): Likewise.
2957         * string/strsignal.c (strsignal): Likewise.
2958         * include/signal.h (_sys_siglist): Declare hidden proto.
2959         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
2960         INTVARDEF with libc_hidden_data_def.
2961         * stdio-common/itoa-udigits.c: Likewise.
2962         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2963         (_itoa_lower_digits_internal): Remove declaration.
2964         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2965         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2966         (_sys_sigabbrev_internal): Remove aliases.
2967         (_sys_siglist): Define hidden alias.
2969 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
2971         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2972         bits/sysctl.h.
2974 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
2976         [BZ #14117]
2977         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2978         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2980         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2981         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2982         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2983         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2984         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2985         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2987         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2988         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2989         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2991         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2992         with __addr.
2993         (insw): Likewise.
2994         (insl): Likewise.
2995         (outsb): Likewise.
2996         (outsw): Likewise.
2997         (outsl): Likewise.
2999         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3000         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3001         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3003         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3004         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3005         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3006         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3007         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3008         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3010         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3011         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3013         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3014         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3016         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3017         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3018         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3020         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3021         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3022         to ...
3023         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3025         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3026         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3027         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3029         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3030         for x86-64.
3031         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3033 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
3035         * math/math.h (M_El): Use two more decimal places.
3036         (M_LOG2El): Likewise.
3037         (M_LOG10El): Likewise.
3038         (M_LN2l): Likewise.
3039         (M_LN10l): Likewise.
3040         (M_PIl): Likewise.
3041         (M_PI_2l): Likewise.
3042         (M_PI_4l): Likewise.
3043         (M_1_PIl): Likewise.
3044         (M_2_PIl): Likewise.
3045         (M_2_SQRTPIl): Likewise.
3046         (M_SQRT2l): Likewise.
3047         (M_SQRT1_2l): Likewise.
3049 2012-05-31  David S. Miller  <davem@davemloft.net>
3051         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3052         values between float registers.
3053         * sysdeps/sparc/sparc64/memset.S: Likewise.
3054         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3056 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
3058         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3059         -D_FORTIFY_SOURCE=1.
3060         (CPPFLAGS-tst-longjmp_chk.c): Define.
3061         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3062         (CPPFLAGS-tst-longjmp_chk2.c): Define.
3063         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3064         CFLAGS-tst-wchar-h.c.
3066 2012-05-31  Marek Polacek  <polacek@redhat.com>
3068         [BZ #14132]
3069         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3070         __endmntent_internal): Remove declaration.
3071         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3072         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3073         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3075 2012-05-30  David S. Miller  <davem@davemloft.net>
3077         * sysdeps/sparc/sparc32/soft-fp/q_util.c
3078         (___Q_simulate_exceptions): Use real FP ops rather than writing
3079         into the %fsr.
3080         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3081         Likewise.
3083 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3085         [BZ #14117]
3086         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3087         * sysdeps/x86/bits/xtitypes.h: This.
3089         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3090         * sysdeps/x86/bits/wordsize.h: This.
3092         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3093         * sysdeps/x86/bits/huge_vall.h: This.
3095         * sysdeps/i386/bits/select.h: Removed.
3096         * sysdeps/x86_64/bits/select.h: Renamed to ...
3097         * sysdeps/x86/bits/select.h: This.
3099         * sysdeps/i386/bits/setjmp.h: Removed.
3100         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3101         * sysdeps/x86/bits/setjmp.h: This.
3103         * sysdeps/i386/bits/mathdef.h: Removed.
3104         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3105         * sysdeps/x86/bits/mathdef.h: This.
3107 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
3109         [BZ #14132]
3110         * include/sys/socket.h (__connect_internal)
3111         (__libc_sa_len_internal): Remove declaration.
3112         (__connect, __libc_sa_len): Declare hidden_proto.
3113         (SA_LEN): Remove use of INTUSE.
3114         * socket/connect.c: Add libc_hidden_def.
3115         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3116         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3117         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3118         alias.
3119         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3120         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3121         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3122         of adding _internal alias.
3124 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3126         [BZ #14117]
3127         * sysdeps/i386/bits/link.h: Removed.
3128         * sysdeps/i386/bits/linkmap.h: Likewise.
3129         * sysdeps/x86_64/bits/link.h: Renamed to ...
3130         * sysdeps/x86/bits/link.h: This.
3131         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3132         * sysdeps/x86/bits/linkmap.h: This.
3134         * sysdeps/i386/bits/endian.h: Removed.
3135         * sysdeps/x86_64/bits/endian.h: Renamed to ...
3136         * sysdeps/x86/bits/endian.h: This.
3138         * sysdeps/i386/bits/byteswap.h: Removed.
3139         * sysdeps/i386/bits/byteswap-16.h: Likewise.
3140         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3141         * sysdeps/x86/bits/byteswap.h: This.
3142         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3143         * sysdeps/x86/bits/byteswap-16.h: This.
3144         * sysdeps/i386/Implies: Add x86.
3145         * sysdeps/x86_64/Implies: Likewise.
3147 2012-05-30  David S. Miller  <davem@davemloft.net>
3149         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3150         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3151         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3152         (FP_TRAPPING_EXCEPTIONS): Define.
3153         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3154         (FP_TRAPPING_EXCEPTIONS): Define.
3155         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3156         subnormals only when inexact has been signalled or underflow
3157         exceptions are enabled.
3158         (_FP_PACK_CANONICAL): Likewise.
3160 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3162         [BZ #14183]
3163         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3164         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3166 2012-05-30  Richard Henderson  <rth@twiddle.net>
3168         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3169         with #ifndef NOT_IN_libc.
3171         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
3172         marked to avoid plt entry.
3174 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3176         [BZ #14112]
3177         * Makeconfig (default-abi): New macro.
3178         (abi-includes): Likewise.
3179         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
3180         $(abi-$(default-abi)-lib-soname) for soname if defined.
3181         ($(common-objpfx)gnu/lib-names.stmp): Generate from
3182         abi-variants.
3183         * Makefile (installed-stubs): Likewise.
3184         * include/stubs-biarch.h: Removed.
3185         * scripts/lib-names.awk: Only handle one library at a time.
3186         * scripts/soversions.awk: Remove WORDSIZE support.
3187         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3188         entries.
3189         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3190         Removed.
3191         (syscall-list-default-condition): Likewise.
3192         (syscall-list-default-condition): Likewise.
3193         (syscall-list-includes): Likewise.
3194         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3195         syscall-list-* with abi-*.  Handle undefined abi-variants.
3196         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3197         * sysdeps/unix/sysv/linux/i386/Implies: New file.
3198         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3199         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3200         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3201         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3202         Removed.
3203         (syscall-list-32-options): Likewise.
3204         (syscall-list-32-condition): Likewise.
3205         (syscall-list-64-options): Likewise.
3206         (syscall-list-64-condition): Likewise.
3207         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3208         macro.
3209         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3210         Renamed to ...
3211         (abi-*): This.
3212         (abi-64-ld-soname): New macro.
3213         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3214         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3215         Renamed to ...
3216         (abi-*): This.
3217         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3218         * sysdeps/x86_64/x32/shlib-versions: Likewise.
3220 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
3222         * sysdeps/unix/sysv/linux/kernel-features.h
3223         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3224         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3225         include <kernel-features.h>.
3226         [!__NR_ftruncate64]: Remove conditional code.
3227         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3228         [__NR_ftruncate64]: Make code unconditional.
3229         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3230         * sysdeps/unix/sysv/linux/truncate64.c: Do not
3231         include <kernel-features.h>.
3232         [!__NR_ftruncate64]: Remove conditional code.
3233         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3234         [__NR_ftruncate64]: Make code unconditional.
3235         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3237         include <kernel-features.h>.
3238         [!__NR_ftruncate64]: Remove conditional code.
3239         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3240         [__NR_ftruncate64]: Make code unconditional.
3241         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3243         include <kernel-features.h>.
3244         [!__NR_ftruncate64]: Remove conditional code.
3245         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3246         [__NR_ftruncate64]: Make code unconditional.
3247         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3249         * configure.in (libc_cv_fpie): Weaken to a compile test using
3250         LIBC_TRY_CC_OPTION.
3251         * configure: Regenerated.
3253 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3259         Refreshed.
3260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3266         Refreshed.
3268 2012-05-27  David S. Miller  <davem@davemloft.net>
3270         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3271         (___Q_zero): New.
3272         (__Q_simulate_exceptions): Return void.  Change to simulate
3273         exceptions by writing into the %fsr.
3274         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3275         (__Qp_handle_exceptions): Likewise.
3276         (numbers): Delete.
3277         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3278         __Qp_handle_exceptions.
3279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3280         __Qp_handle_exceptions.
3281         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3282         as unused and give dummy FP_RND_NEAREST initializer.
3283         (FP_INHIBIT_RESULTS): Define.
3284         (___Q_simulate_exceptions): Update declaration.
3285         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3286         formatting.
3287         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3288         as unused and give dummy FP_RND_NEAREST initializer.
3289         (__Qp_handle_exceptions): Update declaration.
3290         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3291         formatting.
3293 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
3295         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3296         the temporary FPU control word.
3297         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3298         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3299         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3300         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3301         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3302         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3303         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3304         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3305         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3306         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3307         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3309 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3311         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3312         fields.
3314 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
3316         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3317         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3318         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3319         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3320         Likewise.
3321         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3322         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3323         Likewise.
3325 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
3327         * po/h.po: Update from translation team.
3329 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
3331         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3333         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3334         handling of denormals.
3335         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3336         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3337         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3338         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3339         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3340         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3341         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3342         Likewise.
3344 2012-05-26  Marek Polacek  <polacek@redhat.com>
3346         [BZ #14152]
3347         * math/libm-test.inc (fma_test): Don't always expect underflow
3348         exception.
3350 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3352         [BZ #12416]
3353         * elf/tst-execstack.c: Include stackinfo.h.
3354         (do_test): Adjust test case to ensure that pthread_getattr_np
3355         behaviour remains the same after marking stack executable.
3357 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3359         * sysdeps/unix/sysv/linux/kernel-features.h
3360         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3361         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3362         kernel-features.h.
3363         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3364         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3365         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3366         kernel-features.h.
3367         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3368         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3370 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3372         * configure.in: Define the default includes to being none.
3373         * configure: Regenerated.
3375 2012-05-25  Roland McGrath  <roland@hack.frob.com>
3377         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3378         * sysdeps/x86_64/setjmp.S: Likewise.
3379         * sysdeps/i386/bsd-setjmp.S: Likewise.
3380         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3381         * sysdeps/i386/setjmp.S: Likewise.
3382         * sysdeps/i386/__longjmp.S: Likewise.
3383         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3384         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3386         * include/stap-probe.h: New file.
3387         * configure.in: Handle --enable-systemtap.
3388         * configure: Regenerated.
3389         * config.h.in (USE_STAP_PROBE): New #undef.
3390         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3391         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3392         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3394 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3396         [BZ #13717]
3397         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3398         to 2.4.0 where earlier.
3399         * sysdeps/unix/sysv/linux/configure: Regenerated.
3400         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3401         <kernel-features.h>.
3402         [__ASSUME_32BITUIDS]: Make code unconditional.
3403         [!__ASSUME_32BITUIDS]: Remove conditional code.
3404         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3405         <kernel-features.h>.
3406         [__ASSUME_32BITUIDS]: Make code unconditional.
3407         [!__ASSUME_32BITUIDS]: Remove conditional code.
3408         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3409         [__ASSUME_32BITUIDS]: Make code unconditional.
3410         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3411         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3412         <kernel-features.h>.
3413         [__ASSUME_32BITUIDS]: Make code unconditional.
3414         [!__ASSUME_32BITUIDS]: Remove conditional code.
3415         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3416         <kernel-features.h>.
3417         [__ASSUME_32BITUIDS]: Make code unconditional.
3418         [!__ASSUME_32BITUIDS]: Remove conditional code.
3419         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3420         <kernel-features.h>.
3421         [__ASSUME_32BITUIDS]: Make code unconditional.
3422         [!__ASSUME_32BITUIDS]: Remove conditional code.
3423         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3424         <kernel-features.h>.
3425         [__ASSUME_32BITUIDS]: Make code unconditional.
3426         [!__ASSUME_32BITUIDS]: Remove conditional code.
3427         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3428         <kernel-features.h>.
3429         [__ASSUME_32BITUIDS]: Make code unconditional.
3430         [!__ASSUME_32BITUIDS]: Remove conditional code.
3431         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3432         <kernel-features.h>.
3433         [__ASSUME_32BITUIDS]: Make code unconditional.
3434         [!__ASSUME_32BITUIDS]: Remove conditional code.
3435         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3436         <kernel-features.h>.
3437         [__ASSUME_32BITUIDS]: Make code unconditional.
3438         [!__ASSUME_32BITUIDS]: Remove conditional code.
3439         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3440         <kernel-features.h>.
3441         [__ASSUME_32BITUIDS]: Make code unconditional.
3442         [!__ASSUME_32BITUIDS]: Remove conditional code.
3443         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3444         <kernel-features.h>.
3445         [__ASSUME_32BITUIDS]: Make code unconditional.
3446         [!__ASSUME_32BITUIDS]: Remove conditional code.
3447         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3448         <kernel-features.h>.
3449         [__ASSUME_32BITUIDS]: Make code unconditional.
3450         [!__ASSUME_32BITUIDS]: Remove conditional code.
3451         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3452         <kernel-features.h>.
3453         [__NR_setresgid] (__setresgid): Do not declare.
3454         [__ASSUME_32BITUIDS]: Make code unconditional.
3455         [!__ASSUME_32BITUIDS]: Remove conditional code.
3456         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3457         <kernel-features.h>.
3458         [__NR_setresuid] (__setresuid): Do not declare.
3459         [__ASSUME_32BITUIDS]: Make code unconditional.
3460         [!__ASSUME_32BITUIDS]: Remove conditional code.
3461         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3462         <kernel-features.h>.
3463         [__ASSUME_32BITUIDS]: Make code unconditional.
3464         [!__ASSUME_32BITUIDS]: Remove conditional code.
3465         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3466         <kernel-features.h>.
3467         [__ASSUME_32BITUIDS]: Make code unconditional.
3468         [!__ASSUME_32BITUIDS]: Remove conditional code.
3469         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3470         <kernel-features.h>.
3471         [__ASSUME_32BITUIDS]: Make code unconditional.
3472         [!__ASSUME_32BITUIDS]: Remove conditional code.
3473         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3474         <kernel-features.h>.
3475         [__ASSUME_32BITUIDS]: Make code unconditional.
3476         [!__ASSUME_32BITUIDS]: Remove conditional code.
3477         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3478         <kernel-features.h>.
3479         [__ASSUME_32BITUIDS]: Make code unconditional.
3480         [!__ASSUME_32BITUIDS]: Remove conditional code.
3481         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3482         <kernel-features.h>.
3483         [__ASSUME_32BITUIDS]: Make code unconditional.
3484         [!__ASSUME_32BITUIDS]: Remove conditional code.
3485         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3486         <kernel-features.h>.
3487         [__ASSUME_32BITUIDS]: Make code unconditional.
3488         [!__ASSUME_32BITUIDS]: Remove conditional code.
3489         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3490         <kernel-features.h>.
3491         [__ASSUME_32BITUIDS]: Make code unconditional.
3492         [!__ASSUME_32BITUIDS]: Remove conditional code.
3493         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3494         <kernel-features.h>.
3495         [__ASSUME_32BITUIDS]: Make code unconditional.
3496         [!__ASSUME_32BITUIDS]: Remove conditional code.
3497         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3498         <kernel-features.h>.
3499         [__ASSUME_32BITUIDS]: Make code unconditional.
3500         [!__ASSUME_32BITUIDS]: Remove conditional code.
3501         * sysdeps/unix/sysv/linux/kernel-features.h
3502         (__ASSUME_SETRESUID_SYSCALL): Remove.
3503         (__ASSUME_SETRESGID_SYSCALL): Likewise.
3504         (__ASSUME_32BITUIDS): Likewise.
3505         (__ASSUME_LDT_WORKS): Likewise.
3506         (__ASSUME_O_DIRECTORY): Likewise.
3507         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3508         architecture but not kernel version.
3509         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3510         (__ASSUME_MMAP2_SYSCALL): Likewise.
3511         (__ASSUME_STAT64_SYSCALL): Likewise.
3512         (__ASSUME_IPC64): Likewise.
3513         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3514         <kernel-features.h>.
3515         [__ASSUME_32BITUIDS]: Make code unconditional.
3516         [!__ASSUME_32BITUIDS]: Remove conditional code.
3517         * sysdeps/unix/sysv/linux/opendir.c: Do not include
3518         <kernel-features.h>.
3519         [__ASSUME_O_DIRECTORY]: Make code unconditional.
3520         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3521         132096]: Remove conditional code.
3522         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3523         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3524         <kernel-features.h>.
3525         [__ASSUME_32BITUIDS]: Make code unconditional.
3526         [!__ASSUME_32BITUIDS]: Remove conditional code.
3527         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3528         <kernel-features.h>.
3529         [__ASSUME_32BITUIDS]: Make code unconditional.
3530         [!__ASSUME_32BITUIDS]: Remove conditional code.
3531         * sysdeps/unix/sysv/linux/setegid.c: Do not include
3532         <kernel-features.h>.
3533         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3534         unconditional.
3535         (__setresgid): Do not declare.
3536         [__ASSUME_32BITUIDS]: Make code unconditional.
3537         [!__ASSUME_32BITUIDS]: Remove conditional code.
3538         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3539         <kernel-features.h>.
3540         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3541         unconditional.
3542         (__setresuid): Do not declare.
3543         [__ASSUME_32BITUIDS]: Make code unconditional.
3544         [!__ASSUME_32BITUIDS]: Remove conditional code.
3545         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3546         <kernel-features.h>.
3547         [__ASSUME_32BITUIDS]: Make code unconditional.
3548         [!__ASSUME_32BITUIDS]: Remove conditional code.
3549         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3550         <kernel-features.h>.
3551         [__ASSUME_32BITUIDS]: Make code unconditional.
3552         [!__ASSUME_32BITUIDS]: Remove conditional code.
3554 2012-05-25  Richard Henderson  <rth@twiddle.net>
3556         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3557         dl_hwcap to ifunc resolver.
3558         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3559         elf_ifunc_invoke.
3560         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3561         dl_hwcap to ifunc resolver.
3562         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3564 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
3566         [BZ #14153]
3567         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3568         for |x| <= 2**-26, not 2**-57.
3569         * math/libm-test.inc (acos_test): Do not allow spurious underflow
3570         exception.
3572 2012-05-24  Jeff Law  <law@redhat.com>
3574         * stdio-common/Makefile (tests): Add bug25.
3575         * stdio-common/bug25.c: New test.
3577 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3579         [BZ #13576]
3580         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3581         multiple of MALLOC_ALIGNMENT in size.
3582         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3584 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
3586         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3587         Require >= 256.
3588         (FILENAME_MAX): Use macro-int-constant.
3589         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
3590         (_IOFBF): Use macro-int-constant.
3591         (_IOLBF): Likewise.
3592         (_IONBF): Likewise.
3593         (SEEK_CUR): Likewise.
3594         (SEEK_END): Likewise.
3595         (SEEK_SET): Likewise.
3596         (TMP_MAX): Likewise.
3597         (EOF): Use macro-int-constant.  Require < 0.
3598         (NULL): Use macro-constant.  Require == 0.
3599         (stdin): Require type to be FILE *.
3600         (stdout): Likewise.
3601         (stderr): Likewise.
3602         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3603         macro-int-constant.
3604         (EXIT_SUCCESS): Likewise.
3605         (NULL): Use macro-constant.  Require == 0.
3606         (RAND_MAX): Use macro-int-constant.
3607         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3608         [C99-based standards] (strtof): Require function.
3609         [C99-based standards] (strtold): Likewise.
3610         [C99-based standards] (strtoll): Likewise.
3611         [C99-based standards] (strtoull): Likewise.
3612         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3613         [ISO || ISO99 || ISO11] (limits.h): Likewise.
3614         [ISO || ISO99 || ISO11] (math.h): Likewise.
3615         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3616         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3617         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3619 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
3621         [BZ #14132]
3622         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3623         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3624         * intl/dgettext.c (DCGETTEXT): Likewise.
3625         * intl/gettext.c (DCGETTEXT): Likewise.
3626         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3627         * posix/regex_internal.h (gettext): Likewise.
3628         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3629         Remove declaration.
3630         * include/argz.h (__argz_count_internal)
3631         (__argz_stringify_internal): Remove declaration.
3632         (__argz_count, __argz_stringify): Declare hidden proto.
3633         * intl/dcgettext.c: Remove use of INTDEF.
3634         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3635         * string/argz-stringify.c: Likewise.
3636         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3637         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3638         Declare hidden proto.
3639         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3640         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3641         Declare hidden proto.
3642         * include/stdio.h (__asprintf_internal): Don't declare.
3643         (__asprintf): Don't define as macro.  Declare hidden proto.
3644         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3645         (__fsetlocking): Declare hidden proto.
3646         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3647         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3648         hidden proto.
3649         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3650         (_IO_setlinebuf): Remove use of INTUSE.
3651         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3652         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3653         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3654         Remove declaration.
3655         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3656         (_IO_do_flush): Remove use of INTUSE.
3657         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3658         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3659         (_IO_adjust_column, _IO_least_wmarker)
3660         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3661         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3662         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3663         (_IO_default_doallocate, _IO_wdefault_doallocate)
3664         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3665         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3666         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3667         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3668         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3669         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3670         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3671         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3672         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3673         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3674         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3675         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3676         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3677         proto.
3678         (_IO_flush_all_internal, _IO_adjust_column_internal)
3679         (_IO_default_uflow_internal, _IO_default_finish_internal)
3680         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3681         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3682         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3683         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3684         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3685         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3686         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3687         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3688         (_IO_file_close_internal, _IO_file_close_it_internal)
3689         (_IO_file_underflow_internal, _IO_file_overflow_internal)
3690         (_IO_file_init_internal, _IO_file_attach_internal)
3691         (_IO_file_fopen_internal, _IO_file_read_internal)
3692         (_IO_file_sync_internal, _IO_file_seek_internal)
3693         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3694         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3695         (_IO_str_underflow_internal, _IO_str_overflow_internal)
3696         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3697         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3698         (_IO_list_all_internal, _IO_link_in_internal)
3699         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3700         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3701         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3702         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3703         (_IO_do_write_internal, _IO_padn_internal)
3704         (_IO_getline_info_internal, _IO_getline_internal)
3705         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3706         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3707         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3708         (_IO_vfscanf_internal, _IO_vfprintf_internal)
3709         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3710         (_IO_init_internal, _IO_un_link_internal): Don't declare.
3711         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3712         with libc_hidden_ver, remove use of INTUSE.
3713         * libio/genops.c: Likewise.
3714         * libio/freopen.c: Likewise.
3715         * libio/freopen64.c: Likewise.
3716         * libio/iofclose.c: Likewise.
3717         * libio/iofdopen.c: Likewise.
3718         * libio/iofflush.c: Likewise.
3719         * libio/iofflush_u.c: Likewise.
3720         * libio/iofgets.c: Likewise.
3721         * libio/iofgets_u.c: Likewise.
3722         * libio/iofopen.c: Likewise.
3723         * libio/iofopncook.c: Likewise.
3724         * libio/iofread.c: Likewise.
3725         * libio/iofread_u.c: Likewise.
3726         * libio/ioftell.c: Likewise.
3727         * libio/iofwrite.c: Likewise.
3728         * libio/iogetline.c: Likewise.
3729         * libio/iogets.c: Likewise.
3730         * libio/iogetwline.c: Likewise.
3731         * libio/iopadn.c: Likewise.
3732         * libio/iopopen.c: Likewise.
3733         * libio/ioseekoff.c: Likewise.
3734         * libio/ioseekpos.c: Likewise.
3735         * libio/iosetbuffer.c: Likewise.
3736         * libio/iosetvbuf.c: Likewise.
3737         * libio/ioungetc.c: Likewise.
3738         * libio/ioungetwc.c: Likewise.
3739         * libio/iovdprintf.c: Likewise.
3740         * libio/iovsprintf.c: Likewise.
3741         * libio/iovsscanf.c: Likewise.
3742         * libio/memstream.c: Likewise.
3743         * libio/obprintf.c: Likewise.
3744         * libio/oldfileops.c: Likewise.
3745         * libio/oldiofclose.c: Likewise.
3746         * libio/oldiofdopen.c: Likewise.
3747         * libio/oldiofopen.c: Likewise.
3748         * libio/oldiopopen.c: Likewise.
3749         * libio/oldstdfiles.c: Likewise.
3750         * libio/putc.c: Likewise.
3751         * libio/setbuf.c: Likewise.
3752         * libio/setlinebuf.c: Likewise.
3753         * libio/stdfiles.c: Likewise.
3754         * libio/strops.c: Likewise.
3755         * libio/vasprintf.c: Likewise.
3756         * libio/vscanf.c: Likewise.
3757         * libio/vsnprintf.c: Likewise.
3758         * libio/vswprintf.c: Likewise.
3759         * libio/wfiledoalloc.c: Likewise.
3760         * libio/wfileops.c: Likewise.
3761         * libio/wgenops.c: Likewise.
3762         * libio/wmemstream.c: Likewise.
3763         * libio/wstrops.c: Likewise.
3764         * libio/__fpurge.c: Likewise.
3765         * libio/__fsetlocking.c: Likewise.
3766         * assert/assert.c: Likewise.
3767         * debug/fgets_chk.c: Likewise.
3768         * debug/fgets_u_chk.c: Likewise.
3769         * debug/fread_chk.c: Likewise.
3770         * debug/fread_u_chk.c: Likewise.
3771         * debug/gets_chk.c: Likewise.
3772         * debug/obprintf_chk.c: Likewise.
3773         * debug/vasprintf_chk.c: Likewise.
3774         * debug/vdprintf_chk.c: Likewise.
3775         * debug/vsnprintf_chk.c: Likewise.
3776         * debug/vsprintf_chk.c: Likewise.
3777         * malloc/mtrace.c: Likewise.
3778         * misc/error.c: Likewise.
3779         * misc/syslog.c: Likewise.
3780         * stdio-common/asprintf.c: Likewise.
3781         * stdio-common/fxprintf.c: Likewise.
3782         * stdio-common/getw.c: Likewise.
3783         * stdio-common/isoc99_fscanf.c: Likewise.
3784         * stdio-common/isoc99_scanf.c: Likewise.
3785         * stdio-common/isoc99_vfscanf.c: Likewise.
3786         * stdio-common/isoc99_vscanf.c: Likewise.
3787         * stdio-common/isoc99_vsscanf.c: Likewise.
3788         * stdio-common/printf-prs.c: Likewise.
3789         * stdio-common/printf_fp.c: Likewise.
3790         * stdio-common/printf_fphex.c: Likewise.
3791         * stdio-common/printf_size.c: Likewise.
3792         * stdio-common/putw.c: Likewise.
3793         * stdio-common/scanf.c: Likewise.
3794         * stdio-common/sprintf.c: Likewise.
3795         * stdio-common/tmpfile.c: Likewise.
3796         * stdio-common/vfprintf.c: Likewise.
3797         * stdio-common/vfscanf.c: Likewise.
3798         * stdlib/strfmon_l.c: Likewise.
3799         * sunrpc/openchild.c: Likewise.
3800         * sunrpc/xdr_stdio.c: Likewise.
3801         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3802         * sysdeps/mach/hurd/tmpfile.c: Likewise.
3804 2012-05-24  Roland McGrath  <roland@hack.frob.com>
3806         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3808         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3809         in the third column, to generate for the shared library an IFUNC
3810         that uses _dl_vdso_vsym.
3811         * Makerules (COMPILE.c, compile-stdin.c): New variables.
3812         * Makeconfig (object-suffixes-noshared): New variable.
3814         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3815         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3816         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3817         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3819         [BZ #14132]
3820         * include/sys/time.h (__gettimeofday): Remove macro.
3821         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3822         * time/gettimeofday.c (__gettimeofday): Remove #undef.
3823         Remove INTDEF.
3824         (__gettimeofday): Add libc_hidden_def.
3825         (gettimeofday): Add libc_hidden_weak.
3826         * sysdeps/mach/gettimeofday.c: Likewise.
3827         * sysdeps/posix/gettimeofday.c: Likewise.
3828         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3829         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3830         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3831         (__gettimeofday_internal): Remove strong_alias.
3832         (__gettimeofday): Add libc_hidden_def.
3833         (gettimeofday): Add libc_hidden_weak.
3834         * sysdeps/unix/syscalls.list (gettimeofday):
3835         Remove __gettimeofday_internal alias.
3837 2012-05-24  Daniel Jacobowitz  <drow@false.org>
3838             H.J. Lu  <hongjiu.lu@intel.com>
3840         [BZ #12495]
3841         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3842         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3843         (largebin_index_32_big): New.
3844         (largebin_index): Use it for 16-byte alignment.
3845         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
3846         correction with front_misalign.
3848 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3852         Likewise.
3853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3854         Likewise.
3855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3856         Likewise.
3857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3858         Likewise.
3859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3860         Likewise.
3861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3862         Likewise.
3863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3864         Likewise.
3865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3866         Likewise.
3867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3868         Likewise.
3869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3870         Likewise.
3871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3872         Likewise.
3873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3874         Likewise.
3876         * scripts/data/c++-types-x32-linux-gnu.data: New file.
3877         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3879 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
3881         [BZ #10846]
3882         [BZ #14036]
3883         * math/libm-test.inc (exp_test): Add test from bug 14036.
3884         (pow_test): Add test from bug 10846.
3886         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3887         and other flags.
3888         (special_function): Do not include flags in test name.
3889         (parse_args): Likewise.
3890         * sysdeps/i386/fpu/libm-test-ulps: Update.
3891         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3892         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3893         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3896         * math/gen-libm-test.pl (%beautify): Add entries for underflow
3897         exceptions.
3898         * math/libm-test.inc ("Philosophy"): Update comment about
3899         exception testing.
3900         (UNDERFLOW_EXCEPTION): New macro.
3901         (UNDERFLOW_EXCEPTION_OK): Likewise.
3902         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3903         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3904         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3905         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3906         (INVALID_EXCEPTION_OK): Update value.
3907         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3908         (OVERFLOW_EXCEPTION_OK): Likewise.
3909         (IGNORE_ZERO_INF_SIGN): Likewise.
3910         (test_exceptions): Handle underflow exceptions.
3911         (acos_test): Update for underflow exception expectations.
3912         (cexp_test): Likewise.
3913         (clog_test): Likewise.
3914         (clog10_test): Likewise.
3915         (csqrt_test): Likewise.
3916         (ctan_test): Likewise.
3917         (ctanh_test): Likewise.
3918         (exp_test): Likewise.
3919         (exp10_test): Likewise.
3920         (exp2_test): Likewise.
3921         (expm1_test): Likewise.
3922         (fma_test): Likewise.
3923         (j0_test): Likewise.
3924         (jn_test): Likewise.
3925         (nexttoward_test): Likewise.
3926         (pow_test): Likewise.
3927         (scalbn_test): Likewise.
3928         (scalbln_test): Likewise.
3929         (tan_test): Likewise.
3930         (y1_test): Likewise.
3931         * sysdeps/i386/fpu/libm-test-ulps: Update.
3932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3934 2012-05-23  David S. Miller  <davem@davemloft.net>
3936         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3937         (__libc_sigaction): Remove unused local variables.
3939 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
3941         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3943 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
3945         mktime: avoid signed integer overflow
3946         * time/mktime.c (__mktime_internal): Do not mishandle the case
3947         where diff == INT_MIN.
3949         mktime: simplify computation of average
3950         * time/mktime.c (ranged_convert): Use new time_t_avg function
3951         instead of rolling our own (probably-slower) code.
3953         mktime: do not assume signed right shift propagates sign bit
3954         * time/mktime.c (isdst_differ): New static function.
3955         (__mktime_internal): No need to normalize tm_isdst now.
3956         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3957         tm_isdst values.
3959         mktime: merge another wrapv change from gnulib
3960         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3961         from some compilers.
3963         mktime: remove incorrect attempt at unusual arithmetics
3964         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3965         The code didn't really work on such machines anyway.
3966         (TYPE_MINIMUM): Assume two's complement.
3967         (twos_complement_arithmetic): Verify that long_int and time_t
3968         are two's complement (or unsigned, in the latter case).
3970         mktime: check signed shifts on long_int and time_t, too
3971         * time/mktime.c (SHR): Check that shifts work as desired
3972         on the types long_int and time_t too, as SHR is used on
3973         such types.
3975         mktime: do not assume 'long' is wide enough
3976         * time/mktime.c (verify): Move decl up.
3977         (long_int): New type.
3978         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3979         to remove assumption in the code that 'long' is wide enough to
3980         store year values.  This assumption is not true on x32 and on
3981         some non-glibc platforms.
3983         mktime: merge wrapv change from gnulib
3984         * time/mktime.c (WRAPV): New macro.
3985         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3986         (guess_time_tm, __mktime_internal): Do not assume that signed
3987         integer overflow wraps around; modern compilers generate code
3988         where this assumption is no longer valid.
3990 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
3992         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3993         Replace "jmp L(pseudo_end)" with "ret".
3994         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3995         Likewise.
3997 2012-05-23  Andreas Jaeger  <aj@suse.de>
3999         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4000         * sysdeps/unix/sysv/linux/poll.c: Remove file.
4002 2012-05-23  Andreas Jaeger  <aj@suse.de>
4003             Maximilian Attems  <max@stro.at>
4005         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4006         New macros.
4008 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4010         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4011         code so that pseudo_end is just ret and the stack pointer is
4012         correct also for static library in error case.
4014 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
4016         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4017         move to syscalls.list.
4018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4023         * manual/install.texi (Running make install): Do not mention Linux
4024         kernel version for which pt_chown is not needed.
4025         (Linux): Do not mention problems with nscd with 2.0 kernels.
4026         * INSTALL: Regenerated.
4028 2012-05-23  Andreas Jaeger  <aj@suse.de>
4030         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4031         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4032         macro.
4033         * sysdeps/unix/sysv/linux/s390/bits/mman.h
4034         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4035         * sysdeps/unix/sysv/linux/sh/bits/mman.h
4036         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4037         * sysdeps/unix/sysv/linux/i386/bits/mman.h
4038         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4039         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4040         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4041         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4042         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4043         * sysdeps/unix/sysv/linux/bits/in.h
4044         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4046 2012-05-22  Roland McGrath  <roland@hack.frob.com>
4048         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4049         (PREPARE_VERSION): Just use assert instead, it will be elided
4050         under [NDEBUG] anyway.
4052 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4054         * sysdeps/unix/sysv/linux/Makefile: Include
4055         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4056         (sysdep_routines): Remove sysctl.
4057         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4058         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4059         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4060         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4061         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4063 2012-05-22  Andreas Jaeger  <aj@suse.de>
4065         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4066         that pseudo_end is just ret and the stack pointer is correct also
4067         for static library in error case.
4069 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4071         [BZ #14122]
4072         * nss/nsswitch.c (defconfig_entries): New variable.
4073         (__nss_database_lookup): Don't leak defconfig entries.
4074         (nss_parse_service_list): Don't leak on error paths.
4075         (free_database_entries): New function.
4076         (free_defconfig): New function.
4077         (free_mem): Move common code to free_database_entries.
4079 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4081         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4082         Add arch_prctl.
4083         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4085         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4086         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4087         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4088         New macro.
4089         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4090         (INTERNAL_SYSCALL_TYPES): Likewise.
4091         (LOAD_ARGS_TYPES_[1-6]): Likewise.
4092         (LOAD_REGS_TYPES_[1-6]): Likewise.
4093         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4094         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4096 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4098         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4099         copysignl for GLIBC_2_0.
4100         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4101         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4102         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4103         logbl for GLIBC_2_0.
4104         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4105         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4107 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4109         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4110         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4112         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4113         Use "neg %eax".
4115         * time/mktime.c: Update copyright years.
4117 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4119         mktime: merge comment-quoting-style change from gnulib
4120         * time/mktime.c: Quote 'like this' in comments.
4121         The GNU coding standards suggest that we no longer quote `like this',
4122         as "`" and "'" are typically rendered asymmetrically nowadays.
4123         The typical gnulib style is to quote 'like this' when quoting
4124         code, and "like this" when quoting English.
4126         * time/mktime.c (compile-command): Add "-I.".
4128         mktime: merge mktime-internal.h change from gnulib
4129         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4131         mktime: merge time_r change from gnulib
4132         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4134         mktime: merge DEBUG change from gnulib
4135         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4136         case system <time.h> has a #define.
4138         mktime: merge <sys/types.h> change from gnulib
4139         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4140         since <time.t> is now guaranteed to define time_t.
4142         mktime: merge HAVE_CONFIG_H change from gnulib
4143         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4145 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4147         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4148         Use "neg %eax".
4150         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4151         __rlim_t cast.
4152         (struct rusage): Use anonymous union to pad each field to
4153         __syscall_slong_t.
4155 2012-05-21  David S. Miller  <davem@davemloft.net>
4157         * Makefules (o-iterator): Remove .s cases.
4158         (compile-command.s): Delete.
4159         (COMPILE.s): Delete.
4160         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4162 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
4164         * configure.in (libc_cv_predef_stack_protector): Only consider
4165         "foobar" and "__stack_chk_fail" lines in libc_undefs.
4166         * configure: Regenerated.
4168 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4170         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4171         New macro.  Use R*LP on int and pointer.
4172         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4173         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4174         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4175         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4177         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4178         [__WORDSIZE_TIME64_COMPAT32] instead of
4179         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4180         (struct utmp): Likewise.
4181         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4182         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4183         Renamed to ...
4184         (__WORDSIZE_TIME64_COMPAT32): This.
4185         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4186         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4187         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4188         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4189         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4190         (__WORDSIZE_TIME64_COMPAT32): New macro.
4192 2012-05-21  Andreas Jaeger  <aj@suse.de>
4194         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4195         only if [SHARED]. Add prototype for __wcschr_ia32.
4197 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4199         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4200         of %rbp unmolested in the jmp_buf while mangling the low bits.
4201         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4202         unmolested high bits of %rbp while demangling the low bits.
4203         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4205 2012-05-21  Andreas Jaeger  <aj@suse.de>
4207         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4208         * sunrpc/svc_simple.c: Use it for registerrpc.
4209         * sunrpc/xcrypt.c: Use it for passwd2des.
4211         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4213 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4215         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4216         Don't define if [__SYSCALL_WORDSIZE != 32].
4217         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4218         New macro.
4220 2012-05-21  Bruno Haible  <bruno@clisp.org>
4221             Andreas Jaeger  <aj@suse.de>
4223         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4224         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4225         inptr and inend for must_buffer_ch.
4226         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4227         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4228         * stdio-common/Makefile (tests): Remove bug15.
4229         (bug15-ENV): Remove macro.
4230         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4231         anymore.
4233 2012-05-19  Andreas Jaeger  <aj@suse.de>
4234             Roland McGrath  <roland@hack.frob.com>
4236         * manual/contrib.texi: Completely rewritten. It contains now an
4237         alphabetical list of contributors and their contributions.
4239 2012-05-21  Richard Henderson  <rth@twiddle.net>
4241         * misc/getauxval.c (__getauxval): Use unsigned long int.
4242         * misc/sys/auxv.h: Include <sys/cdefs.h>.
4243         (getauxval): Use unsigned long int.
4245 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4247         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4249 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4251         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4252         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4253         __alignof__ (long double).
4255 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4259 2012-05-20  Richard Henderson  <rth@twiddle.net>
4261         * misc/getauxval.c: New file.
4262         * misc/sys/auxv.h: New file.
4263         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4264         (routines): Add getauxval.
4265         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4266         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4267         * elf/dl-sysdep.c (_dl_auxv): Remove.
4268         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4269         * elf/dl-support.c (_dl_auxv): New variable.
4270         (_dl_aux_init): Initialize it.
4271         * manual/startup.texi (Auxiliary Vector): New node.
4272         * sysdeps/generic/bits/hwcap.h: New file.
4273         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4274         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
4275         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4276         * sysdeps/sparc/sysdep.h: ... here.  Include it.
4277         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4278         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4280         Update.
4281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4284         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4290 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4294 2012-05-19  David S. Miller  <davem@davemloft.net>
4296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4298 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4300         [BZ #14123]
4301         * math/s_ccosh.c: Include <float.h>
4302         (__ccosh): Avoid internal overflow calculating sinh and cosh
4303         values before multiplying by sin and cos values.
4304         * math/s_ccoshf.c: Likewise.
4305         * math/s_ccoshl.c: Likewise.
4306         * math/s_csin.c: Likewise.
4307         * math/s_csinf.c: Likewise.
4308         * math/s_csinl.c: Likewise.
4309         * math/s_csinh.c: Likewise.
4310         * math/s_csinhf.c: Likewise.
4311         * math/s_csinhl.c: Likewise.
4312         * math/libm-test.inc (ccos_test): Add more tests.
4313         (ccosh_test): Likewise.
4314         (csin_test): Likewise.
4315         (csinh_test): Likewise.
4316         * sysdeps/i386/fpu/libm-test-ulps: Update.
4317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4319 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4321         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4322         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4324         * sysdeps/x86_64/x32/_itoa.h: Add comment.
4326 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4328         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4329         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4330         * sysdeps/powerpc/soft-fp/Versions: Likewise.
4331         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4332         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4333         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4334         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4335         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4336         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4337         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4338         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4339         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4340         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4341         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4342         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4343         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4344         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4345         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4346         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4347         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4348         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4349         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4350         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4351         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4352         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4353         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4354         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4355         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4356         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4357         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4358         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4360 2012-05-18  Andreas Jaeger  <aj@suse.de>
4362         * csu/.gitignore: Delete.
4364 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4366         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4367         (timex): Use __syscall_slong_t.
4369 2012-05-18  Andreas Jaeger  <aj@suse.de>
4370             Carlos O'Donell  <carlos_odonell@mentor.com>
4372         * manual/install.texi (Configuring and compiling): Update
4373         description about files modified in the source directory.
4374         * INSTALL: Regenerated.
4376 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4378         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4379         value.  Use "or" to set return value to -1.
4380         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4381         negate return value.
4383 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4385         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4386         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4387         failure if the compiler has Graphite support disabled.
4388         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4389         Likewise.
4390         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4391         CFLAGS-memmove.c): Likewise.
4392         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4393         Likewise.
4395 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4397         * sysdeps/x86_64/x32/_itoa.h: New file.
4399         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4400         getdents system call only if kernel and user dirents have the
4401         same d_ino and d_off.
4403         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4404         LLONG_MAX != LONG_MAX.
4405         (_itoa_word): Use _ITOA_WORD_TYPE on value.
4406         (_fitoa_word): Likewise.
4408         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4409         years.
4410         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4411         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4412         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4414         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4415         include <bits/wordsize.h>.  Check __x86_64__ instead of
4416         __WORDSIZE.
4417         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4418         if __x86_64__ is defined.  Use anonymous union on fpstate.
4420         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4421         anonymous union.
4423 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
4425         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4426         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4427         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4428         Refer to _rtld_local_ro instead of _rtld_global_ro.
4429         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4430         Likewise.
4431         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4432         Likewise.
4433         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4434         Likewise.
4435         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4436         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4437         of _rtld_global, and rtld_progname instead of _dl_argv[0].
4439         * sysdeps/powerpc/powerpc32/dl-machine.c
4440         (__elf_machine_runtime_setup) [PROF]: Don't reference
4441         _dl_prof_resolve.
4443 2012-05-18  Andreas Jaeger  <aj@suse.de>
4445         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4446         function only available for GCCs before 3.4 since GCC 3.4
4447         introduced a builtin.
4448         (lrint): Likewise.
4449         (llrintf): Likewise.
4450         (llrint): Likewise.
4451         (fmaxf): Likewise.
4452         (fmax): Likewise.
4453         (fminf): Likewise.
4454         (fmin): Likewise.
4455         (rint): Likewise.
4456         (rintf): Likewise.
4457         (nearbyint): Likewise.
4458         (nearbyintf): Likewise.
4459         (ceil): Likewise.
4460         (ceilf): Likewise.
4461         (floor): Likewise.
4462         (floorf): Likewise.
4464 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4466         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4467         on both fields and cast pointer to __syscall_ulong_t.
4469         * bits/types.h (__fsword_t): New type.
4470         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4471         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4472         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4473         (__FSWORD_T_TYPE): Likewise.
4474         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4475         (__FSWORD_T_TYPE): Likewise.
4476         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4477         (__FSWORD_T_TYPE): Likewise.
4478         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4479         (__FSWORD_T_TYPE): Likewise.
4480         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4481         __SWORD_TYPE with __fsword_t.
4482         (statfs64): Likewise.
4484 2012-05-17  David S. Miller  <davem@davemloft.net>
4486         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4488 2012-05-17  Andreas Jaeger  <aj@suse.de>
4490         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4491         warning.
4493 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4495         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4497 2012-05-17  Andreas Jaeger  <aj@suse.de>
4499         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4500         when it is used.
4502 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
4504         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4506 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4508         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4509         * sysdeps/x86_64/tst-mallocalign1.c: New file.
4511 2012-05-17  Andreas Jaeger  <aj@suse.de>
4512             Carlos O'Donell  <carlos_odonell@mentor.com>
4514         [BZ #14059]
4515         * sysdeps/x86_64/multiarch/init-arch.h
4516         (bit_YMM_Usable): Rename to...
4517         (bit_AVX_Usable): ... this.
4518         (bit_FMA4_Usable): New macro.
4519         (bit_XMM_state): New macro.
4520         (bit_YMM_state): New macro.
4521         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4522         [__ASSEMBLER__] (index_AVX_Usable): ... this.
4523         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4524         (CPUID_OSXSAVE): New macro.
4525         (CPUID_AVX): New macro.
4526         (CPUID_FMA4): New macro.
4527         (index_YMM_Usable): Rename to...
4528         (index_AVX_Usable): ... this.
4529         (HAS_AVX): Use HAS_ARCH_FEATURE.
4530         (HAS_FMA4): Likewise.
4531         (HAS_YMM_USABLE): Remove.
4532         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4533         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4534         are present.
4535         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4536         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4537         * sysdeps/x86_64/multiarch/Makefile: Likewise.
4538         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4539         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4541 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
4543         * math/libm-test.c: Support platforms without multiple rounding modes.
4544         * math/bug-nextafter.c: Support platforms without FP exceptions.
4545         * math/bug-nexttoward.c: Likewise.
4546         * math/test-fenv.c: Likewise.
4547         * math/test-misc.c: Likewise.
4548         * stdlib/bug-getcontext.c: Likewise.
4550 2012-05-17  Andreas Jaeger  <aj@suse.de>
4552         * manual/examples/search.c (critter_cmp): Change signature to
4553         avoid warnings.
4554         * manual/string.texi (Collation Functions): Likewise.
4556 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4558         * bits/types.h: Fold copyright years.
4559         * bits/typesizes.h: Likewise.
4560         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4561         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4562         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4563         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4564         * time/time.h: Likewise.
4566 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
4568         [BZ #208]
4569         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4570         in instead of returning them.  Return void.
4571         (__libc_mallinfo): Accumulate over all arenas.
4572         (__malloc_stats): Adjust for change in int_mallinfo interface.
4574 2012-05-16  Roland McGrath  <roland@hack.frob.com>
4576         [BZ #10375]
4577         * configure.in (NM): Add AC_CHECK_TOOL for it.
4578         (libc_extra_cflags): New substituted variable.
4579         Check for -fstack-protector being used implicitly.
4580         * configure: Regenerated.
4581         * config.make.in (config-extra-cflags): New variable,
4582         gets @libc_extra_cflags@.
4583         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4585         [BZ #10375]
4586         * configure.in: Check for _FORTIFY_SOURCE being predefined.
4587         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4588         * configure: Regenerated.
4589         * config.make.in (CPPUNDEFS): New substituted variable.
4590         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4591         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4592         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4594 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4596         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4597         (mq_attr): Use __syscall_slong_t.
4599 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4601         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4602         Check __x86_64__ instead of __WORDSIZE.
4603         (_STAT_VER_LINUX): Likewise.
4604         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
4605         __syscall_ulong_t and __syscall_slong_t.
4606         (stat64): Likewise.
4608 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4610         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4612 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4614         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4616 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4618         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4619         __syscall_ulong_t.
4621         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4622         include <bits/wordsize.h>.  Check __x86_64__ instead of
4623         __WORDSIZE.
4624         (greg_t): Use "__extension__ long long int" if __x86_64__ is
4625         defined.
4626         (mcontext_t): Replace "unsigned long" with "unsigned long long".
4628         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4629         include <bits/wordsize.h>.  Check __x86_64__ instead of
4630         __WORDSIZE.
4631         (user_regs_struct): Use "__extension__ unsigned long long"
4632         instead of "unsigned long" if __x86_64__ is defined.
4633         (user): Likewise.  Pad after pointer field if __ILP32__ is
4634         defined.
4636 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
4638         * configure.in (makeinfo): Require version 4.5 or later.  Allow
4639         versions 5 to 9.
4640         * configure: Regenerated.
4641         * manual/install.texi (texinfo): Increase version requirement to
4642         4.5 or later.
4643         * INSTALL: Regenerated.
4645         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4647 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4649         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4651         * sysdeps/x86_64/x32/ffs.c: New file.
4653         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4654         __syscall_ulong_t.
4655         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4656         defined.  Use __syscall_ulong_t.
4657         (shminfo): Use __syscall_ulong_t.
4658         (shm_info): Likewise.
4660         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4661         __syscall_ulong_t.
4663         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4664         <bits/wordsize.h>.
4665         (msgqnum_t): Use __syscall_ulong_t.
4666         (msglen_t): Likewise.
4667         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
4668         __syscall_ulong_t.
4670         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4671         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4673         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4675         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4676         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4678         * sysvipc/sys/msg.h (msgbuf): Replace long int with
4679         __syscall_slong_t.
4681         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4682         include <bits/wordsize.h>.  Check __x86_64__ instead of
4683         __WORDSIZE.
4685         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4686         "unsigned long long int" if __x86_64__ is defined.
4687         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4689         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4690         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4691         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4693         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4694         <stdint.h>.
4695         (GET_PC): Cast to uintptr_t first.
4696         (GET_FRAME): Likewise.
4697         (GET_STACK): Likewise.
4699         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4700         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4701         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4702         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4703         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4704         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4705         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4706         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4707         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4708         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4709         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4710         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4711         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4712         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4713         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4714         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4715         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4716         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4717         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4718         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4719         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4720         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4721         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4722         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4723         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4724         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4725         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4726         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4727         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4729 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
4731         * Makerules (+depfiles): Also collect depfiles from .oS in
4732         $(extra-objs).
4733         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4734         .oS, $(libnldbl-routines)).
4736         * Makerules (native-compile-mkdep-flags): Define.
4737         * sunrpc/Makefile (extra-objs): Add $(addprefix
4738         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4739         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4740         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
4741         calling $(make-target-directory).
4743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4745         * bits/types.h (__snseconds_t): Removed.
4746         * time/time.h (struct timespec): Replace __snseconds_t with
4747         __syscall_slong_t.
4748         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4749         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4750         Likewise.
4751         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4752         (__SNSECONDS_T_TYPE): Likewise.
4753         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4754         (__SNSECONDS_T_TYPE): Likewise.
4755         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4756         (__SNSECONDS_T_TYPE): Likewise.
4758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4760         * sysdeps/mach/hurd/bits/typesizes.h
4761         (__SYSCALL_SLONG_TYPE): New macro.
4762         (__SYSCALL_ULONG_TYPE): Likewise.
4764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4766         * bits/types.h (__syscall_slong_t): New type.
4767         (__syscall_ulong_t): Likewise.
4769         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4770         (__SYSCALL_ULONG_TYPE): Likewise.
4771         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4772         (__SYSCALL_SLONG_TYPE): Likewise.
4773         (__SYSCALL_ULONG_TYPE): Likewise.
4774         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4775         (__SYSCALL_SLONG_TYPE): Likewise.
4776         (__SYSCALL_ULONG_TYPE): Likewise.
4777         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4778         (__SYSCALL_SLONG_TYPE): Likewise.
4779         (__SYSCALL_ULONG_TYPE): Likewise.
4781 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4783         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4784         Add sigaltstack-offsets.sym.
4785         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4786         <sigaltstack-offsets.h>.
4787         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
4788         longjmp_msg pointer.
4789         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
4790         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4791         signal stack.
4792         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4794 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
4796         * elf/stackguard-macros.h: Remove file.
4797         * sysdeps/generic/stackguard-macros.h: New file.
4798         * sysdeps/i386/stackguard-macros.h: Likewise.
4799         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4800         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4801         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4802         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4803         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4804         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4805         * sysdeps/x86_64/stackguard-macros.h: Likewise.
4806         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4807         <elf/stackguard-macros.h>.
4809         [BZ #14109]
4810         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4811         __aligned__ in attribute.
4812         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4813         (gregset_t): Likewise.
4815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4817         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4818         * sysdeps/x86_64/64/Implies-after: Here.  New file.
4819         * sysdeps/x86_64/x32/Implies-after: New file.
4821 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4823         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4824         and access return value for _dl_profile_fixup.  Use R10_LP to
4825         load frame size.
4827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4829         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4833         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4834         * sysdeps/x86_64/x32/sysdep.h: New file.
4836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4838         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4839         * sysdeps/x86_64/setjmp.S: Likewise.
4841 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4843         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4844         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4845         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4846         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4847         remove unused global constant.
4849 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
4851         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4852         include of <not-cancel.h>.
4854 2012-05-15  Roland McGrath  <roland@hack.frob.com>
4856         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4858 2012-05-15  Jeff Law  <law@redhat.com>
4859             Andreas Jaeger  <aj@suse.de>
4861         [BZ #13594]
4862         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4863         out from...
4864         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4865         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4866         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4867         code changing __hst_map_handle.map.
4869 2012-05-15  Roland McGrath  <roland@hack.frob.com>
4871         * configure.in (sysnames): Look for Implies-before and Implies-after
4872         files.
4873         * configure: Regenerated.
4875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4877         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4878         8-byte data alignment with LP_SIZE alignment.
4880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4882         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4883         into R10_LP.
4885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4887         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4891         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4892         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4893         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4894         Likewise.
4895         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4899         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4900         (stackinfo_sub_sp): Likewise.
4902 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4904         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4905         RAX_LP.
4907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4909         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4910         into R*_LP.
4912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4914         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4915         sizes into R*_LP.
4917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4919         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4923         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4924         into R11_LP and load __x86_64_shared_cache_size_half into
4925         R8_LP.
4927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4929         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4930         R8_LP.
4932 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4934         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4935         logb for POWER7.
4936         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4937         logbf for POWER7.
4938         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4939         logbl for POWER7.
4940         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4941         powerpc32/power7/fpu/s_logb.c via #include.
4942         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4943         powerpc32/power7/fpu/s_logbf.c via #include.
4944         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4945         powerpc32/power7/fpu/s_logbl.c via #include.
4947 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
4949         * README.libm: Remove file.
4951 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4953         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4954         count for x32.  Use R*_LP and omit operand-size suffix.
4956 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4958         * shlib-versions: Move x86_64-.*-linux.* entries to ...
4959         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
4960         * sysdeps/x86_64/x32/shlib-versions: New file.
4962 2012-05-14  Roland McGrath  <roland@hack.frob.com>
4964         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4965         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4966         Use _dl_fatal_printf instead.
4968 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
4970         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4971         set if not set by the user.  Do not allow for being unset.
4972         * sysdeps/unix/sysv/linux/configure: Regenerated.
4974 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4976         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4977         the `q' suffix from lea and replace .quad with ASM_ADDR.
4979 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4981         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4982         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
4983         instead of $17.
4984         (PTR_DEMANGLE): Likewise.
4986 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4988         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4989         (LP_OP): Likewise.
4990         (ASM_ADDR): Likewise.
4991         (RAX_LP): Likewise.
4992         (RBP_LP): Likewise.
4993         (RBX_LP): Likewise.
4994         (RCX_LP): Likewise.
4995         (RDI_LP): Likewise.
4996         (RSI_LP): Likewise.
4997         (RSP_LP): Likewise.
4998         (R8_LP): Likewise.
4999         (R9_LP): Likewise.
5000         (R10_LP): Likewise.
5001         (R10_LP): Likewise.
5002         (R11_LP): Likewise.
5003         (R12_LP): Likewise.
5004         (R13_LP): Likewise.
5005         (R14_LP): Likewise.
5006         (R15_LP): Likewise.
5008 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5010         * sysdeps/x86_64/x32/dl-machine.h: New file.
5012 2012-05-14  Andreas Jaeger  <aj@suse.de>
5014         * manual/Makefile (subdir): Remove export of subdir.
5015         (all): Remove target.
5016         (.PHONY): Remove all from list.
5017         (mkinstalldirs): Remove.
5018         (.PHONY): Remove installdirs from list.
5019         ($(inst_infodir)/libc.info): Use make-target-directory.
5020         (installdirs): Remove.
5021         (subdir_%): Remove.
5022         (glibc-targets): Remove.
5023         (lib): Remove.
5024         (stubs): Remove.
5025         ($(objpfx)stubs ../po/manual.pot): Remove.
5026         ($(objpfx)stamp%): Remove.
5027         (make-target-directory): Remove.
5028         (subdir_install): Remove.
5029         (routines): Remove.
5030         (aux): Remove.
5031         (sources): Remove.
5032         (objects): Remove.
5033         (headers): Remove.
5035         [BZ #13750]
5036         * manual/.gitignore: Remove, it's not needed anymore.
5037         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5038         all files in it.
5039         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5040         directory.
5041         (texis): Renamed to $(objpfx)texis.
5042         (texis-path): New, contains path to generated files.
5043         (chapters.%): Use texis-path for complete path, add extra argument
5044         libc-texinfo.sh.
5045         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5046         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5047         (summary,texi, stamp-summary): Use complete path of
5048         files. Generate files in build dir.
5049         (dir-add.texi): Build in build dir.
5050         (libm-err.texi,stamp-libm-err): Likewise.
5051         (version.texi, stamp-version): Likewise.
5052         (.%c.texi): Likewise.
5053         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5054         (mostlyclean): Remove target.
5055         (realclean): Remove target.
5056         (generated): Add new variable with contents from mostlyclean and
5057         realclean, remove entries duplicated in common-mostlyclean, add
5058         stamp-libm-err and stamp-version.
5059         (generated-dirs): Add libc directory.
5060         ($(inst_infodir)/libc.info): Install files from build dir.
5062         * manual/install.texi (Configuring and compiling): Adjust since
5063         the info files are not part of the tar ball anymore.
5065 2012-05-14  Andreas Jaeger  <aj@suse.de>
5067         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5068         variable.
5070 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
5072         [BZ #13717]
5073         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5074         to 2.2.0 where earlier.
5075         * sysdeps/unix/sysv/linux/configure: Regenerated.
5076         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5077         Remove conditional code.
5078         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5079         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5080         Remove conditional code.
5081         [!__NR_lchown]: Likewise.
5082         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5083         [__NR_lchown]: Likewise.
5084         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5085         comment referencing __ASSUME_LCHOWN_SYSCALL.
5086         * sysdeps/unix/sysv/linux/i386/sigaction.c
5087         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5088         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5089         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5090         Remove conditional code.
5091         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5092         (__protocol_available): Remove #if 0 code.
5093         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5094         conditional code.
5095         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5096         * sysdeps/unix/sysv/linux/kernel-features.h
5097         (__ASSUME_GETCWD_SYSCALL): Don't define.
5098         (__ASSUME_REALTIME_SIGNALS): Likewise.
5099         (__ASSUME_PREAD_SYSCALL): Likewise.
5100         (__ASSUME_PWRITE_SYSCALL): Likewise.
5101         (__ASSUME_POLL_SYSCALL): Likewise.
5102         (__ASSUME_LCHOWN_SYSCALL): Likewise.
5103         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5104         non-SPARC.
5105         (__ASSUME_SIOCGIFNAME): Don't define.
5106         (__ASSUME_MSG_NOSIGNAL): Likewise.
5107         (__ASSUME_SENDFILE): Define unconditionally.
5108         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5109         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5110         conditional code.
5111         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5112         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5113         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5114         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5115         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5116         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5117         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5119         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5120         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5122         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5123         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5125         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5126         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5128         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5129         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5131         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5132         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5134         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5135         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5137         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5138         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5140         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5141         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5142         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5143         Remove conditional code.
5144         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5145         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5146         Remove conditional code.
5147         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5148         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5149         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5150         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5151         Remove conditional code.
5152         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5153         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5154         Remove conditional code.
5155         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5156         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5157         Remove conditional code.
5158         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5159         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5160         Remove conditional code.
5161         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5162         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5163         Remove conditional code.
5164         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5165         * sysdeps/unix/sysv/linux/sh/pwrite64.c
5166         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5167         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5168         * sysdeps/unix/sysv/linux/sigaction.c
5169         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5170         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5171         * sysdeps/unix/sysv/linux/sigpending.c
5172         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5173         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5174         * sysdeps/unix/sysv/linux/sigprocmask.c
5175         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5176         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5177         * sysdeps/unix/sysv/linux/sigsuspend.c
5178         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5179         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5180         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5181         (__libc_missing_rt_sigs): Remove.
5182         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5183         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5184         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5185         Remove conditional code.
5186         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5187         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5188         return 1.
5189         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5190         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5191         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5192         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5194 2012-05-14  Andreas Jaeger  <aj@suse.de>
5196         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5197         it's not used in glibc.
5198         (__coshm1): Likewise.
5199         (__acosh1p): Likewise.
5200         (__sgn): Likewise.
5202         * manual/string.texi (Copying and Concatenation): Add missing
5203         variable in concat example.
5204         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5206 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5208         [BZ #14103]
5209         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5210         __builtin_clzl with __builtin_clzll.
5212 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5214         [BZ #14104]
5215         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5216         libc_freeres_ptr.
5218 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5220         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5221         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5222         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5223         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5225 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
5227         * NEWS: Update ia64 info.
5229 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
5231         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5232         used as bcopy.
5234 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
5236         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5237         * sysdeps/unix/syscalls.list (dup3): Likewise.
5238         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5239         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5241 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5243         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5244         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5246 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5248         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5249         thread pointer.
5250         (TLS_IE): Use mov/add instead of movq/addq to load thread
5251         pointer.
5252         (TLS_GD_PREFIX): New.
5253         (TLS_GD): Use it.
5255 2012-05-11  David S. Miller  <davem@davemloft.net>
5257         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5258         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5259         (_FPU_SETCW): Likewise.
5261 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5263         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5264         is 32-byte aligned.
5266 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
5268         [BZ #11837]
5269         * iconvdata/gb18030.c: Update tables.
5270         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
5271         characters specially.
5272         (BODY for TO_LOOP): Add encoding of missing ranges.
5274 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
5276         [BZ #13673]
5277         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5278         * sysdeps/mach/hurd/dup3.c: Likewise.
5279         * sysdeps/mach/hurd/readlinkat.c: Likewise.
5280         * sysdeps/powerpc/memmove.c:: Likewise.
5282 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5284         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5285         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5287 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5289         * elf/elf.h (R_X86_64_RELATIVE64): New.
5290         (R_X86_64_NUM): Updated.
5291         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5292         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
5293         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5294         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5295         tst-quad1pie tst-quad2pie
5296         (modules-names): Add tst-quadmod1 tst-quadmod2.
5297         ($(objpfx)tst-quad1): New dependency.
5298         ($(objpfx)tst-quad2): Likewise.
5299         ($(objpfx)tst-quad1pie): Likewise.
5300         ($(objpfx)tst-quad2pie): Likewise.
5301         * sysdeps/x86_64/tst-quad1.c: New file.
5302         * sysdeps/x86_64/tst-quad1pie.c: New file.
5303         * sysdeps/x86_64/tst-quad2.c: Likewise.
5304         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5305         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5306         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5307         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5308         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5310 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5312         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5313         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5314         * streams/stropts.h (t_scalar_t): Define type.
5316         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5317         (_PATH_PRESERVE): Set to "/var/lib".
5318         (_PATH_RWHODIR): Set to "/var/spool/rwho".
5320         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5321         instead of int.
5323         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5324         if __dir_mkfile succeeded.
5326         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5327         checking for _hurd_dtablesize.  Unlock it right after having
5328         finished _hurd_dtable allocation.
5330 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5332         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5333         * sysdeps/mach/hurd/configure: Regenerated.
5334         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5335         special-casing to...
5336         * sysdeps/gnu/configure.in: ... this new file.
5337         * sysdeps/unix/sysv/linux/configure: Regenerated.
5338         * sysdeps/gnu/configure: New generated file.
5340         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5341         for Linux: use nsec instead of usec, as well as:
5342         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5343         members of type struct timespec.
5344         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5345         New macros.
5346         (struct stat64): Likewise.
5347         (_STATBUF_ST_NSEC): New macro.
5348         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5350         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5351         __strtoul_internal rather than strtoul.
5353 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5355         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5356         and reject them.
5358 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5360         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5361         which preserves existing values.
5362         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5364 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5366         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5367         TIMEOUT values.  Return EINVAL for NFDS values either negative or
5368         greater than FD_SETSIZE.
5370 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5372         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5373         allocated, call __vm_protect to finish enabling the existing space, and
5374         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5375         allocate the remainder.
5377 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5379         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5380         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
5382 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5384         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5385         sysdeps/mach/hurd/readlink.c.
5387         * posix/tst-sysconf.c (posix_options): Only use
5388         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5389         _POSIX_SYNCHRONIZED_IO when they are defined
5390         * sysdeps/mach/hurd/bits/posix_opt.h:
5391         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5392         (_XOPEN_REALTIME): Undefine macro.
5393         (_XOPEN_REALTIME_THREADS): Undefine macro.
5394         (_XOPEN_SHM): Undefine macro.
5395         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5396         macro to -1.
5397         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5398         macro to -1.
5399         (_POSIX_ASYNC_IO): Undefine macro.
5400         (_POSIX_PRIORITIZED_IO): Undefine macro.
5401         (_POSIX_SPIN_LOCKS): Define macro to -1.
5403         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5404         SA_NODEFER, SA_RESETHAND.
5405         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5406         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5407         F_DUPFD_CLOEXEC.
5409 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5411         * elf/Makefile (pldd-modules): Define unconditionally.
5413 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5415         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5417 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5419         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5420         Return ENOENT when name is empty.
5421         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5423 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5425         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5427         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5429 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5431         Fix mlock in all cases except non-readable pages.
5432         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5433         instead of VM_PROT_ALL as parameter to __vm_wire function.
5435         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5436         (__mkdir): When path is `/', just fail with EEXIST.
5437         * sysdeps/mach/hurd/mkdirat.c: Likewise.
5439 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5441         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5442         <sys/uio.h> (for writev).
5443         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5444         and <sys/param.h> (for MIN).
5446 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5448         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5449         REQUESTED_TIME.  Properly set the remaining time and return EINTR
5450         if interrupted.
5452 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5454         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5455         Depend on against $(link-rpcuserlibs).
5457 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5459         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5460         (__libc_stack_end): Do not use attribute_relro.
5461         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5462         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5463         to libthread-provided value.
5464         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5465         attribute_relro.
5467 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5469         [BZ #3748]
5470         * bits/libc-lock.h (__libc_once_get): New macro.
5471         * sysdeps/mach/bits/libc-lock.h: Likewise.
5472         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5473         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5474         instead of using implementation details.
5476         * libio/fileops.c: Unconditionally include <kernel-features.h>.
5477         * libio/freopen.c: Likewise.
5478         * libio/freopen64.c: Likewise.
5479         * misc/syslog.c: Likewise.
5480         * nscd/connections.c: Likewise.
5481         * nscd/netgroupcache.c: Likewise.
5482         * sysdeps/posix/getcwd.c: Likewise.
5484 2012-05-10  Roland McGrath  <roland@hack.frob.com>
5486         * math/w_ilogbf.c: Add #include <limits.h>.
5488 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5490         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5491         path instead of returning without unlocking.
5493         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5494         immediate-write ioctls.
5495         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5497 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5499         * sysdeps/mach/hurd/i386/init-first.c (init): Use
5500         __builtin_frame_address instead of making assumptions about the
5501         location of the return address relative to DATA.  Force early load of
5502         the return address.
5503         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5504         __builtin_frame_address.
5506         dup3 for GNU Hurd.
5507         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5508         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
5509         implement dup3 and do some further code clean-ups.
5510         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5511         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5513 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5515         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5517         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5518         HURD_CRITICAL_END around holding _hurd_dtable_lock.
5519         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5520         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5521         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5522         d->port.lock.
5524         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5525         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
5526         when handler == SIG_ERR, not when handler != SIG_ERR.
5528 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5530         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5531         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5532         definitions.
5534         accept4 for GNU Hurd.
5535         * include/sys/socket.h (__libc_accept4): New prototype.
5536         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
5537         to implement __libc_accept4.
5538         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5539         __libc_accept4.
5540         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5542         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5543         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5544         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5545         signal-defines.sym.
5547 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5549         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5551 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5553         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5554         assertion on O_CLOEXEC flag.
5555         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5556         * hurd/intern-fd.c: Likewise.
5557         * hurd/port2fd.c: Likewise.
5559 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5561         [BZ #3906]
5562         * bits/in.h (IPV6_PKTINFO): Define new macro.
5563         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5565 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5567         [BZ #13954]
5568         [BZ #13955]
5569         [BZ #13956]
5570         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5571         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5572         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5573         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5574         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5575         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5576         * math/libm-test.inc (logb_test) : Additional logb tests.
5578 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
5579             Andreas Jaeger  <aj@suse.de>
5581         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5582         * configure: Regenerated.
5583         * config.h.in (LINK_OBSOLETE_RPC): New macro.
5584         * config.make.in (link-obsolete-rpc): New substituted variable.
5585         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5586         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5587         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5588         (shared-only-routines): Don't set it under [link-obsolete-rpc],
5589         so that libc.a contains the symbols.
5590         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5591         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5592         * sunrpc/auth_none.c: Likewise.
5593         * sunrpc/auth_unix.c: Likewise.
5594         * sunrpc/authdes_prot.c: Likewise.
5595         * sunrpc/authuxprot.c: Likewise.
5596         * sunrpc/clnt_gen.c: Likewise.
5597         * sunrpc/clnt_perr.c: Likewise.
5598         * sunrpc/clnt_raw.c: Likewise.
5599         * sunrpc/clnt_simp.c: Likewise.
5600         * sunrpc/clnt_tcp.c: Likewise.
5601         * sunrpc/clnt_udp.c: Likewise.
5602         * sunrpc/clnt_unix.c: Likewise.
5603         * sunrpc/des_crypt.c: Likewise.
5604         * sunrpc/des_soft.c: Likewise.
5605         * sunrpc/get_myaddr.c: Likewise.
5606         * sunrpc/key_call.c: Likewise.
5607         * sunrpc/key_prot.c: Likewise.
5608         * sunrpc/netname.c: Likewise.
5609         * sunrpc/pm_getmaps.c: Likewise.
5610         * sunrpc/pm_getport.c: Likewise.
5611         * sunrpc/pmap_clnt.c: Likewise.
5612         * sunrpc/pmap_prot.c: Likewise.
5613         * sunrpc/pmap_prot2.c: Likewise.
5614         * sunrpc/pmap_rmt.c: Likewise.
5615         * sunrpc/publickey.c: Likewise.
5616         * sunrpc/rpc_cmsg.c: Likewise.
5617         * sunrpc/rpc_common.c: Likewise.
5618         * sunrpc/rpc_dtable.c: Likewise.
5619         * sunrpc/rpc_prot.c: Likewise.
5620         * sunrpc/rpc_thread.c: Likewise.
5621         * sunrpc/rtime.c: Likewise.
5622         * sunrpc/svc.c: Likewise.
5623         * sunrpc/svc_auth.c: Likewise.
5624         * sunrpc/svc_raw.c: Likewise.
5625         * sunrpc/svc_run.c: Likewise.
5626         * sunrpc/svc_tcp.c: Likewise.
5627         * sunrpc/svc_udp.c: Likewise.
5628         * sunrpc/svc_unix.c: Likewise.
5629         * sunrpc/svcauth_des.c: Likewise.
5630         * sunrpc/xcrypt.c: Likewise.
5631         * sunrpc/xdr.c: Likewise.
5632         * sunrpc/xdr_array.c: Likewise.
5633         * sunrpc/xdr_float.c: Likewise.
5634         * sunrpc/xdr_intXX_t.c: Likewise.
5635         * sunrpc/xdr_mem.c: Likewise.
5636         * sunrpc/xdr_rec.c: Likewise.
5637         * sunrpc/xdr_ref.c: Likewise.
5638         * sunrpc/xdr_sizeof.c: Likewise.
5639         * sunrpc/xdr_stdio.c: Likewise.
5641 2012-05-10  Roland McGrath  <roland@hack.frob.com>
5643         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5644         change.  Update copyright years.
5646 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
5648         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5650 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
5651             Joseph Myers  <joseph@codesourcery.com>
5652             Paul Pluzhnikov  <ppluzhnikov@google.com>
5654         [BZ #14012]
5655         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5656         requiring rpcgen.
5657         [cross-compiling] (extra-libs): Likewise.
5658         [cross-compiling] (extra-libs-others): Likewise.
5659         [cross-compiling] (librpcsvc-routines): Likewise.
5660         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5661         [cross-compiling] (omit-deps): Likewise.
5662         (sunrpc-CPPFLAGS): New variable.
5663         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5664         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5665         (cross-rpcgen-objs): New variable.
5666         (extra-objs): Append $(cross-rpcgen-objs).
5667         ($(cross-rpcgen-objs)): New rule.
5668         ($(objpfx)cross-rpcgen): Likewise.
5669         (rpcgen-cmd): Define to use $(built-program-file).  Expand
5670         comment.
5671         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5672         ($(objpfx)x%.stmp): Likewise.
5673         * sunrpc/proto.h [IS_IN_build] (_): Define.
5674         [IS_IN_build] (_libc_intl_domainname): Likewise.
5676 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5678         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5679         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5680         and R_X86_64_TPOFF64.
5682 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
5684         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5685         sysdeps/unix/sysv/syscalls.list.
5686         (stime): Likewise.
5687         (utime): Likewise.
5688         * sysdeps/unix/sysv/syscalls.list: Remove file.
5690 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
5692         [BZ #3440]
5693         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5694         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5695         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5696         (__LC_IDENTIFICATION): Make these macros useful in #if
5697         expressions, as required by C99.
5699 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
5701         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5702         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
5703         after this.
5705 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
5707         * stdlib/longlong.h: Updated from GCC.
5709 2012-05-09  Andreas Jaeger  <aj@suse.de>
5711         * nscd/nscd.c (run_modes): Make named enum, reorder so that
5712         default is first entry.
5713         (run_mode): Set type.
5714         (main): Remove informal message about syslog.
5715         (options): Fix typo.
5717         [BZ #14053]
5718         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5719         to asm.
5720         (lrint): Likewise.
5721         (llrintf): Likewise.
5722         (llrint): Likewise.
5723         (rint): Likewise.
5724         (rintf): Likewise.
5725         (nearbyint): Likewise.
5726         (nearbyintf): Likewise.
5728 2012-05-09  Andreas Jaeger  <aj@suse.de>
5729             Pedro Alves  <palves@redhat.com>
5731         * nscd/nscd.c (run_mode): Use enum.
5732         (main): Cleanup coding style issue.
5734 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
5735             Andreas Jaeger  <aj@suse.de>
5737         * nscd/nscd.c (go_background): Replaced with...
5738         (run_mode): ... this.
5739         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5740         (options): Add -F --foreground.
5741         (main): Implement it.
5742         (parse_opt): Parse it.
5744 2012-05-09  Andreas Jaeger  <aj@suse.de>
5746         [BZ #14083]
5747         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5748         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5749         -Wconversion warning.
5750         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5751         Likewise.
5753 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
5755         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
5756         == 0.
5757         (LC_ALL): Use macro-int-constant.
5758         (LC_COLLATE): Likewise.
5759         (LC_CTYPE): Likewise.
5760         (LC_MESSAGES): Likewise.
5761         (LC_MONETARY): Likewise.
5762         (LC_NUMERIC): Likewise.
5763         (LC_TIME): Likewise.
5764         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5765         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5766         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5767         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5768         Specify type.
5769         [C99-based standards] (float_t): Expect type.
5770         [C99-based standards] (double_t): Expect type.
5771         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
5772         type.
5773         [C99-based standards] (HUGE_VALL): Likewise.
5774         [C99-based standards] (INFINITY): Likewise.
5775         [C99-based standards] (NAN): Likewise.
5776         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5777         [C99-based standards] (FP_NAN): Likewise.
5778         [C99-based standards] (FP_NORMAL): Likewise.
5779         [C99-based standards] (FP_SUBNORMAL): Likewise.
5780         [C99-based standards] (FP_ZERO): Likewise.
5781         [C99-based standards] (FP_FAST_FMA): Use
5782         optional-macro-int-constant.  Specify type.  Require == 1.
5783         [C99-based standards] (FP_FAST_FMAF): Likewise.
5784         [C99-based standards] (FP_FAST_FMAL): Likewise.
5785         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5786         [C99-based standards] (FP_ILOGBNAN): Likewise.
5787         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5788         Specify type.
5789         [C99-based standards] (MATH_ERREXCEPT): Likewise.
5790         [C99-based standards] (math_errhandling): Specify type.
5791         [ISO99 || ISO11] (signgam): Do not allow.
5792         [non-C99-based standards] (copysignf): Do not allow.
5793         [non-C99-based standards] (exp2f): Likewise.
5794         [non-C99-based standards] (log2f): Likewise.
5795         [non-C99-based standards] (modff): Allow.
5796         [non-C99-based standards] (erff): Do not allow.
5797         [non-C99-based standards] (erfcf): Likewise.
5798         [non-C99-based standards] (gammaf): Likewise.
5799         [non-C99-based standards] (hypotf): Likewise.
5800         [non-C99-based standards] (j0f): Likewise.
5801         [non-C99-based standards] (j1f): Likewise.
5802         [non-C99-based standards] (jnf): Likewise.
5803         [non-C99-based standards] (lgammaf): Likewise.
5804         [non-C99-based standards] (tgammaf): Likewise.
5805         [non-C99-based standards] (y0f): Likewise.
5806         [non-C99-based standards] (y1f): Likewise.
5807         [non-C99-based standards] (ynf): Likewise.
5808         [non-C99-based standards] (isnanf): Likewise.
5809         [non-C99-based standards] (acoshf): Likewise.
5810         [non-C99-based standards] (asinhf): Likewise.
5811         [non-C99-based standards] (atanhf): Likewise.
5812         [non-C99-based standards] (cbrtf): Likewise.
5813         [non-C99-based standards] (expm1f): Likewise.
5814         [non-C99-based standards] (ilogbf): Likewise.
5815         [non-C99-based standards] (log1pf): Likewise.
5816         [non-C99-based standards] (logbf): Likewise.
5817         [non-C99-based standards] (nextafterf): Likewise.
5818         [non-C99-based standards] (remainderf): Likewise.
5819         [non-C99-based standards] (rintf): Likewise.
5820         [non-C99-based standards] (scalbf): Likewise.
5821         [non-C99-based standards] (copysignl): Likewise.
5822         [non-C99-based standards] (exp2l): Likewise.
5823         [non-C99-based standards] (log2l): Likewise.
5824         [non-C99-based standards] (modfl): Allow.
5825         [non-C99-based standards] (erfl): Do not allow.
5826         [non-C99-based standards] (erfcl): Likewise.
5827         [non-C99-based standards] (gammal): Likewise.
5828         [non-C99-based standards] (hypotl): Likewise.
5829         [non-C99-based standards] (j0l): Likewise.
5830         [non-C99-based standards] (j1l): Likewise.
5831         [non-C99-based standards] (jnl): Likewise.
5832         [non-C99-based standards] (lgammal): Likewise.
5833         [non-C99-based standards] (tgammal): Likewise.
5834         [non-C99-based standards] (y0l): Likewise.
5835         [non-C99-based standards] (y1l): Likewise.
5836         [non-C99-based standards] (ynl): Likewise.
5837         [non-C99-based standards] (isnanl): Likewise.
5838         [non-C99-based standards] (acoshl): Likewise.
5839         [non-C99-based standards] (asinhl): Likewise.
5840         [non-C99-based standards] (atanhl): Likewise.
5841         [non-C99-based standards] (cbrtl): Likewise.
5842         [non-C99-based standards] (expm1l): Likewise.
5843         [non-C99-based standards] (ilogbl): Likewise.
5844         [non-C99-based standards] (log1pl): Likewise.
5845         [non-C99-based standards] (logbl): Likewise.
5846         [non-C99-based standards] (nextafterl): Likewise.
5847         [non-C99-based standards] (remainderl): Likewise.
5848         [non-C99-based standards] (rintl): Likewise.
5849         [non-C99-based standards] (scalbl): Likewise.
5850         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5851         [non-C99-based standards] (FP_*): Do not allow.
5852         [C99-based standards] (FP_*): Change to
5853         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5854         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5855         allow.
5856         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5857         (SIG_ERR): Likewise.
5858         [X/Open-based standards] (SIG_HOLD): Likewise.
5859         (SIG_IGN): Likewise.
5860         (SIGABRT): Use macro-int-constant.  Specify type.  Require
5861         positive value.
5862         (SIGFPE): Likewise.
5863         (SIGILL): Likewise.
5864         (SIGINT): Likewise.
5865         (SIGSEGV): Likewise.
5866         (SIGTER): Likewise.
5867         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5868         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5869         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5870         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5871         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5872         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5873         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5874         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5875         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5876         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5877         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5878         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5879         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5880         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5881         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5882         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5883         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5884         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5885         [X/Open-based standards] (SIGTRAP): Likewise.
5886         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5887         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5888         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5889         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5890         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5891         allow.
5893 2012-05-08  Ian Wienand  <ianw@vmware.com>
5895         [BZ #14080]
5896         * time/tzset.c (__tzset_parse_tz): Update default rules for
5897         daylight time changes in the Energy Policy Act of 2005.
5899 2012-05-09  Andreas Jaeger  <aj@suse.de>
5901         [BZ #13983]
5902         * elf/ldconfig.c (parse_conf): Change string to make clear that
5903         ldconfig only issued a warning if ld.so.conf does not exist.
5905 2012-05-08  David S. Miller  <davem@davemloft.net>
5907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5908         movxtod instead of popping the value on the stack.
5910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5912 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
5914         * config.h.in: Add HAVE_ARM_PCS_VFP.
5916 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
5918         [BZ #13979]
5919         * include/features.h: Warn if user requests __FORTIFY_SOURCE
5920         checking but the checks are disabled for any reason.
5922 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5924         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5925         and ELF64_R_TYPE with ELFW(R_TYPE).
5927 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
5929         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5930         (ulimit): Likewise.
5932         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5933         (settimeofday): Likewise.
5935 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
5937         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
5938         a struct th_u2 inside the union, and move tu_block/tu_code into
5939         a new th_u3 union of tu_block/tu_code inside of that.  Move
5940         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
5941         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
5942         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5943         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5944         (th_stuff): Change to th_u1.tu_stuff.
5945         (th_data): Define.
5946         (th_msg): Change to th_u1.th_u2.tu_data.
5948 2012-05-07  David S. Miller  <davem@davemloft.net>
5950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5952         [BZ #14074]
5953         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5954         (SETUP_PIC_REG): Use it.
5955         (SETUP_PIC_REG_LEAF): Use it.
5957 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
5959         [BZ #13885]
5960         [BZ #13923]
5961         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5962         USE_AS_EXPM1L.
5963         (EXPL_FINITE): Likewise.
5964         (FLDLOG): Likewise.
5965         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5966         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5967         e_expl.S.
5968         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5969         USE_AS_EXPM1L.
5970         (EXPL_FINITE): Likewise.
5971         (FLDLOG): Likewise.
5972         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5973         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5974         e_expl.S.
5975         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
5976         test of -max_value argument for long double.
5977         * sysdeps/i386/fpu/libm-test-ulps: Update.
5978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5980 2012-05-06  David S. Miller  <davem@davemloft.net>
5982         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5983         quad soft-float symbols whose references which are compiler
5984         generated.
5985         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5987 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
5989         [BZ #13884]
5990         [BZ #13914]
5991         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5992         USE_AS_EXP10L.
5993         (EXPL_FINITE): Likewise.
5994         (FLDLOG): Likewise.
5995         (c0): Likewise.
5996         (c1): Likewise.
5997         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
5998         Adjust comments for base varying.
5999         (__expl_finite): Change alias to EXPL_FINITE.
6000         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6001         e_expl.S.
6002         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6003         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6004         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6005         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6006         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6007         USE_AS_EXP10L.
6008         (EXPL_FINITE): Likewise.
6009         (FLDLOG): Likewise.
6010         (c0): Likewise.
6011         (c1): Likewise.
6012         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
6013         Adjust comments for base varying.
6014         (__expl_finite): Change alias to EXPL_FINITE.
6015         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
6016         tests for bugs.
6017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6019         [BZ #14064]
6020         * math/libm-test.inc (check_float_internal): Correct ulp
6021         calculation for subnormal expected results.
6023 2012-05-06  Andreas Jaeger  <aj@suse.de>
6025         * Makeconfig (+math-flags): New, set to -frounding-math.
6026         (+cflags): Add +math-flags so that all of glibc gets compiled with
6027         it.
6029         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6031 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
6033         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6034         Disable one test.
6036         [BZ #13787]
6037         [BZ #13922]
6038         [BZ #14036]
6039         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6040         (__ieee754_expl): Allow for and saturate large arguments.
6041         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6042         (u_threshold): Likewise.
6043         (__exp): Call __ieee754_exp before checking for overflow and
6044         underflow.
6045         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6046         (u_threshold): Likewise.
6047         (__expf): Call __ieee754_expf before checking for overflow and
6048         underflow.
6049         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6050         (u_threshold): Likewise.
6051         (__expl): Call __ieee754_expl before checking for overflow and
6052         underflow.
6053         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6054         (__ieee754_expl): Allow for and saturate large arguments.
6055         * math/libm-test.inc (exp_test): Add another test.  Do not allow
6056         missing overflow exception on overflow.
6057         (expm1_test): Do not allow missing overflow exception on overflow.
6059         * sysdeps/i386/fpu/e_expl.c: Move to ...
6060         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
6061         rather than using inline asm.
6062         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6063         * sysdeps/x86_64/fpu/e_expl.S: Copy from
6064         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6066         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6067         (nice): Likewise.
6068         (poll): Likewise.
6069         (signal): Likewise.
6070         (time): Likewise.
6071         (times): Likewise.
6073 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6075         * sysdeps/unix/syscalls.list (adjtime): Add entry from
6076         sysdeps/unix/common/syscalls.list.
6077         (fchmod): Likewise.
6078         (fchown): Likewise.
6079         (ftruncate): Likewise.
6080         (getrusage): Likewise.
6081         (gettimeofday): Likewise.
6082         (setpgid): Likewise.
6083         (setregid): Likewise.
6084         (setreuid): Likewise.
6085         (sigaction): Likewise.
6086         (truncate): Likewise.
6087         (vhangup): Likewise.
6088         * sysdeps/unix/common/syscalls.list: Remove file.
6089         * sysdeps/unix/bsd/Implies: Don't include unix/common.
6090         * sysdeps/unix/sysv/linux/Implies: Likewise.
6092 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
6094         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6096         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6097         Moved to ...
6098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6099         Here.
6100         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6101         to ...
6102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6103         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6104         to ...
6105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6106         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6107         to ...
6108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6109         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6110         to ...
6111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6112         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6113         to ...
6114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6115         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6116         to ...
6117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6118         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6119         to ...
6120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6121         Here.
6122         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6123         to ...
6124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6125         Here.
6126         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6127         to ...
6128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6129         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6130         Moved to ...
6131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6132         Here.
6133         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6134         to ...
6135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6137 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6139         * sysdeps/unix/common/bits/dirent.h: Remove file.
6140         * sysdeps/unix/common/bits/fcntl.h: Likewise.
6142         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6143         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6144         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6145         * sysdeps/unix/bsd/isatty.c: Likewise.
6146         * sysdeps/unix/bsd/tcdrain.c: Likewise.
6147         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6148         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6150 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6152         [BZ #13563]
6153         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6154         long double comparison inaccuracies.
6155         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6158 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
6160         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6161         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6163 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6165         [BZ #14049]
6166         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6167         nonzero digits before rounding a hex value.
6168         * stdlib/tst-strtod.c (tests): Add another test.
6170 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6172         * sysdeps/s390/fpu/libm-test-ulps: Update.
6174 2012-05-03  Andreas Jaeger  <aj@suse.de>
6176         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6177         does not get optimized out.
6178         (malloc_opt_barrier): New.
6180 2012-05-03  Andreas Jaeger  <aj@suse.de>
6181             Roland McGrath  <roland@hack.frob.com>
6183         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6184         intermediate file deletion.
6185         (generated): Add .symlist files.
6187 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
6189         [BZ #13775]
6190         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6191         Redirect under this condition.
6192         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6193         [__USE_GNU] (__dprintf_chk): Not under this condition.
6194         [__USE_GNU] (__vdprintf_chk): Likewise.
6195         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6196         under this condition.
6197         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6198         [__USE_XOPEN2K8] (dprintf): Define under this condition.
6199         [__USE_XOPEN2K8] (vdprintf): Likewise.
6200         [__USE_GNU] (__dprintf_chk): Not under this condition.
6201         [__USE_GNU] (__vdprintf_chk): Likewise.
6202         [__USE_GNU] (dprintf): Likewise.
6203         [__USE_GNU] (vdprintf): Likewise.
6205 2012-05-03  Roland McGrath  <roland@hack.frob.com>
6207         * elf/Makefile (common-generated): Set this instead of generated for
6208         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
6209         $(all-built-dso)-derived lists.
6211 2012-05-03  Andreas Jaeger  <aj@suse.de>
6213         * sysdeps/i386/fpu/libm-test-ulps: Update.
6215         * FAQ: Removed.
6216         * FAQ.in: Likewise.
6217         * scripts/gen-FAQ.pl: Likewise.
6218         * manual/install.texi (Installation): Point to online location of
6219         FAQ.
6220         * Makefile (files-for-dist): Remove FAQ.
6221         (FAQ): Remove.
6223 2012-05-02  Allan McRae  <allan@archlinux.org>
6225         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6226         (LDFLAGS-reldepmod5.so): Likewise.
6227         (LDFLAGS-reldep6mod1.so): Likewise.
6228         (LDFLAGS-reldep6mod4.so): Likewise.
6229         (LDFLAGS-reldep8mod3.so): Likewise.
6230         (LDFLAGS-unload4mod1.so): Likewise.
6231         (LDFLAGS-unload4mod2.so): Likewise.
6232         (LDFLAGS-tst-initorder): Likewise.
6233         (LDFLAGS-tst-initordera2.so): Likewise.
6234         (LDFLAGS-tst-initordera3.so): Likewise.
6235         (LDFLAGS-tst-initordera4.so): Likewise.
6236         (LDFLAGS-tst-initorderb2.so): Likewise.
6237         (LDFLAGS-noload): Likewise.
6238         (LDFLAGS-next): Likewise.
6239         (LDFLAGS-order2mod1.so): Likewise.
6240         (LDFLAGS-order2mod2.so): Likewise.
6241         (LDFLAGS-tst-initorder2): Likewise.
6242         (LDFLAGS-tst-initorder2a.so): Likewise.
6243         (LDFLAGS-tst-initorder2b.so): Likewise.
6244         (LDFLAGS-tst-initorder2c.so): Likewise.
6245         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6247 2012-05-02  David S. Miller  <davem@davemloft.net>
6249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6251 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6253         [BZ #14055]
6254         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6256 2012-05-02  Andreas Jaeger  <aj@suse.de>
6258         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6259         since we manipulate rounding mode.
6260         (CPPFLAGS-test-idouble.c): Likewise.
6261         (CPPFLAGS-test-ifloat.c): Likewise.
6262         (CFLAGS-test-ldouble.c): Likewise.
6263         (CFLAGS-test-double.c): Likewise.
6264         (CFLAGS-test-float.c): Likewise.
6265         (CFLAGS-test-misc.c): Likewise.
6266         (CFLAGS-test-test-fenv.c): Likewise.
6268 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6270         [BZ #2550]
6271         [BZ #2570]
6272         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6273         comparisons to determine direction to adjust input.
6275 2012-05-01  Roland McGrath  <roland@hack.frob.com>
6277         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6278         output to the target.
6280         * scripts/localplt.awk: New file.
6281         * elf/Makefile ($(objpfx)check-localplt): Target removed.
6282         (check-localplt-CFLAGS): Variable removed.
6283         ($(all-built-dso:=.jmprel)): New static pattern rule.
6284         (generated): Add those targets.
6285         (localplt-built-dso): New variable.
6286         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6288         * elf/check-localplt.c: File removed.
6290         * scripts/check-execstack.awk: New file.
6291         * elf/Makefile ($(objpfx)check-execstack): Target removed.
6292         (check-execstack-CFLAGS): Variable removed.
6293         ($(objpfx)check-execstack.h): Target removed.
6294         ($(objpfx)execstack-default): New target.
6295         (generated): Add that instead of check-execstack.h.
6296         ($(all-built-dso:=.phdr)): New static pattern rule.
6297         (generated): Add those targets.
6298         * elf/check-execstack.c: File removed.
6300         * scripts/check-textrel.awk: New file.
6301         * elf/Makefile ($(objpfx)check-textrel): Target removed.
6302         (check-textrel-CFLAGS): Variable removed.
6303         (all-built-dso): Use := to define.o
6304         ($(all-built-dso:=.dyn)): New static pattern rule.
6305         (generated): Add those targets.
6306         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6307         * config.make.in (READELF): New substituted variable.
6308         * elf/check-textrel.c: File removed.
6310 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
6312         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6313         allow.
6314         * conform/data/ctype.h-data [C99-based standards] (isblank):
6315         Expect function.
6316         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6317         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6318         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6319         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6320         Specify type.  Require positive value.
6321         (EILSEQ): Likewise.
6322         (ERANGE): Likewise.
6323         [ISO || POSIX] (EILSEQ): Do not expect.
6324         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6325         Specify type.  Require positive value.
6326         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6327         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6328         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6329         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6330         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6331         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6332         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6333         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6334         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6335         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6336         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6337         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6338         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6339         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6340         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6341         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6342         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6343         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6344         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6345         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6346         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6347         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6348         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6349         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6350         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6351         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6352         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6353         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6354         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6355         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6356         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6357         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6358         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6359         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6360         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6361         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6362         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6363         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6364         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6365         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6366         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6367         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6368         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6369         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6370         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6371         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6372         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6373         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6374         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6375         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6376         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6377         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6378         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6379         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6380         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6381         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6382         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6383         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6384         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6385         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6386         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6387         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6388         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6389         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6390         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6391         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6392         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6393         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6394         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6395         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6396         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6397         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6398         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6399         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6400         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6401         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6402         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6403         Require >= 2.
6404         (FLT_ROUNDS): Expect as macro, not constant.
6405         (FLT_MANT_DIG): Use macro-int-constant.
6406         (DBL_MANT_DIG): Likewise.
6407         (LDBL_MANT_DIG): Likewise.
6408         (FLT_DIG): Likewise.
6409         (DBL_DIG): Likewise.
6410         (LDBL_DIG): Likewise.
6411         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
6412         (DBL_MIN_EXP): Likewise.
6413         (LDBL_MIN_EXP): Likewise.
6414         (FLT_MAX_EXP): Use macro-int-constant.
6415         (DBL_MAX_EXP): Likewise.
6416         (LDBL_MAX_EXP): Likewise.
6417         (FLT_MAX_10_EXP): Likewise.
6418         (DBL_MAX_10_EXP): Likewise.
6419         (LDBL_MAX_10_EXP): Likewise.
6420         (FLT_MAX): Use macro-constant.
6421         (DBL_MAX): Likewise.
6422         (LDBL_MAX): Likewise.
6423         (FLT_EPSILON): Use macro-constant.  Give upper bound.
6424         (DBL_EPSILON): Likewise.
6425         (LDBL_EPSILON): Likewise.
6426         (FLT_MIN): Likewise.
6427         (DBL_MIN): Likewise.
6428         (LDBL_MIN): Likewise.
6429         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6430         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6431         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6432         [ISO11] (FLT_HAS_SUBNORM): Likewise.
6433         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6434         [ISO11] (DBL_DECIMAL_DIG): Likewise.
6435         [ISO11] (FLT_DECIMAL_DIG): Likewise.
6436         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6437         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6438         [ISO11] (FLT_TRUE_MIN): Likewise.
6439         [ISO11] (LDBL_TRUE_MIN): Likewise.
6440         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6441         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6442         (SCHAR_MIN): Use macro-int-constant.  Specify type.
6443         (SCHAR_MAX): Likewise.
6444         (UCHAR_MAX): Likewise.
6445         (CHAR_MIN): Likewise.
6446         (CHAR_MAX): Likewise.
6447         (MB_LEN_MAX): Use macro-int-constant.
6448         (SHRT_MIN): Use macro-int-constant.  Specify type.
6449         (SHRT_MAX): Likewise.
6450         (USHRT_MAX): Likewise.
6451         (INT_MAX): Likewise.
6452         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
6453         bound negative.
6454         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6455         bound with "U".
6456         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6457         bound with "L".
6458         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
6459         bound negative.  Suffix upper bound with "L".
6460         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6461         bound with "UL".
6462         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6463         Specify type.
6464         [C99-based standards] (LLONG_MAX): Likewise.
6465         [C99-based standards] (ULLONG_MAX): Likewise.
6466         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
6467         == 0.
6468         [ISO11] (max_align_t): Require type.
6469         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6471         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6472         from $CFLAGS, without defining away __attribute__ calls.
6473         (checknamespace): Use $CFLAGS_namespace.
6475         * conform/conformtest.pl (@keywords): Only include C99 keywords
6476         for standards based on C99 or C11.
6478         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6479         Disable tests.
6480         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6481         UNIX98]: Likewise.
6483         * conform/conformtest.pl: Handle "macro-int-constant" and test for
6484         usability of symbols in #if.
6486         * conform/conformtest.pl: If macro or constant types start
6487         "promoted:", expect the symbol to be of the following type
6488         promoted by the integer promotions.
6490         * conform/conformtest.pl: Parse all "constant" and "macro" lines
6491         in one place.  Also handle "macro-constant".
6493         * conform/conformtest.pl: Only accept expected macro values with
6494         "==".  Parse all "macro" lines in one place.
6495         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6497         * conform/conformtest.pl: Handle braced types on "constant" lines
6498         instead of handling "typed-constant".
6499         * conform/data/signal.h-data: Use "constant" instead of
6500         "typed-constant".
6502         * conform/conformtest.pl: Handle "optional-" at start of lines in
6503         one place rather than duplicating several cases.  Handle each
6504         format of "macro" line with initial "optional-".
6506         * conform/conformtest.pl: Only accept expected constant or
6507         optional-constant values with "==".  Parse all "constant" lines in
6508         one place.  Parse all "optional-constant" lines in one place.
6509         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6510         * conform/data/fmtmsg.h-data: Likewise.
6511         * conform/data/netinet/in.h-data: Likewise.
6512         * conform/data/tar.h-data: Likewise.
6513         * conform/data/limits.h-data: Use "==" form on "constant" and
6514         "optional-constant" lines.
6516         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6517         Use -std=c99 for XOPEN2K.
6518         (@knownproblems): Remove.
6519         (newtoken): Don't check %isknown.
6521         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6522         Do not expect macro.
6523         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6524         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6525         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6526         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6527         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6528         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6529         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6530         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6531         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6532         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6533         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6534         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6535         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6536         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6537         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6538         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6539         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6540         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6541         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6542         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6543         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6544         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6545         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6546         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6547         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6548         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6549         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6550         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6551         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6552         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6553         [XPG3] (acosh): Likewise.
6554         [XPG3] (asinh): Likewise.
6555         [XPG3] (atanh): Likewise.
6556         [XPG3] (cbrt): Likewise.
6557         [XPG3] (expm1): Likewise.
6558         [XPG3] (ilogb): Likewise.
6559         [XPG3] (log1p): Likewise.
6560         [XPG3] (logb): Likewise.
6561         [XPG3] (nextafter): Likewise.
6562         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6563         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6564         [XPG3] (remainder): Likewise.
6565         [XPG3] (rint): Likewise.
6566         [XPG3 || XPG4 || UNIX98] (round): Likewise.
6567         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6568         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6569         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6570         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6571         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6572         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6573         [UNIX98 || XOPEN2K] (scalb): Expect.
6574         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6575         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6576         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6577         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6578         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6579         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6580         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6581         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6582         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6583         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6584         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6585         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6586         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6587         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6588         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6589         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6590         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6591         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6592         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6593         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6594         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6595         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6596         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6597         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6598         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6599         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6600         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6601         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6602         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6603         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6604         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6605         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6606         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6607         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6608         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6609         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6610         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6611         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6612         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6613         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6614         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6615         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6616         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6617         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6618         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6619         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6620         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6621         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6622         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6623         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6624         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6625         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6626         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6627         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6628         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6629         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6630         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6631         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6632         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6633         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6634         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6635         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6636         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6637         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6638         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6639         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6640         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6641         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6642         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6643         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6644         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6645         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6646         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6647         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6648         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6649         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6650         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6651         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6652         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6653         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6654         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6655         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6656         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6657         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6658         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6659         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6660         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6661         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6662         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6663         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6664         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6665         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6666         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6667         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6668         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6669         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6670         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6671         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6672         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6673         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6674         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6675         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6676         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6677         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6678         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6679         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6680         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6681         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6682         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6683         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6684         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6685         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6686         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6687         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6688         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6689         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6690         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6691         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6692         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6693         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6694         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6695         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6696         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6697         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6698         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6699         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6700         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6701         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6702         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6703         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6704         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6705         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6706         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6707         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6708         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6709         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6710         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6712         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6713         _XOPEN_SOURCE_EXTENDED for XPG4.
6715         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6717         * Makeconfig (localtime): Remove variable.
6718         (inst_localtime-file): Likewise.
6720 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6723         Update.
6724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6725         Update.
6726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6727         Update.
6728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6729         Update.
6730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6731         Update.
6732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6733         Update.
6734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6735         Update.
6736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6737         Update.
6738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6739         Update.
6741 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
6743         [BZ #2550]
6744         [BZ #2570]
6745         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6746         comparisons to determine direction to adjust input.
6747         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6748         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6749         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6750         Likewise.
6751         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6752         Likewise.
6753         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6754         Likewise.
6755         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6756         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6757         Likewise.
6758         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6759         Likewise.
6760         * math/libm-test.inc (nexttoward_test): Add more tests.
6762 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6764         [BZ #14040]
6765         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6766         in version GLIBC_2.1, not GLIBC_2.0.
6767         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6768         Likewise.
6770 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
6772         [BZ #13942]
6773         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6774         (1 - x) * (1 + x).
6775         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6776         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6777         * math/libm-test.inc (acos_test): Add more tests.
6778         (asin_test): Likewise.
6779         * sysdeps/i386/fpu/libm-test-ulps: Update.
6780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6782         [BZ #14034]
6783         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6784         of square root.
6785         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6786         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6787         * math/libm-test.inc (acos_test_tonearest): New function.
6788         (acos_test_towardzero): Likewise.
6789         (acos_test_downward): Likewise.
6790         (acos_test_upward): Likewise.
6791         (asin_test_tonearest): Likewise.
6792         (asin_test_towardzero): Likewise.
6793         (asin_test_downward): Likewise.
6794         (asin_test_upward): Likewise.
6795         (main): Call the new functions.
6796         * sysdeps/i386/fpu/libm-test-ulps: Update.
6797         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6799         [BZ #13884]
6800         [BZ #13924]
6801         * math/e_exp10.c: Include <float.h>.
6802         (__ieee754_exp10): Handle underflow here rather than multiplying
6803         large negative argument by M_LN10.
6804         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6805         of __ieee754_expf.
6806         * math/e_exp10l.c: Include <float.h>.
6807         (__ieee754_exp10l): Handle underflow here rather than multiplying
6808         large negative argument by M_LN10l.
6809         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
6810         spurious overflow exception on underflow.
6812 2012-04-29  Marek Polacek  <polacek@redhat.com>
6814         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6815         (__fortify_function): New macro.
6816         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6817         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6818         __extern_always_inline.
6819         * libio/bits/stdio2.h: Likewise.
6820         * libio/bits/stdio.h: Likewise.
6821         * string/string.h: Likewise.
6822         * string/bits/string3.h: Likewise.
6823         * include/stdio.h: Likewise.
6824         * stdlib/bits/stdlib.h: Likewise.
6825         * stdlib/stdlib.h: Likewise.
6826         * rt/bits/mqueue2.h: Likewise.
6827         * rt/mqueue.h: Likewise.
6828         * posix/bits/unistd.h: Likewise.
6829         * posix/unistd.h: Likewise.
6830         * io/bits/poll2.h: Likewise.
6831         * io/bits/fcntl2.h: Likewise.
6832         * io/fcntl.h: Likewise.
6833         * io/sys/poll.h: Likewise.
6834         * misc/bits/syslog.h: Likewise.
6835         * misc/bits/syslog-ldbl.h: Likewise.
6836         * misc/sys/syslog.h: Likewise.
6837         * socket/bits/socket2.h: Likewise.
6838         * socket/sys/socket.h: Likewise.
6839         * debug/tst-chk1.c: Likewise.
6840         * wcsmbs/bits/wchar2.h: Likewise.
6841         * wcsmbs/bits/wchar-ldbl.h: Likewise.
6842         * wcsmbs/wchar.h: Likewise.
6844 2012-04-29  Andreas Jaeger  <aj@suse.de>
6846         * Makerules (tests): Remove enable-check-abi protection.
6847         (check-abi-warn): Remove.
6848         (check-abi-%): Remove check-abi-warn usage.
6850         * configure.in: Remove check-abi configure option.
6851         * configure: Regenerated.
6852         * config.make.in (enable-check-abi): Remove.
6854 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
6856         [BZ #14033]
6857         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6858         double functions to double *_finite functions.
6860         [BZ #13941]
6861         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6862         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6863         LDBL_MIN_EXP.
6864         * stdio-common/Makefile (tests): Add tst-sprintf3.
6865         * stdio-common/tst-sprintf3.c: New file.
6867         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6868         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6870 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
6872         * conform/conformtest.pl: Remove duplicate typed-constant
6873         handling.
6875 2012-04-28  David S. Miller  <davem@davemloft.net>
6877         * Makerules (%.abilist): Add vpath on sysdep_dirs.
6878         (check-abi-%): Remove AWK script prerequisite and explicit
6879         abilist directory.
6880         (check-abi): Rewrite to just diff the symlist with the abilist.
6881         (config-tls, config-abi-config): Delete, no longer used.
6882         (update-abi-%): Remove AWK script and explicit abilist directory.
6883         (update-abi): Rewrite to simply compare and conditionally copy the
6884         symlist and the sysdep abilist file.  Remove update-abi-config
6885         checks.
6886         * abilist/ld.abilist: Remove.
6887         * abilist/libBrokenLocale.abilist: Remove.
6888         * abilist/libanl.abilist: Remove.
6889         * abilist/libcrypt.abilist: Remove.
6890         * abilist/libdl.abilist: Remove.
6891         * abilist/librt.abilist: Remove.
6892         * abilist/libthread_db.abilist: Remove.
6893         * abilist/libutil.abilist: Remove.
6894         * scripts/extract-abilist.awk: Remove.
6895         * scripts/merge-abilist.awk: Remove.
6896         * sysdeps/generic/libcidn.abilist: New file.
6897         * sysdeps/generic/libnss_compat.abilist: New file.
6898         * sysdeps/generic/libnss_db.abilist: New file.
6899         * sysdeps/generic/libnss_dns.abilist: New file.
6900         * sysdeps/generic/libnss_files.abilist: New file.
6901         * sysdeps/generic/libnss_hesiod.abilist: New file.
6902         * sysdeps/generic/libnss_nis.abilist: New file.
6903         * sysdeps/generic/libnss_nisplus.abilist: New file.
6904         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6905         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6906         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6907         file.
6908         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6909         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6910         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6911         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6912         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6913         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6914         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6915         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6916         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6917         file.
6918         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6919         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6920         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6921         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6922         file.
6923         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6924         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6925         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6926         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6927         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6928         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6929         file.
6930         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6931         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6932         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6933         file.
6934         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6935         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6936         New file.
6937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6938         New file.
6939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6940         New file.
6941         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6942         New file.
6943         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6944         New file.
6945         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6946         New file.
6947         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6948         New file.
6949         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6950         New file.
6951         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6952         New file.
6953         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6954         New file.
6955         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6956         New file.
6957         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6958         New file.
6959         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6960         New file.
6961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6962         file.
6963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6964         New file.
6965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6966         New file.
6967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6968         file.
6969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6970         New file.
6971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6972         New file.
6973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6974         file.
6975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6976         New file.
6977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6978         New file.
6979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6980         New file.
6981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6982         New file.
6983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6984         New file.
6985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6986         New file.
6987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6989         file.
6990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6991         New file.
6992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6993         file.
6994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6995         file.
6996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6997         file.
6998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6999         file.
7000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7001         file.
7002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7003         New file.
7004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7005         file.
7006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7007         file.
7008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7009         New file.
7010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7011         file.
7012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7014         file.
7015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7016         New file.
7017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7018         file.
7019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7020         file.
7021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7022         file.
7023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7024         file.
7025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7026         file.
7027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7028         New file.
7029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7030         file.
7031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7032         file.
7033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7034         New file.
7035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7036         file.
7037         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7038         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7039         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7040         file.
7041         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7042         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7043         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7044         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7045         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7046         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7047         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7048         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7049         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7050         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7053         file.
7054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7055         New file.
7056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7057         file.
7058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7059         file.
7060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7061         file.
7062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7063         file.
7064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7065         file.
7066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7067         New file.
7068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7069         New file.
7070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7071         file.
7072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7073         New file.
7074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7075         file.
7076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7078         file.
7079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7080         New file.
7081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7082         file.
7083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7084         file.
7085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7086         file.
7087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7088         file.
7089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7090         file.
7091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7092         New file.
7093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7094         New file.
7095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7096         file.
7097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7098         New file.
7099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7100         file.
7102 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
7104         * conform/conformtest.pl: Fix typo in handling typed-constant from
7105         allow-header.
7107 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7109         * README: Cut down references to pre-2.6 Linux kernels and
7110         Linuxthreads.  Update lists of configurations in libc and ports
7111         and sort alphabetically.  Say "or newer" with Linux kernel version
7112         requirements.
7114         * config.h.in [IS_IN_build]: Allow compiling without optimization.
7116 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7118         [BZ #887]
7119         * math/libm-test.inc (logb_test_downward): New test to expose
7120         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7121         rounding mode.
7123 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7125         [BZ #14027]
7126         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7127         to be done.
7128         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7129         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7131 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
7133         * sysdeps/unix/i386/brk.S: Remove file.
7134         * sysdeps/unix/i386/dl-brk.S: Likewise.
7135         * sysdeps/unix/i386/pipe.S: Likewise.
7136         * sysdeps/unix/i386/sigreturn.S: Likewise.
7137         * sysdeps/unix/i386/syscall.S: Likewise.
7138         * sysdeps/unix/i386/vfork.S: Likewise.
7139         * sysdeps/unix/i386/wait.S: Likewise.
7141         * sysdeps/unix/common/tcsendbrk.c: Move to ...
7142         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7144         * configure.in (arm*-none*): Do not allow without
7145         --enable-hacker-mode.
7146         (netbsd*): Remove case setting base_os.
7147         (386bsd*): Likewise.
7148         (freebsd*): Likewise.
7149         (bsdi*): Likewise.
7150         (osf*): Likewise.
7151         (sunos*): Likewise.
7152         (ultrix*): Likewise.
7153         (newsos*): Likewise.
7154         (dynix*): Likewise.
7155         (*bsd*): Likewise.
7156         (sysv*): Likewise.
7157         (isc*): Likewise.
7158         (esix*): Likewise.
7159         (sco*): Likewise.
7160         (minix*): Likewise.
7161         (irix4*): Likewise.
7162         (irix6*): Likewise.
7163         (solaris[2-9]*): Likewise.
7164         (none): Likewise.
7165         * configure: Regenerated.
7167 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7169         [BZ #11521]
7170         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7171         overflow or cancellation in calculating denominator.
7172         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7173         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7174         down expression to avoid unexpected rounding in newer GCCs.
7175         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7177 2012-04-26  David S. Miller  <davem@davemloft.net>
7179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7180         long-double compat symbols.
7181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7195 2012-04-25  David S. Miller  <davem@davemloft.net>
7197         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7198         HWCAP_* values only after the memory barriers have been defined.
7199         (atomic_full_barrier): Define.
7200         (atomic_read_barrier): Define.
7201         (atomic_write_barrier): Define.
7203 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7205         * shlib-versions: Add libgcc_s version information.
7206         * sysdeps/generic/libgcc_s.h: Remove.
7207         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7208         libgcc_s.h.
7209         * sysdeps/gnu/unwind-resume.c: Likewise.
7210         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7212 2012-04-25  David S. Miller  <davem@davemloft.net>
7214         * sysdeps/unix/sparc/brk.S: Delete.
7215         * sysdeps/unix/sparc/dl-brk.S: Delete.
7216         * sysdeps/unix/sparc/pipe.S: Delete.
7217         * sysdeps/unix/sparc/sysdep.S: Delete.
7218         * sysdeps/unix/sparc/sysdep.h: Delete.
7219         * sysdeps/unix/sparc/vfork.S: Delete.
7220         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7221         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7222         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7223         ret_ERRVAL, r0, r1, MOVE): Define.
7224         (JUMPTARGET): Remove.
7225         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7226         sysdeps/unix/sparc/sysdep.h
7227         (ENTRY, END): Remove.
7228         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7230 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
7232         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7233         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7234         -DIS_IN_build.
7236         * timezone/README: Update upstream location and email address for
7237         tzcode and tzdata.
7238         * timezone/zdump.c: Update from tzcode 2012b.
7239         * timezone/zic.c: Likewise.
7241         * configure.in (libc_cv_as_needed): Remove test.
7242         * configure: Regenerated.
7243         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7244         conditional definition.
7245         [$(have-as-needed) != yes] (no-as-needed): Likewise.
7246         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7247         * config.make.in (have-as-needed): Remove variable.
7249 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7250             Paul Pluzhnikov  <ppluzhnikov@google.com>
7252         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7253         strings correctly.
7255 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7257         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7258         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7259         * sysdeps/sh/strlen.S: Likewise.
7261 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7263         * sysdeps/unix/fork.S: Remove file.
7264         * sysdeps/unix/i386/fork.S: Likewise.
7265         * sysdeps/unix/sparc/fork.S: Likewise.
7267         * sysdeps/unix/system.c: Remove file.
7268         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7270         * sysdeps/unix/getegid.S: Remove file.
7271         * sysdeps/unix/geteuid.S: Likewise.
7273 2012-04-24  Roland McGrath  <roland@hack.frob.com>
7275         * scripts/check-localplt.awk: New file.
7276         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7277         of diff.
7278         * scripts/data/localplt-generic.data: Add a comment.
7280         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7281         NODE when __dir_mkfile failed.
7282         * sysdeps/mach/hurd/symlinkat.c: Likewise.
7283         Reported by Ludovic Courtès <ludo@gnu.org>.
7285 2012-04-24  Andreas Jaeger  <aj@suse.de>
7287         * Makerules (common-clean): Also remove gen-as-const-headers
7288         files.
7290 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7292         * Makerules (native-compile): Do not change working directory for
7293         build.  Use $(OUTPUT_OPTION) in command.
7294         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7296 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7298         [BZ #13886]
7299         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7300         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7301         * math/libm-test.inc (floor_test): Add more tests.
7302         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7304 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7306         * sysdeps/unix/getdents.c: Remove file.
7307         * sysdeps/unix/sysv/getdents.c: Likewise.
7308         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7310         * sysdeps/unix/syscalls.list (madvise): Add syscall from
7311         sysdeps/unix/mman/syscalls.list.
7312         (mmap): Likewise.
7313         (mprotect): Likewise.
7314         (msync): Likewise.
7315         (munmap): Likewise.
7316         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7317         * sysdeps/unix/mman/syscalls.list: Remove.
7318         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7320         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7321         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7322         * configure: Regenerated.
7323         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7324         $(libgcc_s_suffix).
7325         * config.make.in (libgcc_s_suffix): Remove variable.
7327 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
7329         * sysdeps/unix/sysv/gethostname.c: Move to ...
7330         * sysdeps/posix/gethostname.c: ... here.
7332         * sysdeps/unix/execve.S: Remove file.
7334         * sysdeps/unix/_exit.S: Remove file.
7336 2012-04-23  Andreas Jaeger  <aj@suse.de>
7338         [BZ #13739]
7339         * manual/Makefile: Remove make dist support, there's no
7340         need for a stand-alone documentation tar ball.
7341         (TEXI2DVI): Define always, it's not in Makeconfig.
7342         (dist): Removed.
7343         (tar-it): Removed.
7344         (edition): Removed.
7345         (glibc-doc-$(edition).tar): Removed
7346         (%.Z): Removed.
7347         (%.gz): Removed.
7348         (%.uu): Removed.
7349         (ETAGS): Remove, it's in Makeconfig.
7350         (move-if-change): Remove, it's in Makeconfig.
7352 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
7354         [BZ #13970]
7355         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7356         (strtod, strtof, strtold, strtol, strtoul, strtoq)
7357         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7358         (strtod_l, strtof_l, strtold_l): Remove __wur.
7359         It is not necessarily an error to ignore strtol's return value.
7360         One can reliably look at the stored endptr to decide whether
7361         the number had valid syntax.
7363 2012-04-21  Andreas Jaeger  <aj@suse.de>
7365         [BZ #13739]
7366         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7368 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
7370         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7371         * sysdeps/unix/sysv/Versions: Remove file.
7373 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
7375         [BZ #13927]
7376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7378 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
7380         [BZ #7064]
7381         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7382         version from __vm86.
7384 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
7386         * sysdeps/unix/common/lxstat.c: Remove file.
7387         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7389         * sysdeps/unix/sysv/Makefile: Remove file.
7391         * sysdeps/unix/sysv/direct.h: Remove file.
7393         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7394         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7395         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7396         * sysdeps/unix/sysv/bits/signum.h: Likewise.
7397         * sysdeps/unix/sysv/bits/stat.h: Likewise.
7398         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7399         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7401         * sysdeps/unix/sysv/setrlimit.c: Remove file.
7403         * sysdeps/unix/xmknod.c: Remove file.
7404         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7406         * sysdeps/unix/sysv/settimeofday.c: Remove file.
7408         * sysdeps/unix/sysv/i386/time.S: Remove file.
7410         * sysdeps/unix/fxstat.c: Remove file.
7411         * sysdeps/unix/xstat.c: Likewise.
7412         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7414         * sysdeps/unix/sysv/sigaction.c: Remove file.
7416         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7417         (sysdep_headers): Remove variable.
7418         [termio.h not in sysdep_headers] (generated): Likewise.
7419         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7420         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7421         * sysdeps/unix/sysv/tcdrain.c: Likewise.
7422         * sysdeps/unix/sysv/tcflow.c: Likewise.
7423         * sysdeps/unix/sysv/tcflush.c: Likewise.
7424         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7425         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7426         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7427         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7428         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7430         * sysdeps/unix/siglist.c: Remove file.
7432         * sysdeps/unix/getppid.S: Remove file.
7434         * sysdeps/unix/mkdir.c: Remove file.
7435         * sysdeps/unix/rmdir.c: Likewise.
7437 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
7439         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7440         ERR_MAX value.
7441         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7442         errlist-compat value.
7444 2012-04-18  David S. Miller  <davem@davemloft.net>
7446         * sysdeps/generic/memcopy.h (reg_char): Delete.
7447         * debug/strcat_chk.c: Use char, not reg_char.
7448         * debug/strcpy_chk.c: Likewise.
7449         * debug/strncat_chk.c: Likewise.
7450         * debug/strncpy_chk.c: Likewise.
7451         * string/memchr.c: Likewise.
7452         * string/memrchr.c: Likewise.
7453         * string/rawmemchr.c: Likewise.
7454         * string/strcat.c: Likewise.
7455         * string/strchr.c: Likewise.
7456         * string/strchrnul.c: Likewise.
7457         * string/strcmp.c: Likewise.
7458         * string/strcpy.c: Likewise.
7459         * string/strncat.c: Likewise.
7460         * string/strncmp.c: Likewise.
7461         * string/strncpy.c: Likewise.
7463 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7465         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7466         __builtin_memcopy is called when src and dest ranges are known to not
7467         overlap.
7469 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7471         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7472         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7473         fwd_align_merge macro call.
7474         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7475         bwd_align_merge macro call.
7476         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7478 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7480         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7481         bwd_align_merge macros.
7482         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7483         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7484         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7486 2012-04-18  David S. Miller  <davem@davemloft.net>
7488         * sysdeps/sparc/sparc64/memcopy.h: Delete.
7490 2012-04-18  Andreas Jaeger  <aj@suse.de>
7492         [BZ# 6794]
7493         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7494         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7495         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7497         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7498         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7499         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7501         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7502         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7503         Adjust for changed ldbl-128 files.
7505         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7506         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7507         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7509 2012-04-17  David S. Miller  <davem@davemloft.net>
7511         * sysdeps/sparc/sparc32/memcopy.h: Delete.
7513 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
7515         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7516         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7517         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7518         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7519         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7520         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7522 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7524         [BZ #6794]
7525         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7526         * math/libm-test.inc: Add ilogb errno and exception tests.
7527         * math/w_ilogb.c: New file: ilogb wrapper.
7528         * math/w_ilogbf.c: New file: ilogbf wrapper.
7529         * math/w_ilogbl.c: New file: ilogbl wrapper.
7530         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7531         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7532         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7533         exception being thrown with 0.0 as argument.
7534         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7535         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7536         exception being thrown with 0.0 as argument.
7537         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7538         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7539         exception being thrown with 0.0 as argument.
7540         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7541         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7542         exception being thrown with 0.0 as argument.
7543         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7544         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7545         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7546         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7547         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7548         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7549         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7550         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7551         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7553 2012-04-17  Petr Baudis  <pasky@ucw.cz>
7555         * include/sys/uio.h: Change __vector to __iovec to avoid clash
7556         with altivec.
7558 2012-04-16  Marek Polacek  <polacek@redhat.com>
7560         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7562 2012-04-16  Marek Polacek  <polacek@redhat.com>
7564         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7565         operands of fdivp instruction.
7567 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
7569         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7570         * elf/tst-auditmod3b.c: Likewise.
7571         * elf/tst-auditmod4b.c: Likewise.
7572         * elf/tst-auditmod5b.c: Likewise.
7573         * elf/tst-auditmod6b.c: Likewise.
7574         * elf/tst-auditmod6c.c: Likewise.
7575         * elf/tst-auditmod7b.c: Likewise.
7576         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7577         * sysdeps/x86_64/preconfigure.in: Likewise.
7578         * sysdeps/x86_64/preconfigure: Regenerated.
7580 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
7582         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7583         __ILP32__.
7585 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
7587         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7588         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7590 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
7592         [BZ #13973]
7593         * locale/iso-639.def: Fix gl language name. Spotted by
7594         Yaron Shahrabani.
7596 2012-04-12  Roland McGrath  <roland@hack.frob.com>
7598         [BZ #2074]
7599         * libio/libio.h (__io_write_fn): Update comment.
7601 2012-04-12  Petr Baudis  <pasky@ucw.cz>
7603         [BZ #2074]
7604         * stdio.texi (Hook Functions): The user provided writer function
7605         is not allowed to return -1.
7607 2012-04-11  David S. Miller  <davem@davemloft.net>
7609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7611 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
7613         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7614         Add a leading slash to rtkaio.
7616 2012-04-11  Jim Meyering  <meyering@redhat.com>
7618         [BZ #11959]
7619         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7620         It is not necessarily an error to ignore fwrite's return
7621         value.  One can reliably use ferror to test for errors after
7622         the fact.
7624 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
7626         * bits/types.h (__snseconds_t): New type.
7627         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7629         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7630         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7631         (__SNSECONDS_T_TYPE): Likewise.
7632         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7633         (__SNSECONDS_T_TYPE): Likewise.
7634         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7635         (__SNSECONDS_T_TYPE): Likewise.
7637 2012-04-10  Andreas Jaeger  <aj@suse.de>
7639         [BZ #2636]
7640         * manual/time.texi (Processor Time): Return type of times is
7641         elapsed real time since an arbitrary point in the past.
7642         (CPU Time): Move CLK_TCK from here...
7643         (Processor Time): ...to here.  Correct description.
7644         * manual/conf.texi (Constants for Sysconf): Correct description of
7645         _SC_CLK_TCK.
7647 2012-04-10  David S. Miller  <davem@davemloft.net>
7649         [BZ #13967]
7650         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7651         where the is a gap between DT_REL(A) and DT_JMPREL.
7653 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
7655         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7656         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7657         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7659 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7661         * elf/dl-support.c (_dl_inhibit_cache): New variable.
7662         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7663         (dl_main): Handle --inhibit-cache.
7664         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7665         _dl_inhibit_cache.
7666         * elf/dl-load.c (_dl_map_object): Use it.
7667         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7669 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
7671         [BZ #13872]
7672         * sysdeps/i386/fpu/e_powl.S (p78): New object.
7673         (__ieee754_powl): Saturate large exponents rather than testing for
7674         overflow of y*log2(x).
7675         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7676         * math/libm-test.inc (pow_test): Do not permit spurious overflow
7677         exceptions.
7679         [BZ #11521]
7680         * math/s_ctan.c: Include <float.h>.
7681         (__ctan): Avoid internal overflow or cancellation in calculating
7682         denominator.
7683         * math/s_ctanf.c: Likewise.
7684         * math/s_ctanl.c: Likewise.
7685         * math/s_ctanh.c: Likewise.
7686         * math/s_ctanhf.c: Likewise.
7687         * math/s_ctanhl.c: Likewise.
7688         * math/libm-test.inc (ctan_test): Add more tests.
7689         (ctanh_test): Likewise.
7690         * sysdeps/i386/fpu/libm-test-ulps: Update.
7691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7693 2012-04-09  Andreas Jaeger  <aj@suse.de>
7695         [BZ #6894]
7696         * manual/filesys.texi (Directory Entries): Mention that d_namlen
7697         is an optional BSD extension.
7699         [BZ #10254]
7700         * manual/stdio.texi (Opening Streams): Document additional fopen
7701         parameters.
7703 2012-04-09  Roland McGrath  <roland@hack.frob.com>
7705         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7706         %eax without telling the compiler.
7708 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
7710         [BZ # 13963]
7711         * manual/install.texi: Use sourceware.org.
7713 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
7715         [BZ #13873]
7716         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7717         (__ieee754_pow): Generate overflow and underflow using huge*huge
7718         and tiny*tiny rather than just returning constant infinity or zero
7719         for large exponents.
7720         * math/libm-test.inc (pow_test): Require overflow exceptions for
7721         applicable cases of large exponents.
7723         [BZ #706]
7724         * sysdeps/i386/fpu/e_pow.S (p10): New object.
7725         (__ieee754_pow): Use iterative multiplication algorithm only for
7726         integer exponents with absolute value below 1024.  Check for odd
7727         integer exponents when using algorithm for real exponents.
7728         * math/libm-test.inc (pow_test): Add more tests.
7729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7731 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
7733         [BZ #13705]
7734         * math/libm-test.inc (exp_test): Do not allow overflow exception
7735         on underflow test.
7737 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
7739         [BZ #13705]
7740         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7741         instead of __kernel_standard_f.
7743 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
7745         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7746         * sysdeps/x86_64/memset_chk.S: Likewise.
7748 2012-04-08  Andreas Jaeger  <aj@suse.de>
7750         [BZ #10153]
7751         * manual/startup.texi (Environment Access): Describe return value
7752         for putenv and setenv.
7754         [BZ #6895]
7755         * manual/filesys.texi (Directory Entries): Add description for
7756         DT_LNK.
7758         [BZ #6890]
7759         * manual/filesys.texi (Directory Entries): Clarify that it's file
7760         system not operating system in the description of DT_UNKNOWN.
7762         [BZ #6578]
7763         * manual/syslog.texi (closelog): Fix reference, it's openlog.
7765 2012-04-08  Stephen Compall  <s11@member.fsf.org>
7767         [BZ #6649]
7768         * manual/llio.texi (Opening and Closing Files): Add cross
7769         reference to explain mode argument.
7771 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
7773         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7774         * sysdeps/x86_64/memset_chk.S: Likewise.
7776 2012-04-07  David S. Miller  <davem@davemloft.net>
7778         * elf/elf.h (R_SPARC_WDISP10): Define.
7779         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7780         R_SPARC_SIZE32.
7781         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7782         R_SPARC_SIZE64 and R_SPARC_H34.
7784 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
7786         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7787         conditions and remove no longer applicable assertion.
7789 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
7791         * bits/byteswap.h: Include <features.h>.
7792         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7793         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7795 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
7797         * bits/byteswap.h (__bswap_16): Removed.
7798         Include <bits/byteswap-16.h> to get __bswap_16.
7799         * sysdeps/i386/bits/byteswap.h: Likewise.
7800         * sysdeps/s390/bits/byteswap.h: Likewise.
7801         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7802         * bits/byteswap-16.h: New file.
7803         * sysdeps/i386/bits/byteswap-16.h: Likewise.
7804         * sysdeps/s390/bits/byteswap-16.h: Likewise.
7805         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7806         * string/Makefile (headers): Add bits/byteswap-16.h.
7808 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7810         [BZ #13895]
7811         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7812         extra indirection.
7813         * nss/Makefile (tests-static, tests): Add tst-nss-static.
7814         * nss/tst-nss-static.c: New.
7816 2012-04-06  Robert Millan  <rmh@gnu.org>
7818         [BZ #6486]
7819         * manual/llio.texi (File Position Primitive): lseek
7820         refers to WHENCE when it really means OFFSET.
7822 2012-04-06  Andreas Jaeger  <aj@suse.de>
7824         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7825         strncmp declarations.
7827         * abilist/libc.abilist: Add __poll and __ppoll.
7829 2012-04-05  David S. Miller  <davem@davemloft.net>
7831         * scripts/check-local-headers.sh: Accept a host triplet in the
7832         path matched by the exclude regexp.
7834         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7835         definition.
7836         * sysdeps/powerpc/powerpc32/dl-machine.h
7837         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7838         * sysdeps/s390/s390-32/dl-machine.h
7839         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7840         * sysdeps/sparc/sparc32/dl-machine.h
7841         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7842         * sysdeps/sparc/sparc64/dl-machine.h
7843         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7845         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7846         lazy binding.
7847         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7848         undefined symbol errors.
7850         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7851         DT_NEEDED entries.
7853 2012-04-05  Michael Matz  <matz@suse.de>
7855         [BZ #13592]
7856         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7858 2012-04-05  Andreas Jaeger  <aj@suse.de>
7860         [BZ #13908]
7861         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7862         comment.
7864 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7866         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7867         which ROUND is no valid rounding mode.
7869 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7871         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7872         read again.
7873         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7875 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7877         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7878         an exception using FPU order intentionally.
7880 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7882         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7883         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7884         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7885         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7887 2012-04-05  Simon Josefsson  <simon@josefsson.org>
7889         [BZ #12340]
7890         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7891         EINVAL when BUFLEN is too smal.
7893 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7895         [BZ #13553]
7896         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7897         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7899 2012-04-03  Andreas Jaeger  <aj@suse.de>
7901         [BZ #13938]
7902         * manual/setjmp.texi (System V contexts): Fix sentence.
7904         [BZ #13926]
7905         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7906         New macro for this case.
7907         [!__GNUC__] (__bswap_64): New inline function for this case.
7908         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7909         * bits/byteswap.h: Likewise.
7910         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7911         ull, guard with __GLIBC_HAVE_LONG_LONG.
7913         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7914         __GLIBC_HAVE_LONG_LONG.
7916         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7917         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7919 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7921         [BZ #13691]
7922         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7923         inptr and inend, rather than using last_ch.
7925 2012-04-02  David S. Miller  <davem@davemloft.net>
7927         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7928         * stdio-common/printf-parse.h (read_int): Change return type to
7929         'int', return -1 on INT_MAX overflow.
7930         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7931         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
7932         overflows INT_MAX.  Check for overflow of in-format-string precision
7933         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
7934         SIZE_MAX not INT_MAX for integer overflow test.
7935         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7936         skip the construct in the format string but do not record anything.
7937         * stdio-common/bug22.c: Adjust to test both width/prevision
7938         INT_MAX overflow as well as total length INT_MAX overflow.  Check
7939         explicitly for proper errno values.
7941 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7943         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7944         CHAR_MAX.
7945         * string/test-strcmp.c [! WIDE]: Likewise.
7946         * time/tst-mktime2.c: Likewise for INT_MAX.
7947         * string/test-string.h: #include <sys/param.h> for MIN.
7949         * csu/init-first.c (__libc_init_first): Call __ctype_init.
7950         * sysdeps/i386/init-first.c (init): Likewise.
7951         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7952         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7953         * sysdeps/sh/init-first.c (init): Likewise.
7955 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
7957         * po/ru.po: Update from translation team.
7958         * po/vi.po: Likewise.
7960 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7962         * resolv/nss_dns/dns-host.c: Merge copyright years.
7964 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7966         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7967         Optimize memcpy with prefetch if
7968         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
7969         src, dst pointers have unequal 16 byte alignments.
7971 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7973         [BZ #13928]
7974         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7975         from a CNAME entry and return the minimum ttl for the query.
7976         (gaih_getanswer_slice): Likewise.
7978 2012-03-30  Jeff Law  <law@redhat.com>
7980         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7981         due to long keys.
7982         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7983         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7985         * resolv/nss_dns/dns-host.c: Update copyright year.
7987 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
7989         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7990         requests to save a system call.  Fix check that all bytes are sent.
7992         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7993         comments for sendmmsg.
7995 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7997         [BZ #13691]
7998         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7999         with only 1 character between 0x0041 and 0x01b0.
8000         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8001         * wcsmbs/tst-mbsnrtowcs.c: New file.
8003 2012-03-29  David S. Miller  <davem@davemloft.net>
8005         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8006         small copies by hand.
8008 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8010         [BZ #13761]
8011         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8012         _nss_compat_initgroups_dyn): Fall back to malloc/free
8013         for large group memberships.
8015 2012-03-28  David S. Miller  <davem@davemloft.net>
8017         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8018         that branches into memcpy.
8019         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8020         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8021         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8022         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8023         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8024         bits.
8025         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8026         implementation too.
8027         * sysdeps/sparc/mempcpy.S: New file.
8029         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8030         the IFUNC routine in the libc case.
8031         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8033         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8034         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8035         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8036         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8037         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8038         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8039         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8040         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8042         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8043         loop to 256 bytes instead of 64 bytes and fix test signedness.
8045         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8046         * sysdeps/sparc/sparc32/Makefile: rather than here...
8047         * sysdeps/sparc/sparc64/Makefile: and here.
8049 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
8051         * malloc/mallocbug.c: Avoid warnings about unused variables.
8053 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8055         [BZ #13760]
8056         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8057         in the right place. Discard and retry query if response is
8058         larger than input buffer size.
8060 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
8062         [BZ #369]
8063         [BZ #2678]
8064         [BZ #3866]
8065         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8066         x for large integer exponent.
8067         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8068         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
8069         sign of result as needed afterwards.
8070         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8071         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8072         result for underflowing pow the same as for overflow.
8073         (__kernel_standard_l): Handle powl overflow and underflow here
8074         rather than calling __kernel_standard.
8075         * math/libm-test.inc (pow_test): Add more tests.
8077         [BZ #3868]
8078         [BZ #13879]
8079         [BZ #13910]
8080         [BZ #13911]
8081         [BZ #13912]
8082         [BZ #13913]
8083         [BZ #13915]
8084         [BZ #13916]
8085         [BZ #13917]
8086         [BZ #13918]
8087         [BZ #13919]
8088         [BZ #13920]
8089         [BZ #13921]
8090         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8091         * sysdeps/ieee754/k_standard.c: Include <float.h>.
8092         (__kernel_standard_l): New function.
8093         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8094         __kernel_standard.
8095         * math/w_acosl.c (__acosl): Likewise.
8096         * math/w_asinl.c (__asinl): Likewise.
8097         * math/w_atan2l.c (__atan2l): Likewise.
8098         * math/w_atanhl.c (__atanhl): Likewise.
8099         * math/w_coshl.c (__coshl): Likewise.
8100         * math/w_exp10l.c (__exp10l): Likewise.
8101         * math/w_exp2l.c (__exp2l): Likewise.
8102         * math/w_fmodl.c (__fmodl): Likewise.
8103         * math/w_hypotl.c (__hypotl): Likewise.
8104         * math/w_j0l.c (__j0l, __y0l): Likewise.
8105         * math/w_j1l.c (__j1l, __y1l): Likewise.
8106         * math/w_jnl.c (__jnl, __ynl): Likewise.
8107         * math/w_lgammal.c (__lgammal): Likewise.
8108         * math/w_log10l.c (__log10l): Likewise.
8109         * math/w_log2l.c (__log2l): Likewise.
8110         * math/w_logl.c (__logl): Likewise.
8111         * math/w_powl.c (__powl): Likewise.
8112         * math/w_remainderl.c (__remainderl): Likewise.
8113         * math/w_scalbl.c (sysv_scalbl): Likewise.
8114         * math/w_sinhl.c (__sinhl): Likewise.
8115         * math/w_sqrtl.c (__sqrtl): Likewise.
8116         * math/w_tgammal.c (__tgammal): Likewise.
8117         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8118         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8119         * math/libm-test.inc (acos_test): Add more tests.
8120         (acosh_test): Likewise.
8121         (asin_test): Likewise.
8122         (atanh_test): Likewise.
8123         (exp_test): Likewise.
8124         (exp10_test): Likewise.
8125         (exp2_test): Likewise.
8126         (expm1_test): Likewise.
8127         (lgamma_test): Likewise.
8128         (log_test): Likewise.
8129         (log10_test): Likewise.
8130         (log1p_test): Likewise.
8131         (log2_test): Likewise.
8132         (pow_test): Do not allow some spurious overflow exceptions.
8133         (sqrt_test): Add more tests.
8134         (tgamma_test): Likewise.
8135         (y0_test): Likewise.
8136         (y1_test): Likewise.
8137         (yn_test): Likewise.
8139 2012-03-27  Anton Blanchard  <anton@samba.org>
8141         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8142         MAP_HUGETLB.
8143         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8144         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8145         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8147 2012-03-27  David S. Miller  <davem@davemloft.net>
8149         * conform/Makefile: Run run-conformtest.sh using $(BASH).
8151         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8152         have-as-vis3 check.
8154 2012-03-27  Andreas Jaeger  <aj@suse.de>
8156         * sysdeps/x86_64/elf/configure.in: Moved to ...
8157         * sysdeps/x86_64/configure.in: ... here.
8158         * sysdeps/x86_64/elf/start.S: Moved to ...
8159         * sysdeps/x86_64/start.S: ... here.
8160         * sysdeps/x86_64/elf/configure: Delete.
8162         * sysdeps/x86_64/configure.in: Merge contents from
8163         sysdeps/i386/configure.in (without i686 check).
8165         * sysdeps/i386/elf/Versions: Merge into ...
8166         * sysdeps/i386/Versions: ... this.
8167         * sysdeps/i386/elf/Versions: Delete file.
8168         * sysdeps/i386/elf/start.S: Moved to ...
8169         * sysdeps/i386/start.S: ...here.
8170         * sysdeps/i386/elf/configure.in: Merge into...
8171         * sysdeps/i386/configure.in: ...here.
8172         * sysdeps/i386/elf/configure.in: Delete file.
8173         * sysdeps/i386/elf/configure: Delete file.
8175         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8176         * debug/backtracesyms.c: ... here.
8177         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8178         * debug/backtracesymsfd.c: ... here.
8179         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8180         * sysdeps/generic/ifunc-sel.h: ... here.
8182         * sysdeps/unix/i386/start.c: Delete file.
8183         * sysdeps/unix/sparc/start.c: Delete file.
8184         * sysdeps/unix/start.c: Delete file.
8186         * sysdeps/sh/elf/configure.in: Moved to ...
8187         * sysdeps/sh/configure.in: ... here.
8188         * sysdeps/sh/elf/start.S: Moved to ...
8189         * sysdeps/sh/start.S: ... here.
8190         * sysdeps/sh/elf/configure: Delete file.
8192         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8193         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8194         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8195         * sysdeps/powerpc/powerpc64/entry.h: ... here.
8196         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8197         * sysdeps/powerpc/powerpc64/start.S: here.
8198         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8199         * sysdeps/powerpc/powerpc64/Makefile: ... this.
8200         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8201         * sysdeps/powerpc/powerpc64/configure.in: ... this.
8202         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8204         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8205         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8206         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8207         * sysdeps/powerpc/powerpc32/start.S: ... here.
8208         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8209         * sysdeps/powerpc/powerpc32/configure.in: ... this.
8210         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8212         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8213         * sysdeps/powerpc/ifunc-sel.h: ... here.
8214         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8215         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8217         * sysdeps/sparc/elf/configure.in: Moved to ...
8218         * sysdeps/sparc/configure.in: ... here.
8219         * sysdeps/sparc/elf/configure: Delete file.
8220         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8221         * sysdeps/sparc/sparc32/start.S: ... here.
8222         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8223         * sysdeps/sparc/sparc64/start.S: ... here.
8224         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8225         * sysdeps/sparc/sparc32/Makefile: ... this.
8226         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8227         * sysdeps/sparc/sparc64/Makefile: ... this.
8229         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8230         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8231         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8232         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8233         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8234         * sysdeps/s390/s390-32/setjmp.S: ... here.
8235         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8236         * sysdeps/s390/s390-32/configure.in: ... here.
8237         * sysdeps/s390/s390-32/elf/configure: Delete file.
8238         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8239         * sysdeps/s390/s390-32/start.S: ... here.
8241         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8242         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8243         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8244         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8245         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8246         * sysdeps/s390/s390-64/setjmp.S: ... here.
8247         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8248         * sysdeps/s390/s390-64/configure.in: ... here
8249         * sysdeps/s390/s390-64/elf/configure: Delete file.
8250         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8251         * sysdeps/s390/s390-64/start.S: ... here.
8252         * sysdeps/s390/s390-64/elf/configure: Delete.
8254         * configure.in: Remove support for elf directories in sysdeps.
8256         * configure: Regenerated.
8257         * sysdeps/i386/configure: Regenerated.
8258         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8259         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8260         * sysdeps/s390/s390-32/configure: Regenerated.
8261         * sysdeps/s390/s390-64/configure: Regenerated.
8262         * sysdeps/sh/configure: Regenerated.
8263         * sysdeps/sparc/configure: Regenerated.
8264         * sysdeps/x86_64/configure: Regenerated.
8266 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
8268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8270         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8271         denormal result into account.
8273 2012-03-25  Roland McGrath  <roland@hack.frob.com>
8275         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8276         Reported by Allan McRae <allan@archlinux.org>.
8278 2012-03-23  Jeff Law  <law@redhat.com>
8280         * nss/getnssent.c (__nss_getent): Fix typo.
8282 2012-03-23  David S. Miller  <davem@davemloft.net>
8284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8286 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
8288         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8289         to pad to uint64_t for each field.
8290         (dl_tls_index): Replace unsigned long with uint64_t.
8292 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
8293         Paul Pluzhnikov  <ppluzhnikov@google.com>
8295         [BZ #6528]
8296         * grp/Makefile (otherlibs): Don't set it.
8297         * inet/Makefile (otherlibs): Likewise.
8298         * login/Makefile (otherlibs): Likewise.
8299         * nscd/Makefile (otherlibs): Likewise.
8300         * posix/Makefile (otherlibs): Likewise.
8301         * pwd/Makefile (otherlibs): Likewise.
8302         * rt/Makefile (otherlibs): Likewise.
8303         * sunrpc/Makefile (otherlibs): Likewise.
8304         * nss/Makefile (otherlibs): Likewise.
8305         Add libnss_files to routines and static-only-routines.
8306         ($(objpfx)getent): Remove rule.
8307         * resolv/Makefile: Add libnss_dns and libresolv to routines and
8308         static-only-routines.
8310 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8312         [BZ #13892]
8313         * math/s_cexp.c: Include <float.h>.
8314         (__cexp): Handle exp result overflowing not necessarily
8315         overflowing both real and imaginary parts of result.
8316         * math/s_cexpf.c: Likewise.
8317         * math/s_cexpl.c: Likewise.
8318         * math/libm-test.inc (cexp_test): Add more tests.
8319         * sysdeps/i386/fpu/libm-test-ulps: Update.
8320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8322 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8324         * include/link.h (ELFW): New macro.
8325         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8326         Replace ELF64_R_TYPE with ELFW(R_TYPE).
8328 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8330         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8331         with uint64_t.
8333 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8335         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8336         declaration.
8337         (struct La_x32_retval): Likewise.
8339 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8341         * sysdeps/x86_64/preconfigure.in: New file.
8342         * sysdeps/x86_64/preconfigure: New generated file.
8344 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8346         [BZ #13824]
8347         * math/e_exp2l.c: Include <float.h>.
8348         (__ieee754_exp2l): Handle overflow and underflow cases
8349         separately.  Only pass fractional part of argument to
8350         __ieee754_expl.
8351         * math/libm-test.inc (exp2_test): Add more tests.
8353         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8354         negating x to take absolute value.
8355         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8356         Likewise.
8357         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8358         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8359         Likewise.
8360         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8361         computing low part if x was negated.
8362         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8364 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8366         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8367         la_x32_gnu_pltexit.
8368         (pltexit): Cast int_retval to ptrdiff_t.
8369         * elf/tst-auditmod3b.c: Likewise.
8370         * elf/tst-auditmod4b.c: Likewise.
8371         * elf/tst-auditmod5b.c: Likewise.
8372         * elf/tst-auditmod6b.c: Likewise.
8373         * elf/tst-auditmod6c.c: Likewise.
8374         * elf/tst-auditmod7b.c: Likewise.
8376         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8377         and x32_gnu_pltexit.
8379         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8380         __ELF_NATIVE_CLASS.
8381         (La_x32_regs): New macro.
8382         (La_x32_retval): Likewise.
8383         (la_x32_gnu_pltenter): New function prototype.
8384         (la_x32_gnu_pltexit): Likewise.
8386 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
8388         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8389         exponent.
8391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8393         * configure.in (libc_cv_cc_nofma): Check for option to disable
8394         generation of FMA instructions.
8395         * configure: Regenerate.
8396         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8397         * sysdeps/ieee754/dbl-64/Makefile: New file.
8398         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8399         Remove brandred-fma4.
8400         (CFLAGS-brandred-fma4.c): Remove.
8401         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8402         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8403         define.
8404         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8405         define.
8407 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8409         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8410         LLONG_MAX != LONG_MAX.
8411         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8412         (_fitoa_word): Likewise.
8413         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8414         LLONG_MAX != LONG_MAX.
8415         * stdio-common/_itowa.h: Include <_itoa.h>.
8416         (_itowa_word): Use _ITOA_WORD_TYPE on value.
8417         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
8418         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
8419         only if not defined.
8420         (_ITOA_WORD_TYPE): Likewise.
8421         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8422         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8424 2012-03-21  David S. Miller  <davem@davemloft.net>
8426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8428 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8430         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8431         of x86_64 when setting libc_cv_slibdir, libdir and
8432         libc_cv_localedir.
8433         * sysdeps/unix/sysv/linux/configure: Regenerated.
8435 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8437         * manual/lang.texi (Old Varargs): Remove section.
8438         (How Variadic): Update menu.
8439         (va_start): Do not mention varargs.h.
8441 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8442             Joseph Myers  <joseph@codesourcery.com>
8444         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8445         link test.
8446         * configure: Regenerated.
8448 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8450         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8451         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8452         conformtest.pl
8454 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8456         * NOTES: Remove.
8457         * Makefile (files-for-dist): Remove NOTES.
8458         (NOTES): Remove rule.
8459         * README: Don't refer to NOTES.
8460         * manual/creature.texi: Don't include macros.texi.
8461         * manual/intro.texi (creature.texi): Remove comment referring to
8462         NOTES.
8464         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8465         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8466         * configure: Regenerated.
8467         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8468         LIBC_TRY_CC_OPTION.
8469         (libc_cv_as_i686): Likewise.
8470         (libc_cv_cc_avx): Likewise.
8471         (libc_cv_cc_sse2avx): Likewise.
8472         (libc_cv_cc_fma4): Likewise.
8473         (libc_cv_cc_novzeroupper): Likewise.
8474         * sysdeps/i386/configure: Regenerated.
8476         [BZ #13883]
8477         * sysdeps/i386/fpu/s_cexp.S: Remove.
8478         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8479         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8480         * math/libm-test.inc (cexp_test): Add more tests.
8481         * sysdeps/i386/fpu/libm-test-ulps: Update.
8482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8484 2012-03-21  Allan McRae  <allan@archlinux.org>
8486         * timezone/Makefile: Do not install iso3166.tab and zone.tab
8488 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8490         [BZ #13871]
8491         * math/w_exp2.c: Do not include <float.h>.
8492         (o_threshold, u_threshold): Remove.
8493         (__exp2): Calculate result before checking finiteness and calling
8494         __kernel_standard.
8495         * math/w_exp2f.c: Likewise.
8496         * math/w_exp2l.c: Likewise.
8497         * math/libm-test.inc (exp2_test): Require overflow exception for
8498         1e6 input.
8500         [BZ #3866]
8501         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8502         range of signed 64-bit integers before using fistpll.  Remove
8503         checks for whether integers fit in mantissa bits.
8504         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8505         the range of signed 32-bit integers before using fistpl.  Remove
8506         checks for whether integers fit in mantissa bits.
8507         * sysdeps/i386/fpu/e_powl.S (p64): New object.
8508         (__ieee754_powl): Test for y outside the range of signed 64-bit
8509         integers before using fistpll.  Reduce 64-bit values to 63-bit
8510         ones as needed.
8511         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8512         divide-by-zero is raised for zero to large negative powers.
8513         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8514         (__ieee754_powl): Test for y outside the range of signed 64-bit
8515         integers before using fistpll.  Reduce 64-bit values to 63-bit
8516         ones as needed.
8517         * math/libm-test.inc (pow_test): Add more tests.
8519 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8521         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8522         <stdio-common/_itoa.h>.
8523         * debug/segfault.c: Likewise.
8524         * elf/dl-cache.c: Likewise.
8525         * elf/dl-minimal.c: Likewise.
8526         * elf/dl-misc.c: Likewise.
8527         * elf/dl-sysdep.c: Likewise.
8528         * elf/dl-version.c: Likewise.
8529         * elf/rtld.c: Likewise.
8530         * hurd/hurdsock.c: Likewise.
8531         * hurd/lookup-retry.c: Likewise.
8532         * malloc/malloc.c: Likewise.
8533         * malloc/mtrace.c: Likewise.
8534         * nscd/nscd_getgr_r.c: Likewise.
8535         * nscd/nscd_getpw_r.c: Likewise.
8536         * nscd/nscd_getserv_r.c: Likewise.
8537         * posix/getopt_init.c: Likewise.
8538         * posix/wordexp.c: Likewise.
8539         * stdio-common/_itoa.c: Likewise.
8540         * stdio-common/printf_fphex.c: Likewise.
8541         * stdio-common/vfprintf.c: Likewise.
8542         * string/_strerror.c: Likewise.
8543         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8544         * sysdeps/i386/i686/hp-timing.h: Likewise.
8545         * sysdeps/mach/_strerror.c: Likewise.
8546         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8547         * sysdeps/mach/hurd/sethostid.c: Likewise.
8548         * sysdeps/mach/hurd/xmknodat.c: Likewise.
8549         * sysdeps/mach/xpg-strerror.c: Likewise.
8550         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8551         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8552         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8553         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8554         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8555         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8556         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8557         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8558         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8559         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8560         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8561         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8562         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8563         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8564         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8565         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8566         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8567         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8568         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8569         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8570         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8572         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8574         * stdio-common/_itoa.h: Moved to ...
8575         * sysdeps/generic/_itoa.h: Here.
8577         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8579         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8580         instead of "_itoa.h" and "_itowa.h".
8581         * stdio-common/vfprintf.: Likewise.
8583 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8585         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8586         <bits/wordsize.h>.
8587         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8588         (__signbit): Likwise.
8589         (llrintf): Likwise.
8590         (llrint): Likwise.
8592 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8594         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8595         __WORDSIZE != 64.
8597 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
8599         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8600         OVERFLOW_EXCEPTION_OK.
8601         * math/libm-test.inc ("Philosophy"): Update comment about
8602         exception testing.
8603         (OVERFLOW_EXCEPTION): Define.
8604         (OVERFLOW_EXCEPTION_OK): Likewise.
8605         (INVALID_EXCEPTION_OK): Renumber.
8606         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8607         (IGNORE_ZERO_INF_SIGN): Likewise.
8608         (test_exceptions): Handle FE_OVERFLOW.
8609         (exp10_test): Expect overflow exceptions.
8610         (exp2_test): Likewise.
8611         (expm1_test): Likewise.
8612         (nextafter_test): Likewise.
8613         (pow_test): Likewise.
8614         (scalbn_test): Likewise.
8615         (scalbln_test): Likewise.
8617 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8619         * sysdeps/x86_64/bits/atomic.h
8620         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8621         64bit integer.
8622         (atomic_exchange_acq): Likewise.
8623         (__arch_exchange_and_add_body): Likewise.
8624         (__arch_add_body): Likewise.
8625         (atomic_add_negative): Likewise.
8626         (atomic_add_zero): Likewise.
8628 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8630         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8631         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8633 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8635         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8636         Check __x86_64__ instead of __WORDSIZE.
8638 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8640         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8642 2012-03-19  David S. Miller  <davem@davemloft.net>
8644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8646         * sysdeps/sparc/fpu/fenv_private.h: New file.
8647         * sysdeps/sparc/fpu/math_private.h: Use it.
8648         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8649         Remove.
8650         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8651         (libc_feholdexcept_setroundl): Remove.
8652         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8653         Remove.
8654         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8655         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8657 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8659         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8660         int64_t instead of long int.
8661         (INSERT_WORDS64): Likwise.
8663 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8665         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8666         _Unwind_GetCFA return to _Unwind_Ptr first.
8668 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
8670         [BZ #13629]
8671         * math/s_clog.c: Include <float.h>.
8672         (__clog): Scale large or subnormal inputs.
8673         * math/s_clogf.c: Likewise.
8674         * math/s_clogl.c: Likewise.
8675         * math/s_clog10.c: Include <float.h>.
8676         (M_LOG10_2): Define.
8677         (__clog10): Scale large or subnormal inputs.
8678         * math/s_clog10f.c: Likewise.
8679         * math/s_clog10l.c: Likewise.
8680         * math/libm-test.inc (clog_test): Add more tests.
8681         (clog10_test): Likewise.
8682         * sysdeps/i386/fpu/libm-test-ulps: Update.
8683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8685         [BZ #11451]
8686         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8687         x and y.
8688         * math/libm-test.inc (atan2_test): Add another test.
8690         * Makerules (common-objdir-compile): Remove.
8691         * sysdeps/unix/Makefile (config-generated): Do not add
8692         $(unix-generated) to variable.
8693         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8694         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8695         Remove rule.
8696         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8697         Likewise.
8698         [generic bits/local_lim.h] (before-compile): Do not append to
8699         variable.
8700         [generic bits/local_lim.h] (common-generated): Likewise.
8701         [generic sys/param.h] (before-compile): Do not append to variable.
8702         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8703         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8704         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8705         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8706         include.
8707         [generic sys/param.h] (sys/param.h-includes): Remove variable.
8708         [generic sys/param.h] (sys/param.h-includes): Remove rule.
8709         [generic sys/param.h] ($(addprefix
8710         $(common-objpfx),$(sys/param.h-includes))): Likewise.
8711         [generic sys/param.h] (common-generated): Do not append to
8712         variable.
8713         [generic sys/param.h] (sysdep_headers): Likewise.
8714         [generic bits/errno.h] (before-compile): Do not append to
8715         variable.
8716         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8717         rule.
8718         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8719         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8720         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8721         [generic bits/errno.h] (common-generated): Do not append to
8722         variable.
8723         [generic bits/ioctls.h] (before-compile): Do not append to
8724         variable.
8725         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8726         rule.
8727         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8728         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8729         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8730         rule.
8731         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8732         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8733         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8734         [generic bits/ioctls.h] (common-generated): Do not append to
8735         variable.
8736         [generic sys/syscall.h] (syscall.h): Remove variable.
8737         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8738         rule.
8739         [generic sys/syscall.h] (before-compile): Do not append to
8740         variable.
8741         [generic sys/syscall.h] (common-generated): Likewise.
8742         * sysdeps/unix/errnos-tmpl.c: Remove file.
8743         * sysdeps/unix/errnos.awk: Likewise.
8744         * sysdeps/unix/ioctls-tmpl.c: Likewise.
8745         * sysdeps/unix/ioctls.awk: Likewise.
8746         * sysdeps/unix/mk-local_lim.c: Likewise.
8747         * sysdeps/unix/snarf-ioctls: Likewise.
8749 2012-03-19  Richard Henderson  <rth@twiddle.net>
8751         * sysdeps/i386/fpu/fenv_private.h: New file.
8752         * sysdeps/i386/fpu/math_private.h: Use it.
8753         (math_opt_barrier, math_force_eval): Remove.
8754         (libc_feholdexcept_setround_53bit): Remove.
8755         (libc_feupdateenv_53bit): Remove.
8756         * sysdeps/x86_64/fpu/math_private.h: Likewise.
8757         (math_opt_barrier, math_force_eval): Remove.
8758         (libc_feholdexcept): Remove.
8759         (libc_feholdexcept_setround): Remove.
8760         (libc_fetestexcept, libc_fesetenv): Remove.
8761         (libc_feupdateenv_test): Remove.
8762         (libc_feupdateenv, libc_feholdsetround): Remove.
8763         (libc_feresetround): Remove.
8765         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8766         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8768         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8769         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8770         (libc_feupdateenv_testl): New.
8771         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8772         (libc_feupdateenv_testf): New.
8773         (libc_feupdateenv): Use libc_feupdateenv_test.
8774         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8775         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8777         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8778         (libc_feholdsetroundf, libc_feholdsetroundl): New.
8779         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8780         (libc_feresetround_noex): New.
8781         (libc_feresetround_noexf): New.
8782         (libc_feresetround_noexl): New.
8783         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8784         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8785         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8786         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8787         SET_RESTORE_ROUND.
8788         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8789         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8790         (__cos): Likewise.
8791         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8792         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8793         SET_RESTORE_ROUND_NOEX.
8794         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8795         SET_RESTORE_ROUND_NOEXF.
8796         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8797         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8798         (libc_feholdsetroundf): New.
8799         (libc_feresetround, libc_feresetroundf): New.
8801         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8802         (libc_feholdexcept_setround_53bit): Convert from macro to function.
8803         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
8805         * sysdeps/generic/math_private.h: Include <fenv.h>.
8806         (default_libc_feholdexcept): New.
8807         (default_libc_feholdexcept_setround): New.
8808         (default_libc_fesetenv, default_libc_feupdateenv): New.
8809         (libc_feholdexcept): Only define if undefined.
8810         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8811         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8812         (libc_feholdexcept_setroundl): Likewise.
8813         (libc_feholdexcept_setround_53bit): Likewise.
8814         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8815         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8816         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8817         (libc_feupdateenv_53bit): Likewise.
8818         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8819         (libc_feholdexcept): Convert from macro to inline function.
8820         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8821         (libc_fesetenv, libc_feupdateenv): Likewise.
8823         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8824         not previously defined.
8825         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8826         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8827         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8828         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8829         * sysdeps/ieee754/flt-32/math_private.h: New file.
8830         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8831         math_private.h below SET_FLOAT_WORD.
8832         (__isnan, __isinf_ns, __finite): Remove.
8833         (__isnanf, __isinf_nsf, __finitef): Remove.
8835 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
8837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8839 2012-03-17  David S. Miller  <davem@davemloft.net>
8841         [BZ #6471]
8842         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8843         for 2.16.
8845 2012-03-16  David S. Miller  <davem@davemloft.net>
8847         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8848         warnings.
8850         [BZ #6471]
8851         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8852         properly.
8853         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8854         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8855         sysdep_routines when subdir is sysvipc.
8856         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8857         __getshmlba helper.
8859         * sysdeps/sparc/fpu/libm-test/ulps: Update.
8861 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8863         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8864         [__LP64__].
8866 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8868         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8869         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8870         (__lround): Renamed to ...
8871         (__llround): This.  Replace long int with long long int.
8872         Define lround functions as aliases of llround functions.
8873         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8875 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8877         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8878         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
8879         adresses to uintptr_t.  Replace "long int" and "unsigned long
8880         int" with "greg_t" on va_arg.
8882 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8884         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8885         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8887         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8888         Move e_machine check before EI_CLASS check.  Handle x32
8889         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8890         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8891         SKIP_EM_IA_64 and include
8892         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8894         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8895         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8896         (add_system_dir): New macro.
8898         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8899         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8901 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
8903         [BZ #2551]
8904         [BZ #2552]
8905         [BZ #2553]
8906         [BZ #2554]
8907         [BZ #2562]
8908         [BZ #2563]
8909         [BZ #2565]
8910         [BZ #2566]
8911         [BZ #2576]
8912         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8913         (y0): Likewise.
8914         * math/w_j0f.c (j0f): Likewise.
8915         (y0f): Likewise.
8916         * math/w_j0l.c (__j0l): Likewise.
8917         (__y0l): Likewise.
8918         * math/w_j1.c (j1): Likewise.
8919         (y1): Likewise.
8920         * math/w_j1f.c (j1f): Likewise.
8921         (y1f): Likewise.
8922         * math/w_j1l.c (__j1l): Likewise.
8923         (__y1l): Likewise.
8924         * math/w_jn.c (jn): Likewise.
8925         (yn): Likewise.
8926         * math/w_jnf.c (jnf): Likewise.
8927         (ynf): Likewise.
8928         * math/w_jnl.c (__jnl): Likewise.
8929         (__ynl): Likewise.
8930         * math/libm-test.inc (j0_test): Add more tests.
8931         (j1_test): Likewise.
8932         (jn_test): Likewise.  Add trailing semicolon to existing test.
8933         (y0_test): Likewise.
8934         (y1_test): Likewise.
8935         * sysdeps/i386/fpu/libm-test-ulps: Update.
8936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8938         [BZ #13851]
8939         [BZ #13854]
8940         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8941         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8942         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8943         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8944         (__tanl): Set errno for infinite argument.
8945         * sysdeps/i386/fpu/mptan.c: Remove.
8946         * sysdeps/i386/fpu/s_tan.S: Likewise.
8947         * sysdeps/i386/fpu/s_tanl.S: Likewise.
8948         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8949         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8950         * math/libm-test.inc (tan_test): Add more tests and enable more
8951         tests for double and long double.
8952         * sysdeps/i386/fpu/libm-test-ulps: Update.
8953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8955 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
8957         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8958         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8960 2012-03-16  Roland McGrath  <roland@hack.frob.com>
8962         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8963         * configure.in: Use it for both main tree and add-ons.
8964         * configure: Regenerated.
8966 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8968         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8970 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
8972         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8973         in comment.
8975         [BZ #13851]
8976         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8977         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8978         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8979         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8980         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8981         infinite argument.
8982         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8983         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8984         != 0 for prec == 2.
8985         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8986         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8987         * sysdeps/i386/fpu/s_cosl.S: Likewise.
8988         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8989         * sysdeps/i386/fpu/s_sinl.S: Likewise.
8990         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8991         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8992         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8993         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8994         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8995         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8996         * math/libm-test.inc (cos_test): Add more tests and enable more
8997         tests for long double.
8998         (sin_test): Likewise.
8999         (sincos_test): Likewise.
9000         * sysdeps/i386/fpu/libm-test-ulps: Update.
9001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9003 2012-03-16  David S. Miller  <davem@davemloft.net>
9005         * sysdeps/sparc/fpu/math_private.h: New file.
9007 2012-03-15  David S. Miller  <davem@davemloft.net>
9009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9010         file.
9011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9013         file.
9014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9015         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9016         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9017         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9018         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9019         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9020         sysdep routines.
9021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9023         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9024         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9026         * sysdeps/sparc/sparc-ifunc.h: New file.
9027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9028         sparc-ifunc.h
9029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9031         Likewise.
9032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9033         Likewise.
9034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9038         Likewise.
9039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9044         Likewise.
9045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9046         Likewise.
9047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9051         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9052         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9053         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9054         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9055         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9056         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9058         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9062         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9063         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9065         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9066         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9067         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9068         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9069         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9070         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9072 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9074         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9075         scaling.
9076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9078 2012-03-15  Andreas Jaeger  <aj@suse.de>
9080         [BZ #13852]
9081         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9082         ieee754/flt-32 implementation for sin, cos and sincos.
9083         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9084         * sysdeps/i386/fpu/s_cosf.S: Likewise.
9085         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9086         * sysdeps/i386/fpu/s_sinf.S: Likewise.
9087         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9088         ieee754/flt-32 implementation for tan.
9090         * math/libm-test.inc (cos_test): Enable some large input tests for
9091         float as well
9092         (sin_test): Likewise.
9093         (sincos_test): Likewise.
9094         (tan_test): Add tests for large input.
9096         * sysdeps/i386/fpu/libm-test-ulps: Update.
9098 2012-03-15  Andreas Jaeger  <aj@suse.de>
9100         [BZ #13658]
9101         * math/libm-test.inc (cos_test): Add more test cases.
9102         (sin_test): Likewise.
9103         (sincos_test): Likewise.
9105 2012-03-15  Andreas Jaeger  <aj@suse.de>
9107         [BZ #13837]
9108         * math/libm-test.inc (cos_test): Add a test case for large input
9109         value.
9110         (sin_test): Likewise.
9111         (sincos_test): Likewise.
9113 2012-03-15  Andreas Jaeger  <aj@suse.de>,
9114         Joseph Myers  <joseph@codesourcery.com>
9116         [BZ #13658]
9117         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9118         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9119         * sysdeps/i386/fpu/branred.c: Likewise.
9120         * sysdeps/i386/fpu/dosincos.c: Likewise.
9121         * sysdeps/i386/fpu/mpa.c: Likewise.
9122         * sysdeps/i386/fpu/s_cos.S: Likewise.
9123         * sysdeps/i386/fpu/s_sin.S: Likewise.
9124         * sysdeps/i386/fpu/s_sincos.S: Likewise.
9125         * sysdeps/i386/fpu/sincos32.c: Likewise.
9127         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9128         Define.
9129         (libc_feupdateenv_53bit): Define.
9130         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9131         Define.
9132         (libc_feupdateenv_53bit): Define.
9134         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9135         53 bit (without extend i386 double precision).
9137         * math/libm-test.inc (sincos_test): Add tests for large input.
9138         (sin): Likewise.
9139         (cos): Likewise.
9141         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9143 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9147 2012-03-15  David S. Miller  <davem@davemloft.net>
9149         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9150         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9151         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9152         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9163         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9165         file.
9166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9168         file.
9169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9171         file.
9172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9174         file.
9175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9176         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9177         fmin/fmax sysdep routines.
9178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9180 2012-03-14  David S. Miller  <davem@davemloft.net>
9182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9186         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9187         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9188         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9189         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9195         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9197         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9198         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9200         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9201         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9202         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9203         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9204         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9205         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9206         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9207         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9208         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9209         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9210         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9211         routines.
9212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9213         file.
9214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9216         file.
9217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9219         file.
9220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9222         file.
9223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9225         file.
9226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9228         file.
9229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9230         file.
9231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9232         file.
9233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9234         file.
9235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9236         New file.
9237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9238         file.
9239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9240         file.
9241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9243         file.
9244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9246         file.
9247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9249         file.
9250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9252         VIS3 routines.
9254         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9255         New file.
9257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9259         * sysdeps/sparc/configure.in: New file.
9260         * sysdeps/sparc/configure: Generate.
9261         * configure.in (libc_cv_sparc_as_vis3): Substitute.
9262         * configure: Regenerate.
9263         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9264         * config.make.in (have-as-vis3): New.
9265         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9266         available use -Av9d instead of -Av9a.
9267         * sysdeps/sparc/sparc64/Makefile: Likewise.
9268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9270         New file.
9271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9272         file.
9273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9274         New file.
9275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9276         file.
9277         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9278         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9279         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9280         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9281         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9283         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9284         fzeros/fnegs to load 0x80000000 into a float register instead of
9285         using the stack.
9286         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9288 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9290         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9291         bits/syscall.h.
9292         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9293         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9294         ($(inst_includedir)/bits/syscall.h): Remove rule.
9295         ($(objpfx)bits/syscall.d): Include instead of
9296         $(objpfx)syscall-list.d.
9297         (generated): Change syscall-list.h and syscall-list.d to
9298         bits/syscall.h and bits/syscall.d.
9300 2012-03-14  Roland McGrath  <roland@hack.frob.com>
9302         [BZ #13846]
9303         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9305 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9307         [BZ #13841]
9308         * math/s_csqrt.c: Include <float.h>.
9309         (__csqrt): Scale large or subnormal inputs.
9310         * math/s_csqrtf.c: Likewise.
9311         * math/s_csqrtl.c: Likewise.
9312         * math/libm-test.inc (csqrt_test): Add more tests.
9313         * sysdeps/i386/fpu/libm-test-ulps: Update.
9314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9316         [BZ #13840]
9317         * math/libm-test.inc (hypot_test): Add more tests.
9319 2012-03-13  David S. Miller  <davem@davemloft.net>
9321         [BZ #13840]
9322         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9323         double-precision for the calculation instead of scaling.
9325 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
9327         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9328         manipulate bits before adding and subtracting TWO52[sx].
9329         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9330         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9331         Likewise.
9332         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9334 2012-03-13  David S. Miller  <davem@davemloft.net>
9336         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9337         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9338         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9339         rtld-global-offsets.h
9340         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9342         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9343         large parameters.
9345         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9347         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9348         'err' in the ifdef scope in which it is actually used.
9350         * nss/nss_db/db-init.c: Include string.h
9352 2012-03-12  David S. Miller  <davem@davemloft.net>
9354         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9355         masking out of the most significant byte of random value used.
9356         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9357         Fix coding style in previous change.
9359         * sysdeps/unix/sysv/linux/kernel-features.h
9360         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9361         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9362         expression.
9363         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9364         later.
9366 2012-03-11  David S. Miller  <davem@davemloft.net>
9368         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9369         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9370         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9371         for 'resultvar' otherwise things get truncated on 64-bit.
9373         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9374         Fix masking out of the most significant byte of random value used.
9376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9378 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
9380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9382 2012-03-09  David S. Miller  <davem@davemloft.net>
9384         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9385         variables with appropriate CPP guards.
9386         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9387         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
9388         on resulting framesize and the management of the outregs buffer for pltexit.
9389         Preserve floating point return values across _dl_call_pltexit call.
9390         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9391         framesize and the management of the outregs buffer for pltexit.
9392         Preserve floating point return values across _dl_call_pltexit
9393         call.
9394         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9395         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9396         (print_exit): Fix format string for return register value.
9398 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
9400         * sunrpc/Makefile (others): Add rpcgen.
9401         ($(objpfx)rpcgen): Remove special build rule and dependency on
9402         libc.
9403         * sunrpc/rpcgen.c: New file.
9405 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
9407         [BZ #13673]
9408         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9409         * stdio-common/bug-vfprintf-nargs.c: Likewise.
9410         * sysdeps/i386/crti.S: Likewise.
9411         * sysdeps/i386/crtn.S: Likewise.
9412         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9413         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9414         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9415         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9416         * sysdeps/sh/crti.S: Likewise.
9417         * sysdeps/sh/crtn.S: Likewise.
9418         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9420         [BZ #13673]
9421         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9422         with URL.
9423         * locale/programs/locfile-kw.gperf: Likewise.
9424         * locale/programs/charmap-kw.h: Regenerated.
9425         * locale/programs/locfile-kw.h: Likewise.
9427         [BZ #13673]
9428         * intl/plural.y: Replace FSF snail mail address with URL.
9429         * intl/plural.c: Regenerated.
9431 2012-03-09  Richard Henderson  <rth@twiddle.net>
9433         * include/math_private.h: Remove file.
9434         * math/math_private.h: Move file ...
9435         * sysdeps/generic/math_private.h: ... here.
9437         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9438         * sysdeps/powerpc/fpu/math_private.h: Likewise.
9439         * sysdeps/x86_64/fpu/math_private.h: Likewise.
9441         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9442         and <math_private.h>.
9443         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9444         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9445         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9446         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9447         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9448         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9449         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9450         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9451         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9452         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9453         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9454         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9455         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9456         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9457         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9458         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9459         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9460         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9461         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9462         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9463         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9464         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9465         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9466         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9467         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9468         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9469         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9470         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9471         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9472         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9473         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9474         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9475         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9476         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9477         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9478         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9479         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9480         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9481         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9482         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9483         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9484         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9485         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9486         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9487         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9488         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9489         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9490         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9491         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9492         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9493         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9494         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9495         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9496         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9497         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9498         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9499         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9500         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9501         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9502         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9503         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9504         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9505         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9506         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9507         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9508         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9509         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9510         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9511         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9512         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9513         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9514         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9515         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9516         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9517         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9518         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9519         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9520         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9521         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9522         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9523         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9524         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9525         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9526         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9527         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9528         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9529         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9530         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9531         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9532         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9533         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9534         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9535         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9536         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9537         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9538         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9539         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9540         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9541         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9542         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9543         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9544         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9545         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9546         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9547         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9548         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9549         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9550         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9551         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9552         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9553         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9554         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9555         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9556         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9557         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9558         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9559         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9560         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9561         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9562         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9563         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9564         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9565         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9566         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9567         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9568         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9569         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9570         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9571         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9572         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9573         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9574         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9575         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9576         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9577         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9578         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9579         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9580         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9581         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9582         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9583         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9584         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9585         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9586         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9587         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9588         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9589         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9590         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9591         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9592         * sysdeps/ieee754/k_standard.c: Likewise.
9593         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9594         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9595         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9596         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9597         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9598         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9599         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9600         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9601         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9602         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9603         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9604         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9605         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9606         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9607         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9608         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9609         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9610         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9611         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9612         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9613         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9614         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9615         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9616         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9617         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9618         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9619         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9620         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9621         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9622         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9623         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9624         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9625         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9626         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9627         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9628         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9629         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9630         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9631         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9632         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9633         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9634         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9635         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9636         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9637         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9638         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9639         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9640         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9641         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9642         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9643         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9644         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9645         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9646         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9647         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9648         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9649         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9650         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9651         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9652         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9653         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9654         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9655         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9656         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9657         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9658         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9659         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9660         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9661         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9662         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9663         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9664         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9665         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9666         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9667         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9668         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9669         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9670         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9671         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9672         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9673         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9674         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9675         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9676         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9677         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9678         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9679         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9680         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9681         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9682         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9683         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9684         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9685         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9686         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9687         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9688         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9689         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9690         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9691         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9692         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9693         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9694         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9695         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9696         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9697         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9698         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9699         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9700         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9701         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9702         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9703         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9704         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9705         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9706         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9707         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9708         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9709         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9710         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9711         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9712         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9713         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9714         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9715         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9716         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9717         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9718         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9719         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9720         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9721         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9722         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9723         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9724         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9725         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9726         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9727         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9728         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9729         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9730         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9731         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9732         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9733         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9734         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9735         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9736         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9737         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9738         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9739         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9740         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9741         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9742         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9743         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9744         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9745         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9746         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9747         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9748         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9749         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9750         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9751         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9752         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9753         * sysdeps/ieee754/s_lib_version.c: Likewise.
9754         * sysdeps/ieee754/s_matherr.c: Likewise.
9755         * sysdeps/ieee754/s_signgam.c: Likewise.
9756         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9757         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9758         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9759         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9760         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9761         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9762         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9763         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9764         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9765         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9766         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9767         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9768         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9769         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9770         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9771         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9772         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9773         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9774         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9775         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9776         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9778 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
9780         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9781         * sunrpc/rpc_main.c: Likewise.
9782         * sunrpc/rpc_svcout.c: Likewise.
9784 2012-03-09  David S. Miller  <davem@davemloft.net>
9786         * include/math_private.h: New file.
9788 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
9790         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9791         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9792         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9793         from <bits/socket_type.h>.
9794         (enum __socket_type): Don't define here.
9795         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9796         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9797         bits/socket_type.h.
9799         [BZ #13566]
9800         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9801         checking __USE_GNU.
9803         * Makerules ($(inst_includedir)/%.h): New rule.
9804         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9805         (install-others): Remove variable setting.
9806         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9808 2012-03-08  Richard Henderson  <rth@twiddle.net>
9810         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9811         from macro to inline function; merge with the
9812         !__LIBC_INTERNAL_MATH_INLINES version.
9813         (__ieee754_sqrtf): Likewise.
9815         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9816         to inline function.
9817         (__rintf, __floor, __floorf): Likewise.
9819         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9820         macro to inline function.
9821         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9823         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9824         not <math/math_private.h>.
9826 2012-03-08  David S. Miller  <davem@davemloft.net>
9828         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9829         copyright year.
9830         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9832 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
9834         * resolv/gai_misc.c (handle_requests): Fix struct timespec
9835         normalization.
9836         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9837         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9839 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
9841         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
9842         be defined individually, they must be defined as a block.  Define
9843         S for printing a string instead of hidint the different by using a
9844         macro for adding the 'l'.
9845         * stdio-common/tst-fphex-wide.c: Adjust.
9847 2012-03-07  Marek Polacek  <polacek@redhat.com>
9849         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9851 2012-03-08  Marek Polacek  <polacek@redhat.com>
9853         [BZ #13806]
9854         * stdio-common/Makefile (tests): Add tst-fphex-wide.
9855         * stdio-common/tst-fphex.c: Define a few macros to make the
9856         test reusable.  Use them.
9857         * stdio-common/tst-fphex-wide.c: New file.
9859 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
9861         [BZ #6911]
9862         * manual/macros.texi (gnusystems): New macro.
9863         (nongnusystems): Likewise.
9864         (gnulinuxhurdsystems): Likewise.
9865         (gnuhurdsystems): Likewise..
9866         (gnulinuxsystems): Likewise.
9867         * manual/charset.texi: Use new macros or @theglibc{} to refer to
9868         variants of the GNU system, not "GNU system".
9869         * manual/conf.texi: Likewise.
9870         * manual/errno.texi: Likewise.  Update example of errno macro
9871         expansion.
9872         * manual/filesys.texi: Likewise.
9873         (getumask): Document as specific to GNU/Hurd.
9874         * manual/install.texi: Likewise.  Reword some references to
9875         GNU/Linux.
9876         * manual/intro.texi: Likewise.
9877         * manual/io.texi: Likewise.
9878         (File Name Portability): Detail which constraints are inapplicable
9879         to all GNU systems and which are only inapplicable to GNU/Hurd.
9880         * manual/job.texi: Likewise.
9881         * manual/llio.texi: Likewise.
9882         (O_NOCTTY): Document as present on GNU/Linux.
9883         * manual/maint.texi: Likewise.
9884         * manual/memory.texi: Likewise.
9885         * manual/pattern.texi: Likewise.
9886         * manual/pipe.texi: Likewise.
9887         * manual/process.texi: Likewise.
9888         * manual/resource.texi: Likewise.
9889         (RUSAGE_CHILDREN): Remove statement about specifying a particular
9890         child on GNU/Hurd.
9891         * manual/setjmp.texi: Likewise.
9892         * manual/signal.texi: Likewise.
9893         * manual/startup.texi: Likewise.
9894         * manual/stdio.texi: Likewise.
9895         * manual/terminal.texi: Likewise.
9896         (ONLCR): Document as POSIX.
9897         (OXTABS): Document availability on GNU/Linux as XTABS.
9898         (ONOEOT): Document availability separately from other bits.
9899         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9900         * manual/time.texi: Likewise.
9901         * manual/users.texi: Likewise.
9902         * INSTALL: Regenerated.
9903         * sysdeps/gnu/errlist.c: Regenerated.
9905         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9906         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9907         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
9908         puts.
9909         * configure: Regenerated.
9911 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
9913         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9914         default includes instead of AC_HEADER_CHECK.
9915         * sysdeps/i386/configure: Regenerated.
9917         [BZ #10716]
9918         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9919         * math/s_cacoshf.c (__cacoshf): Likewise.
9920         * math/s_cacoshl.c (__cacoshl): Likewise.
9921         * math/s_casinh.c (__casinh): Set signs of result from argument.
9922         * math/s_casinhf.c (__casinhf): Likewise.
9923         * math/s_casinhl.c (__casinhl): Likewise.
9924         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9925         (casinh_test): Add more tests.
9926         * sysdeps/i386/fpu/libm-test-ulps: Update.
9927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9929 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
9931         * po/zh_TW.po: Update from translation team.
9933         * login/Makefile (distribute): Remove variable.
9934         * catgets/Makefile: Likewise.
9935         * mach/Makefile: Likewise.
9936         * malloc/Makefile: Likewise.
9937         * misc/Makefile: Likewise.
9938         * iconv/Makefile: Likewise.
9939         * nscd/Makefile: Likewise.
9940         * hurd/Makefile: Likewise.
9941         * manual/Makefile: Likewise.
9942         * locale/Makefile: Likewise.
9943         * intl/Makefile: Likewise.
9944         * conform/Makefile: Likewise.
9945         * nss/Makefile: Likewise.
9946         * time/Makefile: Likewise.
9947         * soft-fp/Makefile: Likewise.
9948         * dirent/Makefile: Likewise.
9949         * gmon/Makefile: Likewise.
9950         * po/Makefile: Likewise.
9951         * rt/Makefile: Likewise.
9952         * socket/Makefile: Likewise.
9953         * math/Makefile: Likewise.
9954         * signal/Makefile: Likewise.
9955         * debug/Makefile: Likewise.
9956         * elf/Makefile: Likewise.
9957         * timezone/Makefile: Likewise.
9958         * stdlib/Makefile: Likewise.
9959         * iconvdata/Makefile: Likewise.
9960         * sunrpc/Makefile: Likewise.
9961         * io/Makefile: Likewise.
9962         * argp/Makefile: Likewise.
9963         * inet/Makefile: Likewise.
9964         * hesiod/Makefile: Likewise.
9965         * grp/Makefile: Likewise.
9966         * csu/Makefile: Likewise.
9967         * wctype/Makefile: Likewise.
9968         * crypt/Makefile: Likewise.
9969         * libio/Makefile: Likewise.
9970         * string/Makefile: Likewise.
9971         * nis/Makefile: Likewise.
9972         * resolv/Makefile: Likewise.
9973         * stdio-common/Makefile: Likewise.
9974         * wcsmbs/Makefile: Likewise.
9975         * dlfcn/Makefile: Likewise.
9976         * posix/Makefile: Likewise.
9978         [BZ #6959]
9979         * timezone/Makefile: Don't install timezone files, just the programs
9980         and scripts.
9982 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
9984         * nss/databases.def: Add missing gshadow entry.
9986         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
9988 2012-03-06  Marek Polacek  <polacek@redhat.com>
9990         [BZ #13726]
9991         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9992         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9993         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9994         * stdio-common/tst-long-dbl-fphex.c: New file.
9996 2012-03-06  David S. Miller  <davem@davemloft.net>
9998         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9999         (set_obp_int): New function.
10000         (get_obp_int): New function.
10001         (__get_clockfreq_via_dev_openprom): Likewise.
10002         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10003         Avoid unused variable warnings on 'val' and use builtin_expect.
10004         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10005         __builtin_expect.
10006         (INLINE_CLONE_SYSCALL): Likewise.
10008 2012-03-05  David S. Miller  <davem@davemloft.net>
10010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10012 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
10014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10016         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10017         only for |x| >= 40.
10018         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10020 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
10022         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10023         Replace gettimeofday with __vdso_gettimeofday.
10025         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10026         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10027         __vdso_clock_gettime and __vdso_getcpu.
10029         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10030         time with __vdso_time.
10032 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
10034         * manual/lang.texi (size_t): Note types to which size_t may be
10035         equivalent with the GNU C Library, but do not describe when
10036         differences between them are significant.
10038 2012-03-05  Andreas Jaeger  <aj@suse.de>
10040         * sysdeps/i386/fpu/libm-test-ulps: Update.
10042 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
10044         [BZ #3976]
10045         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10046         (__ieee754_pow): Save and restore rounding mode and use
10047         round-to-nearest for main computations.
10048         * math/libm-test.inc (pow_test_tonearest): New function.
10049         (pow_test_towardzero): Likewise.
10050         (pow_test_downward): Likewise.
10051         (pow_test_upward): Likewise.
10052         (main): Call the new functions.
10053         * sysdeps/i386/fpu/libm-test-ulps: Update.
10054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10056         [BZ #3976]
10057         * math/libm-test.inc (cosh_test_tonearest): New function.
10058         (cosh_test_towardzero): Likewise.
10059         (cosh_test_downward): Likewise.
10060         (cosh_test_upward): Likewise.
10061         (sinh_test_tonearest): Likewise.
10062         (sinh_test_towardzero): Likewise.
10063         (sinh_test_downward): Likewise.
10064         (sinh_test_upward): Likewise.
10065         (main): Call the new functions.
10066         * sysdeps/i386/fpu/libm-test-ulps: Update.
10067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10069 2012-03-05  Tom de Vries  <tom@codesourcery.com>
10071         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10072         default stack guard is set in last bytes.
10073         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10075 2012-03-05  Kees Cook  <keescook@chromium.org>
10077         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10079         [BZ #13656]
10080         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10081         possibly allocate from heap instead of stack.
10082         * stdio-common/bug-vfprintf-nargs.c: New file.
10083         * stdio-common/Makefile (tests): Add nargs overflow test.
10085 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
10087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10089 2012-03-03  Marek Polacek  <polacek@redhat.com>
10091         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10092         * math/math_private.h: Likewise.
10093         * stdlib/tst-strtod.c: Likewise.
10094         * sysdeps/i386/i486/bits/atomic.h: Likewise.
10095         * sysdeps/x86_64/bits/atomic.h: Likewise.
10097 2012-03-02  David S. Miller  <davem@davemloft.net>
10099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10103         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10104         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10105         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10106         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10108 2012-03-02  Roland McGrath  <roland@hack.frob.com>
10110         [BZ #13792]
10111         * manual/examples/README: New file, says the example source files
10112         can be used under GPL>=2.
10113         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10114         line containing just "*/".
10115         * manual/examples/add.c: Add copyright header (GPL>=2).
10116         * manual/examples/argp-ex1.c: Likewise.
10117         * manual/examples/argp-ex2.c: Likewise.
10118         * manual/examples/argp-ex3.c: Likewise.
10119         * manual/examples/argp-ex4.c: Likewise.
10120         * manual/examples/atexit.c: Likewise.
10121         * manual/examples/db.c: Likewise.
10122         * manual/examples/dir.c: Likewise.
10123         * manual/examples/dir2.c: Likewise.
10124         * manual/examples/execinfo.c: Likewise.
10125         * manual/examples/filecli.c: Likewise.
10126         * manual/examples/filesrv.c: Likewise.
10127         * manual/examples/fmtmsgexpl.c: Likewise.
10128         * manual/examples/genpass.c: Likewise.
10129         * manual/examples/inetcli.c: Likewise.
10130         * manual/examples/inetsrv.c: Likewise.
10131         * manual/examples/isockad.c: Likewise.
10132         * manual/examples/longopt.c: Likewise.
10133         * manual/examples/memopen.c: Likewise.
10134         * manual/examples/memstrm.c: Likewise.
10135         * manual/examples/mkfsock.c: Likewise.
10136         * manual/examples/mkisock.c: Likewise.
10137         * manual/examples/mygetpass.c: Likewise.
10138         * manual/examples/pipe.c: Likewise.
10139         * manual/examples/popen.c: Likewise.
10140         * manual/examples/rprintf.c: Likewise.
10141         * manual/examples/search.c: Likewise.
10142         * manual/examples/select.c: Likewise.
10143         * manual/examples/setjmp.c: Likewise.
10144         * manual/examples/sigh1.c: Likewise.
10145         * manual/examples/sigusr.c: Likewise.
10146         * manual/examples/stpcpy.c: Likewise.
10147         * manual/examples/strdupa.c: Likewise.
10148         * manual/examples/strftim.c: Likewise.
10149         * manual/examples/strncat.c: Likewise.
10150         * manual/examples/subopt.c: Likewise.
10151         * manual/examples/swapcontext.c: Likewise.
10152         * manual/examples/termios.c: Likewise.
10153         * manual/examples/testopt.c: Likewise.
10154         * manual/examples/testpass.c: Likewise.
10155         * manual/examples/timeval_subtract.c: Likewise.
10157         [BZ #13792]
10158         * manual/time.texi (Elapsed Time): Move timeval_subtract example
10159         function to ...
10160         * manual/timeval_subtract.c.texi: ... here, new file.
10162 2012-03-02  David S. Miller  <davem@davemloft.net>
10164         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10166 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
10168         [BZ #3976]
10169         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10170         (__sin): Save and restore rounding mode and use round-to-nearest
10171         for all computations.
10172         (__cos): Save and restore rounding mode and use round-to-nearest
10173         for all computations.
10174         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10175         <fenv.h>.
10176         (tan): Save and restore rounding mode and use round-to-nearest for
10177         all computations.
10178         * math/libm-test.inc (cos_test_tonearest): New function.
10179         (cos_test_towardzero): Likewise.
10180         (cos_test_downward): Likewise.
10181         (cos_test_upward): Likewise.
10182         (sin_test_tonearest): Likewise.
10183         (sin_test_towardzero): Likewise.
10184         (sin_test_downward): Likewise.
10185         (sin_test_upward): Likewise.
10186         (tan_test_tonearest): Likewise.
10187         (tan_test_towardzero): Likewise.
10188         (tan_test_downward): Likewise.
10189         (tan_test_upward): Likewise.
10190         (main): Call the new functions.
10191         * sysdeps/i386/fpu/libm-test-ulps: Update.
10192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10194         [BZ #10135]
10195         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10196         small n, then large n, before computing and testing k+n.
10197         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10198         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10199         Likewise.
10200         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10201         Likewise.
10202         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10203         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10204         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10205         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10206         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10207         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10208         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10209         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10210         * math/libm-test.inc (scalbn_test): Add more tests.
10211         (scalbln_test): Likewise.
10213         * manual/filesys.texi (mode_t): Describe constraints on size and
10214         signedness, not exact equivalence to a particular type.
10215         (ino_t): Likewise.
10216         (ino64_t): Likewise.
10217         (dev_t): Likewise.
10218         (nlink_t): Likewise.
10219         (blkcnt_t): Likewise.
10220         (blkcnt64_t): Likewise.
10221         * manual/llio.texi (off_t): Likewise.
10223         [BZ #3976]
10224         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10225         (__ieee754_exp): Save and restore rounding mode and use
10226         round-to-nearest for all computations.
10227         * math/libm-test.inc (exp_test_tonearest): New function.
10228         (exp_test_towardzero): Likewise.
10229         (exp_test_downward): Likewise.
10230         (exp_test_upward): Likewise.
10231         (main): Call the new functions.
10232         * sysdeps/i386/fpu/libm-test-ulps: Update.
10233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10235 2012-03-01  Chris Demetriou  <cgd@google.com>
10237         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10238         have predictable order.
10240 2012-03-01  David S. Miller  <davem@davemloft.net>
10242         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10244         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10245         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10246         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10247         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10249         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10250         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10251         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10253         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10254         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10255         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10256         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10257         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10261         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10262         * sysdeps/sparc/fpu/libm-test-ulps: to here.
10263         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10265         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10266         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10267         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10268         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10269         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10270         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10271         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10272         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10273         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10274         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10275         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10276         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10277         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10278         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10279         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10280         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10281         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10282         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10283         * sysdeps/sparc/elf/configure: Regenerated.
10285 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
10287         * configure.in (AS, LD): Require binutils 2.20 or later.
10288         * configure: Regenerated.
10289         * manual/install.texi (Tools for Compilation): Give binutils 2.20
10290         as required minimum version.
10291         * INSTALL: Regenerated.
10293         [BZ #2541]
10294         [BZ #4108]
10295         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10296         before squaring exponent.
10297         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10298         bottom long double and 27 bits of top long double before squaring
10299         exponent.
10300         * math/libm-test.inc (erfc_test): Add more tests.
10301         * sysdeps/i386/fpu/libm-test-ulps: Update.
10302         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10305 2012-03-01  Kai Tietz  <ktietz@redhat.com>
10307         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10308         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10309         containing bit-fields.
10310         * soft-fp/extended.h (_FP_UNION_E): Likewise.
10311         * soft-fp/single.h (_FP_UNION_S): Likewise.
10312         * soft-fp/double.h (_FP_UNION_D): Likewise.
10314 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10316         [BZ #13786]
10317         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10318         not include ../strcmp.S.
10319         [USE_AS_STRNCASECMP_L]: Likewise.
10320         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10321         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10322         * sysdeps/i386/i686/multiarch/strncase_l-c.c
10323         (__strncasecmp_l_ia32): Define as alias to
10324         __strncasecmp_l_nonascii.
10326         [BZ #5794]
10327         * math/libm-test.inc (expm1_test): Add test for bug 5794.
10328         * sysdeps/i386/fpu/libm-test-ulps: Update.
10329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10331         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10334 2012-02-29  Jeff Law  <law@redhat.com>
10336         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10337         out of bounds read.
10339 2012-02-29  Marek Polacek  <polacek@redhat.com>
10341         [BZ #13706]
10342         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10343         * elf/Makefile: Add rules to run tst-unused-dep.out.
10345 2012-02-28  David S. Miller  <davem@davemloft.net>
10347         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10348         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10349         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10350         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10351         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10352         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10354 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10356         * math/libm-test.inc (llround_test): Move one test from
10357         lround_test.  Use TEST_f_L in moved test.
10358         (lround_test): Move misplaced test to llround_test.  Add testcase
10359         from bug 2561.
10361 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
10363         * sysdeps/x86_64/fpu/e_expf.S: New file.
10364         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10366 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
10368         [BZ #13637]
10369         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10370         of remain_len that may cause incomplete multi-byte character and
10371         false match.
10372         * posix/bug-regex33.c: New file.
10373         * posix/Makefile (tests): Add bug-regex33.
10375 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
10377         * manual/macros.texi: New file.
10378         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10379         * manual/libc.texinfo: Include macros.texi.
10380         * manual/creatute.texi: Likewise.
10381         * manual/install.texi: Likewise.
10382         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10383         @glibcadj{} in references to the GNU C Library.
10384         * manual/charset.texi: Likewise.
10385         * manual/conf.texi: Likewise.
10386         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
10387         when not using those macros.
10388         * manual/creature.texi: Likewise.
10389         * manual/crypt.texi: Likewise.
10390         * manual/errno.texi: Likewise.
10391         * manual/filesys.texi: Likewise.
10392         * manual/header.texi: Likewise.
10393         * manual/install.texi: Likewise.
10394         * manual/intro.texi: Likewise.
10395         * manual/io.texi: Likewise.
10396         * manual/job.texi: Likewise.
10397         * manual/lang.texi: Likewise.
10398         * manual/libc.texiinfo: Likewise.
10399         * manual/llio.texi: Likewise.
10400         * manual/locale.texi: Likewise.
10401         * manual/maint.texi: Likewise.
10402         * manual/math.texi: Likewise.
10403         * manual/memory.texi: Likewise.
10404         * manual/message.texi: Likewise.
10405         * manual/nss.texi: Likewise.
10406         * manual/pattern.texi: Likewise.
10407         * manual/process.texi: Likewise.
10408         * manual/resource.texi: Likewise.
10409         * manual/search.texi: Likewise.
10410         * manual/setjmp.texi: Likewise.
10411         * manual/signal.texi: Likewise.
10412         * manual/socket.texi: Likewise.
10413         * manual/startup.texi: Likewise.
10414         * manual/stdio.texi: Likewise.
10415         * manual/string.texi: Likewise.
10416         * manual/sysinfo.texi: Likewise.
10417         * manual/syslog.texi: Likewise.
10418         * manual/terminal.texi: Likewise.
10419         * manual/time.texi: Likewise.
10420         * manual/users.texi: Likewise.
10421         * INSTALL: Regenerated.
10422         * NOTES: Regenerated.
10423         * sysdeps/gnu/errlist.c: Regenerated.
10425 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
10427         * include/dirent.h: Include <dirstream.h> before
10428         <dirent/dirent.h>.
10430 2012-02-28  David S. Miller  <davem@davemloft.net>
10432         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10433         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10434         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10435         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10437 2012-02-27  David S. Miller  <davem@davemloft.net>
10439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10441         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10442         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10445         frame pointer instead of stack pointer relative arg slot.
10446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10447         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10448         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10450 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
10452         [BZ #3992]
10453         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10455 2012-02-27  David S. Miller  <davem@davemloft.net>
10457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10461         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10462         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10463         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10464         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10466 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
10468         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10469         later.  Allow versions 5-9.
10470         * configure: Regenerated.
10471         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10472         required minimum version and 4.6 as recommended version.  Do not
10473         mention bugs in GCC 2.7 and 2.8.
10474         * INSTALL: Regenerated.
10476 2012-02-27  David S. Miller  <davem@davemloft.net>
10478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10482         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10483         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10484         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10485         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10487         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10488         manipulate bits before adding and subtracting TWO112[sx].
10489         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10491 2012-02-27  Roland McGrath  <roland@hack.frob.com>
10493         [BZ #13775]
10494         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10495         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10496         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10497         being in POSIX, because they are in 1003.1-2008.
10499         * rt/tst-aio.c: Include <fcntl.h>.
10500         * rt/tst-aio7.c: Likewise.
10501         * rt/tst-aio64.c: Likewise.
10503         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10505 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
10507         * manual/install.texi (--with-headers): Describe headers as
10508         interface headers, not private headers.
10509         (Specific advice for GNU/Linux systems): Describe use of headers
10510         from "make headers_install", not private headers from older
10511         kernels.
10512         * INSTALL: Regenerated.
10513         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10514         Change to 2.6.19.
10515         * sysdeps/unix/sysv/linux/configure: Regenerated.
10517         * manual/llio.texi (fclean): Remove documentation.
10519         * manual/Makefile (libc-texi-generated): New variable.  Include
10520         version.texi.
10521         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10522         $(libc-texi-generated), not duplicated list of files.
10523         (version.texi, stamp-version): New rules.
10524         (realclean): Remove $(libc-texi-generated), not individual files
10525         from that list.  Do not remove dir-add.texinfo.
10526         * manual/libc.texinfo: Comment out uses of edition numbers and
10527         references to printed manual.  Remove last-updated dates.
10528         (EDITION): Comment out.
10529         (ISBN): Likewise.
10530         (VERSION, UPDATED): Remove.
10531         (version.texi): Include.
10533 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
10535         * sysdeps/posix/spawni.c: Include <signal.h>.
10536         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10537         * sysdeps/pthread/aio_fsync.c: Likewise.
10539 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
10541         * conform/Makefile (tests): Run only when not cross-compiling and
10542         when fast-check is not defined.
10544         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10545         * conform/data/limits.h-data: Fixes for POSIX2008.
10546         * conform/run-conformtest.sh: Run all tests.
10547         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10548         headers.
10549         * include/bits/dlfcn.h: Likewise.
10550         * include/langinfo.h: Likewise.
10551         * include/monetary.h: Likewise.
10552         * include/sys/poll.h: Likewise.
10554         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10555         for __USE_GNU.
10556         * posix/spawn.h: Define __need_sigset_t.
10557         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10558         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10559         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
10560         to get sigevent_t only.
10561         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10562         only for __USE_GNU.
10563         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10564         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10565         process_vm_writev only for __USE_GNU.
10566         * termios/termios.h: Declare tcgetsid also for POSIX2008.
10568         * conform/Makefile: For now ignore errors from run-conformtest.
10569         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
10570         POSIX to avoid namespace pollution.  Don't prepend headers.
10571         * conform/data/aio.h-data: Fixes for POSIX testing.
10572         * conform/data/fcntl.h-data: Likewise.
10573         * conform/data/glob.h-data: Likewise.
10574         * conform/data/grp.h-data: Likewise.
10575         * conform/data/pthread.h-data: Likewise.
10576         * conform/data/pwd.h-data: Likewise.
10577         * conform/data/signal.h-data: Likewise.
10578         * conform/data/spawn.h-data: Likewise.
10579         * conform/data/stdio.h-data: Likewise.
10580         * conform/data/stdlib.h-data: Likewise.
10581         * conform/data/stropts.h-data: Likewise.
10582         * conform/data/sys/mman.h-data: Likewise.
10583         * conform/data/sys/stat.h-data: Likewise.
10584         * conform/data/sys/types.h-data: Likewise.
10585         * conform/data/sys/wait.h-data: Likewise.
10586         * conform/data/time.h-data: Likewise.
10587         * conform/data/unistd.h-data: Likewise.
10588         * conform/data/utime.h-data: Likewise.
10590         * io/sys/stat.h: fchmod was always in POSIX.
10591         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10592         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10593         * rt/aio.h: Define __need_timespec before including <time.h>.
10594         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10595         struct.  Add forward declaration of pthread_attr_t and use it in
10596         sigevent.
10597         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10598         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10599         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10600         always remove CLK_TCK definition.
10602 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
10604         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10606 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
10608         * conform/run-conformtest.sh: New file.
10609         * conform/Makefile: Run run-conformtest for tests.
10610         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
10611         support.
10613         * conform/data/uchar.h-data: New file.
10614         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10615         * conform/data/arpa/inet.h-data: Likewise.
10616         * conform/data/assert.h-data: Likewise.
10617         * conform/data/complex.h-data: Likewise.
10618         * conform/data/cpio.h-data: Likewise.
10619         * conform/data/ctype.h-data: Likewise.
10620         * conform/data/dirent.h-data: Likewise.
10621         * conform/data/dlfcn.h-data: Likewise.
10622         * conform/data/errno.h-data: Likewise.
10623         * conform/data/fcntl.h-data: Likewise.
10624         * conform/data/float.h-data: Likewise.
10625         * conform/data/fmtmsg.h-data: Likewise.
10626         * conform/data/fnmatch.h-data: Likewise.
10627         * conform/data/ftw.h-data: Likewise.
10628         * conform/data/glob.h-data: Likewise.
10629         * conform/data/grp.h-data: Likewise.
10630         * conform/data/iconv.h-data: Likewise.
10631         * conform/data/inttypes.h-data: Likewise.
10632         * conform/data/langinfo.h-data: Likewise.
10633         * conform/data/libgen.h-data: Likewise.
10634         * conform/data/limits.h-data: Likewise.
10635         * conform/data/locale.h-data: Likewise.
10636         * conform/data/math.h-data: Likewise.
10637         * conform/data/monetary.h-data: Likewise.
10638         * conform/data/mqueue.h-data: Likewise.
10639         * conform/data/ndbm.h-data: Likewise.
10640         * conform/data/net/if.h-data: Likewise.
10641         * conform/data/netdb.h-data: Likewise.
10642         * conform/data/netinet/in.h-data: Likewise.
10643         * conform/data/nl_types.h-data: Likewise.
10644         * conform/data/poll.h-data: Likewise.
10645         * conform/data/pthread.h-data: Likewise.
10646         * conform/data/pwd.h-data: Likewise.
10647         * conform/data/regex.h-data: Likewise.
10648         * conform/data/sched.h-data: Likewise.
10649         * conform/data/search.h-data: Likewise.
10650         * conform/data/semaphore.h-data: Likewise.
10651         * conform/data/setjmp.h-data: Likewise.
10652         * conform/data/signal.h-data: Likewise.
10653         * conform/data/spawn.h-data: Likewise.
10654         * conform/data/stdarg.h-data: Likewise.
10655         * conform/data/stdio.h-data: Likewise.
10656         * conform/data/stdlib.h-data: Likewise.
10657         * conform/data/string.h-data: Likewise.
10658         * conform/data/strings.h-data: Likewise.
10659         * conform/data/stropts.h-data: Likewise.
10660         * conform/data/sys/ipc.h-data: Likewise.
10661         * conform/data/sys/mman.h-data: Likewise.
10662         * conform/data/sys/msg.h-data: Likewise.
10663         * conform/data/sys/resource.h-data: Likewise.
10664         * conform/data/sys/select.h-data: Likewise.
10665         * conform/data/sys/sem.h-data: Likewise.
10666         * conform/data/sys/shm.h-data: Likewise.
10667         * conform/data/sys/socket.h-data: Likewise.
10668         * conform/data/sys/stat.h-data: Likewise.
10669         * conform/data/sys/statvfs.h-data: Likewise.
10670         * conform/data/sys/time.h-data: Likewise.
10671         * conform/data/sys/timeb.h-data: Likewise.
10672         * conform/data/sys/times.h-data: Likewise.
10673         * conform/data/sys/types.h-data: Likewise.
10674         * conform/data/sys/uio.h-data: Likewise.
10675         * conform/data/sys/un.h-data: Likewise.
10676         * conform/data/sys/utsname.h-data: Likewise.
10677         * conform/data/sys/wait.h-data: Likewise.
10678         * conform/data/syslog.h-data: Likewise.
10679         * conform/data/tar.h-data: Likewise.
10680         * conform/data/termios.h-data: Likewise.
10681         * conform/data/utime.h-data: Likewise.
10682         * conform/data/utmpx.h-data: Likewise.
10683         * conform/data/varargs.h-data: Likewise.
10684         * conform/data/wchar.h-data: Likewise.
10685         * conform/data/wctype.h-data: Likewise.
10686         * conform/data/wordexp.h-data: Likewise.
10688         * include/stropts.h: New file.
10689         * include/uchar.h: New file.
10690         * include/aio.h: Changes to allow conformtest.pl to use the headers.
10691         * include/assert.h: Likewise.
10692         * include/ctype.h: Likewise.
10693         * include/dirent.h: Likewise.
10694         * include/dlfcn.h: Likewise.
10695         * include/fcntl.h: Likewise.
10696         * include/fnmatch.h: Likewise.
10697         * include/glob.h: Likewise.
10698         * include/grp.h: Likewise.
10699         * include/libio.h: Likewise.
10700         * include/locale.h: Likewise.
10701         * include/math.h: Likewise.
10702         * include/net/if.h: Likewise.
10703         * include/netdb.h: Likewise.
10704         * include/netinet/in.h: Likewise.
10705         * include/pthread.h: Likewise.
10706         * include/pwd.h: Likewise.
10707         * include/regex.h: Likewise.
10708         * include/sched.h: Likewise.
10709         * include/search.h: Likewise.
10710         * include/setjmp.h: Likewise.
10711         * include/signal.h: Likewise.
10712         * include/stdio.h: Likewise.
10713         * include/stdlib.h: Likewise.
10714         * include/string.h: Likewise.
10715         * include/sys/cdefs.h: Likewise.
10716         * include/sys/mman.h: Likewise.
10717         * include/sys/msg.h: Likewise.
10718         * include/sys/resource.h: Likewise.
10719         * include/sys/select.h: Likewise.
10720         * include/sys/socket.h: Likewise.
10721         * include/sys/stat.h: Likewise.
10722         * include/sys/statvfs.h: Likewise.
10723         * include/sys/time.h: Likewise.
10724         * include/sys/times.h: Likewise.
10725         * include/sys/uio.h: Likewise.
10726         * include/sys/utsname.h: Likewise.
10727         * include/sys/wait.h: Likewise.
10728         * include/termios.h: Likewise.
10729         * include/time.h: Likewise.
10730         * include/ulimit.h: Likewise.
10731         * include/unistd.h: Likewise.
10732         * include/utime.h: Likewise.
10733         * include/wchar.h: Likewise.
10734         * include/wctype.h: Likewise.
10735         * include/wordexp.h: Likewise.
10737         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10739         * time/time.h: TIME_UTC must be a macro.
10740         Make timespec_get available for ISO C11 only as well.
10742 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
10744         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10745         Reported by Peng Haitao <penght@cn.fujitsu.com>.
10747 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
10749         * configure.in: Use -o not -a in test for unsupported multi-arch.
10751 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
10753         * manual/texinfo.tex: Update to version 2012-01-19.16.
10755 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
10757         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10759 2012-02-24  Roland McGrath  <roland@hack.frob.com>
10761         [BZ #13738]
10762         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10763         * manual/fdl-1.3.texi: New file.
10764         * manual/fdl-1.1.texi: File removed.
10766         [BZ #13738]
10767         * manual/libc.texinfo (FDL_VERSION): New @set.
10768         Use it for mention of FDL in cover text.
10769         (Documentation License): Use it in @include file name.
10771 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10772             Roland McGrath  <roland@hack.frob.com>
10774         [BZ #5461]
10775         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10776         not LONG_LONG_MAX and LONG_LONG_MIN.
10777         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10778         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
10779         name.
10780         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10782 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10784         [BZ #2547]
10785         [BZ #11365]
10786         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10787         manipulate bits before adding and subtracting TWO23[sx].
10788         * math/libm-test.inc (nearbyint_test): Add more tests.
10790 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10792         [BZ #2548]
10793         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10794         bits before adding and subtracting TWO23[sx].
10795         * math/libm-test.inc (rint_test): Add more tests.
10796         (rint_test_tonearest): Likewise.
10797         (rint_test_towardzero): Likewise.
10798         (rint_test_downward): Likewise.
10799         (rint_test_upward: Likewise.
10801 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10803         [BZ #10110]
10804         * include/stdc-predef.h: New file.  Extracted from features.h.
10805         * include/features.h: Include stdc-predef.h.
10806         * Makefile (headers): Add stdc-predef.h.
10807         * CONFORMANCE (Compiler limitations): Update.
10809 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10811         * manual/libc.texinfo (VERSION, UPDATED): Revert.
10813 2012-02-21  David S. Miller  <davem@davemloft.net>
10815         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10816         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10818 2012-02-20  David S. Miller  <davem@davemloft.net>
10820         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10821         using a normal save/restore sequence, rather than allocating a
10822         dummy stack frame just to store a frame pointer and restore.
10823         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10825 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10827         * manual/install.texi: Fix stray word in line-wrapped comment.
10829 2012-02-20  David S. Miller  <davem@davemloft.net>
10831         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10832         both binutils and gcc support GOTDATA.
10834         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10835         "rd %pc" in the PIC register setup sequences.
10837         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10838         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10839         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10840         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10841         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10842         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10843         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10844         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10846         (SYSCALL_ERROR_HANDLER): Likewise.
10847         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10848         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10849         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10850         (SYSCALL_ERROR_HANDLER): Likewise.
10852         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10853         (HAVE_GCC_GOTDATA): New.
10854         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10855         relocation support in both binutils and gcc.
10856         * sysdeps/sparc/elf/configure: Regenerate.
10858         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10859         * sysdeps/sparc/sparc32/elf/configure: Delete.
10860         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10861         * sysdeps/sparc/sparc64/elf/configure: Delete.
10862         * sysdeps/sparc/elf/configure.in: New file.
10863         * sysdeps/sparc/elf/configure: Generate.
10865         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10866         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10867         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10868         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10869         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10871 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10873         * manual/install.texi: Do not mention specific glibc version
10874         numbers.
10875         * manual/libc.texinfo (VERSION, UPDATED): Update.
10876         (@copying): Use @copyright{} and range of years.
10878 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10880         [BZ #13695]
10881         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10882         [crti.S not in sysdirs] (generated): Do not append.
10883         [crti.S not in sysdirs] (omit-deps): Likewise.
10884         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10885         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10886         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10887         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10888         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10889         Likewise.
10890         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10891         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10892         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10893         * csu/defs.awk: Remove file.
10894         * sysdeps/generic/initfini.c: Likewise.
10895         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10896         variable.
10897         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10898         Likewise.
10900 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10902         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10903         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10904         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10905         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10906         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10907         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10908         <bits/epoll.h>.
10909         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10910         (__EPOLL_PACKED): Define to empty if not defined by
10911         <bits/epoll.h>.
10912         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10913         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10914         bits/epoll.h.
10916 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10918         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10919         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10920         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10921         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10922         <bits/timerfd.h>.
10923         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10924         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10925         bits/timerfd.h.
10927 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10929         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10930         in C locale.
10931         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10932         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10933         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10936 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
10938         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10939         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10941 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
10943         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10944         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10945         defined.
10946         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10947         Likewise.
10948         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10949         entry for 2.16.
10951 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
10953         * math/w_acos.c: Use non-signaling floating-point comparisons.
10954         * math/w_acosf.c: Likewise.
10955         * math/w_acosh.c: Likewise.
10956         * math/w_acoshf.c: Likewise.
10957         * math/w_acoshl.c: Likewise.
10958         * math/w_acosl.c: Likewise.
10959         * math/w_asin.c: Likewise.
10960         * math/w_asinf.c: Likewise.
10961         * math/w_asinl.c: Likewise.
10962         * math/w_atanh.c: Likewise.
10963         * math/w_atanhf.c: Likewise.
10964         * math/w_atanhl.c: Likewise.
10965         * math/w_exp2.c: Likewise.
10966         * math/w_exp2f.c: Likewise.
10967         * math/w_exp2l.c: Likewise.
10968         * math/w_j0.c: Likewise.
10969         * math/w_j0f.c: Likewise.
10970         * math/w_j0l.c: Likewise.
10971         * math/w_j1.c: Likewise.
10972         * math/w_j1f.c: Likewise.
10973         * math/w_j1l.c: Likewise.
10974         * math/w_jn.c: Likewise.
10975         * math/w_jnf.c: Likewise.
10976         * math/w_log.c: Likewise.
10977         * math/w_log10.c: Likewise.
10978         * math/w_log10f.c: Likewise.
10979         * math/w_log10l.c: Likewise.
10980         * math/w_log2.c: Likewise.
10981         * math/w_log2f.c: Likewise.
10982         * math/w_log2l.c: Likewise.
10983         * math/w_logf.c: Likewise.
10984         * math/w_logl.c: Likewise.
10985         * math/w_sqrt.c: Likewise.
10986         * math/w_sqrtf.c: Likewise.
10987         * math/w_sqrtl.c: Likewise.
10988         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10989         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10990         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10991         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10992         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10994 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
10996         [BZ #9739]
10997         * manual/string.texi (strnlen): Use correct parameter name in
10998         equivalent expression.
11000 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11002         [BZ #11174]
11003         * manual/users.texi (seteuid): Consistently use neweuid for
11004         argument name.
11006 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11008         [BZ #13704]
11009         * manual/nss.texi (Services in the NSS configuration): Correct
11010         list of services in example configuration file.
11012 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
11014         [BZ #11322]
11015         * manual/arith.texi: Remove statements about negative zero
11016         behaving identically to zero.
11018 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
11020         [BZ #5993]
11021         * manual/install.texi: Do not document upgrading from libc5.
11023 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
11025         [BZ #4596]
11026         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11028 2012-02-18  David S. Miller  <davem@davemloft.net>
11030         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11031         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11032         %o7 across the call.
11033         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11034         instead.
11035         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11036         SETUP_PIC_REG_LEAF.
11037         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11038         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11039         * sysdeps/sparc/crtn.S: Likewise.
11041 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
11043         * aout/Makefile: Remove.
11045 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
11047         [BZ #13058]
11048         * manual/examples/argp-ex1.c (main): Format definition in GNU
11049         style.
11050         * manual/examples/argp-ex2.c (main): Likewise.
11051         * manual/examples/argp-ex3.c (main): Likewise.
11052         * manual/examples/argp-ex4.c (main): Likewise.
11053         * manual/examples/longopt.c (main): Use new-style prototype
11054         definition.
11055         * manual/examples/strncat.c (main): Specify return type and use
11056         (void) for arguments.
11057         * manual/examples/subopt.c (main): Use char **argv argument.
11059 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11061         [BZ #5077]
11062         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11063         rounding modes.
11065 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
11067         [BZ #6907]
11068         * manual/string.texi (strchr): Change when strchrnul is
11069         recommended.
11071 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
11073         [BZ #174]
11074         * manual/locale.texi (setlocale): Document LOCPATH.
11076 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11078         [BZ #10210]
11079         * manual/process.texi (execle): Move @dots{} before last argument.
11081 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
11083         [BZ #12047]
11084         * manual/charset.texi (Generic Charset Conversion): Fix typo
11085         (LC_TYPE -> LC_CTYPE).
11087 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
11089         [BZ #5805]
11090         * manual/arith.texi (scalbn): Use @var{} on parameter names.
11091         (scalbnf): Likewise.
11092         (scalbnl): Likewise.
11093         (scalbln): Likewise.
11094         (scalblnf): Likewise.
11095         (scalblnl): Likewise.
11096         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11097         (vwarnx): Likewise.
11098         (verr): Likewise.
11099         (verrx): Likewise.
11100         * manual/filesys.texi (telldir): Use braces around return type.
11101         * manual/llio.texi (mmap): Add space after comma.
11102         (mmap64): Likewise.
11103         * manual/math.texi (jn): Use @var{} on parameter names.
11104         (jnf): Likewise.
11105         (jnl): Likewise.
11106         (yn): Likewise.
11107         (ynf): Likewise.
11108         (ynl): Likewise.
11109         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11110         line.
11111         * manual/resource.texi (ulimit): Use @dots{} instead of literal
11112         "...".
11113         (sched_get_priority_min): Remove semicolon on @deftypefun line.
11114         (sched_get_priority_max): Likewise.
11115         * manual/signal.texi (sigvec): Add space after comma.
11116         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11117         names.
11118         (if_indextoname): Likewise.
11119         (if_freenameindex): Likewise.
11120         (sendto): Use ',' instead of '.' in prototype.
11121         * manual/startup.texi (syscall): Use @dots{} instead of literal
11122         "...".
11123         * manual/stdio.texi (__fpending): Separate initial words of
11124         paragraph from @deftypefun line.
11125         * manual/syslog.texi (syslog): Use @dots{} instead of literal
11126         "...".
11127         (vsyslog): Use @var{} on parameter names.
11128         * manual/terminal.texi (stty): Use @var{} on parameter names.
11129         * manual/users.texi (getutmp): Use @var{} on parameter names.
11130         (getutmpx): Likewise.
11132 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11134         [BZ #6884]
11135         * manual/stdio.texi (fopen): Fix typos in description of
11136         ",ccs=STRING".
11138 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
11140         [BZ #4026]
11141         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11142         get clock_id definition.
11144 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
11146         [BZ #4822]
11147         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11148         (madvise): Cast every argument to void on its own.
11150 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11152         [BZ #9902]
11153         * manual/startup.texi (Exit Status): Fix typo.
11155 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11157         [BZ #10140]
11158         * manual/examples/argp-ex1.c: Include <stdlib.h>.
11159         * manual/examples/argp-ex2.c: Likewise.
11160         * manual/examples/argp-ex3.c: Likewise.
11162 2012-02-16  Richard Henderson  <rth@redhat.com>
11164         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11165         * sysdeps/s390/s390-32/initfini.c: Remove.
11166         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11167         * sysdeps/s390/s390-64/initfini.c: Remove.
11169 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11171         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11172         compiler output for sysdeps/generic/initfini.c.
11173         * sysdeps/sh/elf/initfini.c: Remove file.
11175 2012-02-16  David S. Miller  <davem@davemloft.net>
11177         [BZ #11494]
11178         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11180         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11181         * sysdeps/sparc/crti.S: New file.
11182         * sysdeps/sparc/crtn.S: New file.
11183         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11184         * sysdeps/sparc/sparc64/Makefile: Likewise.
11186 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
11188         [BZ #3335]
11189         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11191 2012-02-15  Roland McGrath  <roland@hack.frob.com>
11193         [BZ #4822]
11194         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11196         * mach/devstream.c (cookie_io_functions_t): Macro removed.
11197         (write, read, close): Likewise.
11198         Patch by Aurelien Jarno <aurelien@aurel32.net>.
11200 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
11202         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11203         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11204         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11205         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11206         <bits/signalfd.h>.
11207         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11208         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11209         bits/signalfd.h.
11211 2012-02-14  Marek Polacek  <polacek@redhat.com>
11213         * sysdeps/x86_64/crti.S: New file.
11214         * sysdeps/x86_64/crtn.S: New file.
11215         * sysdeps/x86_64/elf/initfini.c: Remove file.
11217 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11219         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11220         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11221         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11222         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11223         <bits/inotify.h>.
11224         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11226         bits/inotify.h.
11228 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11230         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11231         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11232         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11233         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11234         <bits/eventfd.h>.
11235         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11236         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11237         bits/eventfd.h.
11239 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
11241         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11242         __feraiseexcept instead of feraiseexcept.
11244         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11245         nanosleep invocations.
11246         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11247         strings, and add error checking for a nanosleep invocations.
11249 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
11251         Replace FSF snail mail address with URLs, as per GNU coding standards.
11252         Most of the snail mail addresses were wrong anyway, and omitting
11253         them makes the source code easier to maintain.  Almost all of the
11254         changes are to license notices and to locale LC_IDENTIFICATION
11255         addresses, except for this one:
11256         * manual/libc.texinfo: In "Published by", give the FSF's URL,
11257         not its snail mail address.
11259 2012-02-09  Richard Henderson  <rth@twiddle.net>
11261         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11262         of kernel-features.h.
11264         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11266 2012-02-08  Marek Polacek  <polacek@redhat.com>
11268         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11269         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11270         * sysdeps/gnu/_G_config.h: Likewise.
11271         * sysdeps/generic/_G_config.h: Likewise.
11273 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
11275         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11276         tests.
11277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11279         * sysdeps/powerpc/powerpc32/crti.S: New file.
11280         * sysdeps/powerpc/powerpc32/crtn.S: New file.
11281         * sysdeps/powerpc/powerpc64/crti.S: New file.
11282         * sysdeps/powerpc/powerpc64/crtn.S: New file.
11284         * Makeconfig (have-initfini): Don't set.
11285         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11286         * configure.in (nopic_initfini): Don't substitute.
11287         * config.h.in (HAVE_INITFINI): Don't #undef.
11288         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11289         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11291 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
11293         Support crti.S and crtn.S provided directly by architectures.
11294         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11295         [crti.S in sysdirs] (omit-deps): Likewise.
11296         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11297         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11298         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11299         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11300         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11301         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11302         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11303         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11304         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11305         compiler output for sysdeps/generic/initfini.c.
11306         * sysdeps/i386/elf/Makefile: Remove file.
11307         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11309 2012-02-07  Marek Polacek  <polacek@redhat.com>
11311         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11312         * sysdeps/gnu/_G_config.h: Likewise.
11313         * sysdeps/mach/hurd/_G_config.h: Likewise.
11315 2012-02-07  Marek Polacek  <polacek@redhat.com>
11317         * math/Makefile (tests): Add tst-CMPLX2.
11318         * math/tst-CMPLX2.c: New file.
11320 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
11322         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11324         * math/libm-test.inc (jn_test): Add missing L suffix.
11326 2012-02-06  Marek Polacek  <polacek@redhat.com>
11328         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11329         * sysdeps/i386/fpu/e_powf.S: Likewise.
11330         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11331         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11332         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11333         * sysdeps/i386/fpu/e_pow.S: Likewise.
11334         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11335         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11336         * sysdeps/i386/fpu/s_expm1.S: Likewise.
11337         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11338         * sysdeps/i386/fpu/e_log2.S: Likewise.
11339         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11340         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11341         * sysdeps/i386/fpu/e_powl.S: Likewise.
11342         * sysdeps/i386/fpu/s_log1p.S: Likewise.
11343         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11344         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11345         * sysdeps/i386/fpu/e_logl.S: Likewise.
11346         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11347         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11348         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11349         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11350         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11351         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11352         * sysdeps/i386/fpu/e_log.S: Likewise.
11353         * sysdeps/i386/fpu/s_cexp.S: Likewise.
11354         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11355         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11356         * sysdeps/i386/fpu/e_logf.S: Likewise.
11357         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11358         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11359         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11360         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11361         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11362         * sysdeps/i386/fpu/e_log10.S: Likewise.
11363         * sysdeps/i386/fpu/s_frexp.S: Likewise.
11364         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11365         * sysdeps/i386/fpu/s_asinh.S: Likewise.
11366         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11367         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11368         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11369         * sysdeps/i386/asm-syntax.h: Likewise.
11370         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11371         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11372         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11373         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11374         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11375         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11376         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11377         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11378         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11379         * sysdeps/powerpc/sysdep.h: Likewise.
11380         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11381         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11383 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11385         [BZ #411]
11386         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11388 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11390         * sysdeps/i386/sysdep.h: Include <features.h>.
11391         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11392         version.
11394 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
11396         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11397         Define.
11398         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11399         LOAD_PIC_REG_STR.
11401 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11403         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11404         (SETUP_PIC_REG): Use GET_PC_THUNK.
11405         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11406         macro.
11408 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11410         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11411         for non-PIC compilation.
11412         (SETUP_PIC_REG): Add .p2align directive.
11413         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11414         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11415         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11416         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11417         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11418         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11419         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11420         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11421         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11422         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11423         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11424         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11425         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11426         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11427         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11428         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11429         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11430         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11431         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11432         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11433         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11434         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11435         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11436         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11437         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11438         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11439         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11440         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11441         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11442         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11443         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11444         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11445         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11446         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11447         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11448         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11449         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11450         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11451         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11452         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11453         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11455 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11457         * math/tst-CMPLX.c: Include <stdio.h>.
11459 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
11461         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11462         float.
11463         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11464         * sysdeps/sparc/bits/mathdef.h: Likewise.
11466 2012-01-31  Marek Polacek  <polacek@redhat.com>
11468         * libio/libio.h: Don't define _PARAMS.
11469         * locale/programs/config.h: Don't define PARAMS.
11470         * stdlib/strtol_l.c: Likewise.
11471         (__strtol_l): Remove PARAMS from the prototype.
11473 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
11475         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
11476         names.  Just use the correct names.  Remove unnecessary wrapper
11477         functions.
11478         * malloc/arena.c: Likewise.
11479         * malloc/hooks.c: Likewise.
11481         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11482         ARENA_TEST says not to.  Simplify test for creation of a new arena.
11483         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11485 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
11487         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11488         into tail calls.
11489         (update_get_addr): New function.
11490         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11491         GET_ADDR_MODULE parameter.
11493 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
11495         * crypt/cert.c: Remove __STDC__ conditionals.
11496         * crypt/crypt-entry.c: Likewise.
11497         * crypt/crypt_util.c: Likewise.
11498         * libio/filedoalloc.c: Likewise.
11499         * libio/fileops.c: Likewise.
11500         * libio/genops.c: Likewise.
11501         * libio/iofclose.c: Likewise.
11502         * libio/iofdopen.c: Likewise.
11503         * libio/iofopen.c: Likewise.
11504         * libio/iofopen64.c: Likewise.
11505         * libio/iogetdelim.c: Likewise.
11506         * libio/iopopen.c: Likewise.
11507         * libio/obprintf.c: Likewise.
11508         * libio/oldfileops.c: Likewise.
11509         * libio/oldiofclose.c: Likewise.
11510         * libio/oldiofdopen.c: Likewise.
11511         * libio/oldiofopen.c: Likewise.
11512         * libio/oldiopopen.c: Likewise.
11513         * libio/wfiledoalloc.c: Likewise.
11514         * libio/wgenops.c: Likewise.
11515         * locale/programs/xmalloc.c: Likewise.
11516         * misc/syslog.c: Likewise.
11517         * stdio-common/xbug.c: Likewise.
11518         * string/memchr.c: Likewise.
11519         * string/memcmp.c: Likewise.
11520         * string/memrchr.c: Likewise.
11521         * string/rawmemchr.c: Likewise.
11522         * sysdeps/posix/getcwd.c: Likewise.
11523         * time/strftime_l.c: Likewise.
11525 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
11527         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11528         * config.make.in (config-cflags-sse2avx): Define.
11529         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11530         Fix typo.
11532 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
11534         * scripts/config.guess: Update from upstream config git repository.
11535         * scripts/config.sub: Likewise.
11537 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
11539         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11540         (EM_NUM): Update.
11541         (R_TILEPRO_*, R_TILEGX_*): New macros.
11543         * scripts/firstversions.awk: Fix bug in version range handling.
11545         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11547         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11549         * include/sys/epoll.h: New file.
11550         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11551         libc_hidden_def.
11553 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
11555         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11556         Avoid unnecessary __WORDSIZE == 64 test.
11557         (fmaxf): Use VEX format if possible.
11558         (fmax): Likewise.
11559         (fminf): Likewise.
11560         (fmin): Likewise.
11562         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11563         * math/math_private.h: Remove libc_fegetround* and
11564         libc_fesetround*.
11565         * sysdeps/i386/configure.in: Check for -msse2avx.
11566         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11567         also if SSE2AVX is defined.
11568         Remove libc_fegetround* and libc_fesetround*.
11569         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11570         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
11571         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11572         of HAS_YMM_USABLE.
11573         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11574         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11575         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11576         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11577         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11579         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11581 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11583         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11584         size is not set.
11585         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11587 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
11589         [BZ #13618]
11590         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11591         relocation.
11592         * Makeconfig (libm): Define.
11593         * elf/Makefile: Add rules to build and run tst-relsort1.
11594         * elf/tst-relsort1.c: New file.
11595         * elf/tst-relsort1mod1.c: New file.
11596         * elf/tst-relsort1mod2.c: New file.
11598 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
11600         * math/s_ldexp.c: Remove __STDC__ conditionals.
11601         * math/s_ldexpf.c: Likewise.
11602         * math/s_ldexpl.c: Likewise.
11603         * math/s_nextafter.c: Likewise.
11604         * math/s_nexttowardf.c: Likewise.
11605         * math/s_significand.c: Likewise.
11606         * math/s_significandf.c: Likewise.
11607         * math/s_significandl.c: Likewise.
11608         * math/w_jnl.c: Likewise.
11609         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11610         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11611         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11612         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11613         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11614         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11615         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11616         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11617         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11618         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11619         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11620         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11621         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11622         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11623         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11624         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11625         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11626         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11627         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11628         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11629         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11630         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11631         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11632         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11633         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11634         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11635         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11636         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11637         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11638         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11639         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11640         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11641         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11642         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11643         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11644         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11645         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11646         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11647         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11648         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11649         * sysdeps/ieee754/k_standard.c: Likewise.
11650         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11651         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11652         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11653         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11654         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11655         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11656         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11657         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11658         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11659         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11660         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11661         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11662         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11663         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11664         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11665         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11666         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11667         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11668         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11669         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11670         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11671         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11672         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11673         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11674         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11675         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11676         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11677         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11678         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11679         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11680         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11681         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11682         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11683         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11684         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11685         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11686         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11687         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11688         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11689         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11690         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11691         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11692         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11693         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11694         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11695         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11696         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11697         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11698         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11699         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11700         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11701         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11702         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11703         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11704         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11705         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11706         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11707         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11708         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11709         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11710         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11711         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11712         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11713         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11714         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11715         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11716         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11717         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11718         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11719         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11720         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11721         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11722         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11723         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11724         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11725         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11726         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11727         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11728         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11729         * sysdeps/ieee754/s_matherr.c: Likewise.
11730         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11731         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11732         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11733         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11735 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
11737         * crypt/md5.h: Remove __STDC__ conditionals.
11738         * libio/libioP.h: Likewise.
11739         * locale/programs/config.h: Likewise.
11740         * sysdeps/generic/sysdep.h: Likewise.
11741         * sysdeps/i386/asm-syntax.h: Likewise.
11742         * sysdeps/s390/asm-syntax.h: Likewise.
11743         * sysdeps/unix/sysdep.h: Likewise.
11744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11747 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
11749         * libio/libio.h: Remove __STDC__ conditionals.
11750         * malloc/obstack.h: Likewise.
11751         * math/complex.h: Likewise.
11752         * math/math.h: Likewise.
11753         * sysdeps/generic/_G_config.h: Likewise.
11754         * sysdeps/gnu/_G_config.h: Likewise.
11755         * sysdeps/mach/hurd/_G_config.h: Likewise.
11756         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11757         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11758         * sysdeps/sparc/bits/mathdef.h: Likewise.
11760 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
11762         [BZ #13583]
11763         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11764         Clean up HAS_* macros.
11765         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11766         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11767         possible.
11768         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11769         HAS_AVX.
11770         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11771         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11772         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11773         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11774         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11776 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
11778         * elf/tst-unique3.cc (gets): Remove declaration.
11779         * elf/tst-unique3lib.cc (gets): Likewise.
11780         * elf/tst-unique3lib2.cc (gets): Likewise.
11781         * elf/tst-unique4.cc (gets): Likewise.
11783 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
11785         * include/stdio.h: Add C++ protection.  Add gets declarations and
11786         definitions.
11787         * debug/tst-chk1.c: Don't declare gets here.
11788         * stdio-common/tst-gets.c: Likewise.
11790 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
11792         * posix/glob: Remove directory.
11794 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
11796         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11798 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
11800         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11801         of the non-standard EPFNOSUPPORT.
11803 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11805         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11806         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11807         ANYWHERE set to 1 only on KERN_NO_SPACE error.
11809 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
11811         * wcsmbs/uchar.h: Test __STDC_VERSION__.
11813 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
11815         * nscd/aicache.c (addhstaiX): Do not cache negative results of
11816         transient errors.
11817         * nscd/grpcache.c (cache_addgr): Likewise.
11818         * nscd/hstcache.c (cache_addhst): Likewise.
11819         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11820         * nscd/pwdcache.c (cache_addpw): Likewise.
11821         * nscd/servicescache.c (cache_addserv): Likewise.
11823 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
11825         * malloc/malloc.c: Various cleanups.
11826         * malloc/hooks.c: Likewise.
11828         * stdlib/Makefile (tests): Add bug-fmtmsg1.
11829         * stdlib/bug-fmtmsg1.c: New file.
11831         * stdlib/fmtmsg.c (init): Add missing unlock.
11832         Patch by Peng Haitao <penght@cn.fujitsu.com>.
11834 2012-01-12  Marek Polacek  <polacek@redhat.com>
11836         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11837         and _GNU_SOURCE.
11839 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
11841         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11842         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11843         macro to ensure uniqueness of label name.
11844         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11845         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11847 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
11849         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11851         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11852         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11853         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11854         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11856 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
11858         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11860         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11861         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11862         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11864         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11866         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11867         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11868         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11869         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11871         * math/bits/math-finite.h: Add ldexp support.
11873 2012-01-10  Marek Polacek  <polacek@redhat.com>
11875         * locale/programs/localedef.h (show_archive_content): Add noreturn
11876         attribute.
11878 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
11880         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11882 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11884         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11886         * io/Makefile (headers): Add bits/poll2.h.
11888 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
11890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11891         typo #include statement.
11893 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11895         * include/sys/cdefs.h: Define __attribute_alloc_size.
11896         * catgets/gencat.c: Add alloc_size attribute and apply consistently
11897         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11898         * elf/pldd.c: Likewise.
11899         * iconv/iconv_charmap.c: Likewise.
11900         * iconv/iconvconfig.c: Likewise.
11901         * iconv/strtab.c: Likewise.
11902         * locale/programs/locale.c: Likewise.
11903         * locale/programs/localedef.h: Likewise.
11904         * locale/programs/simple-hash.c: Likewise.
11905         * nscd/nscd.h: Likewise.
11906         * nss/makedb.c: Likewise.
11907         * sysdeps/generic/ldconfig.h: Likewise.
11908         * locale/programs/localedef.c: Remove xmalloc prototype.
11909         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11911 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11913         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11914         appropriate.
11916 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11918         * math/Makefile (tests): Add tst-CMPLX.
11919         * math/tst-CMPLX.c: New file.
11921         * math/complex.h (CMPLXL): Fix typo.
11923         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11924         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11925         GLIBC_2.16.
11926         * debug/tst-chk1.c: Add poll and ppoll tests.
11927         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11928         * include/sys/poll.h: Add hidden proto for ppoll.
11929         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11930         * sysdeps/mach/hurd/ppoll.c: Likewise.
11931         * io/ppoll.c: Likewise.
11932         * debug/poll_chk.c: New file.
11933         * debug/ppoll_chk.c: New file.
11934         * include/bits/poll2.h: New file.
11935         * io/bits/poll2.h: New file.
11937         [BZ #1350]
11938         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11940         * configure.in: static is always set to yes.  Remove.
11941         * config.make.in: Don't set build-static.
11942         * Makeconfig: Remove use of build-static.
11943         * dlfcn/Makefile: Likewise.
11944         * elf/Makefile: Likewise.
11945         * math/Makefile: Likewise.
11946         * misc/Makefile: Likewise.
11947         * nptl/Makefile: Likewise.
11948         * sysdeps/mach/hurd/Makefile: Likewise.
11950         * configure.in: PWD_P is not used anymore.
11951         * config.make.in: Remove PWD_P entry.
11953         * configure.in: Remove last remnants of RANLIB.
11954         No need to check for signed size_t anymore.
11955         Don't set libc_commonpagesize and libc_relro_required here for Alpha
11956         and IA-64.
11957         Remove __builtin_expect test because we require at least gcc 3.4.
11958         * aclocal.m4: Likewise.
11960         * wcsmbs/mbrtoc16.c: Implement using towc function.
11961         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11962         * wcsmbs/wcsmbsload.c: Likewise.
11963         * iconv/gconv_simple.c: Likewise.
11964         * iconv/gconv_int.h: Likewise.
11965         * iconv/gconv_builtin.h: Likewise.
11966         * iconv/iconv_prog.c: Remove CHAR16 handling.
11968         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11970         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11972         * configure.in: Remove --with-elf and --enable-bounded options.
11973         Dont set base_machine for ia64.  More non-ELF conditions removed.
11974         Remove testing and setting of leading underscore information.
11975         * config.make.in (build-bounded): Set to no.
11976         * config.h.in: Remove NO_UNDERSCORES entry.
11977         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
11978         them.
11979         * csu/start.c: Remove !NO_UNDERSCORE code.
11980         * locale/localeinfo.h: Likewise.
11981         * sysdeps/generic/machine-gmon.h: Likewise.
11982         * sysdeps/generic/sysdep.h: Likewise.
11983         * sysdeps/i386/sysdep.h: Likewise.
11984         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11985         * sysdeps/mach/sysdep.h: Likewise.
11986         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11987         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11988         * sysdeps/sh/sysdep.h: Likewise.
11989         * sysdeps/sparc/sparc32/alloca.S: Likewise.
11990         * sysdeps/unix/i386/sysdep.S: Likewise.
11991         * sysdeps/unix/sparc/start.c: Likewise.
11992         * sysdeps/unix/sparc/sysdep.S: Likewise.
11993         * sysdeps/unix/sparc/sysdep.h: Likewise.
11994         * sysdeps/unix/start.c: Likewise.
11995         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11996         * sysdeps/x86_64/sysdep.h: Likewise.
11998 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
12000         [BZ #13553]
12001         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12002         for non-gcc.
12003         * argp/argp-fmtstream.h: Use const instead __const.
12004         * argp/argp.h: Likewise.
12005         * assert/assert.h: Likewise.
12006         * bits/fenv.h: Likewise.
12007         * bits/sched.h: Likewise.
12008         * bits/sigset.h: Likewise.
12009         * bits/sigthread.h: Likewise.
12010         * catgets/nl_types.h: Likewise.
12011         * conform/data/pthread.h-data: Likewise.
12012         * crypt/crypt-private.h: Likewise.
12013         * crypt/crypt.h: Likewise.
12014         * crypt/crypt_util.c: Likewise.
12015         * ctype/ctype.h: Likewise.
12016         * debug/execinfo.h: Likewise.
12017         * debug/mbsnrtowcs_chk.c: Likewise.
12018         * debug/mbsrtowcs_chk.c: Likewise.
12019         * debug/wcsnrtombs_chk.c: Likewise.
12020         * debug/wcsrtombs_chk.c: Likewise.
12021         * debug/wcstombs_chk.c: Likewise.
12022         * dirent/dirent.h: Likewise.
12023         * dlfcn/dlfcn.h: Likewise.
12024         * elf/neededtest4.c: Likewise.
12025         * grp/grp.h: Likewise.
12026         * gshadow/gshadow.h: Likewise.
12027         * iconv/gconv.h: Likewise.
12028         * iconv/gconv_int.h: Likewise.
12029         * iconv/gconv_simple.c: Likewise.
12030         * iconv/iconv.h: Likewise.
12031         * iconv/loop.c: Likewise.
12032         * iconv/skeleton.c: Likewise.
12033         * include/aio.h: Likewise.
12034         * include/aliases.h: Likewise.
12035         * include/argz.h: Likewise.
12036         * include/arpa/inet.h: Likewise.
12037         * include/assert.h: Likewise.
12038         * include/dirent.h: Likewise.
12039         * include/dlfcn.h: Likewise.
12040         * include/execinfo.h: Likewise.
12041         * include/fcntl.h: Likewise.
12042         * include/fenv.h: Likewise.
12043         * include/glob.h: Likewise.
12044         * include/grp.h: Likewise.
12045         * include/libintl.h: Likewise.
12046         * include/mntent.h: Likewise.
12047         * include/netdb.h: Likewise.
12048         * include/pwd.h: Likewise.
12049         * include/rpc/netdb.h: Likewise.
12050         * include/sched.h: Likewise.
12051         * include/search.h: Likewise.
12052         * include/shadow.h: Likewise.
12053         * include/signal.h: Likewise.
12054         * include/stdio.h: Likewise.
12055         * include/stdlib.h: Likewise.
12056         * include/string.h: Likewise.
12057         * include/sys/socket.h: Likewise.
12058         * include/sys/stat.h: Likewise.
12059         * include/sys/statfs.h: Likewise.
12060         * include/sys/statvfs.h: Likewise.
12061         * include/sys/syslog.h: Likewise.
12062         * include/sys/time.h: Likewise.
12063         * include/sys/uio.h: Likewise.
12064         * include/time.h: Likewise.
12065         * include/unistd.h: Likewise.
12066         * include/utmp.h: Likewise.
12067         * include/wchar.h: Likewise.
12068         * include/wctype.h: Likewise.
12069         * inet/aliases.h: Likewise.
12070         * inet/arpa/inet.h: Likewise.
12071         * inet/netinet/ether.h: Likewise.
12072         * inet/netinet/in.h: Likewise.
12073         * intl/libintl.h: Likewise.
12074         * io/bits/fcntl2.h: Likewise.
12075         * io/fcntl.h: Likewise.
12076         * io/ftw.h: Likewise.
12077         * io/sys/poll.h: Likewise.
12078         * io/sys/stat.h: Likewise.
12079         * io/sys/statfs.h: Likewise.
12080         * io/sys/statvfs.h: Likewise.
12081         * io/utime.h: Likewise.
12082         * libio/bits/stdio.h: Likewise.
12083         * libio/bits/stdio2.h: Likewise.
12084         * libio/libio.h: Likewise.
12085         * libio/libioP.h: Likewise.
12086         * libio/stdio.h: Likewise.
12087         * locale/lc-ctype.c: Likewise.
12088         * locale/locale.h: Likewise.
12089         * login/utmp.h: Likewise.
12090         * malloc/arena.c: Likewise.
12091         * malloc/malloc.c: Likewise.
12092         * malloc/malloc.h: Likewise.
12093         * malloc/mcheck.c: Likewise.
12094         * malloc/mtrace.c: Likewise.
12095         * math/bits/mathcalls.h: Likewise.
12096         * math/fenv.h: Likewise.
12097         * math/math_private.h: Likewise.
12098         * misc/bits/error.h: Likewise.
12099         * misc/bits/syslog.h: Likewise.
12100         * misc/err.h: Likewise.
12101         * misc/error.h: Likewise.
12102         * misc/fstab.h: Likewise.
12103         * misc/mntent.h: Likewise.
12104         * misc/regexp.h: Likewise.
12105         * misc/search.h: Likewise.
12106         * misc/sgtty.h: Likewise.
12107         * misc/sys/mman.h: Likewise.
12108         * misc/sys/syslog.h: Likewise.
12109         * misc/sys/uio.h: Likewise.
12110         * misc/sys/xattr.h: Likewise.
12111         * misc/ttyent.h: Likewise.
12112         * nis/rpcsvc/ypclnt.h: Likewise.
12113         * nss/nss.h: Likewise.
12114         * posix/bits/unistd.h: Likewise.
12115         * posix/fnmatch.h: Likewise.
12116         * posix/glob.h: Likewise.
12117         * posix/sched.h: Likewise.
12118         * posix/spawn.h: Likewise.
12119         * posix/sys/wait.h: Likewise.
12120         * posix/unistd.h: Likewise.
12121         * posix/wordexp.h: Likewise.
12122         * pwd/pwd.h: Likewise.
12123         * resolv/netdb.h: Likewise.
12124         * resource/sys/resource.h: Likewise.
12125         * rt/aio.h: Likewise.
12126         * rt/bits/mqueue2.h: Likewise.
12127         * rt/mqueue.h: Likewise.
12128         * shadow/shadow.h: Likewise.
12129         * signal/signal.h: Likewise.
12130         * socket/send.c: Likewise.
12131         * socket/sendto.c: Likewise.
12132         * socket/sys/socket.h: Likewise.
12133         * stdio-common/printf.h: Likewise.
12134         * stdlib/bits/stdlib.h: Likewise.
12135         * stdlib/fmtmsg.h: Likewise.
12136         * stdlib/monetary.h: Likewise.
12137         * stdlib/stdlib.h: Likewise.
12138         * stdlib/ucontext.h: Likewise.
12139         * streams/stropts.h: Likewise.
12140         * string/argz.h: Likewise.
12141         * string/bits/string2.h: Likewise.
12142         * string/string.h: Likewise.
12143         * string/strings.h: Likewise.
12144         * sunrpc/rpc/auth.h: Likewise.
12145         * sunrpc/rpc/auth_des.h: Likewise.
12146         * sunrpc/rpc/clnt.h: Likewise.
12147         * sunrpc/rpc/netdb.h: Likewise.
12148         * sunrpc/rpc/pmap_clnt.h: Likewise.
12149         * sunrpc/rpc/xdr.h: Likewise.
12150         * sysdeps/generic/inttypes.h: Likewise.
12151         * sysdeps/generic/net/if.h: Likewise.
12152         * sysdeps/generic/sys/swap.h: Likewise.
12153         * sysdeps/gnu/net/if.h: Likewise.
12154         * sysdeps/gnu/utmpx.h: Likewise.
12155         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12156         * sysdeps/i386/i486/bits/string.h: Likewise.
12157         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12158         * sysdeps/s390/bits/string.h: Likewise.
12159         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12160         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12161         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12162         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12163         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12164         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12165         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12166         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12167         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12168         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12169         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12170         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12171         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12172         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12173         * sysdeps/unix/sysv/linux/readv.c: Likewise.
12174         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12175         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12176         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12177         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12178         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12179         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12180         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12181         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12182         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12183         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12184         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12185         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12186         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12187         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12188         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12189         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12190         * sysvipc/sys/ipc.h: Likewise.
12191         * sysvipc/sys/msg.h: Likewise.
12192         * sysvipc/sys/sem.h: Likewise.
12193         * sysvipc/sys/shm.h: Likewise.
12194         * termios/termios.h: Likewise.
12195         * time/sys/time.h: Likewise.
12196         * time/time.h: Likewise.
12197         * wcsmbs/bits/wchar2.h: Likewise.
12198         * wcsmbs/uchar.h: Likewise.
12199         * wcsmbs/wchar.h: Likewise.
12200         * wctype/wctype.h: Likewise.
12202         [BZ #13551]
12203         * Makeconfig: Remove all but ELF support including AIX support.
12204         * Makerules: Likewise.
12205         * config.h.in: Likewise.
12206         * config.make.in: Likewise.
12207         * configure: Likewise.
12208         * configure.in: Likewise.
12209         * csu/Makefile: Likewise.
12210         * csu/version.c: Likewise.
12211         * debug/Makefile: Likewise.
12212         * dlfcn/Makefile: Likewise.
12213         * elf/Makefile: Likewise.
12214         * extra-lib.mk: Likewise.
12215         * iconv/Makefile: Likewise.
12216         * include/libc-symbols.h: Likewise.
12217         * include/shlib-compat.h: Likewise.
12218         * resolv/Makefile: Likewise.
12219         * resolv/res_libc.c: Likewise.
12220         * rt/Makefile: Likewise.
12221         * sysdeps/i386/asm-syntax.h: Likewise.
12222         * sysdeps/i386/sysdep.h: Likewise.
12223         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12224         * sysdeps/mach/sysdep.h: Likewise.
12225         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12226         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12227         * sysdeps/s390/asm-syntax.h: Likewise.
12228         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12229         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12230         * sysdeps/sh/sysdep.h: Likewise.
12231         * sysdeps/unix/sparc/sysdep.h: Likewise.
12232         * sysdeps/wordsize-32/divdi3.c: Likewise.
12233         * sysdeps/x86_64/sysdep.h: Likewise.
12235         * argp/Versions: Remove _argp_unlock_xxx.
12237         [BZ #13559]
12238         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
12239         * abilist/libBrokenLocale.abilist: Likewise.
12240         * abilist/libanl.abilist: Likewise.
12241         * abilist/libc.abilist: Likewise.
12242         * abilist/libcrypt.abilist: Likewise.
12243         * abilist/libdl.abilist: Likewise.
12244         * abilist/libm.abilist: Likewise.
12245         * abilist/libnsl.abilist: Likewise.
12246         * abilist/libpthread.abilist: Likewise.
12247         * abilist/libresolv.abilist: Likewise.
12248         * abilist/librt.abilist: Likewise.
12249         * abilist/libthread_db.abilist: Likewise.
12250         * abilist/libutil.abilist: Likewise.
12251         * abilist/libnss_db.abilist: New file.
12253         * scripts/abilist.awk: Add support for indirect functions.
12255         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12257         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12259         * shlib-versions: Remove entries for ports architectures.
12261         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
12262         files in ports.
12263         * elf/stackguard-macros.h: Remove support for IA-64.
12264         * elf/tst-auditmod1.c: Likewise.
12265         * sysdeps/generic/ldsodefs.h: Likewise.
12267         * sysdeps/unix/sysv/linux/configure.in: Ports should define
12268         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12269         configure files.
12271         [BZ #13552]
12272         * configure.in: Remove --enable-omitfp support.
12273         * FAQ.in: Adjust.
12274         * config.make.in: Likewise.
12275         * Makeconfig: Likewise.
12276         * manual/install.texi: Likewise.
12278         In case anyone cares, the IA-64 architecture could move to ports.
12279         * sysdeps/ia64/*: Removed.
12280         * sysdeps/unix/sysv/linux/ia64/*: Removed.
12281         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12283         [BZ #13555]
12284         * configure.in: Remove entries for unsupported architectures.
12286         [BZ #13533]
12287         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12288         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
12289         routines.
12290         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12291         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12292         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
12293         fall back to using wcrtomb.
12294         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12295         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
12296         renaming.
12297         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12298         * wcsmbs/tst-c16c32-1.c: New file.
12300         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12301         local variable.
12303         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12305         * elf/tst-unique3.cc: Add explicit declaration of gets.
12306         * elf/tst-unique3lib.cc: Likewise.
12307         * elf/tst-unique3lib2.cc: Likewise.
12308         * elf/tst-unique4.cc: Likewise.
12310         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12312 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
12314         [BZ #13566]
12315         * assert/assert.h (static_assert): Don't define for C++.
12316         * libio/stdio.h (gets): Do declare for C++ <= C++11.
12317         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12319 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
12321         * iconv/loop.c (single loop): Fix assertion in storing of
12322         remaining bytes.
12324         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12326 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
12328         * posix/getconf.c: Update copyright year.
12329         * nss/getent.c: Likewise.
12330         * nss/makedb.c: Likewise.
12331         * iconv/iconvconfig.c: Likewise.
12332         * iconv/iconv_prog.c: Likewise.
12333         * elf/ldconfig.c: Likewise.
12334         * elf/pldd.c: Likewise.
12335         * elf/sotruss.ksh: Likewise.
12336         * catgets/gencat.c: Likewise.
12337         * csu/version.c: Likewise.
12338         * elf/ldd.bash.in: Likewise.
12339         * elf/sprof.c (print_version): Likewise.
12340         * locale/programs/locale.c: Likewise.
12341         * locale/programs/localedef.c: Likewise.
12342         * login/programs/pt_chown.c: Likewise.
12343         * nscd/nscd.c (print_version): Likewise.
12344         * debug/xtrace.sh: Likewise.
12345         * malloc/memusage.sh: Likewise.
12346         * malloc/mtrace.pl: Likewise.
12347         * debug/catchsegv.sh: Likewise.
12349 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
12351         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12352         pure attribute.
12354 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
12356         [BZ #13533]
12357         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12358         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12359         transformations.
12360         * iconv/gconv_int.h: Likewise.
12361         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12362         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12363         from libc for GLIBC_2.16.
12364         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12365         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12366         * wcsmbs/uchar.h: Really define mbstate_t.
12367         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12368         * wcsmbs/c16rtomb.c: New file.
12369         * wcsmbs/mbrtoc16.c: New file.
12370         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12371         for C/POSIX locale.
12372         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12373         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12375         * wcsmbs/wchar.h: Add missing __restrict.
12377 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12379         [BZ #13532]
12380         * time/Makefile (routines): Add timespec_get.
12381         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12382         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
12383         timespec for ISO C11.
12384         * time/timespec_get.c: New file.
12385         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12386         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12388         [BZ #13531]
12389         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12390         * stdlib/stdlib.h: Declare aligned_alloc.
12391         * Versions.def: Add GLIBC_2.16 for libc.
12392         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12394         [BZ 13527]
12395         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12396         ISO C11.
12398         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12399         code.
12401         [BZ #13528]
12402         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12404         [BZ #13529]
12405         * assert/assert.h (static_assert): Define.
12407         * version.h: Update for 2.16 development version.
12409         [BZ #13526]
12410         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12411         _ISOC11_SOURCE.
12413         * version.h (RELEASE): Bump for 2.15 release.
12414         * include/features.h (__GLIBC_MINOR__): Bump to 15.
12416         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12417         Patch by Marek Polacek <mpolacek@redhat.com>.
12419         * bits/byteswap.h: Protect long long constants with __extension__.
12420         * sysdeps/i386/bits/byteswap.h: Likewise.
12421         * sysdeps/ia64/bits/byteswap.h: Likewise.
12422         * sysdeps/s390/bits/byteswap.h: Likewise.
12423         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12425 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12427         [BZ #13540]
12428         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12429         destination buffer.
12430         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12432 2011-12-23  Marek Polacek  <polacek@redhat.com>
12434         * elf/dl-addr.c (determine_info): Add inline keyword.
12435         * elf/tst-auditmod4b.c (check_avx): Likewise.
12436         * elf/tst-auditmod6b.c (check_avx): Likewise.
12437         * elf/tst-auditmod6c.c (check_avx): Likewise.
12438         * elf/tst-auditmod7b.c (check_avx): Likewise.
12440 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12442         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12443         !__SSE_MATH__.
12445 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12447         [BZ #13540]
12448         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12449         processing for last bytes.
12451 2011-08-06  Bruno Haible  <bruno@clisp.org>
12453         [BZ #13061]
12454         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12455         U+0385, not to U+1FEE.
12457         [BZ #13062]
12458         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12459         entry for U+00A5 U+0301.
12461 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
12463         [BZ #13166]
12464         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12465         buffer for the output is too small.
12467         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12468         optimization.
12470         [BZ #13185]
12471         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12472         SSE flags if possible.
12474 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12476         [BZ #13540]
12477         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12478         processing for last bytes.
12480 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
12482         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12483         (syscall-list-default-options, syscall-list-default-condition)
12484         (syscall-list-includes): Define.
12485         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12486         list of ABIs and options and #if conditions for each ABI.  Do not
12487         handle common syscalls between ABIs specially.
12488         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12489         Remove.
12490         (syscall-list-variants, syscall-list-32bit-options)
12491         (syscall-list-32bit-condition, syscall-list-64bit-options)
12492         (syscall-list-64bit-condition): Define.
12493         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12494         (syscall-list-variants, syscall-list-32bit-options)
12495         (syscall-list-32bit-condition, syscall-list-64bit-options)
12496         (syscall-list-64bit-condition): Define.
12497         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12498         Remove.
12499         (syscall-list-variants, syscall-list-32bit-options)
12500         (syscall-list-32bit-condition, syscall-list-64bit-options)
12501         (syscall-list-64bit-condition): Define.
12502         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12503         Remove.
12504         (syscall-list-variants, syscall-list-32bit-options)
12505         (syscall-list-32bit-condition, syscall-list-64bit-options)
12506         (syscall-list-64bit-condition): Define.
12508 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
12510         * locale/iso-639.def: Add brx entry.
12512         [BZ #13328]
12513         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12514         Proposed by Mariusz_Cukr <marcukr@op.pl>.
12516         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12517         __feraiseexcept_renamed.
12519 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
12521         [BZ #13538]
12522         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12523         EPOLLET with unsigned values.
12524         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12525         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12527         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12528         to large cancellation.
12529         * math/s_cacoshf.c: Likewise.
12530         * math/s_cacoshl.c: Likewise.
12532 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
12534         [BZ #13305]
12535         [BZ #12786]
12536         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12537         * math/s_cacoshf.c: Likewise.
12538         * math/s_cacoshl.c: Likewise.
12540 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
12542         [BZ #13439]
12543         * iconv/gconv.h: Define __GCONV_SWAP.
12544         * iconvdata/unicode.c: The swap bit must be stored in __flags.
12545         * iconvdata/utf-16.c: Likewise.
12546         * iconvdata/utf-32.c: Likewise.
12548 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
12550         [BZ #13524]
12551         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12552         numerator after shifting it by one limb.
12554 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
12556         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12557         under [__USE_EXTERN_INLINES].
12559 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
12561         [BZ #13446]
12562         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12564 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12566         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12567         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12568         optimized code.
12569         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12570         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12571         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12572         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12573         for strncasecmp/strncasecmp_l compilation.
12574         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12575         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12577 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
12579         [BZ #13484]
12580         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12581         of __asm__.
12583 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
12585         [BZ #13506]
12586         * time/tzfile.c (__tzfile_read): Check values from file header.
12588 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
12590         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12591         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12592         * powerpc/powerpc32/dl-start.S: Likewise.
12593         * powerpc/powerpc32/elf/start.S: Likewise.
12594         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12595         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12596         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12597         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12598         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12599         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12600         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12601         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12602         * powerpc/powerpc32/fpu/s_round.S: Likewise.
12603         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12604         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12605         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12606         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12607         * powerpc/powerpc32/memset.S: Likewise.
12608         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12609         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12610         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12611         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12612         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12613         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12614         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12615         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12616         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12617         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12618         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12619         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12620         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12622 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12624         * math/libm-test.inc: Added more nearbyint tests.
12625         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12626         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12627         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12628         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12630 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
12632         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12633         FD_CLOEXEC.
12635 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12637         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12638         Add wcscpy-ssse3 wcscpy-c.
12639         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12640         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12641         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12642         * sysdeps/x86_64/wcschr.S: New file.
12643         * sysdeps/x86_64/wcsrchr.S: New file.
12644         * string/test-strcmp.c: Remove checking of wcscmp function for
12645         wrong alignments.
12646         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12647         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12648         wcsrchr-sse2 wcsrchr-c.
12649         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12650         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12651         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12652         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12653         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12654         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12655         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12656         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12657         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12658         * wcsmbc/wcschr.c (WCSCHR): New macro.
12660 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12662         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12663         * wcsmbs/test-wcsrchr.c: New file.
12664         * string/test-strrchr.c: Add wcsrchr support.
12665         (WIDE): New macro.
12666         * wcsmbs/test-wcscpy.c: New file.
12667         * string/test-strcpy.c: Add wcscpy support.
12668         (WIDE): New macro.
12670 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
12672         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12673         the inner loop.
12675 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
12677         [BZ #13472]
12678         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12680 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
12682         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12683         Minor optimizations.
12685         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12686         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12687         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12689 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
12691         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12692         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12693         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12694         for gcc to avoid warnings.
12695         * inet/Makefile (tests): Add tst-checks.
12696         * inet/tst-checks.c: New file.
12698         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12699         warning.
12701         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12702         __wmemcmp_sse2.
12704         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12705         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12707         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12709 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
12711         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12712         problem.
12714         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12716 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
12718         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12719         conditional on GCC version.
12720         (__arch_compare_and_exchange_val_8_acq)
12721         (__arch_compare_and_exchange_val_16_acq)
12722         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12723         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12724         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12726 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
12728         * sysdeps/sh/backtrace.c: New file.
12730 2011-12-02  Andreas Schwab  <schwab@redhat.com>
12732         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
12733         parenthesis.
12735 2011-12-01  Andreas Schwab  <schwab@redhat.com>
12737         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12738         falling back to utime.
12740 2011-11-30  Andreas Schwab  <schwab@redhat.com>
12742         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12743         expectations for float.
12745 2011-11-29  Andreas Schwab  <schwab@redhat.com>
12747         * locale/weight.h (findidx): Add parameter len.
12748         * locale/weightwc.h (findidx): Likewise.
12749         * posix/fnmatch_loop.c (FCT): Adjust caller.
12750         * posix/regcomp.c (build_equiv_class): Likewise.
12751         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12752         * posix/regexec.c (check_node_accept_bytes): Likewise.
12753         * string/strcoll_l.c (STRCOLL): Likewise.
12754         * string/strxfrm_l.c (STRXFRM): Likewise.
12756 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
12758         * Makefile.in: Remove CVSOPT handling.
12759         * configure.in: Remove use of AC_REVISION.
12760         * iconvdata/Makefile (distribute): No need to filter out CVS.
12761         * scripts/list-sources.sh: Remove CVS, subversion and monotone
12762         handling.
12764 2011-11-16  Andreas Schwab  <schwab@redhat.com>
12766         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12767         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12768         [USE_AS_STRNCASECMP_L]: Likewise.
12769         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12770         NO_TLS_DIRECT_SEG_REFS.
12771         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12772         Fix argument offsets for non-PIC.
12773         [USE_AS_STRNCASECMP_L]: Likewise.
12774         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12775         NO_TLS_DIRECT_SEG_REFS.
12777 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
12779         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12780         O_CLOEXEC.
12781         * locale/loadlocale.c (_nl_load_locale): Likewise.
12783 2011-11-15  Andreas Schwab  <schwab@redhat.com>
12785         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12786         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12787         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12788         (SYSCALL_GETTIME): Set errno on error.
12790         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12791         count references to noai6ai_cached.
12793 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
12795         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12797         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12798         FD_CLOEXEC for /proc/self/maps.
12800         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12801         FD_CLOEXEC for /proc/meminfo.
12803         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12804         gai.conf.
12806         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
12807         FD_CLOEXEC for given file.
12809         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12811         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12812         FD_CLOEXEC for /etc/hosts.
12813         (_gethtent): Likewise.
12815         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12817         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12818         cancellation and set FD_CLOEXEC for /etc/netgroup.
12820         * nss/nss_files/files-key.c (search): Don't allow cancellation when
12821         reading /etc/publickey.
12823         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12824         allow cancellation when reading /etc/group.
12826         * nss/nss_files/files-alias.c (internal_setent): Don't allow
12827         cancellation.
12828         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
12830         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12831         when using data file.
12833         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12835         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12836         (write_nis_obj): Use "c" and "e" in fopen.
12838         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12840         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12842         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12844         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12846         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12847         locale.alias.
12849         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12851         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12853         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12855         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12856         file parsing and set FD_CLOEXEC.
12858 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
12860         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12862 2011-11-14  Andreas Schwab  <schwab@redhat.com>
12864         * malloc/arena.c (arena_get2): Don't call reused_arena when
12865         _int_new_arena failed.
12867 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
12869         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12870         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12871         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12872         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12873         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12874         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12875         to compile strcasecmp and strncasecmp.
12876         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12877         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12879         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12881 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
12883         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12884         locale-defines.sym to gen-as-const-headers.
12885         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12886         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12887         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12888         to compile strcasecmp and strncasecmp.
12889         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12890         strcasecmp_l and strncasecmp_l.
12891         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12892         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12893         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12894         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12895         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12896         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12897         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12898         * sysdeps/i386/i686/multiarch/strncase.S: New file.
12899         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12900         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12901         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12903 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
12905         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12906         result of SYSDEP_GETTIME_CPU to retval.
12907         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12908         parameter list to macro.  Remove trailing semicolon.  Adjust users.
12910         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12911         variable.
12913         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12914         mantissa words.
12915         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12917         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12918         from unused variable.
12920         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12921         DWARF definitions.
12922         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12923         for assembling.
12925         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12926         over namespaces.
12928         * sunrpc/rpc_prot.c (rejected): Fix case value.
12930         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12931         unsigned long long int to avoid warnings in shift.
12933         * posix/regex_internal.c (re_string_reconstruct): Actually use result
12934         of use of trans.
12935         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12936         variable tmp.
12938         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12939         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12940         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12942         * nis/nis_table.c (nis_list): Use variable of correct type for
12943         result of __follow_path call.
12945 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12947         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12948         of math functions ceil, trunc, floor, round, and sqrt, when
12949         avaliable on the platform.
12950         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12951         name clash.
12952         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12953         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12954         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12956 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
12958         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12959         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12961 2011-11-11  Roland McGrath  <roland@hack.frob.com>
12963         * include/unistd.h: Fix __readlink return type.
12964         Reported by Chris Metcalf <cmetcalf@tilera.com>.
12966 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
12968         * stdlib/ucontext.h: Undo last change for makecontext.
12970 2011-11-11  Andreas Schwab  <schwab@redhat.com>
12972         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12974         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12975         * setjmp/setjmp.h: Mark functions as non-leaf.
12976         * setjmp/bits/setjmp2.h: Likewise.
12977         * stdlib/ucontext.h: Likewise.
12979 2011-11-10  Andreas Schwab  <schwab@redhat.com>
12981         * malloc/arena.c (_int_new_arena): Don't increment narenas.
12982         (reused_arena): Don't check arena limit.
12983         (arena_get2): Atomically check arena limit.
12985 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
12987         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12988         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12990         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12991         instructions.
12993 2011-11-07  Andreas Schwab  <schwab@redhat.com>
12995         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12996         handler when locking.
12998         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12999         Fix size of allocated buffer.
13001 2011-11-04  Andreas Schwab  <schwab@redhat.com>
13003         [BZ #10103]
13004         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13005         declarations for long double functions.
13006         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13008         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13010 2011-11-03  Andreas Schwab  <schwab@redhat.com>
13012         * nscd/nscd.c (main): Don't start AVC thread until credentials are
13013         installed.
13015         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13016         is disabled.
13018 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13020         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13022 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13024         * include/alloca.h (stackinfo_alloca_round): Define.
13025         (extend_alloca): Use it.
13026         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13027         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13028         here.
13030         * scripts/check-local-headers.sh: Ignore libaudit.h.
13032         * nscd/Makefile (extra-objs): Make recursively expanded.
13034 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
13036         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13037         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13039         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13040         * posix/tst-rfc3484-2.c: Likewise.
13041         * posix/tst-rfc3484-3.c: Likewise.
13043         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13044         process_vm_writev.
13045         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13046         process_vm_writev.
13047         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13048         process_vm_writev from libc using GLIBC_2.15 version.
13050         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13052 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
13054         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13055         stack usage.
13057 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
13059         [BZ #13367]
13060         * nss/getent.c (initgroups_keys): Show error message in case no group
13061         names are given.
13063         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13064         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13065         __bump_nl_timestamp.
13066         * nscd/connections (nscd_init): When host database is served open
13067         netlink socket and request notification about configuration changes.
13068         (main_loop_poll): Track netlink file descriptor and bump timestamp
13069         in case data becomes available.
13070         (main_loop_epoll): Likewise.
13071         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13072         (database_pers_head): Add extra_data fileds.
13073         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13074         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13075         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13076         Adjust caller.
13077         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13078         in6ai data, call __free_in6ai.
13079         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13080         Add -DHAVE_NETLINK.
13081         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
13082         interface information.  Reuse previous data if netlink timestamp
13083         is not changed.
13084         (__bump_nl_timestamp): New function.
13085         (__free_in6ai): New function.
13087 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
13089         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13090         close_not_cancel_no_status here.
13091         (__check_pf): Reorganize code a bit to not call close twice if OOM.
13093 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13095         [BZ #13276]
13096         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13097         return value.
13099         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13100         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13101         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13103 2011-07-03  Andreas Jaeger  <aj@suse.de>
13105         [BZ #10709]
13106         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13107         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13108         * math/libm-test.inc (sin_test): Add test case.
13110 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13112         [BZ #13337]
13113         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13114         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13116         * elf/chroot_canon.c (chroot_canon): Cleanups.
13118         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13120         [BZ #13335]
13121         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13122         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13124         * string/test-strchr.c: Make usable for strchrnul testing.
13125         * string/test-strchrnul.c: New file.
13126         * string/Makefile (strop-tests): Add strchrnul.
13128         * po/it.po: Update from translation team.
13129         * po/es.po: Likewise.
13131 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
13133         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13134         the three constants needed as parameters.  Drop the others.
13135         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13136         __m128i_strloadu_tolower.
13137         Create and initialize variable zero and use it in all the places
13138         where _mm_setzero_si128 was used.
13140         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13141         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13142         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13143         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13144         anymore.
13145         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13146         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13147         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13148         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13149         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13150         __mpranred, __mptan.
13151         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13152         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13153         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13154         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13155         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13156         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13157         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13158         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13159         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13161 2011-10-28  Andreas Schwab  <schwab@redhat.com>
13163         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13164         redefine if SHARED.
13165         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13167         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13168         wide char related routines to wcsmbs subdir.
13170 2011-10-27  Andreas Schwab  <schwab@redhat.com>
13172         [BZ #13344]
13173         * misc/sys/cdefs.h (__THROWNL): Define.
13174         * posix/unistd.h: Use __THREADNL instead of __THREAD
13175         for memory synchronization functions.
13177 2011-10-26  Roland McGrath  <roland@hack.frob.com>
13179         [BZ #13349]
13180         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13181         doesn't exist.
13182         * manual/stdio.texi (Obstack Streams): Node removed.
13184 2011-10-26  Andreas Schwab  <schwab@redhat.com>
13186         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13187         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13188         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13190         * math/math_private.h (math_force_eval): Allow non-addressable
13191         arguments.
13192         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13194 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13196         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13197         file is not needed.
13199         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13200         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13201         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13202         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13203         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13204         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13205         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13206         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13207         Add AVX variants.
13208         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13209         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13210         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13211         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13212         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13213         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13214         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13215         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13216         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13217         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13218         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13219         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13220         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13221         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13222         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13223         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13224         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13225         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13226         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13228         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13229         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
13231         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13232         place.  Use VEX encoding when compiling for AVX.
13234 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13236         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13237         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13239         * string/test-strchr.c (do_test): Don't generate NUL bytes.
13241 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13243         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13244         useless if() expression.
13245         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13246         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13247         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13248         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13249         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13250         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13251         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13252         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13253         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13254         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13255         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13256         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13257         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13258         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13259         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13260         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13261         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13262         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13263         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13265         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13267 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13269         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13270         condition.
13271         * elf/dl-fini.c (_dl_sort_fini): Likewise.
13273 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13275         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13276         .text section.  Avoid duplicate constants.
13277         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13278         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13279         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13280         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13281         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13282         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13283         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13284         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13285         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13286         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13287         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13288         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13289         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13290         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13291         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13292         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13293         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13294         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13295         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13296         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13297         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13298         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13299         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13300         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13301         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13302         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13303         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13304         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13305         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13306         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13307         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13308         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13309         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13310         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13311         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13312         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13313         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13314         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13315         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13316         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13317         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13318         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13319         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13320         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13321         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13323 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
13325         * sysdeps/x86_64/dla.h: Move to ...
13326         * sysdeps/x86_64/fpu/dla.h: ...here.
13327         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13328         situations.  Use __builtin_fma only for gcc 4.6 and up.
13330         * config.make.in: Add have-mfma4 entry.
13331         * configure.in: Substitute libc_cv_cc_fma4.
13332         * math/Makefile (dbl-only-routines): Add sincostab.
13333         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13334         Use __sincostab not sincos.
13335         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13336         name is a macro.
13337         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13338         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13339         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13340         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
13341         using __copysign.
13342         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
13343         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
13344         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13345         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13346         and __inv.
13347         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13348         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13349         __copysign.
13350         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
13351         define aliases when function name is a macro.
13352         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13353         sysdeps/ieee754/dbl-64/sincos.tbl.
13354         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13355         fma4-enabled routines.
13356         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13357         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13358         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13359         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13360         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13361         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13362         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13363         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13364         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13365         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13366         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13367         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13368         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13369         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13370         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13371         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13372         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13373         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13374         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13375         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13376         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13377         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13378         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13379         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13380         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13381         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13382         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13383         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13384         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13385         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13387         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13388         rename.
13389         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13390         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13391         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13392         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13393         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13394         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13395         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13396         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13398 2011-10-24  Andreas Schwab  <schwab@redhat.com>
13400         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13402 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13404         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13406         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13407         prediction.
13408         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13410         * string/strnlen.c: Don't define STRNLEN, reverse logic.
13411         Remove unused variable magic_bits.
13412         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13414         * string/strnlen.c: Define and use STRNLEN macro.
13415         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13416         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13417         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13418         * wcsmbs/wcslen.c: Define and use WCSLEN.
13419         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13420         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13421         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13422         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13423         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13424         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13425         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13427 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13430         strnlen-sse2-no-bsf.
13431         Rename strlen-no-bsf to strlen-sse2-no-bsf.
13432         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13433         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13434         Add strnlen support.
13435         (USE_AS_STRNLEN): New macro.
13436         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13437         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13438         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13439         * sysdeps/x86_64/wcslen.S: New file.
13441 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
13443         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13444         XMM-moves are used for copying on small sizes.
13446 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13448         * wcsmbs/Makefile (strop-tests): Add wcschr.
13449         * wcsmbs/test-wcschr.c: New file.
13450         * string/test-strchr.c: Update.
13451         Add wcschr support.
13452         (WIDE): New macro.
13454 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13456         * wcsmbs/Makefile (strop-tests): Add wcslen.
13457         * wcsmbs/test-wcslen.c: New file.
13458         * string/test-strlen.c: Update.
13459         Add wcslen support.
13460         (WIDE): New macro.
13462 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13464         * po/it.po: Update from translation team.
13466 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13468         * sysdeps/x86_64/wcscmp.S: Update.
13469         Fix wrong comparison semantics.
13470         wcscmp shall use signed comparison not unsigned.
13471         Don't use substraction to avoid overflow bug.
13472         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13473         * wcsmbc/wcscmp.c: Likewise.
13474         * string/test-strcmp.c: Likewise.
13475         Add new tests to check cases with negative values.
13477 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13479         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13480         * sysdeps/x86_64/dla.h: ...here.  New file.
13481         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13482         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13483         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13484         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13485         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13486         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13487         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13488         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13489         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13491 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
13493         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13494         __ynl_finite aliases.
13496 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
13498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13500         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13501         define DLA_FMA.
13502         [DLA_FMA] (EMULV): Use DLA_FMA.
13503         [DLA_FMA] (MUL12): Use EMULV.
13504         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13505         that are not needed.
13506         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13507         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13508         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13509         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13510         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13511         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13512         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13514 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
13516         * math/s_nan.c: Undef __nan.
13517         * math/s_nanf.c: Undef __nanf.
13518         * math/s_nanl.c: Undef __nanl.
13519         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13520         "math_private.h".
13522 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
13524         * math/s_catan.c: Add branch predictions.
13525         * math/s_catanf.c: Likewise.
13526         * math/s_catanh.c: Likewise.
13527         * math/s_catanhf.c: Likewise.
13528         * math/s_catanhl.c: Likewise.
13529         * math/s_catanl.c: Likewise.
13530         * math/s_cexp.c: Likewise.
13531         * math/s_cexpf.c: Likewise.
13532         * math/s_cexpl.c: Likewise.
13533         * math/s_clog.c: Likewise.
13534         * math/s_clog10.c: Likewise.
13535         * math/s_clog10f.c: Likewise.
13536         * math/s_clog10l.c: Likewise.
13537         * math/s_clogf.c: Likewise.
13538         * math/s_clogl.c: Likewise.
13539         * math/s_csqrt.c: Likewise.
13540         * math/s_csqrtf.c: Likewise.
13541         * math/s_csqrtl.c: Likewise.
13542         * math/s_ctanf.c: Likewise.
13543         * math/s_ctanh.c: Likewise.
13544         * math/s_ctanhf.c: Likewise.
13545         * math/s_ctanhl.c: Likewise.
13546         * math/s_ctanl.c: Likewise.
13548         * math/math_private.h: Define __nan, __nanf, __nanl.
13549         * math/s_cacosh.c: Include <math_private.h>.
13550         * math/s_cacoshl.c: Likewise.
13551         * math/s_casinh.c: Likewise.
13552         * math/s_casinhf.c: Likewise.
13553         * math/s_casinhl.c: Likewise.
13554         * math/s_ccos.c: Rely entire on ccosh.
13555         * math/s_ccosf.c: Rely entire on ccoshf.
13556         * math/s_ccosl.c: Rely entirely on ccoshl.
13557         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
13558         Remove tests for FE_INVALID.
13559         * math/s_ccoshf.c: Likewise.
13560         * math/s_ccoshl.c: Likewise.
13561         * math/s_csin.c: Likewise.
13562         * math/s_csinf.c: Likewise.
13563         * math/s_csinh.c Likewise.
13564         * math/s_csinhf.c: Likewise.
13565         * math/s_csinhl.c: Likewise.
13566         * math/s_csinl.c: Likewise.
13567         * math/s_ctan.c: Likewise.
13568         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13569         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13570         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13572 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
13574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13575         compilation problems.
13577         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13578         __builtin_expect.
13580 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
13582         * sysdeps/i386/configure.in: Test for -mfma4 option.
13583         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13584         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13585         COMMON_CPUID_INDEX_80000001.
13586         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13587         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13588         use it if FMA3 is not supported.
13589         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13591         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13592         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13594 2011-10-20  Andreas Schwab  <schwab@redhat.com>
13596         [BZ #12892]
13597         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13598         it would create a cycle with a link time dependency.
13600 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
13602         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13603         instruction.
13604         * string/Makefile (strop-tests): Add rawmemchr.
13605         * string/test-rawmemchr.c: New file.
13607         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13608         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
13609         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
13610         when compiling str{,n}casecmp and when AVX is available.  Hook up
13611         new optimized code in initializers.
13613 2011-10-19  Andreas Schwab  <schwab@redhat.com>
13615         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13616         __feraiseexcept instead of feraiseexcept.
13618 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
13620         * math/math_private.h: Define defaults for libc_fetestexcept and
13621         libc_feupdateenv.
13622         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13623         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13624         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13625         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13626         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13627         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13628         libc_fetestexcept and libc_feupdateenv.
13630         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13631         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13632         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13633         * sysdeps/x86_64/fpu/math_private.h: Define special version of
13634         libc_feholdexcept_setround.
13636         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13637         Add s_nearbyint-c and s_nearbyintf-c.
13638         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13639         nearbyintf inlines.
13640         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13641         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13642         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13643         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13645         * math/math_private.h: Define defaults for libc_fegetround,
13646         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13647         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13648         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13649         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13650         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13651         standard functions.
13652         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13653         Remove comments and hacks for old compiler versions.
13654         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13655         libc_fegetround, libc_fesetround, libc_feholdexcept, and
13656         libc_feholdexceptl.
13658 2011-10-18  Andreas Schwab  <schwab@redhat.com>
13660         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13661         (__feraiseexcept_renamed): Add __NTH.
13662         (feraiseexcept): Add __NTH.  Rename local variables to fix
13663         namespace violations.
13665 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
13667         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13669         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13671         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13672         recently added interfaces.
13673         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13675         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13676         about macro parameter expansion.
13678         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13679         __NO_MATH_INLINES is defined.  Cleanups.
13681         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13682         and __floorf is target has SSE4.1.
13683         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13684         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13685         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13686         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13688         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13689         name.
13690         (floorf): Likewise.
13692         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13694 2011-10-17  Andreas Schwab  <schwab@redhat.com>
13696         * misc/sys/cdefs.h: Fix last change.
13698         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13699         database lookup.
13701 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
13703         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13705         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13706         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13707         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13708         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13709         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13710         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13711         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13712         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13713         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13714         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13715         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13716         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13717         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13718         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13719         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13720         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13721         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13722         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13723         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13724         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13725         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13726         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13728         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13729         ceil, ceilf, floor, floorf.
13731         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13732         Perform IRELATIVE relocations last.
13734         * elf/do-rel.h: Add another parameter nrelative, replacing the
13735         local variable with the same name.  Change name of the function
13736         to end in Rel or Rela (uppercase).
13737         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13738         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
13739         elf_dynamic_do_##reloc function.
13741 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
13743         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13744         is sufficient, at least on modern CPUs.
13746         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13748         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13749         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13751         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13752         __expl_finite.
13753         * math/bits/math-finite.h: Add entries for exp.
13754         * math/e_expl.c: Add __*_finite alias.
13755         * sysdeps/i386/fpu/e_exp.S: Likewise.
13756         * sysdeps/i386/fpu/e_expf.S: Likewise.
13757         * sysdeps/i386/fpu/e_expl.c: Likewise.
13758         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13759         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13760         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13761         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13762         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13763         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13764         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13766         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13767         is sufficient, at least on modern CPUs.
13769         * ctype/ctype-info.c (__ctype_init): Define.
13770         * include/ctype.h (__ctype_init): Declare.
13771         (__ctype_b_loc): The variable is always initialized.
13772         (__ctype_toupper_loc): Likewise.
13773         (__ctype_tolower_loc): Likewise.
13774         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13775         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13777 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
13779         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13781         * configure.in: Also look in $cxxmachine/include for C++ system
13782         headers.
13784 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13786         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13787         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13788         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13789         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
13790         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13791         (USE_AS_WMEMCMP): New macro.
13792         Fixing indents.
13793         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13794         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13795         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13796         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13797         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13798         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13799         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13800         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13801         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13802         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13803         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13804         (USE_AS_WMEMCMP): New macro.
13805         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13806         * sysdeps/string/test-memcmp.c: Update.
13807         Fix simple_wmemcmp.
13808         Add new tests.
13809         * wcsmbs/wmemcmp.c: Update.
13810         (WMEMCMP): New macro.
13811         Fix overflow bug.
13813 2011-10-12  Andreas Jaeger  <aj@suse.de>
13815         [BZ #13268]
13816         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13818 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
13820         * libio/iofwide.c (do_length): Avoid warning.
13822         * ctype/ctype.h (__isctype_f): Add missing __THROW.
13824 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
13826         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13828         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13829         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13830         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13831         * sysdeps/i386/i686/fpu/e_log.S: New file.
13832         * sysdeps/i386/i686/fpu/e_logf.S: New file.
13833         * sysdeps/i386/i686/fpu/e_logl.S: New file.
13835         * ctype/ctype.h: Add support for inlined isXXX functions when
13836         compiling C++ code.
13838 2011-10-14  Andreas Schwab  <schwab@redhat.com>
13840         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13842         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13844 2011-10-13  Roland McGrath  <roland@hack.frob.com>
13846         [BZ #13291]
13847         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13849 2011-10-13  Andreas Schwab  <schwab@redhat.com>
13851         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13852         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13853         feraiseexcept.
13855         * sysdeps/x86_64/memrchr.S: Check for zero size.
13857         * string/stratcliff.c: Add memrchr tests.
13859 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13861         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13862         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13863         rawmemchr-sse2 rawmemchr-sse2-bsf.
13864         * sysdeps/i386/i686/multiarch/memchr.S: New file.
13865         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13866         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13867         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13868         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13869         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13870         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13871         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13872         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13873         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13874         * string/memrchr.c (MEMRCHR): New macro.
13876 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
13878         Add integration with gcc's -ffinite-math-only and optimize wrapper
13879         functions in libm.
13880         * Versions.def: Define GLIBC_2.15 version for libm.
13881         * math/Makefile (headers): Add bits/math-finite.h.
13882         * math/bits/math-finite.h: New file.
13883         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13884         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13885         * math/e_acoshl.c: Add __*_finite alias.
13886         * math/e_acosl.c: Likewise.
13887         * math/e_asinl.c: Likewise.
13888         * math/e_atan2l.c: Likewise.
13889         * math/e_atanhl.c: Likewise.
13890         * math/e_coshl.c: Likewise.
13891         * math/e_exp10.c: Likewise.
13892         * math/e_exp10f.c: Likewise.
13893         * math/e_exp10l.c: Likewise.
13894         * math/e_exp2l.c: Likewise.
13895         * math/e_fmodl.c: Likewise.
13896         * math/e_gammal_r.c: Likewise.
13897         * math/e_hypotl.c: Likewise.
13898         * math/e_j0l.c: Likewise.
13899         * math/e_j1l.c: Likewise.
13900         * math/e_jnl.c: Likewise.
13901         * math/e_lgammal_r.c: Likewise.
13902         * math/e_log10l.c: Likewise.
13903         * math/e_log2l.c: Likewise.
13904         * math/e_logl.c: Likewise.
13905         * math/e_powl.c: Likewise.
13906         * math/e_sinhl.c: Likewise.
13907         * math/e_sqrtl.c: Likewise.
13908         * math/e_scalb.c: Completely rewritten and optimized.
13909         * math/e_scalbf.c: Likewise.
13910         * math/e_scalbl.c: Likewise.
13911         * math/w_acos.c: Likewise.
13912         * math/w_acosf.c: Likewise.
13913         * math/w_acosl.c: Likewise.
13914         * math/w_acosh.c: Likewise.
13915         * math/w_acoshf.c: Likewise.
13916         * math/w_acoshl.c: Likewise.
13917         * math/w_asin.c: Likewise.
13918         * math/w_asinf.c: Likewise.
13919         * math/w_asinl.c: Likewise.
13920         * math/w_atan2.c: Likewise.
13921         * math/w_atan2f.c: Likewise.
13922         * math/w_atan2l.c: Likewise.
13923         * math/w_atanh.c: Likewise.
13924         * math/w_atanhf.c: Likewise.
13925         * math/w_atanhl.c: Likewise.
13926         * math/w_exp10.c: Likewise.
13927         * math/w_exp10f.c: Likewise.
13928         * math/w_exp10l.c: Likewise.
13929         * math/w_fmod.c: Likewise.
13930         * math/w_fmodf.c: Likewise.
13931         * math/w_fmodl.c: Likewise.
13932         * math/w_j0.c: Likewise.
13933         * math/w_j0f.c: Likewise.
13934         * math/w_j0l.c: Likewise.
13935         * math/w_j1.c: Likewise.
13936         * math/w_j1f.c: Likewise.
13937         * math/w_j1l.c: Likewise.
13938         * math/w_jn.c: Likewise.
13939         * math/w_jnf.c: Likewise.
13940         * math/w_log.c: Likewise.
13941         * math/w_logf.c: Likewise.
13942         * math/w_logl.c: Likewise.
13943         * math/w_log10.c: Likewise.
13944         * math/w_log10f.c: Likewise.
13945         * math/w_log10l.c: Likewise.
13946         * math/w_log2.c: Likewise.
13947         * math/w_log2f.c: Likewise.
13948         * math/w_log2l.c: Likewise.
13949         * math/w_pow.c: Likewise.
13950         * math/w_powf.c: Likewise.
13951         * math/w_powl.c: Likewise.
13952         * math/w_remainder.c: Likewise.
13953         * math/w_remainderf.c: Likewise.
13954         * math/w_remainderl.c: Likewise.
13955         * math/w_scalb.c: Likewise.
13956         * math/w_scalbf.c: Likewise.
13957         * math/w_scalbl.c: Likewise.
13958         * math/w_sqrt.c: Likewise.
13959         * math/w_sqrtf.c: Likewise.
13960         * math/w_sqrtl.c: Likewise.
13961         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13962         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
13963         used.
13964         * math/math_private.h: Declare __kernel_standard_f.
13965         * math/w_cosh.c: Remove cruft and optimize a bit.
13966         * math/w_coshf.c: Likewise.
13967         * math/w_coshl.c: Likewise.
13968         * math/w_exp2.c: Likewise.
13969         * math/w_exp2f.c: Likewise.
13970         * math/w_exp2l.c: Likewise.
13971         * math/w_hypot.c: Likewise.
13972         * math/w_hypotf.c: Likewise.
13973         * math/w_hypotl.c: Likewise.
13974         * math/w_lgamma.c: Likewise.
13975         * math/w_lgamma_r.c: Likewise.
13976         * math/w_lgammaf.c: Likewise.
13977         * math/w_lgammaf_r.c: Likewise.
13978         * math/w_lgammal.c: Likewise.
13979         * math/w_lgammal_r.c: Likewise.
13980         * math/w_sinh.c: Likewise.
13981         * math/w_sinhf.c: Likewise.
13982         * math/w_sinhl.c: Likewise.
13983         * math/w_tgamma.c: Likewise.
13984         * math/w_tgammaf.c: Likewise.
13985         * math/w_tgammal.c: Likewise.
13986         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13987         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13988         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13989         Minor optimizations.  Pretty printing.  Remove cruft.
13990         * sysdeps/i386/fpu/e_acosf.S: Likewise.
13991         * sysdeps/i386/fpu/e_acosh.S: Likewise.
13992         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13993         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13994         * sysdeps/i386/fpu/e_acosl.c: Likewise.
13995         * sysdeps/i386/fpu/e_asin.S: Likewise.
13996         * sysdeps/i386/fpu/e_asinf.S: Likewise.
13997         * sysdeps/i386/fpu/e_atan2.S: Likewise.
13998         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13999         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14000         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14001         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14002         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14003         * sysdeps/i386/fpu/e_exp10.S: Likewise.
14004         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14005         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14006         * sysdeps/i386/fpu/e_exp2.S: Likewise.
14007         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14008         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14009         * sysdeps/i386/fpu/e_fmod.S: Likewise.
14010         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14011         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14012         * sysdeps/i386/fpu/e_hypot.S: Likewise.
14013         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14014         * sysdeps/i386/fpu/e_log.S: Likewise.
14015         * sysdeps/i386/fpu/e_log10.S: Likewise.
14016         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14017         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14018         * sysdeps/i386/fpu/e_log2.S: Likewise.
14019         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14020         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14021         * sysdeps/i386/fpu/e_logf.S: Likewise.
14022         * sysdeps/i386/fpu/e_logl.S: Likewise.
14023         * sysdeps/i386/fpu/e_pow.S: Likewise.
14024         * sysdeps/i386/fpu/e_powf.S: Likewise.
14025         * sysdeps/i386/fpu/e_powl.S: Likewise.
14026         * sysdeps/i386/fpu/e_remainder.S: Likewise.
14027         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14028         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14029         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14030         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14031         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14032         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14033         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14034         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14035         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14036         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14037         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14038         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14039         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14040         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14041         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14042         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14043         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14044         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14045         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14046         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14047         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14048         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14049         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14050         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14051         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14052         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14053         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14054         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14055         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14056         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14057         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14058         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14059         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14060         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14061         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14062         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14063         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14064         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14065         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14066         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14067         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14068         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14069         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14070         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14071         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14072         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14073         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14074         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14075         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14076         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14077         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14078         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14079         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14080         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14081         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14082         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14083         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14084         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14085         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14086         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14087         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14088         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14089         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14090         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14091         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14092         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14093         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14094         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14095         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14096         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14097         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14098         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14099         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14100         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14101         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14102         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14103         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14104         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14105         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14106         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14107         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14108         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14109         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14110         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14111         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14112         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14113         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14114         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14115         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14116         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14117         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14118         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14119         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14120         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14121         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14122         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14123         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14124         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14125         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14126         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14127         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14128         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14129         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14130         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14131         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14132         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14133         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14134         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14135         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14136         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14137         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14138         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14139         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14140         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14141         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14142         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14143         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14144         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14145         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
14146         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14147         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14148         (__isnanf): Likewise.
14149         (__isinf_ns): Likewise.
14150         (__isinf_nsf): Likewise.
14151         (__finite): Likewise.
14152         (__finitef): Likewise.
14153         (__ieee754_sqrt): Define as macro.
14154         (__ieee754_sqrtf): Define as macro.
14155         (__ieee754_sqrtl): Define as macro.
14156         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14157         inlined copy.
14158         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14159         __FINITE_MATH_ONLY__ consistent.
14160         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14162 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
14164         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14165         of rawmemchr.
14167         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14169 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
14171         * po/ja.po: Update from translation team.
14173 2011-10-08  Roland McGrath  <roland@hack.frob.com>
14175         * locale/programs/locarchive.c (prepare_address_space): New function.
14176         (create_archive, enlarge_archive, open_archive): Use it.
14178         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14179         inside [SHARED], where it is used.
14181         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14183         * nss/getent.c (netgroup_keys): Remove unused variable.
14184         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14186 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
14188         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14189         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14190         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14191         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14192         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14193         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14194         * math/Makefile (libm-calls): Add s_isinf_ns.
14195         * math/divtc3.c: Use __isinf_nsl instead of isinf.
14196         * math/multc3.c: Likewise.
14197         * math/s_casin.c: Likewise.
14198         * math/s_casinf.c: Likewise.
14199         * math/s_casinl.c: Likewise.
14200         * math/s_ccos.c: Likewise.
14201         * math/s_ccosf.c: Likewise.
14202         * math/s_ccosl.c: Likewise.
14203         * math/s_ctan.c: Likewise.
14204         * math/s_ctanf.c: Likewise.
14205         * math/s_ctanh.c: Likewise.
14206         * math/s_ctanhf.c: Likewise.
14207         * math/s_ctanhl.c: Likewise.
14208         * math/s_ctanl.c: Likewise.
14209         * math/w_fmod.c: Likewise.
14210         * math/w_fmodf.c: Likewise.
14211         * math/w_fmodl.c: Likewise.
14212         * math/w_remainder.c: Likewise.
14213         * math/w_remainderf.c: Likewise.
14214         * math/w_remainderl.c: Likewise.
14215         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14216         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14217         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14218         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14219         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14220         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14221         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14222         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14224         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14225         of the number.
14226         * stdio-common/printf_fphex.c: Likewise.
14227         * stdio-common/printf_size.c: Likewise.
14229         * math/e_exp10.c: Include math_private.h using <...> not "...".
14230         * math/e_exp10f.c: Likewise.
14231         * math/e_exp10l.c: Likewise.
14232         * math/e_exp2l.c: Likewise.
14233         * math/e_j0l.c: Likewise.
14234         * math/e_j1l.c: Likewise.
14235         * math/e_jnl.c: Likewise.
14236         * math/e_lgammal_r.c: Likewise.
14237         * math/e_rem_pio2l.c: Likewise.
14238         * math/e_scalb.c: Likewise.
14239         * math/e_scalbf.c: Likewise.
14240         * math/e_scalbl.c: Likewise.
14241         * math/k_cosl.c: Likewise.
14242         * math/k_sinl.c: Likewise.
14243         * math/k_tanl.c: Likewise.
14244         * math/s_cacoshf.c: Likewise.
14245         * math/s_catan.c: Likewise.
14246         * math/s_catanf.c: Likewise.
14247         * math/s_catanh.c: Likewise.
14248         * math/s_catanhf.c: Likewise.
14249         * math/s_catanhl.c: Likewise.
14250         * math/s_catanl.c: Likewise.
14251         * math/s_ccosh.c: Likewise.
14252         * math/s_ccoshf.c: Likewise.
14253         * math/s_ccoshl.c: Likewise.
14254         * math/s_cexp.c: Likewise.
14255         * math/s_cexpf.c: Likewise.
14256         * math/s_cexpl.c: Likewise.
14257         * math/s_clog.c: Likewise.
14258         * math/s_clog10.c: Likewise.
14259         * math/s_clog10f.c: Likewise.
14260         * math/s_clog10l.c: Likewise.
14261         * math/s_clogf.c: Likewise.
14262         * math/s_clogl.c: Likewise.
14263         * math/s_csin.c: Likewise.
14264         * math/s_csinf.c: Likewise.
14265         * math/s_csinh.c: Likewise.
14266         * math/s_csinhf.c: Likewise.
14267         * math/s_csinhl.c: Likewise.
14268         * math/s_csinl.c: Likewise.
14269         * math/s_csqrt.c: Likewise.
14270         * math/s_csqrtf.c: Likewise.
14271         * math/s_csqrtl.c: Likewise.
14272         * math/s_ctan.c: Likewise.
14273         * math/s_ctanf.c: Likewise.
14274         * math/s_ctanh.c: Likewise.
14275         * math/s_ctanhf.c: Likewise.
14276         * math/s_ctanhl.c: Likewise.
14277         * math/s_ctanl.c: Likewise.
14278         * math/s_ldexp.c: Likewise.
14279         * math/s_ldexpf.c: Likewise.
14280         * math/s_ldexpl.c: Likewise.
14281         * math/s_significand.c: Likewise.
14282         * math/s_significandf.c: Likewise.
14283         * math/s_significandl.c: Likewise.
14284         * math/w_acos.c: Likewise.
14285         * math/w_acosf.c: Likewise.
14286         * math/w_acosh.c: Likewise.
14287         * math/w_acoshf.c: Likewise.
14288         * math/w_acoshl.c: Likewise.
14289         * math/w_acosl.c: Likewise.
14290         * math/w_asin.c: Likewise.
14291         * math/w_asinf.c: Likewise.
14292         * math/w_asinl.c: Likewise.
14293         * math/w_atan2.c: Likewise.
14294         * math/w_atan2f.c: Likewise.
14295         * math/w_atan2l.c: Likewise.
14296         * math/w_atanh.c: Likewise.
14297         * math/w_atanhf.c: Likewise.
14298         * math/w_atanhl.c: Likewise.
14299         * math/w_cosh.c: Likewise.
14300         * math/w_coshf.c: Likewise.
14301         * math/w_coshl.c: Likewise.
14302         * math/w_dremf.c: Likewise.
14303         * math/w_exp10.c: Likewise.
14304         * math/w_exp10f.c: Likewise.
14305         * math/w_exp10l.c: Likewise.
14306         * math/w_exp2.c: Likewise.
14307         * math/w_exp2f.c: Likewise.
14308         * math/w_fmod.c: Likewise.
14309         * math/w_fmodf.c: Likewise.
14310         * math/w_fmodl.c: Likewise.
14311         * math/w_hypot.c: Likewise.
14312         * math/w_hypotf.c: Likewise.
14313         * math/w_hypotl.c: Likewise.
14314         * math/w_j0.c: Likewise.
14315         * math/w_j0f.c: Likewise.
14316         * math/w_j0l.c: Likewise.
14317         * math/w_j1.c: Likewise.
14318         * math/w_j1f.c: Likewise.
14319         * math/w_j1l.c: Likewise.
14320         * math/w_jn.c: Likewise.
14321         * math/w_jnf.c: Likewise.
14322         * math/w_jnl.c: Likewise.
14323         * math/w_lgamma.c: Likewise.
14324         * math/w_lgamma_r.c: Likewise.
14325         * math/w_lgammaf.c: Likewise.
14326         * math/w_lgammaf_r.c: Likewise.
14327         * math/w_lgammal.c: Likewise.
14328         * math/w_lgammal_r.c: Likewise.
14329         * math/w_log.c: Likewise.
14330         * math/w_log10.c: Likewise.
14331         * math/w_log10f.c: Likewise.
14332         * math/w_log10l.c: Likewise.
14333         * math/w_log2.c: Likewise.
14334         * math/w_log2f.c: Likewise.
14335         * math/w_log2l.c: Likewise.
14336         * math/w_logf.c: Likewise.
14337         * math/w_logl.c: Likewise.
14338         * math/w_pow.c: Likewise.
14339         * math/w_powf.c: Likewise.
14340         * math/w_powl.c: Likewise.
14341         * math/w_remainder.c: Likewise.
14342         * math/w_remainderf.c: Likewise.
14343         * math/w_remainderl.c: Likewise.
14344         * math/w_scalb.c: Likewise.
14345         * math/w_scalbf.c: Likewise.
14346         * math/w_scalbl.c: Likewise.
14347         * math/w_sinh.c: Likewise.
14348         * math/w_sinhf.c: Likewise.
14349         * math/w_sinhl.c: Likewise.
14350         * math/w_sqrt.c: Likewise.
14351         * math/w_sqrtf.c: Likewise.
14352         * math/w_sqrtl.c: Likewise.
14353         * math/w_tgamma.c: Likewise.
14354         * math/w_tgammaf.c: Likewise.
14355         * math/w_tgammal.c: Likewise.
14357         * po/ja.po: Update from translation team.
14359 2011-09-29  Andreas Jaeger  <aj@suse.de>
14361         [BZ #13179]
14362         * sunrpc/netname.c (netname2host): Fix logic.
14364         [BZ #6779]
14365         [BZ #6783]
14366         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14367         correctly.
14368         * math/w_remainder.c (__remainder): Likewise.
14369         * math/w_remainderf.c (__remainderf): Likewise.
14370         * math/libm-test.inc (remainder_test): Add test cases.
14372 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14374         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
14375         sdiv_qrnnd.
14377 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14379         * string/test-memcmp.c: Avoid unncessary #defines.
14380         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14382 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14384         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14385         Use new sse2 version for core i3 - i7 as it's faster
14386         than sse42 version.
14387         (bit_Prefer_PMINUB_for_stringop): New.
14388         * sysdeps/x86_64/rawmemchr.S: Update.
14389         Replace with faster SSE2 version.
14390         * sysdeps/x86_64/memrchr.S: New file.
14391         * sysdeps/x86_64/memchr.S: Update.
14392         Replace with faster SSE2 version.
14394 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
14396         * elf/dl-load.c (lose): Add cast to avoid warning.
14398 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14400         * po/ca.po: Update from translation team.
14402         * inet/getnetgrent_r.c: Hook up nscd.
14403         * nscd/Makefile (routines): Add nscd_netgroup.
14404         (nscd-modules): Add netgroupcache.
14405         (CFLAGS-netgroupcache.c): Define.
14406         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14407         (cache_search): Add const to second parameter.
14408         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14409         INNETGR.
14410         (dbs): Add netgrdb entry.
14411         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14412         (verify_persistent_db): Handle netgrdb.
14413         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14414         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14415         GETFDNETGR.
14416         (netgroup_response_header): Define.
14417         (innetgroup_response_header): Define.
14418         (datahead): Add netgroup_response_header and innetgroup_response_header
14419         elements.
14420         * nscd/nscd.conf: Add entries for netgroup cache.
14421         * nscd/nscd.h (dbtype): Add netgrdb.
14422         (_PATH_NSCD_NETGROUP_DB): Define.
14423         (netgroup_iov_disabled): Declare.
14424         (xmalloc, xcalloc, xrealloc): Move declarations here.
14425         (cache_search): Adjust prototype.
14426         Add netgroup-related prototypes.
14427         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14428         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14429         (__nscd_innetgr): Declare.
14430         * nscd/selinux.c (perms): Use access_vector_t as element type and
14431         add netgroup-related initializers.
14432         * nscd/netgroupcache.c: New file.
14433         * nscd/nscd_netgroup.c: New file.
14434         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14435         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14436         For four parameters use innetgr.
14437         * nss/nss_files/files-init.c: Add definition and callback for netgr.
14438         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14439         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14440         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14442         * nscd/connections.c (register_traced_file): Don't register file
14443         for disabled databases.
14445 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
14447         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14449         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14450         from tree and freeing node.
14452 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
14454         * nss/nsswitch.c (__nss_database_lookup): Handle
14455         nss_parse_service_list out of memory case.
14457 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
14459         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14460         out of memory case.
14462 2011-10-04  Andreas Schwab  <schwab@redhat.com>
14464         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14465         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14466         pass it down.
14467         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14468         elf_machine_rela, elf_machine_lazy_rel.
14469         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14470         (ELF_DYNAMIC_DO_REL): Likewise.
14471         (ELF_DYNAMIC_DO_RELA): Likewise.
14472         (ELF_DYNAMIC_RELOCATE): Likewise.
14473         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14474         to ELF_DYNAMIC_DO_REL.
14475         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14476         (dl_main): In trace mode always set __RTLD_NOIFUNC.
14477         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14478         elf_machine_rela.
14479         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14480         skip_ifunc, don't call ifunc function if non-zero.
14481         (elf_machine_rela): Likewise.
14482         (elf_machine_lazy_rel): Likewise.
14483         (elf_machine_lazy_rela): Likewise.
14484         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14485         (elf_machine_lazy_rel): Likewise.
14486         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14487         Likewise.
14488         (elf_machine_lazy_rel): Likewise.
14489         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14490         Likewise.
14491         (elf_machine_lazy_rel): Likewise.
14492         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14493         (elf_machine_lazy_rel): Likewise.
14494         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14495         (elf_machine_lazy_rel): Likewise.
14496         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14497         (elf_machine_lazy_rel): Likewise.
14498         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14499         (elf_machine_lazy_rel): Likewise.
14500         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14501         (elf_machine_lazy_rel): Likewise.
14502         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14503         (elf_machine_lazy_rel): Likewise.
14505 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
14507         * nss/nss_files/files-init.c (_nss_files_init): Use static
14508         initialization for all the *_traced_file variables.
14510 2011-09-28  Andreas Schwab  <schwab@redhat.com>
14512         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14514 2011-09-27  Roland McGrath  <roland@hack.frob.com>
14516         [BZ #13226]
14517         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14519 2011-09-27  Andreas Schwab  <schwab@redhat.com>
14521         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14522         Reread the line before reparsing it.
14524 2011-09-26  Andreas Schwab  <schwab@redhat.com>
14526         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14528 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
14529             Maxim Kuvyrkov  <maxim@codesourcery.com>
14530             Joseph Myers  <joseph@codesourcery.com>
14532         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14533         if needed for __stack_chk_guard.
14535 2011-09-19  Roland McGrath  <roland@hack.frob.com>
14537         * sysdeps/posix/spawni.c (script_execute): Always define it.
14538         It will be optimized away if unused.
14539         (maybe_script_execute): New function.
14540         (__spawni): Call it.
14542         * Makerules: Don't include tls.make.
14543         (config-tls): Always set to thread.
14544         * tls.make.c: File removed.
14546 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
14548         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14549         * config.make.in (CPPFLAGS-config): New substituted variable.
14551 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
14553         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14555         [BZ #13192]
14556         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14557         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14559 2011-09-15  Roland McGrath  <roland@hack.frob.com>
14561         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14562         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14563         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14564         (CALL_FAIL): Likewise.
14565         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14566         (CALL_FAIL): Macro removed.
14567         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14569 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
14571         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14572         for __FINITE_MATH_ONLY__ == 1.
14574 2011-09-15  Andreas Schwab  <schwab@redhat.com>
14576         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14577         __ieee754_sqrt instead of sqrt.
14578         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14579         __ieee754_sqrtf instead of sqrtf.
14580         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14581         __floorf instead of floorf.
14582         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14583         __floorf, __truncf instead of floorf, truncf.
14585 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
14587         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14589         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14590         __extern_always_inline.
14591         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14592         32-bit.
14594 2011-09-14  Andreas Schwab  <schwab@redhat.com>
14596         * elf/rtld.c (dl_main): Also relocate in dependency order when
14597         doing symbol dependency testing.
14599 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
14601         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14602         Always define `refsym'.
14604 2011-09-13  Andreas Schwab  <schwab@redhat.com>
14606         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14607         (__FD_ELT): Renamed from __FDELT.
14608         * misc/bits/select2.h (__FD_ELT): Likewise.
14609         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14610         __FD_MASK instead of __FDELT, __FDMASK.
14611         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14612         Likewise.
14613         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14614         Likewise.
14616         * elf/Makefile (gen-ldd): Fix pattern.
14618         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14619         (init_tls): Likewise.
14621 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
14623         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14625 2011-09-12  Andreas Schwab  <schwab@redhat.com>
14627         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14628         `struct cmsghdr *' instead of `void *'.
14629         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14630         Likewise.
14632 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
14634         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14635         if non-absolute.
14636         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14637         ldd_rewrite_script.
14639 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
14641         * configure.in: Remove --with-tls option.
14642         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14643         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14644         out in case it is missing.
14645         * sysdeps/ia64/elf/configure.in: Likewise.
14646         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14647         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14648         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14649         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14650         * sysdeps/sh/elf/configure.in: Likewise.
14651         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14652         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14653         * sysdeps/x86_64/elf/configure.in: Likewise.
14654         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14655         * sysdeps/mach/hurd/tls.h: Likewise.
14657         [BZ #13067]
14658         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14660         [BZ #13090]
14661         * configure.in: Fix use of AC_INIT.
14663         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14665 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
14667         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14668         __set_errno.
14669         * malloc/hooks.c: Likewise.
14671         [BZ #11929]
14672         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
14673         variables statically.
14674         (narenas): Initialize.
14675         (list_lock): Initialize.
14676         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
14677         initializtion of main_arena and list_lock.  Small cleanups.
14678         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14679         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
14680         Add initializers to main_arena and mp_.
14681         (malloc_state): Remove pagesize member.  Change all users to use
14682         GLRO(dl_pagesize).
14684         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14685         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
14686         is always initialized.
14688         * malloc/malloc.c: Removed unused configurations and dead code.
14689         * malloc/arena.c: Likewise.
14690         * malloc/hooks.c: Likewise.
14691         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14693         * include/tls.h: Removed.  USE___THREAD must always be defined.
14694         * bits/libc-tsd.h: Don't handle !USE___THREAD.
14695         * elf/dl-libc.c: Likewise.
14696         * elf/dl-tsd.c: Likewise.
14697         * include/errno.h: Likewise.
14698         * include/netdb.h: Likewise.
14699         * include/resolv.h: Likewise.
14700         * inet/herrno-loc.c: Likewise.
14701         * inet/herrno.c: Likewise.
14702         * malloc/arena.c: Likewise.
14703         * malloc/hooks.c: Likewise.
14704         * malloc/malloc.c: Likewise.
14705         * resolv/res-state.c: Likewise.
14706         * resolv/res_libc.c: Likewise.
14707         * sysdeps/i386/dl-machine.h: Likewise.
14708         * sysdeps/ia64/dl-machine.h: Likewise.
14709         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14710         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14711         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14712         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14713         * sysdeps/sh/dl-machine.h: Likewise.
14714         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14715         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14716         * sysdeps/unix/i386/sysdep.S: Likewise.
14717         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14718         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14719         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14720         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14721         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14722         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14723         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14724         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14725         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14726         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14727         * sysdeps/unix/x86_64/sysdep.S: Likewise.
14728         * sysdeps/x86_64/dl-machine.h: Likewise.
14729         * tls.make.c: Likewise.
14731         * configure.in: Remove --with-__thread option.  Make tests for
14732         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14733         tls_model attribute fail if no support is available.  Remove
14734         USE_IN_LIBIO.
14735         * Makeconfig: Adjust for dropped configure option.  All features are
14736         now mandatory.
14737         * Makerules: Likewise.
14738         * Versions.def: Likewise.
14739         * argp/argp-fmtstream.c: Likewise.
14740         * argp/argp-fmtstream.h: Likewise.
14741         * argp/argp-help.c: Likewise.
14742         * assert/assert.c: Likewise.
14743         * config.h.in: Likewise.
14744         * config.make.in: Likewise.
14745         * configure: Likewise.
14746         * configure.in: Likewise.
14747         * csu/Versions: Likewise.
14748         * csu/init.c: Likewise.
14749         * elf/tst-audit2.c: Likewise.
14750         * elf/tst-tls10.c: Likewise.
14751         * elf/tst-tls10.h: Likewise.
14752         * elf/tst-tls11.c: Likewise.
14753         * elf/tst-tls12.c: Likewise.
14754         * elf/tst-tls14.c: Likewise.
14755         * elf/tst-tlsmod11.c: Likewise.
14756         * elf/tst-tlsmod12.c: Likewise.
14757         * elf/tst-tlsmod13.c: Likewise.
14758         * elf/tst-tlsmod13a.c: Likewise.
14759         * elf/tst-tlsmod14a.c: Likewise.
14760         * elf/tst-tlsmod15b.c: Likewise.
14761         * elf/tst-tlsmod16a.c: Likewise.
14762         * elf/tst-tlsmod16b.c: Likewise.
14763         * elf/tst-tlsmod7.c: Likewise.
14764         * elf/tst-tlsmod8.c: Likewise.
14765         * elf/tst-tlsmod9.c: Likewise.
14766         * gmon/gmon.c: Likewise.
14767         * grp/fgetgrent_r.c: Likewise.
14768         * grp/putgrent.c: Likewise.
14769         * hurd/fopenport.c: Likewise.
14770         * include/libc-symbols.h: Likewise.
14771         * include/tls.h: Likewise.
14772         * intl/gettextP.h: Likewise.
14773         * intl/loadinfo.h: Likewise.
14774         * locale/global-locale.c: Likewise.
14775         * locale/localeinfo.h: Likewise.
14776         * mach/devstream.c: Likewise.
14777         * malloc/arena.c: Likewise.
14778         * malloc/set-freeres.c: Likewise.
14779         * misc/err.c: Likewise.
14780         * misc/getttyent.c: Likewise.
14781         * misc/mntent_r.c: Likewise.
14782         * posix/getopt.c: Likewise.
14783         * posix/wordexp.c: Likewise.
14784         * pwd/fgetpwent_r.c: Likewise.
14785         * resolv/Versions: Likewise.
14786         * resolv/res_hconf.c: Likewise.
14787         * shadow/fgetspent_r.c: Likewise.
14788         * shadow/putspent.c: Likewise.
14789         * stdio-common/printf_fphex.c: Likewise.
14790         * stdio-common/tmpfile.c: Likewise.
14791         * stdlib/abort.c: Likewise.
14792         * stdlib/fmtmsg.c: Likewise.
14793         * sunrpc/auth_unix.c: Likewise.
14794         * sunrpc/clnt_perr.c: Likewise.
14795         * sunrpc/clnt_tcp.c: Likewise.
14796         * sunrpc/clnt_udp.c: Likewise.
14797         * sunrpc/clnt_unix.c: Likewise.
14798         * sunrpc/openchild.c: Likewise.
14799         * sunrpc/svc_simple.c: Likewise.
14800         * sunrpc/svc_tcp.c: Likewise.
14801         * sunrpc/svc_udp.c: Likewise.
14802         * sunrpc/svc_unix.c: Likewise.
14803         * sunrpc/xdr.c: Likewise.
14804         * sunrpc/xdr_array.c: Likewise.
14805         * sunrpc/xdr_rec.c: Likewise.
14806         * sunrpc/xdr_ref.c: Likewise.
14807         * sunrpc/xdr_stdio.c: Likewise.
14809 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
14811         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14813 2011-07-03  Andreas Jaeger  <aj@suse.de>
14815         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14816         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14817         regenerate with gen-libm-tests.pl.
14819 2010-05-12  Petr Baudis  <pasky@suse.cz>
14821         [BZ #11589]
14822         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14823         around j0() zero points by switching to j1().
14824         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14825         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14826         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14827         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14829 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
14831         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14832         instead of 0.
14833         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14834         instead of 0.                              .
14835         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14836         Patch in part by Pavel Roskin <proski@gnu.org>.
14838         [BZ #13138]
14839         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14840         realloc.
14841         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
14842         Free memory block if necessary.
14844         [BZ #12847]
14845         * libio/genops.c (INTDEF): For string streams the _lock pointer can
14846         be NULL.  Don't lock in this case.
14848 2011-09-09  Roland McGrath  <roland@hack.frob.com>
14850         * elf/elf.h (ELFOSABI_GNU): New macro.
14851         (ELFOSABI_LINUX): Define to that.
14853 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
14855         * string/strncat.c (strncat): Undef the symbol in case it has been
14856         defined in bits/string.h.
14858 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
14860         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14862         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14863         link map.
14865 2011-08-17  Andreas Jaeger  <aj@suse.de>
14867         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14869 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14870             Ian Lance Taylor  <iant@google.com>
14872         * math/libm-test.inc (lround_test): New testcase.
14873         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14875 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
14877         * Makefile: Remove support for automatic cvs check-ins.
14878         * Makerules: Likewise.
14879         * config.make.in: Likewise.
14880         * configure.in: Likewise.
14881         * intl/Makefile: Likewise.
14882         * locale/Makefile: Likewise.
14883         * po/Makefile: Likewise.
14884         * posix/Makefile: Likewise.
14885         * sysdeps/gnu/Makefile: Likewise.
14886         * sysdeps/mach/hurd/Makefile: Likewise.
14887         * sysdeps/sparc/sparc32/Makefile: Likewise.
14889         [BZ #13118]
14890         * posix/Makefile (bug-regex32-ENV): Define.
14891         Patch by John Stanley <jpsinthemix@verizon.net>.
14893         * misc/Makefile (headers): Add bits/select2.h.
14894         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14895         * misc/bits/select2.h: New file.
14896         * include/bits/select2.h: New file.
14897         * debug/Makefile (routines): Add fdelt_chk.
14898         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14899         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14900         FD_ISSET.
14901         * debug/fdelt_chk.c: New file.
14903         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
14904         * wcsmbs/test-wmemcmp.c: Likewise.
14905         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14906         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14908 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14910         * string/Makefile (strop-tests): Add memcmp.
14911         * string/test-wmemcmp.c: New file.
14912         * string/test-memcmp.c: Add wmemcmp support.
14914 2011-09-08  Roland McGrath  <roland@hack.frob.com>
14916         [BZ #13153]
14917         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14918         2011-07-19 change.
14920         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14921         garbage value in a __mach_port_mod_refs call in the cases of the
14922         task-self and thread-self ports.
14924 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14926         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14928 2011-09-08  Andreas Schwab  <schwab@redhat.com>
14930         * elf/dl-load.c (lose): Check for non-null L.
14932 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
14934         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14936         * elf/dl-libc.c (dlerror_run): Pass back error code from
14937         dl_catch_error.
14939         [BZ #13123]
14940         * elf/dl-load.c (lose): Free l_origin if it is valid.
14942         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14943         names.
14944         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14945         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14946         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14947         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14948         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14949         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14951 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14953         * sysdeps/powerpc/fpu/e_hypot.c: New file.
14954         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14955         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14956         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14957         * sysdeps/powerpc/fpu/k_cosf.c: New file.
14958         * sysdeps/powerpc/fpu/k_sinf.c: New file.
14959         * sysdeps/powerpc/fpu/s_cosf.c: New file.
14960         * sysdeps/powerpc/fpu/s_sinf.c: New file.
14961         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14962         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14964 2011-08-15  Alan Modra  <amodra@gmail.com>
14966         [BZ #13092]
14967         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14968         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14969         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
14970         ppc_mcount to static-only-routines.
14971         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14972         __mcount_internal.
14973         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14974         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
14976 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
14978         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14979         for finite and infinity parameters.
14981 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
14983         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14984         and add nop instructions for throughput optimization.
14985         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14987 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
14989         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14990         aligned copy for power7 with vector-scalar instructions.
14991         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14993 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
14995         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14996         AVX check.
14998 2011-09-07  Andreas Schwab  <schwab@redhat.com>
15000         [BZ #13144]
15001         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15002         last change.
15004 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
15006         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15007         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15008         syscall wrapper around clock_gettime in __vdso_clock_gettime.
15009         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15010         clock_gettime.
15012 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
15014         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15015         Forgot to demangle the pointer.
15017         * sysdeps/i386/sysdep.h: Define atom_text_section.
15018         * sysdeps/x86_64/sysdep.h: Likewise.
15019         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15020         section with atom_text_section.
15021         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15022         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15023         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15024         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15025         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15027         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15028         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15029         already be defined.  Change to take two parameters and don't assign
15030         result to variable.  Adjust all users.
15031         Define INTERNAL_GETTIME if not already defined.
15032         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15033         call.
15034         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15035         HAVE_CLOCK_GETTIME_VSYSCALL.
15036         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15038         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15039         gettimeofday vsyscall, just use time.
15041 2011-09-06  Andreas Schwab  <schwab@redhat.com>
15043         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15044         <errno.h>.
15046 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
15048         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15049         syscall on x86-64.
15050         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15051         syscall.
15052         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15053         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15054         syscall if possible.
15056 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15058         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15059         e_ident.  Don't pass to find_mapsXX.
15060         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15062 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15064         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15065         strchr-sse2-no-bsf strrchr-sse2-no-bsf
15066         * sysdeps/x86_64/multiarch/strchr.S: Update.
15067         Check bit_slow_BSF bit.
15068         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15069         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15070         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15072 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15074         [BZ #13134]
15075         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15076         before glibc 2.15.
15077         (tryshell): Define.
15078         (__spawni): Change last parameter to be flag.  Test
15079         SPAWN_XFLAGS_USE_PATH flag to use path or not.
15080         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15081         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15082         * posix/spawni.c: Likewise.
15083         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15084         * posix/spawnp.c: Likewise.  Change normal version to use
15085         SPAWN_XFLAGS_USE_PATH.
15086         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15087         SPAWN_XFLAGS_TRY_SHELL.
15089         [BZ #13150]
15090         * posix/glob.h: Remove gcc 1.x support.
15092         [BZ #13068]
15093         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15095 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15097         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15098         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15099         strrchr-sse2-bsf
15100         * sysdeps/i386/i686/multiarch/strchr.S: New file.
15101         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15102         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15103         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15104         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15105         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15107 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15109         * sysdeps/x86_64/wcscmp.S: New file.
15111         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15112         wcscmp-c wcscmp-sse2
15113         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15114         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15115         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15116         * wcsmbs/wcscmp.c: Allow renaming.
15118 2011-09-05  David S. Miller  <davem@davemloft.net>
15120         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15121         stack slot, rather than the struct return pointer slot.
15122         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15123         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15125         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15127 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15129         * po/ja.po: Update from translation team.
15131         [BZ #13144]
15132         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15133         kernel in 64-bit binaries.
15135 2011-09-01  David S. Miller  <davem@davemloft.net>
15137         * elf/elf.h (HWCAP_SPARC_*): Move to..
15138         * sysdeps/sparc/sysdep.h: this new file and add new values.
15139         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15140         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15141         _DL_HWCAP_COUNT to 24.
15142         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15143         entries.
15144         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15145         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15146         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15147         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15148         instead of magic constants.
15149         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15151 2011-08-31  David S. Miller  <davem@davemloft.net>
15153         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15154         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15155         Reimplement to do errno handling inline.
15156         (SYSCALL_ERROR_HANDLER): New macro.
15157         (__SYSCALL_STRING): Do not do errno handling in asm.
15158         (__CLONE_SYSCALL_STRING): Delete.
15159         (__INTERNAL_SYSCALL_STRING): Delete.
15160         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15161         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15162         (PSEUDO): Reimplement to do errno handling inline.
15163         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15164         (SYSCALL_ERROR_HANDLER): New macro.
15165         (__SYSCALL_STRING): Do not do errno handling in asm.
15166         (__CLONE_SYSCALL_STRING): Delete.
15167         (__INTERNAL_SYSCALL_STRING): Delete.
15168         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15169         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15170         i386.
15171         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15172         (inline_syscall*): Add 'err' argument.
15173         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15174         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15175         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15176         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15178         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15179         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15181 2011-08-30  Andreas Schwab  <schwab@redhat.com>
15183         * elf/rtld.c (dl_main): Relocate objects in dependency order.
15185 2011-08-29  Jiri Olsa <jolsa@redhat.com>
15187         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15188         directive.
15190 2011-08-24  David S. Miller  <davem@davemloft.net>
15192         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15194 2011-08-24  Andreas Schwab  <schwab@redhat.com>
15196         * elf/Makefile: Add rules to build and run unload8 test.
15197         * elf/unload8.c: New file.
15198         * elf/unload8mod1.c: New file.
15199         * elf/unload8mod1x.c: New file.
15200         * elf/unload8mod2.c: New file.
15201         * elf/unload8mod3.c: New file.
15203         * elf/dl-close.c (_dl_close_worker): Reset private search list if
15204         it wasn't used.
15206 2011-08-23  David S. Miller  <davem@davemloft.net>
15208         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15209         subtract stack bias.
15210         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15211         %sp not %fp in calculations.
15212         (_JMPBUF_UNWINDS_ADJ): Likewise.
15214         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15215         (aio_suspend): Call it to force an exception region around the
15216         AIO_MISC_WAIT() invocation.
15218 2011-08-23  Andreas Schwab  <schwab@redhat.com>
15220         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15221         backslash.
15223 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
15225         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15226         protection macro.
15227         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15228         and <dl-machine.h>.
15229         (Elf64_FuncDesc): Remove.
15231 2011-08-22  David S. Miller  <davem@davemloft.net>
15233         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15234         sigaltstack check, add missing cfi directives.
15235         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15236         missing cfi directives, and sigaltstack handling.
15238 2011-08-16  Andreas Schwab  <schwab@redhat.com>
15240         [BZ #11724]
15241         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15242         object is seen twice.
15243         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15245         * elf/Makefile (distribute): Add tst-initorder2.c.
15246         (tests): Add tst-initorder2.
15247         (modules-names): Add tst-initorder2a tst-initorder2b
15248         tst-initorder2c tst-initorder2d.  Add rules to build them.
15249         ($(objpfx)tst-initorder2.out): New rule.
15250         * elf/tst-initorder2.c: New file.
15251         * elf/tst-initorder2.exp: New file.
15253 2011-08-22  Andreas Schwab  <schwab@redhat.com>
15255         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15257         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15258         dependencies back to end of function.
15260         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15261         $(elfobjdir)/ld.so.
15263 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
15265         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15266         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15267         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15268         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15269         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15270         of __vdso_gettimeofday.
15271         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15272         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
15273         attribute_hidden.
15274         (_libc_vdso_platform_setup): Remove initialization of
15275         __vdso_gettimeofday and __vdso_time.
15277 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15279         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15280         and fgetc_unlocked.
15281         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15282         getc_unlocked.
15284         * elf/dl-open.c (add_to_global): Report additions to the global scope
15285         for LD_DEBUG=scopes.
15286         (dl_open_worker): Also print scope of newly loaded dependencies.
15287         (_dl_show_scope): Indicate if there is no scope.
15289         [BZ #13114]
15290         * stdio-common/Makefile (tests): Add bug24.
15291         * stdio-common/bug24.c: New file.
15293 2011-08-19  Andreas Jaeger  <aj@suse.de>
15295         [BZ #13114]
15296         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15297         non-existant file when using close-on-exec mode.
15299 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15301         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15302         the very first instruction.
15304         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15305         the CFI state in the end.
15306         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15307         inclusion of dl-trampoline.h.
15308         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15310 2011-08-19  Andreas Schwab  <schwab@redhat.com>
15312         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15313         expectations for long double.
15315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15316         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15318 2011-08-14  David S. Miller  <davem@davemloft.net>
15320         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15321         artificual limit depends upon the system page size.
15323 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15325         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15326         * resolv/Makefile: Define CFLAGS-libresolv.
15328 2011-08-17  Andreas Schwab  <schwab@redhat.com>
15330         * nss/makedb.c (compute_tables): Make variables used in nested
15331         function static.
15333 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15335         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15336         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15337         if buffer was too small.
15339         * elf/pldd.c (main): Attach to all threads in the process.
15340         Rewrite /proc handling to use *at functions.
15342 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
15344         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15345         specifies first scope to show.
15346         (dl_open_worker): Update callers.  Move printing scope of new
15347         object to before the relocation.
15348         * elf/rtld.c (dl_main): Update _dl_show_scope call.
15349         * sysdeps/generic/ldsodefs.h: Update declaration.
15351         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15352         string for the scope number.
15354 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
15356         * nscd/servicescache.c (cache_addserv): Make sure written is always
15357         initialized.
15359 2011-08-14  Roland McGrath  <roland@hack.frob.com>
15361         * sysdeps/i386/i486/bits/atomic.h
15362         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15363         statement expression, so as to suppress "set but not used" warning.
15364         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15366         * string/strncat.c (STRNCAT): Use prototype definition.
15368         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15369         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15370         -Iprograms here.
15371         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15372         (localedef-modules): Add localedef.
15373         (locale-modules): Add locale.
15375         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15376         * elf/rtld.c (dl_main): Invert order of assignment in last change,
15377         to avoid a warning.
15379 2011-08-14  David S. Miller  <davem@davemloft.net>
15381         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15382         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15384 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
15386         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15387         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15388         * elf/rtld.c (dl_main): Set l_name of vDSO.
15389         Call _dl_show_scope when DL_DEBUG_SCOPES.
15390         (process_dl_debug): Recognize scopes flag and also set it for all.
15391         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15392         Declare _dl_show_scope.
15394         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15395         (do_dlopen): Pass caller_dlopen to dl_open.
15396         (__libc_dlopen_mode): Initialize caller_dlopen.
15398         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15399         of libc.  Make tolower call locale-independent.  Optimize a bit by
15400         using isdigit instead of isalnum.
15401         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15403 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
15405         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15406         was a dependency or dynamically loaded.
15408 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
15410         * intl/l10nflist.c: Allow architecture-specific pop function.
15411         * sysdeps/x86_64/l10nflist.c: New file.
15413         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15414         classification.
15416 2011-08-10  Andreas Schwab  <schwab@redhat.com>
15418         * include/dirent.h: Add libc_hidden_proto for scandirat and
15419         scandirat64.  Don't declare __scandirat64.
15420         * dirent/scandirat.c: Add libc_hidden_def.
15421         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15422         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15424 2011-08-10  David S. Miller  <davem@davemloft.net>
15426         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15427         enum.
15428         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15429         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15430         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15432 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
15434         * Versions.def [libc]: Add GLIBC_2.15.
15435         * dirent/Makefile (routines): Add scandirat and scandirat64.
15436         * dirent/Versions [libc]: Export scandirat and scandirat64 for
15437         GLIBC_2.15.
15438         * dirent/dirent.h: Declare scandirat and scandirat64.
15439         * dirent/scandirat.c: New file.
15440         * dirent/scandirat64.c: New file.
15441         * sysdeps/wordsize-64/scandirat.c: New file.
15442         * sysdeps/wordsize-64/scandirat64.c: New file.
15443         * dirent/opendir.c: Define opendirat.
15444         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
15445         using scandirat.
15446         * dirent/scandir64.c: Adjust for scandir.c change.
15447         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
15448         __scandirat64, and __scandir_cancel_handler.
15449         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
15450         additional parameter and use openat instead of open (outside of ld.so).
15451         Add new __opendir as wrapper around __opendirat.
15452         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15453         here without requiring old scandirat implementation.
15455 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
15457         * dirent/scandir.c (cancel_handler): Renamed to
15458         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
15459         defined.  Adjust users.
15460         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15461         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15463 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
15465         * string/test-string.h (IMPL): Use __STRING to expand name and then
15466         stringify it.
15468         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
15469         of cleanups.
15471 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15473         * string/Makefile: Update.
15474         (strop-tests): Append strncat.
15475         * string/test-wcscmp.c: New file.
15476         New comprehensive test for wcscmp.
15477         * string/test-strcmp.c: Update.
15478         (WIDE): New define.
15480 2011-07-22  Andreas Schwab  <schwab@redhat.com>
15482         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15483         line.
15485 2011-07-26  Andreas Schwab  <schwab@redhat.com>
15487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15488         encoding to ACE if AI_IDN.
15490 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
15492         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15493         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15495 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15497         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15498         Fix overflow bug in strncat.
15499         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15501         * string/test-strncat.c: Update.
15502         Add new tests for checking overflow bugs.
15504 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15506         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15507         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15508         * sysdeps/i386/i686/multiarch/strcat.S: New file.
15509         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15510         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15511         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15512         * sysdeps/i386/i686/multiarch/strncat.S: New file.
15513         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15514         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15516         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15517         (USE_AS_STRCAT): Define.
15518         Add strcat and strncat support.
15519         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15521 2011-07-25  Andreas Schwab  <schwab@redhat.com>
15523         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15524         __n bigger than INT_MAX+1.
15525         (__strncmp_g): Likewise.
15527 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
15529         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15530         * libio/stido.h: Likewise.
15532         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15533         (AF_NFC): Define.
15534         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15535         (AF_NFC): Define.
15537         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15538         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15539         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15540         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15541         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15543         [BZ #13021]
15544         * scripts/test-installation.pl: Don't expect libnss_test1 to be
15545         installed.
15547         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15548         typo.
15549         (_dl_x86_64_save_sse): Likewise.
15551 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
15553         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15554         OSXSAVE.
15555         (_dl_x86_64_save_sse): Likewise.
15557         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15559         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15561 2011-07-21  Andreas Schwab  <schwab@redhat.com>
15563         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15564         change.
15565         (_dl_x86_64_save_sse): Use correct AVX check.
15567 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15569         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15570         bug in strncpy/strncat.
15571         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15573 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
15575         * string/tester.c (test_strcat): Add tests for different alignments
15576         of source and destination.
15577         (test_strncat): Likewise.
15579 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
15581         [BZ #12852]
15582         * posix/glob.c (glob): Check passed in values before using them in
15583         expressions to avoid some overflows.
15584         (glob_in_dir): Likewise.
15586         [BZ #13007]
15587         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15588         check for AVX enablement so that we don't crash with old kernels and
15589         new hardware.
15590         * elf/tst-audit4.c: Add same checks here.
15591         * elf/tst-audit6.c: Likewise.
15593         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15595 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
15597         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15599 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
15601         * po/cs.po: Update from translation team.
15602         * po/bg.po: Likewise.
15604 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
15606         * misc/sys/cdefs.h: Add support for const attribute.
15607         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15608         to gnu_dev_{major,minor,makedev} functions.
15610 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
15612         * intl/dcigettext.c (get_output_charset): Add missing bracket.
15614 2011-07-20  Andreas Schwab  <schwab@redhat.com>
15616         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15617         strlen results.
15619 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15621         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15622         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15623         register in order to avoid conflicts with the soft frame pointer
15624         being held in r11 when necessary.
15625         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15626         (INTERNAL_VSYSCALL_NCS): Likewise.
15628 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
15630         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15631         * elf/dl-fini.c (_dl_fini): Adjust caller.
15632         * elf/dl-close.c (_dl_close_worker): Likewise.
15633         * sysdeps/generic/ldsodefs.h: Adjust declaration.
15635 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
15637         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15638         "aux_cache->nlibs < 0".
15640         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15641         in the reload-count case.
15643 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15645         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15646         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15647         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15648         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15649         * sysdeps/x86_64/multiarch/strcat.S: New file.
15650         * sysdeps/x86_64/multiarch/strncat.S: New file.
15651         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15652         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15653         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15654         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15655         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15656         (USE_AS_STRCAT): Define.
15657         Add strcat and strncat support.
15658         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15659         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15660         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15661         * string/strncat.c: Update.
15662         (USE_AS_STRNCAT): Define.
15663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15664         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15665         and i7.
15666         * sysdeps/x86_64/multiarch/init-arch.h
15667         (bit_Prefer_PMINUB_for_stringop): New.
15668         (index_Prefer_PMINUB_for_stringop): Likewise.
15669         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15670         bit_Prefer_PMINUB_for_stringop.
15672 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
15674         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15675         buffer64.
15676         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15677         of casting of buffer.
15678         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15679         buffer32 and buffer64.
15680         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15681         writes instead of casting of buffer.
15682         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15683         buffer32.
15684         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15685         casting of buffer.
15687 2011-07-19  Andreas Schwab  <schwab@redhat.com>
15689         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15691 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
15693         * nscd/nscd.c (termination_handler): Don't do anything for a database
15694         if it has not yet been initialized.
15696 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
15698         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15700 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
15702         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15704 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
15706         * po/nl.po: Update from translation team.
15707         * po/sv.po: Likewise.
15709 2011-07-16  Roland McGrath  <roland@hack.frob.com>
15711         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15712         now disallowed by GCC.
15714         * configure.in (use-default-link): Default to yes if a test -shared
15715         link meets our qualifications.
15716         * configure: Regenerated.
15718         * config.make.in (output-format): New variable.
15719         * configure.in: Check for ld --print-output-format support.
15720         * configure: Regenerated.
15721         * Makerules ($(common-objpfx)format.lds)
15722         [$(output-format) != unknown]: Just use $(output-format),
15723         instead of the linker-script munging.
15725 2011-07-14  Roland McGrath  <roland@hack.frob.com>
15727         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15728         of $(common-objpfx)shlib.lds.
15729         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15731         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15732         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15734         * configure.in (-z relro check): Adjust test code to add a large
15735         writable data section after it.
15736         * configure: Regenerated.
15738 2011-07-11  Roland McGrath  <roland@hack.frob.com>
15740         * configure.in (-z relro check): Fix test code to make the variable
15741         truly const.
15742         * configure: Regenerated.
15744 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
15746         * nscd/nscd.h (struct traced_file): Define.
15747         (struct database_dyn): Remove inotify_descr, reset_res, and filename
15748         elements.  Add traced_files.
15749         (inotify_fd): Declare.
15750         (register_traced_file): Declare.
15751         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15752         (inotify_fd): Export.
15753         (resolv_conf_descr): Remove.
15754         (nscd_init): Move inotify descriptor creation to main.
15755         Don't register files for notification here.
15756         (register_traced_file): New function.
15757         (invalidate_cache): Don't use reset_res to determine whether to call
15758         res_init, go through the list of registered files.
15759         (main_loop_poll): The inotify descriptors are now stored in the
15760         structures for the traced files.
15761         (main_loop_epoll): Likewise
15762         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
15763         to __nss_disable_nscd.
15764         * nscd/cache.c (prune_cache): There is no single inotify descriptor
15765         for a database anymore.  Check the records for all the registered
15766         files instead.
15767         * nss/Makefile (libnss_files-routines): Add files-init.
15768         (libnss_db-routines): Add db-init.
15769         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15770         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15771         * nss/nss_db/db-init.c: New file.
15772         * nss/nss_files/files-init.c: New file.
15773         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
15774         __nss_lookup_function.
15775         (__nss_lookup_function): Call nss_load_library.
15776         (nss_load_all_libraries): New function.
15777         (__nss_disable_nscd): Take parameter with callback function for files
15778         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
15779         used for the cached services.
15780         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15781         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15782         options for features to all the files in nscd.
15784         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15786 2011-07-10  Roland McGrath  <roland@hack.frob.com>
15788         * csu/elf-init.c (__libc_csu_init): Comment typo.
15790 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
15792         * po/pl.po: Update from translation team.
15793         * po/ja.po: Likewise.
15794         * po/ru.po: Likewise.
15795         * po/ko.po: Likewise.
15796         * po/fr.po: Likewise.
15798 2011-07-09  Roland McGrath  <roland@hack.frob.com>
15800         * configure.in (.ctors/.dtors header and trailer check):
15801         Use an empirical test on a built program.
15802         * configure: Regenerated.
15804         * configure.in (-z relro check): Use an empirical test on a built DSO.
15805         Detect, but do not require, on ia64.
15806         * configure: Regenerated.
15808         * configure.in (READELF): Find it with AC_CHECK_TOOL.
15809         Update tests that use readelf to use $READELF instead.
15810         * configure: Regenerated.
15812 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
15814         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15815         if the result is not used.
15817 2011-07-05  Andreas Jaeger  <aj@suse.de>
15819         [BZ#9696]
15820         * stdlib/tst-strtod.c: Add testcase.
15822 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
15824         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15825         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15826         The latter has a higher limit.  Take additional parameter to pass to
15827         the new function.
15828         (__pathconf): Pass file to __statfs_link_max.
15829         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15830         __statfs_link_max.
15831         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15832         __statfs_link_max.
15834         [BZ #12868]
15835         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15836         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15837         Handle Lustre.
15838         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15839         (__statfs_filesize_max): Likewise.
15840         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15842 2011-07-05  Andreas Jaeger  <aj@suse.de>
15844         * resolv/res_comp.c (dn_skipname): Remove unused variable.
15846 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
15848         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15849         `status' variable.
15850         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15851         Likewise.
15853 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
15855         * Makefile (strop-tests): Add strncat.
15856         * string/test-strncat.c: New file.
15858 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
15860         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15862 2011-06-21  Andreas Jaeger  <aj@suse.de>
15864         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15865         Copy rule from iconvdata/Makefile.
15867 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
15869         [BZ #12922]
15870         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15871         but no long options are defined, just return 'W'.
15873 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
15875         [BZ #9696]
15876         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15878 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
15880         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15881         netgroups to read.
15882         (innetgr): Likewise.
15884 2011-07-05  Roland McGrath  <roland@hack.frob.com>
15886         * config.make.in (install_root): Default to $(DESTDIR).
15888 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
15890         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15892 2011-07-02  Roland McGrath  <roland@hack.frob.com>
15894         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15896         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15897         containing directory rather than embedding absolute directory names.
15899         * scripts/check-local-headers.sh: Rewritten using awk.
15900         Match by word, not by line.  Print error messages for matches.
15901         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15903         * Makerules [shlib-lds-flags empty]:
15904         ($(common-objpfx)libc_pic.opts): New target.
15905         ($(common-objpfx)libc_pic.os.clean): New target.
15906         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15908         * config.make.in (OBJCOPY): New variable.
15909         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15910         * configure: Regenerated.
15912         * config.make.in (use-default-link): New variable.
15913         * configure.in (use_default_link): Grok --with-default-link to set it.
15914         * configure: Regenerated.
15915         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15916         (shlib-lds, shlib-lds-flags): Define to empty.
15918         * Makerules (shlib-lds): New variable.
15919         (shlib-lds-flags): New variable.
15920         (build-shlib, build-moduile, build-module-asneeded): Use it.
15921         ($(common-objpfx)libc.so): Use $(shlib-lds).
15922         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15923         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15925         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15926         DT_FLAGS/DT_FLAGS_1 with zero flags.
15928         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15929         linker script munging.
15931 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
15933         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15934         as 128-bit value.
15935         * crypt/sha512.c (sha512_process_block): Perform total addition using
15936         128-bit if possible.
15937         (__sha512_finish_ctx): Likewise.
15938         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15939         as 64-bit value.
15940         * crypt/sha256.c (SWAP64): Define.
15941         (sha256_process_block): Perform total addition using 64-bit if
15942         possible.
15943         (__sha256_finish_ctx): Likewise.
15945 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
15947         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
15948         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15949         * nscd/hstcache.c (cache_addhst): Likewise.
15950         * nscd/grpcache.c (cache_addgr): Likewise.
15951         * nscd/aicache.c (addhstaiX): Likewise
15952         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15954 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
15956         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15957         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15958         * nscd/hstcache.c (cache_addhst): Likewise.
15959         * nscd/grpcache.c (cache_addgr): Likewise.
15960         * nscd/aicache.c (addhstaiX): Likewise
15962 2011-07-01  Andreas Schwab  <schwab@redhat.com>
15964         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15965         domain only when needed.
15967 2011-06-30  Andreas Schwab  <schwab@redhat.com>
15969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15970         is always restored.
15972 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
15974         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15975         are re-adding the entry.
15976         * nscd/servicescache.c (cache_addserv): Likewise.
15978 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15980         * sysdeps/generic/dl-irel.h: fix protection against multiple
15981         inclusions.
15982         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15984 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
15986         [BZ #12935]
15987         * malloc/memusage.sh: Fix quoting in message.
15988         * debug/xtrace.sh: Likewise.
15990         * configure.in: Remove support for --experimental-malloc option, make
15991         it the default.
15992         * config.make.in: Likewise.
15993         * malloc/Makefile: Likewise.
15995 2011-06-27  Andreas Schwab  <schwab@redhat.com>
15997         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15998         two-byte characters.
16000 2011-06-27  Roland McGrath  <roland@hack.frob.com>
16002         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16003         AC_CACHE_CHECK invocation.
16004         * configure: Regenerated.
16006         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16008 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
16010         [BZ #12350]
16011         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
16012         bit from old_res_options.
16014         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16016         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16017         value type for setfct.
16019 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
16021         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16022         __gettimeofday instead of gettimeofday.
16024 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
16026         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16028 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16030         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16032         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16033         info.
16035 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
16037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16038         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16039         strcpy-sse2-unaligned strncpy-sse2-unaligned
16040         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16041         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16042         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16043         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16044         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16045         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16046         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16047         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16048         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16049         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16050         (STRCPY): Support SSE2 and SSSE3 versions.
16052 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
16054         [BZ #12874]
16055         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16056         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16057         kernels which artificially limit size of requests.
16059 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
16061         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16062         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16063         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16064         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16065         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16066         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16067         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16068         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16069         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16070         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16071         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16072         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16073         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16074         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16075         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16076         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16077         Enable unaligned load optimization for Intel Core i3, i5 and i7
16078         processors.
16079         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16080         Define.
16081         (index_Fast_Unaligned_Load): Define.
16082         (HAS_FAST_UNALIGNED_LOAD): Define.
16084 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
16086         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16088 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
16090         [BZ #12907]
16091         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16092         until it is clear that the information is realy needed.
16093         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16095 2011-06-22  Andreas Schwab  <schwab@redhat.com>
16097         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16099 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
16101         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16102         /sys/devices/system/cpu/online if it is usable.
16104         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16105         reading the information from the /proc filesystem to once a second.
16107 2011-06-21  Andreas Jaeger  <aj@suse.de>
16109         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16110         NULL after inclusion of kernel headers.
16112 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
16114         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16115         calls to internal_setent.
16117         [BZ #12885]
16118         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16119         addresses using gethostbyname4_r ignore IPv4 addresses.
16121         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16122         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
16124         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16126 2011-06-20  David S. Miller  <davem@davemloft.net>
16128         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16129         inclusions.
16130         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16132         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16133         (elf_irel): Use it.
16134         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16135         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16136         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16137         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16138         * sysdeps/x86_64/dl-irel.h: Likewise.
16140         * elf/dl-runtime.c: Use elf_ifunc_invoke.
16141         * elf/dl-sym.c: Likewise.
16143 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16145         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
16146         need to dereference resplen2.
16148 2011-06-14  Andreas Schwab  <schwab@redhat.com>
16150         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16152 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16154         * Makeconfig: Define vardbdir and inst_vardbdir.
16155         * nss/Makefile: Add rules to install db-Makefile.
16157         * nss/nss_db/db-XXX.c: Cleanup.
16159         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16160         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16161         GLIBC_PRIVATE.
16162         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16163         * nss/makedb.c: Implement -g option to specify that value strings
16164         are generated and should not be added to table iterated over for
16165         get*ent calls.
16166         * nss/nss_db/db-initgroups.c: New file.
16168         * nss/getent.c: Add support for initgroups lookups through getgrouplist
16169         interface.
16171         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16172         (internal_getgrouplist): Adjust to name change.
16173         Update use_initgroups_entry if this is not the first call.
16174         * nss/databases.def: Add initgroups entry.
16176         * nss/makedb.c (compute_tables): Check result of multiple hash table
16177         sizes to minimize maximum chain length.
16179 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
16181         * Versions.def: Add entry for libnss_db.
16182         * shlib-versions: Likewise.
16183         * nss/Makefile: Add rules to build libnss_db.
16184         * nss/Versions: Add libnss_db information.  Organize libnss_files
16185         entries better.
16186         * nss/db-Makefile: Add gshadow support.  Change rules for the new
16187         makedb progra.  Some minor improvements to generate smaller files.
16188         * nss/nss_db/nss_db.h: Move NSS database header data structures to
16189         here from...
16190         * nss/makedb.c: ...here.
16191         Improve database format to be smaller and require less memory at
16192         runtime.
16193         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
16194         db anymore.
16195         * nss/nss_db/db-netgrp.c: Likewise.
16196         * nss/nss_db/db-open.c: Likewise.
16197         * nss/nss_files/flies-XXX.x: Adjust comments.
16198         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16199         * nss/nss_files/files-grp.c: Likewise.
16200         * nss/nss_files/files-hosts.c: Likewise.
16201         * nss/nss_files/files-network.c: Likewise.
16202         * nss/nss_files/files-proto.c: Likewise.
16203         * nss/nss_files/files-pwd.c: Likewise.
16204         * nss/nss_files/files-rpc.c: Likewise.
16205         * nss/nss_files/files-service.c: Likewise.
16206         * nss/nss_files/files-sgrp.c: Likewise.
16207         * nss/nss_files/files-spwd.c: Likewise.
16208         * nss/nss_db/db-alias.c: Removed.
16209         * nss/nss_db/dummy-db.h: Removed.
16211 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
16213         * nss/makedb.c: Rewritten to not use database library.
16214         * nss/Makefile: Update to build new makedb program.
16216 2011-06-14  Andreas Jaeger  <aj@suse.de>
16218         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16219         memset declaration.
16221 2011-06-10  Andreas Schwab  <schwab@redhat.com>
16223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16224         tmpbuf.
16226 2011-06-10  Roland McGrath  <roland@hack.frob.com>
16228         * Makerules (shlib.lds): Fail if the linker script comes out empty.
16229         * elf/Makefile ($(objpfx)ld.so): Likewise.
16231         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16232         Don't list ld.so twice in dependencies.
16234         * posix/bug-regex31.c: Include <stdlib.h>.
16236         * nscd/hstcache.c (cache_addhst): Remove unused variable.
16238         * nis/nss_compat/compat-spwd.c
16239         (getspent_next_nss_netgr): Remove unused variable.
16240         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16242         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16243         nonmembers" output to use the right array.
16245         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16247         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16249         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16250         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16251         * catgets/gencat.c (read_input_file): Likewise.
16252         * locale/programs/locarchive.c (enlarge_archive): Likewise.
16254         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16255         variable definition inside #if's controlling its use.
16257         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16259         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16261         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16263         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16264         unreachable code.
16266         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16268         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16269         * configure: Regenerated.
16271         * Makerules: Revert last change.
16272         * elf/Makefile: Likewise.
16274 2011-06-09  Roland McGrath  <roland@hack.frob.com>
16276         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16277         * elf/Makefile ($(objpfx)librtld.os): Likewise.
16278         (reloc-link): Likewise.
16280 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
16282         * elf/Makefile: Add rules to build pldd.
16283         * elf/pldd.c: New file.
16284         * elf/pldd-xx.c: New file.
16286 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
16288         * version.h: Update for 2.15 development version.
16290 2011-06-07  David S. Miller  <davem@davemloft.net>
16292         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16293         ifuncs.
16294         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16295         elf_machine_lazy_rel): Likewise.
16296         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16297         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16298         elf_machine_lazy_rel): Likewise.
16299         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16300         dl_hwcap via passed in argument.
16301         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16302         Likewise.
16304 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16306         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
16308 2011-06-06  Roland McGrath  <roland@hack.frob.com>
16310         [BZ #12849]
16311         * manual/fdl-1.1.texi: New file, verbatim from:
16312         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16313         * manual/lgpl-2.1.texi: New file, verbatim from:
16314         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16315         * manual/Makefile (licenses): New variable, list those new file names.
16316         (texis): Use it.
16317         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16319         * manual/fdl.texi: File removed.
16320         * manual/lesser.texi: File removed.
16321         * manual/libc.texinfo (Copying, Documentation License):
16322         Use new @include file names, put @appendix directive before @include.
16324 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
16326         [BZ #12841]
16327         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16328         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16329         (mq_open): Add __NTH.
16331 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
16333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16334         Assume Intel Core i3/i5/i7 processor if AVX is available.
16336 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16338         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16339         typo.
16341 2011-05-31  Andreas Schwab  <schwab@redhat.com>
16343         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16344         memory.  Use alloca_account.  Fix memory leak when retrying.
16346 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16348         * version.h (RELEASE): Bump for 2.14 release.
16349         * include/features.h (__GLIBC_MINOR__): Bump to 14.
16351         * config.make.in (RANLIB): Remove entry.
16353 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
16355         * po/Makefile (po-sed-cmd): Add ksh to extensions.
16356         (libc.pot): Work around missing support for .ksh extension in xgettext.
16358         [BZ #12684]
16359         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16360         if both request failed.
16361         (send_dg): In case of server errors clear resplen or *resplen2.
16363         [BZ #12454]
16364         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16365         when there are multiple maps.
16366         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16367         (_dl_fini): Remove test here.
16369         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16371 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
16373         [BZ #12350]
16374         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16375         bit from old_res_options.
16376         (gaih_inet): Likewise.
16378         [BZ #11099]
16379         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16380         as signed.
16382         * resolv/res_init.c (res_setoptions): Make the code more compact.
16384         [BZ #11558]
16385         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16386         set RES_USEVC.
16388         [BZ #11634]
16389         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16391         * malloc/malloc.h: Mark malloc hook variables as deprecated.
16393         [BZ #11781]
16394         * malloc/malloc.h: Declare malloc hook variables as volatile.
16396         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16397         in last patch.
16399         [BZ #11799]
16400         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16401         raise in the comment.
16402         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16403         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16404         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16406 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
16408         [BZ #12811]
16409         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16410         grow the buffers more if it already has to be sufficient.
16411         (build_wcs_upper_buffer): Likewise.
16412         * posix/regexec.c (check_matching): Likewise.
16413         (clean_state_log_if_needed): Likewise.
16414         (extend_buffers): Don't enlarge buffers beyond size of the input
16415         buffer.
16416         Patches mostly by Emil Wojak <emil@wojak.eu>.
16417         * posix/bug-regex32.c: New file.
16418         * posix/Makefile (tests): Add bug-regex32.
16420         * locale/findlocale.c (_nl_find_locale): Return right away if
16421         _nl_explode_name failed.
16422         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16424         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16426         * debug/xtrace.sh: Unify messages.
16427         * malloc/memusage.sh: Likewise.
16429         [BZ #12813]
16430         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16431         time symbol from vDSO.  Substitute with vsyscall if not available.
16432         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16433         __vdso_time.
16435         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16436         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16437         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16438         Add sendmmsg and internal_sendmmsg.
16439         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16440         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16441         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16443         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16444         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16445         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16447 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
16449         [BZ #12813]
16450         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16451         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
16452         available.
16453         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16454         __vdso_getcpu.
16456         [BZ #12814]
16457         * iconvdata/Makefile (tests): Add bug-iconv9.
16458         * iconvdata/bug-iconv9.c: New file.
16460 2011-05-27  Andreas Schwab  <schwab@redhat.com>
16462         [BZ #12814]
16463         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16465 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
16467         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16468         (struct user_regs_struct): Change intcs field back to cs.
16470 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
16472         * po/ja.po: Update from translation team.
16474 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
16476         [BZ #12795]
16477         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16478         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16480 2011-05-20  Andreas Schwab  <schwab@redhat.com>
16482         * stdlib/longlong.h: Update from GCC.
16484 2011-05-23  Andreas Schwab  <schwab@redhat.com>
16486         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16487         parameter name.
16488         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16489         Add parameter name.
16490         (__sysconf): Pass it down.
16492 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
16494         [BZ #12671]
16495         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16496         some situations.
16497         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16498         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16499         add in in __libc_use_alloca calls.  Adjust callers.
16500         (glob): Use malloc in some situations.
16502         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16503         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16504         pltexit.
16506 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
16508         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16509         and CLOCK_BOOTTIME_ALARM.
16511         [BZ #12782]
16512         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16513         is returned.
16515         * string/_strerror.c (__strerror_r): Print negative errors as signed
16516         numbers.
16518         [BZ #12777]
16519         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16520         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16521         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16523         * configure.in: Fix typo in redirection and correct removal of test
16524         files in two cases.
16526         [BZ #12788]
16527         * locale/setlocale.c (new_composite_name): Fix test to check for
16528         identical name of all categories.
16530         [BZ #12792]
16531         * libio/filedoalloc.c (local_isatty): New function.
16532         (_IO_file_doallocate): Use local_isatty.
16533         * stdio-common/perror.c (perror): In case a new stream is used
16534         forward the stream error.
16535         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16536         error flag.
16538 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
16540         [BZ #11869]
16541         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16542         alloca.
16543         * include/alloca.h (extend_alloca_account): Define.
16545         [BZ #11857]
16546         * posix/regex.h: Fix comments with documentation of user-accessible
16547         fields after compilation and describe correct free'ing of pattern
16548         after re_compile_pattern.
16549         Patch by Reuben Thomas <rrt@sc3d.org>.
16551 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
16553         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16554         and -mno-altivec to prevent the compiler from using Altivec and/or
16555         VSX instructions when the corresponding registers are not available.
16557 2011-05-19  Andreas Schwab  <schwab@redhat.com>
16559         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16561 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
16563         * libio/freopen.c (freopen): Use __dup2, not dup2.
16564         * libio/freopen64.c (freopen64): Likewise.
16566 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16568         [BZ #12775]
16569         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16570         * math/Makefile (tests): Add test-powl.
16571         (CFLAGS-test-powl.c): Define.
16572         * math/test-powl.c: New file.
16574 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16576         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16578 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
16580         [BZ #11837]
16581         * iconvdata/gb18030.c: Update to GB18020-2005.
16583 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
16585         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16586         RE_SYNTAX_POSIX_AWK): Update to match recent development.
16587         Patch by Aharon Robbins <arnold@skeeve.com>.
16589         [BZ #11892]
16590         * stdlib/putenv.c (putenv): Don't always create copy of the variable
16591         on the stack.
16593         [BZ #11895]
16594         * misc/pselect.c (__pselect): Handle timeout value errors hidden
16595         through underflows.
16597         [BZ #12766]
16598         * misc/error.c (error_at_line): Ensure file_name and old_file_name
16599         point to strings before performing equality test for error_one_per_line
16600         mode.
16602         [BZ #11697]
16603         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16605         [BZ #11820]
16606         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16607         (struct user_fpregs_struct): Avoid __uint*_t types.
16609         [BZ #6420]
16610         * malloc/mtrace.c (tr_where): Add additional parameter to point to
16611         symbol info.  Use it instead of calling _dl_addr locally.
16612         (lock_and_info): New function.
16613         (tr_freehook): Call lock_and_info and pass symbol info as additional
16614         parameter to tr_where.
16615         (tr_mallochook): Likewise.
16616         (tr_reallochook): Likewise.
16617         (tr_memalignhook): Likewise.
16619         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
16620         used and couldn't be at all thread-safe.
16622 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
16624         * libio/freopen.c (freopen): Don't close old file descriptor
16625         before the new one is opened.  Instead dup the new file descriptor
16626         to the old one after the new stream is created.
16627         * libio/freopen64.c (freopen64): Likewise.
16628         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16629         * libio/fileops.c (_IO_new_file_close_it): Handle new
16630         _IO_FLAGS2_NOCLOSE flag.
16631         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16632         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16633         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16634         _IO_FLAGS2_NOCLOSE flag.
16635         * include/unistd.h: Add hidden_proto for dup3.
16636         Define __have_dup3.
16637         * io/dup3.c: Define hidden symbol.
16638         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16640         [BZ #7101]
16641         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16642         when an incomplete long option is used.
16643         * posix/tst-getopt_long1.c: New file.
16644         * posix/Makefile (tests): Add tst-getopt_long1.
16646         [BZ #10138]
16647         * scripts/config.guess: Update from autoconf-2.68.
16648         * scripts/config.sub: Likewise.
16650         [BZ #10157]
16651         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16652         tests into ...
16653         (has_cpuclock): ...this.  New function.
16654         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16655         macro here based on has_cpuclock code.
16657         [BZ #10149]
16658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16659         First byte (not low byte) is now always NUL.
16660         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16662         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16663         Use non-cancelable interfaces.
16665         [BZ #9809]
16666         * locale/iso-639.def: Add entry for Sorani.
16668         [BZ #11901]
16669         * include/stdlib.h: Move include protection to the right place.
16670         Define abort_msg_s.  Declare __abort_msg with it.
16671         * stdlib/abort.c (__abort_msg): Adjust type.
16672         * assert/assert.c (__assert_fail_base): New function.  Majority
16673         of code from __assert_fail.  Allocate memory for __abort_msg with
16674         mmap.
16675         (__assert_fail): Now call __assert_fail_base.
16676         * assert/assert-perr.c: Remove bulk of implementation.  Use
16677         __assert_fail_base.
16678         * include/assert.hL Declare __assert_fail_base.
16679         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16680         mmap.
16681         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16683 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
16685         [BZ #11952]
16686         [BZ #12453]
16687         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16688         until all modules are registered in the DTV.
16689         * elf/Makefile: Add rules to build and run tst-tls19.
16690         * elf/tst-tls19.c: New file.
16691         * elf/tst-tls19mod1.c: New file.
16692         * elf/tst-tls19mod2.c: New file.
16693         * elf/tst-tls19mod3.c: New file.
16694         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16696         [BZ #12083]
16697         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16698         correctly.
16700         [BZ #12601]
16701         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16702         two-byte sequence errors.
16703         * iconvdata/Makefile (tests): Add bug-iconv8.
16704         * iconvdata/bug-iconv8.c: New file.
16706         [BZ #12626]
16707         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16708         buf2 definition.
16710         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16712         [BZ #12432]
16713         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16714         (dummy_getcfa): New function.
16715         (init): Get _Unwind_GetCFA address, use dummy if not found.
16716         (backtrace_helper): In recursion check, also check whether CFA changes.
16717         (__backtrace): Completely initialize arg.
16719         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16720         storing incomplete byte sequence in state object.  Avoid testing for
16721         guaranteed too small input if we know there is enough data available.
16723 2011-05-11  Andreas Schwab  <schwab@redhat.com>
16725         * Makeconfig (+link-pie): Indent.
16726         * Rules (binaries-pie): Define if $(have-fpie) and
16727         $(build-shared).
16728         (binaries-shared): Also filter out $(binaries-pie).
16729         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16730         * nscd/Makefile (others-pie): Add nscd.
16731         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16732         ($(objpfx)nscd): Remove command override.
16733         * login/Makefile (others-pie): Add pt_chown.
16734         ($(objpfx)pt_chown): Remove command override.
16735         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16736         remove command overrides.
16738 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
16740         * libio/tst_putwc.c: Fix error messages.
16742         [BZ #12724]
16743         * libio/fileops.c (_IO_new_file_close_it): Always flush when
16744         currently writing and seek to current position when not.
16745         * libio/Makefile (tests): Add bug-fclose1.
16746         * libio/bug-fclose1.c: New file.
16748 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
16750         [BZ #12511]
16751         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16752         don't set DF_1_NODELETE here.
16753         (do_lookup_x): When entering new entry test for copy relocation
16754         and if necessary set DF_1_NODELETE flag.
16755         * elf/tst-unique4.cc: New file.
16756         * elf/tst-unique4.h: New file.
16757         * elf/tst-unique4lib.cc: New file.
16758         * elf/Makefile: Add rules to build and run tst-unique4.
16759         Patch by Piotr Bury <pbury@goahead.com>.
16761 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
16763         [BZ #12052]
16764         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16766         [BZ #12625]
16767         * misc/mntent_r.c (addmntent): Flush the stream after the output
16769         [BZ #12393]
16770         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16771         (is_trusted_path_normalize): Skip initial colon.  Append slash
16772         to empty buffer.  Duplicate is_trusted_path code but allow
16773         constructed patch to be prefix.
16774         (is_dst): Allow $ORIGIN followed by /.
16775         (_dl_dst_substitute): Correct clearing of check_for_trusted.
16776         Correct testing of result of is_trusted_path_normalize
16777         (decompose_rpath): Fix warning.
16779 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
16781         [BZ #11257]
16782         * grp/initgroups.c (internal_getgrouplist): When we found the service
16783         list through the initgroups entry in nsswitch.conf do not always
16784         continue on a successful lookup.  Don't always use the
16785         __nss_group_database value if it is set.
16786         * nss/nsswitch.conf (initgroups): Change action for successful db
16787         lookup to continue for compatibility.
16789 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
16791         [BZ #11532]
16792         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16793         and CP774 modules.
16794         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16795         and CP774 modules.
16796         * iconvdata/tst-tables.sh: Likewise.
16797         * iconvdata/cp770.c: New file.
16798         * iconvdata/cp771.c: New file.
16799         * iconvdata/cp772.c: New file.
16800         * iconvdata/cp773.c: New file.
16801         * iconvdata/cp774.c: New file.
16802         * iconvdata/testdata/CP770: New file.
16803         * iconvdata/testdata/CP770..UTF8: New file.
16804         * iconvdata/testdata/CP771: New file.
16805         * iconvdata/testdata/CP771..UTF8: New file.
16806         * iconvdata/testdata/CP772: New file.
16807         * iconvdata/testdata/CP772..UTF8: New file.
16808         * iconvdata/testdata/CP773: New file.
16809         * iconvdata/testdata/CP773..UTF8: New file.
16810         * iconvdata/testdata/CP774: New file.
16811         * iconvdata/testdata/CP774..UTF8: New file.
16813         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16814         END CHARMAP line.
16815         * iconvdata/gen-8bit-gap.sh: Likewise.
16816         * iconvdata/gen-8bit.sh: Likewise.
16818         * locale/iso-639.def: Add ary entry.
16820         [BZ #11258]
16821         * locale/C-translit.h.in: Add U20A1 transliteration.
16823         [BZ #12178]
16824         * locale/iso-639.def: Add wae entry.
16825         Patch by Kevin Bortis <bortis@translate-wae.ch>.
16827         [BZ #12545]
16828         * locale/programs/localedef.c (construct_output_path): Use ssize_t
16829         for n.
16831         [BZ #12711]
16832         * locale/C-translit.h.in: Add entry for U20B9.
16833         Patch by pravin.d.s@gmail.com.
16835 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
16837         [BZ #12713]
16838         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16839         ENAMETOOLONG use generic getcwd.
16840         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
16841         in rtld.  Use *stat64.
16842         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16843         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16844         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16845         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16846         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16847         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16848         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16849         __fstatat64 macros.
16850         * include/dirent.h: Add libc_hidden_proto for rewinddir.
16851         * dirent/rewinddir.c: Add libc_hidden_def.
16852         * sysdeps/mach/hurd/rewinddir.c: Likewise.
16853         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
16855         * include/dirent.h (__alloc_dir): Add flags parameter.
16856         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16857         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16858         __alloc_dir.
16859         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
16860         from fdopendir if O_CLOEXEC is already set.
16862 2011-03-15  Alan Modra  <amodra@gmail.com>
16864         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16865         l_tls_firstbyte_offset non-zero.  Save padding offset in
16866         l_tls_firstbyte_offset for later use.
16867         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16868         freeing static tls block.
16870 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
16872         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16873         where #ifdef was intended.  The intent is to prevent ARG_MAX from
16874         being defined by the kernel headers.
16876 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
16878         [BZ #12734]
16879         * resolv/resolv.h: Define RES_NOTLDQUERY.
16880         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16881         no-tld-query and set RES_NOTLDQUERY.
16882         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16883         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16884         modern BIND to search name as TLD unless forbidden.
16886 2011-05-07  Petr Baudis  <pasky@suse.cz>
16887             Ulrich Drepper  <drepper@gmail.com>
16889         [BZ #12393]
16890         * elf/dl-load.c (fillin_rpath): Move trusted path check...
16891         (is_trusted_path): ...to here.
16892         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16893         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16894         using is_trusted_path_normalize() in setuid scripts.
16896 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16898         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16899         __BEGIN/__END_DECLS.
16901 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
16903         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16904         NSS_STATUS_NOTFOUND if no record was found.
16906 2011-05-05  Andreas Schwab  <schwab@redhat.com>
16908         * sunrpc/Makefile (headers): Add rpc/netdb.h.
16909         (headers-not-in-tirpc): Remove rpc/netdb.h
16910         * resolv/netdb.h: Revert last change.
16912 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16914         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16915         circular dependency between libgcc.a and libc.a.
16917 2011-05-05  Andreas Schwab  <schwab@redhat.com>
16919         * resolv/netdb.h: Don't include <rpc/netdb.h>.
16920         * nis/Makefile: Don't install rpcsvc/*.
16921         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16922         instead of <rpc/types.h>.
16923         (MAXHOSTNAMELEN): Define.
16925 2011-05-03  Andreas Schwab  <schwab@redhat.com>
16927         * elf/ldconfig.c (add_dir): Don't crash on empty path.
16929 2011-04-28  Maciej Babinski  <mbabinski@google.com>
16931         [BZ #12714]
16932         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16933         gethostbyname4_r when IPv6 results are possible.
16935 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
16937         [BZ #12723]
16938         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16939         _PC_PIPE_BUF handling.
16941 2011-04-30  Bruno Haible  <bruno@clisp.org>
16943         [BZ #12717]
16944         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16945         * resolv/netdb.h (getnameinfo): Change type of flags parameter
16946         to 'int'.
16947         * inet/getnameinfo.c (getnameinfo): Likewise.
16949 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
16951         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16952         to groups setting in database lookup.
16953         * nss/nsswitch.conf: Add initgroups entry.
16955 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
16957         [BZ #12685]
16958         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16959         mode string.
16960         Patch by Eric Blake <eblake@redhat.com>.
16962 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
16964         * sunrpc/Makefile (need-export-routines): Add svc_run.
16965         (routines): Remove svc_run.
16966         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16967         * sunrpc/clnt_perr.c (clnt_perrno): Export.
16968         * sunrpc/svc_run.c (svc_run): Likewise.
16969         * sunrpc/svc_udp.c (svcudp_create): Likewise.
16971 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
16973         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16974         problem in reallocation in last patch.
16976 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
16978         * sunrpc/Makefile: Move inclusion of Rules.
16980 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
16982         * nss/nss_files/files-initgroups.c: New file.
16983         * nss/Makefile (libnss_files-routines): Add files-initgroups.
16984         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16985         _nss_files_initgroups_dyn.
16987 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
16989         * elf/elf.h (R_ARM_IRELATIVE): Define.
16991 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
16993         * po/ru.po: Update from translation team.
16995 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
16997         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16998         dependencies.
17000 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
17002         [BZ #12653]
17003         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17004         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17005         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17006         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17007         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17009 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
17011         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17012         differing bytes.
17013         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17014         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17015         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17017 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
17019         [BZ #12420]
17020         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17021         storing it.
17022         * stdlib/bug-getcontext.c: New file.
17023         * stdlib/Makefile: Add rules to build and run bug-getcontext.
17025 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17027         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17028         instructions into .machine "z9-109".
17029         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17030         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17032 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17034         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17035         between environment variables and auxiliary vector.
17037 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
17039         * Makefile: Add rules to build linkobj/libc.so.
17040         * include/libc-symbols.h: Define libc_hidden_nolink.
17041         * include/rpc/auth.h: Mark functions which are to be hidden.
17042         * include/rpc/auth_des.h: Likewise.
17043         * include/rpc/auth_unix.h: Likewise.
17044         * include/rpc/clnt.h: Likewise.
17045         * include/rpc/des_crypt.h: Likewise.
17046         * include/rpc/key_prot.h: Likewise.
17047         * include/rpc/pmap_clnt.h: Likewise.
17048         * include/rpc/pmap_prot.h: Likewise.
17049         * include/rpc/pmap_rmt.h: Likewise.
17050         * include/rpc/rpc_msg.h: Likewise.
17051         * include/rpc/svc.h: Likewise.
17052         * include/rpc/svc_auth.h: Likewise.
17053         * include/rpc/xdr.h: Likewise.
17054         * nis/Makefile: Link all DSOs against linkobj/libc.so.
17055         * nss/Makefile: Likewise.
17056         * sunrpc/Makefile: Don't install headers.  Build library with normal
17057         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
17058         * sunrpc/auth_des.c: Hide exported symbols by default, export some
17059         for the compat linking library.  Remove use of INTDEF/INTUSE.
17060         * sunrpc/auth_none.c: Likewise.
17061         * sunrpc/auth_unix.c: Likewise.
17062         * sunrpc/authdes_prot.c: Likewise.
17063         * sunrpc/authuxprot.c: Likewise.
17064         * sunrpc/clnt_gen.c: Likewise.
17065         * sunrpc/clnt_perr.c: Likewise.
17066         * sunrpc/clnt_raw.c: Likewise.
17067         * sunrpc/clnt_simp.c: Likewise.
17068         * sunrpc/clnt_tcp.c: Likewise.
17069         * sunrpc/clnt_udp.c: Likewise.
17070         * sunrpc/clnt_unix.c: Likewise.
17071         * sunrpc/des_crypt.c: Likewise.
17072         * sunrpc/des_soft.c: Likewise.
17073         * sunrpc/get_myaddr.c: Likewise.
17074         * sunrpc/key_call.c: Likewise.
17075         * sunrpc/key_prot.c: Likewise.
17076         * sunrpc/netname.c: Likewise.
17077         * sunrpc/pm_getmaps.c: Likewise.
17078         * sunrpc/pm_getport.c: Likewise.
17079         * sunrpc/pmap_clnt.c: Likewise.
17080         * sunrpc/pmap_prot.c: Likewise.
17081         * sunrpc/pmap_prot2.c: Likewise.
17082         * sunrpc/pmap_rmt.c: Likewise.
17083         * sunrpc/publickey.c: Likewise.
17084         * sunrpc/rpc_cmsg.c: Likewise.
17085         * sunrpc/rpc_common.c: Likewise.
17086         * sunrpc/rpc_dtable.c: Likewise.
17087         * sunrpc/rpc_prot.c: Likewise.
17088         * sunrpc/rpc_thread.c: Likewise.
17089         * sunrpc/rtime.c: Likewise.
17090         * sunrpc/svc.c: Likewise.
17091         * sunrpc/svc_auth.c: Likewise.
17092         * sunrpc/svc_authux.c: Likewise.
17093         * sunrpc/svc_raw.c: Likewise.
17094         * sunrpc/svc_run.c: Likewise.
17095         * sunrpc/svc_simple.c: Likewise.
17096         * sunrpc/svc_tcp.c: Likewise.
17097         * sunrpc/svc_udp.c: Likewise.
17098         * sunrpc/svc_unix.c: Likewise.
17099         * sunrpc/svcauth_des.c: Likewise.
17100         * sunrpc/xcrypt.c: Likewise.
17101         * sunrpc/xdr.c: Likewise.
17102         * sunrpc/xdr_array.c: Likewise.
17103         * sunrpc/xdr_float.c: Likewise.
17104         * sunrpc/xdr_intXX_t.c: Likewise.
17105         * sunrpc/xdr_mem.c: Likewise.
17106         * sunrpc/xdr_rec.c: Likewise.
17107         * sunrpc/xdr_ref.c: Likewise.
17108         * sunrpc/xdr_sizeof.c: Likewise.
17109         * sunrpc/xdr_stdio.c: Likewise.
17111 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
17113         [BZ #12650]
17114         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17115         * sysdeps/ia64/dl-tls.h: Likewise.
17116         * sysdeps/powerpc/dl-tls.h: Likewise.
17117         * sysdeps/s390/dl-tls.h: Likewise.
17118         * sysdeps/sh/dl-tls.h: Likewise.
17119         * sysdeps/sparc/dl-tls.h: Likewise.
17120         * sysdeps/x86_64/dl-tls.h: Likewise.
17121         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17123 2011-03-14  Andreas Schwab  <schwab@redhat.com>
17125         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17126         rpath element also skip the following colon.
17127         (expand_dynamic_string_token): Add is_path parameter and pass
17128         down to DL_DST_REQUIRED and _dl_dst_substitute.
17129         (decompose_rpath): Call expand_dynamic_string_token with
17130         non-zero is_path.  Ignore empty rpaths.
17131         (_dl_map_object_from_fd): Call expand_dynamic_string_token
17132         with zero is_path.
17134 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
17136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17137         Make cancelable.
17139 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
17141         [BZ #12655]
17142         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17143         Patch by Filipe David Manana <fdmanana@apache.org>.
17145 2011-04-07  Andreas Schwab  <schwab@redhat.com>
17147         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17148         Maintain aligned stack.
17149         (CHECK_RSP): Remove unused macro.
17151 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
17153         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17154         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17156 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
17158         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17160         * include/features.h: Mention __USE_XOPEN2K8 in comment.
17162 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
17164         [BZ #12518]
17165         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17166         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17167         * sysdeps/x86_64/memmove.c: New file.
17168         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17169         (memcpy): Renamed to ...
17170         (__new_memcpy): This.
17171         (memcpy): Provide GLIBC_2_14 memcpy.
17172         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17173         (memcpy): Provide GLIBC_2_2_5 memcpy.
17175 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17177         [BZ #12631]
17178         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17180 2011-03-30  Andreas Schwab  <schwab@redhat.com>
17182         * misc/syncfs.c: New file.
17183         * misc/Makefile (routines): Add syncfs.
17184         * posix/unistd.h: Declare syncfs.
17185         * sysdeps/unix/syscalls.list: Add syncfs.
17187 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17189         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17190         open_by_handle_at.
17191         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17192         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17193         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17194         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17195         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17196         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17197         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17199 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17201         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17202         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17203         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17204         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17205         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17206         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17207         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17209         * io/Makefile: Compile fallocate.c, fallocate64.c, and
17210         sync_file_range.c with -fexceptions.
17211         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17212         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17213         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17214         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17215         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17216         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17217         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17218         sync_file_range as cancellation point
17219         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
17220         now a wrapper around __call_sync_file_range with cancellation handling.
17221         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17222         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
17223         function name to __call_sync_file_range.
17224         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17225         Add call_sync_file_range.
17227 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17229         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17230         bits/timex.h.
17232 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17234         * iconv/iconv.h: Fix typo in comment.
17235         * io/fcntl.h: Likewise.
17236         * libio/stdio.h: Likewise.
17237         * posix/spawn.h: Likewise.
17238         * posix/unistd.h: Likewise.
17239         * stdlib/stdlib.h: Likewise.
17240         * time/time.h: Likewise.
17241         * wcsmbs/wchar.h: Likewise.
17243         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17244         open_by_handle): Add.
17245         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17246         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
17247         Augment a few comments.
17248         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17249         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17250         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17251         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17252         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17253         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17254         open_by_handle.
17256         * io/fcntl.h (AT_EMPTY_PATH): Define.
17258 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
17260         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17261         * sysdeps/unix/sysv/linux/bits/time.h: New file.
17262         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17263         to...
17264         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
17265         * Versions.def: Add GLIBC_2.14.
17266         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17267         Export.
17269 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
17271         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17272         round counter.
17273         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17275 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17277         [BZ #12597]
17278         * string/test-strncmp.c (do_page_test): New function.
17279         (check2): Likewise.
17280         (test_main): Call check2.
17281         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17283 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
17285         [BZ #12587]
17286         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17287         Handle cache information in CPU leaf 4.
17288         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17290 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
17292         [BZ #12583]
17293         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17294         character representation.
17295         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17297 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
17299         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17300         END(__isnan) to END(__isnanf) to match function entry point/label
17301         EALIGN(__isnanf,...).
17303 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
17305         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17307 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
17309         [BZ #12510]
17310         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17311         copy from the symbol referenced in the relocation to initialize the
17312         used variable.
17313         Patch by Piotr Bury <pbury@goahead.com>.
17314         * elf/Makefile: Add rules to build and tst-unique3.
17315         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17316         * elf/tst-unique3.cc: New file.
17317         * elf/tst-unique3.h: New file.
17318         * elf/tst-unique3lib.cc: New file.
17319         * elf/tst-unique3lib2.cc: New file.
17321         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17323 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
17325         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17326         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
17327         to _start.
17329 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
17331         * elf/dl-load.c (_dl_map_object): If we are looking for the first
17332         to-be-loaded object along a path to loader is ld.so.
17334 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17335             Ulrich Drepper  <drepper@gmail.com>
17337         * sysdeps/x86_64/memset.S: After aligning destination, code
17338         branches to different locations depending on the value of
17339         misalignment, when multiarch is enabled. Fix this.
17341 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17343         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17344         Set _x86_64_preferred_memory_instruction for AMD processsors.
17345         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17346         Set bit_Prefer_SSE_for_memop for AMD processors.
17348 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
17350         * libio/fmemopen.c (fmemopen): Optimize a bit.
17352 2011-03-03  Andreas Schwab  <schwab@redhat.com>
17354         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17356 2011-03-03  Roland McGrath  <roland@redhat.com>
17358         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17360 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
17362         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17363         __bzero_ultra1 instead of __memset_ultra1.
17365 2011-02-23  Andreas Schwab  <schwab@redhat.com>
17366             Ulrich Drepper  <drepper@gmail.com>
17368         [BZ #12509]
17369         * include/link.h (struct link_map): Add l_orig_initfini.
17370         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17371         returning unsuccessfully.
17372         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17373         close of a file loaded at startup, restore the original l_initfini
17374         list.
17375         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17376         list, store the pointer.
17377         * elf/Makefile ($(objpfx)noload-mem): New rule.
17378         (noload-ENV): Define.
17379         (tests): Add $(objpfx)noload-mem.
17380         * elf/noload.c: Include <memcheck.h>.
17381         (main): Call mtrace.  Close all opened handles.
17383 2011-02-17  Andreas Schwab  <schwab@redhat.com>
17385         [BZ #12454]
17386         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17387         dependencies are missing.
17389 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17391         Fix __if_freereq crash: Unlike the generic version which uses free,
17392         Hurd needs munmap.
17393         * sysdeps/mach/hurd/ifreq.h: New file.
17395 2011-01-27  Petr Baudis  <pasky@suse.cz>
17396             Ulrich Drepper  <drepper@gmail.com>
17398         [BZ 12445]#
17399         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17400         to extend_alloca().
17401         * stdio-common/bug23.c: New file.
17402         * stdio-common/Makefile (tests): Add bug23.
17404 2010-09-28  Andreas Schwab  <schwab@redhat.com>
17405             Ulrich Drepper  <drepper@gmail.com>
17407         [BZ #12489]
17408         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17409         before performing relro protection.  At old place add assertion
17410         to make sure nothing changed.
17412 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
17413             Glauber de Oliveira Costa  <glommer@gmail.com>
17415         * elf/elf.h: Add new ARM TLS relocs.
17417 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
17419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17420         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17421         cast from r3.
17422         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
17423         'tests' variable.
17424         * sysdeps/wordsize-64/tst-writev.c: New file.
17426 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
17428         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17429         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17430         insns in _dl_start to prevent a TOC reference before relocs are
17431         resolved.
17433 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
17435         [BZ #12469]
17436         * Makeconfig: Remove RANLIB definition.
17437         * Makerules: Don't use RANLIB.
17438         * aclocal.m4: Remove ranlib test.
17439         * configure.in: No need to check for ranlib.
17440         * elf/rtld-Rules: Don't use RANLIB.
17442 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17444         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17445         protection macro.
17446         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17447         inclusion protection macro.
17449         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17450         SIGRTMIN and SIGRTMAX and print information in that case only when
17451         SIGRTMIN is defined.
17453 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
17455         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17456         arginfo fn returning -1.
17458         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17459         and thousands string is zero terminated.
17461 2011-02-03  Andreas Schwab  <schwab@redhat.com>
17463         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17464         sysdeps/unix/sysv/linux/bits/socket.h.
17466 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17468         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17469         (__CPU_COUNT): Remove old macros.
17470         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17471         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17472         (__CPU_ALLOC, __CPU_FREE): Add macros.
17473         (__sched_cpualloc, __sched_cpufree): Add declarations.
17475 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
17477         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17478         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17479         * nscd/aicache.c (addhstaiX): Return timeout of added value.
17480         (readdhstai): Return value of addhstaiX call.
17481         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17482         (addgrbyX): Return value returned by cache_addgr.
17483         (readdgrbyname): Return value returned by addgrbyX.
17484         (readdgrbygid): Likewise.
17485         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17486         (addpwbyX): Return value returned by cache_addpw.
17487         (readdpwbyname): Return value returned by addhstbyX.
17488         (readdpwbyuid): Likewise.
17489         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17490         (addservbyX): Return value returned by cache_addserv.
17491         (readdservbyname): Return value returned by addservbyX:
17492         (readdservbyport): Likewise.
17493         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17494         (addhstbyX): Return value returned by cache_addhst.
17495         (readdhstbyname): Return value returned by addhstbyX.
17496         (readdhstbyaddr): Likewise.
17497         (readdhstbynamev6): Likewise.
17498         (readdhstbyaddrv6): Likewise.
17499         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17500         (readdinitgroups): Return value returned by addinitgroupsX.
17501         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17502         (prune_cache): Keep track of timeout value of re-added entries.
17503         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17504         * nscd/nscd.h: Adjust prototypes of readd* functions.
17506 2011-02-04  Roland McGrath  <roland@redhat.com>
17508         * nis/nis_server.c (nis_servstate): Use the right name for 0.
17509         (nis_stats): Likewise.
17510         * nis/nis_modify.c (nis_modify): Likewise.
17511         * nis/nis_remove.c (nis_remove): Likewise.
17512         * nis/nis_add.c (nis_add): Likewise.
17514         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17516         * posix/fnmatch_loop.c: Add some consts.
17518         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17520 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
17522         [BZ #12460]
17523         * config.make.in (config-cflags-novzeroupper): Define.
17524         * configure.in: Substitute libc_cv_cc_novzeroupper.
17525         * elf/Makefile (AVX-CFLAGS): Define.
17526         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17527         (CFLAGS-tst-auditmod4a.c): Likewise.
17528         (CFLAGS-tst-auditmod4b.c): Likewise.
17529         (CFLAGS-tst-auditmod6b.c): Likewise.
17530         (CFLAGS-tst-auditmod6c.c): Likewise.
17531         (CFLAGS-tst-auditmod7b.c): Likewise.
17532         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17534 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
17536         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17537         function to the callback.
17538         Patch partly by Jiri Olsa <jolsa@redhat.com>.
17540 2011-02-02  Andreas Schwab  <schwab@redhat.com>
17542         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17543         of errno.
17545 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
17547         [BZ #11724]
17548         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17549         of constructors.
17550         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17551         of destructors.
17552         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17554         [BZ #11724]
17555         * elf/Makefile: Add rules to build and run new test.
17556         * elf/tst-initorder.c: New file.
17557         * elf/tst-initorder.exp: New file.
17558         * elf/tst-initordera1.c: New file.
17559         * elf/tst-initordera2.c: New file.
17560         * elf/tst-initordera3.c: New file.
17561         * elf/tst-initordera4.c: New file.
17562         * elf/tst-initorderb1.c: New file.
17563         * elf/tst-initorderb2.c: New file.
17564         * elf/tst-order-a1.c: New file.
17565         * elf/tst-order-a2.c: New file.
17566         * elf/tst-order-a3.c: New file.
17567         * elf/tst-order-a4.c: New file.
17568         * elf/tst-order-b1.c: New file.
17569         * elf/tst-order-b2.c: New file.
17570         * elf/tst-order-main.c: New file.
17571         New test case by George Gensure <werkt0@gmail.com>.
17573 2010-10-01  Andreas Schwab  <schwab@redhat.com>
17575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17576         decoding ACE if AI_CANONIDN.
17578 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
17580         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17582 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
17584         * version.h (RELEASE): Bump for 2.13 release.
17585         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17587         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17589         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17590         MADV_NOHUGEPAGE.
17591         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17592         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17593         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17594         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17595         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17596         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17598         * posix/getconf.c: Update copyright year.
17599         * catgets/gencat.c: Likewise.
17600         * csu/version.c: Likewise.
17601         * debug/catchsegv.sh: Likewise.
17602         * debug/xtrace.sh: Likewise.
17603         * elf/ldconfig.c: Likewise.
17604         * elf/ldd.bash.in: Likewise.
17605         * elf/sprof.c (print_version): Likewise.
17606         * iconv/iconv_prog.c: Likewise.
17607         * iconv/iconvconfig.c: Likewise.
17608         * locale/programs/locale.c: Likewise.
17609         * locale/programs/localedef.c: Likewise.
17610         * malloc/memusage.sh: Likewise.
17611         * malloc/mtrace.pl: Likewise.
17612         * nscd/nscd.c (print_version): Likewise.
17613         * nss/getent.c: Likewise.
17615         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17616         PF_CAIF, and PF_ALG.
17617         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17619 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
17621         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17622         (modules-names): Use them.
17623         (ifunc-test-modules, ifunc-pie-tests): Define.
17624         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17625         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17626         (test-extras): Likewise.
17627         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17628         $(compile-command.c).
17629         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17630         (all-built-dso): Define.
17631         (check-textrel.out, check-execstack.out): Depend on it.
17633         * configure.in: Don't override --enable-multi-arch.
17635 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
17637         [BZ #6812]
17638         * nscd/hstcache.c (tryagain): Define.
17639         (cache_addhst): Return tryagain not notfound for temporary errors.
17640         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17641         failed.
17643 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
17645         [BZ #10563]
17646         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17647         to make the syscall.
17648         * sysdeps/unix/sysv/linux/setgroups.c: New file.
17650         [BZ #12378]
17651         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17652         and fall back to matching as normal character if the string ends before
17653         the matching ']' is found.  This is what POSIX requires.
17654         * posix/testfnm.c: Adjust test result.
17655         * posix/globtest.sh: Adjust test result.  Add new test.
17656         * posix/tst-fnmatch.input: Likewise.
17657         * posix/tst-fnmatch2.c: Add new test.
17659 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
17661         * elf/Makefile (check-execstack): Revert last change.  Depend on
17662         check-execstack.h.
17663         (check-execstack.h): New target.
17664         (generated): Add check-execstack.h.
17665         * elf/check-execstack.c: Include "check-execstack.h".
17666         (main): Revert last change.
17667         (handle_file): Return zero if GNU_STACK is absent and
17668         DEFAULT_STACK_PERMS doesn't include PF_X.
17670 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
17672         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17673         in child fails because the descriptor is already closed.
17674         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17675         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17676         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17678         [BZ #12397]
17679         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17680         syscall.
17682         [BZ #10484]
17683         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17684         temporary buffer used to handle multi lookups locally.
17685         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17687 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
17689         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17690         loader is ld.so.
17692 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
17694         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17695         alignment for SSE2.
17697 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
17699         [BZ #12394]
17700         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17701         characters.  When rounding increased number of integer digits recompute
17702         number of groups.
17703         * stdio-common/tst-grouping.c: New file.
17704         * stdio-common/Makefile: Add rules to build and run tst-grouping.
17706 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
17708         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17709         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
17711         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17712         void.
17713         * bits/select.h: Likewise.
17715 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
17717         * po/ja.po: Update from translation team.
17719 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
17721         [BZ #11155]
17722         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17723         implementation just like for lxstat, fxstatat, et al.
17725 2010-12-27  Jim Meyering  <meyering@redhat.com>
17727         [BZ #12348]
17728         * posix/regexec.c (build_trtable): Return failure indication upon
17729         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
17731 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
17733         [BZ #12201]
17734         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17735         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17736         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17737         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17739         [BZ #12207]
17740         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17742         [BZ #12204]
17743         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17744         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17746 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17748         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17749         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17750         script has SORT_BY_INIT_PRIORITY.
17751         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17752         NO_CTORS_DTORS_SECTIONS is defined.
17753         * elf/soinit.c: Likewise.
17754         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17755         NO_CTORS_DTORS_SECTIONS is defined.
17756         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17757         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17758         * sysdeps/sh/init-first.c: Likewise.
17759         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17761 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
17763         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17764         always use the slow path.
17766 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
17768         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17769         similar rule which adds the sysdep directories to the header search in
17770         order to pick up the correct platform stackinfo.h.
17771         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17772         perform test if it is, otherwise return successfully without testing.
17773         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17774         DEFAULT_STACK_PERMS define in stackinfo.h.
17775         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17776         defined in stackinfo.h.
17777         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17778         DEFAULT_STACK_PERMS defined in stackinfo.h.
17779         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17780         * sysdeps/ia64/stackinfo.h: Likewise.
17781         * sysdeps/s390/stackinfo.h: Likewise.
17782         * sysdeps/sh/stackinfo.h: Likewise.
17783         * sysdeps/sparc/stackinfo.h: Likewise.
17784         * sysdeps/x86_64/stackinfo.h: Likewise.
17785         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17786         PF_X for powerpc64.  Retain PF_X for powerpc32.
17788 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
17790         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17791         accurately.
17792         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17793         GETDENTS_64BIT_ALIGNED.
17795 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
17797         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17799 2010-12-10  Andreas Schwab  <schwab@redhat.com>
17801         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17802         _GNU_SOURCE.
17804         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17805         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17806         Remove __restrict.
17807         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17808         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17810 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
17812         [BZ #11655]
17813         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17814         are initialized.
17816 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
17818         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17820 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
17822         * po/it.po: Update from translation team.
17824 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
17826         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17827         unused codes.
17829 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
17831         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17833 2010-11-24  Andreas Schwab  <schwab@redhat.com>
17835         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17836         specially.
17837         (gaih_getanswer_slice): Likewise.
17839 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
17841         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17843 2010-05-31  Petr Baudis  <pasky@suse.cz>
17845         [BZ #11149]
17846         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17847         silently even in the chroot mode.
17849 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
17851         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17852         last patch a bit.  Pretty printing
17854 2010-05-31  Petr Baudis <pasky@suse.cz>
17856         [BZ #10085]
17857         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17858         initialization of skip_initgroups_dyn.
17860 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
17862         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17863         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17865 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
17867         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17869 2010-11-11  Andreas Schwab  <schwab@redhat.com>
17871         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17872         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17873         (tst-fnmatch-ENV): Set MALLOC_TRACE.
17874         ($(objpfx)tst-fnmatch-mem): New rule.
17875         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17876         * posix/tst-fnmatch.c (main): Call mtrace.
17878 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
17880         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17881         Support Intel processor model 6 and model 0x2c.
17883 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
17885         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17886           signed comparison.
17888 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
17890         [BZ #12205]
17891         * string/test-strncasecmp.c (check_result): New function.
17892         (do_one_test): Use it.
17893         (check1): New function.
17894         (test_main): Use it.
17895         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17896         Support strcasecmp and strncasecmp.
17898 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
17900         [BZ #12194]
17901         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17902         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17904 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17906         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17907         IFUNC support.
17908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17909         memset-x86-64.
17910         * sysdeps/x86_64/multiarch/bzero.S: New file.
17911         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17912         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17913         * sysdeps/x86_64/multiarch/memset.S: New file.
17914         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17916         Set bit_Prefer_SSE_for_memop for Intel processors.
17917         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17918         Define.
17919         (index_Prefer_SSE_for_memop): Define.
17920         (HAS_PREFER_SSE_FOR_MEMOP): Define.
17922 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
17924         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17925         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17927 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
17929         [BZ #12191]
17930         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17931         (__x86_64_raw_data_cache_size_half): Likewise.
17932         (__x86_64_raw_shared_cache_size): Likewise.
17933         (__x86_64_raw_shared_cache_size_half): Likewise.
17935         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17936         (__x86_64_raw_data_cache_size_half): Likewise.
17937         (__x86_64_raw_shared_cache_size): Likewise.
17938         (__x86_64_raw_shared_cache_size_half): Likewise.
17939         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17940         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17941         and __x86_64_raw_shared_cache_size_half.  Round
17942         __x86_64_data_cache_size_half, __x86_64_data_cache_size
17943         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17944         to multiple of 256 bytes.
17946 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
17948         [BZ #12167]
17949         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17950         of inacessible symlinks.  Verify result of symlink before returning it.
17951         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17952         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17954 2010-10-28  Erich Ritz  <erichritz@gmail.com>
17956         * math/math.h (isinf): Fix typo in comment.
17958 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
17960         * po/da.po: Update from translation team.
17962 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
17964         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17965         is added to the list.
17967 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17968             Ulrich Drepper  <drepper@gmail.com>
17970         * elf/dl-object.c (_dl_new_object): Don't append the new object to
17971         the global list here.  Move code to...
17972         (_dl_add_to_namespace_list): ...here.  New function.
17973         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17974         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17975         * elf/dl-load.c (lose): Don't remove the element from the list.
17976         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17977         (_dl_map_object): Likewise.
17979 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
17981         [BZ #12159]
17982         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17983         into all bytes of SSE register.
17984         Patch by Richard Li <richardpku@gmail.com>.
17986 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
17988         [BZ #12140]
17989         * malloc/malloc.c (_int_free): Fill correct number of bytes when
17990         perturbing.
17992 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
17994         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17995         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17996         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17997         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17999         submachine.
18000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18002 2010-10-22  Andreas Schwab  <schwab@redhat.com>
18004         * include/dlfcn.h (__RTLD_SECURE): Define.
18005         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
18006         mode & __RTLD_SECURE instead.
18007         (open_path): Rename preloaded parameter to secure.
18008         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18009         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18010         * elf/dl-deps.c (openaux): Likewise.
18011         * elf/rtld.c (struct map_args): Remove is_preloaded.
18012         (map_doit): Don't use it.
18013         (dl_main): Likewise.
18014         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18015         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18017 2010-09-09  Andreas Schwab  <schwab@redhat.com>
18019         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18020         (sysd-rules-targets): Remove duplicates.
18021         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18022         rtld-%.$o dependency.
18024 2010-10-18  Andreas Schwab  <schwab@redhat.com>
18026         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18027         _dl_map_object do it.
18029 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
18031         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18032         fast fma builtins, define the macros in the C99 standard.
18033         (FP_FAST_FMAF): Likewise.
18034         (FP_FAST_FMAL): Likewise.
18035         * sysdeps/x86_64/bits/mathdef.h: Likewise.
18037         * bits/mathdef.h: Update copyright year.
18038         * sysdeps/powerpc/bits/mathdef.h: Likewise.
18040 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
18042         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18043         builtins, define the macros in the C99 standard.
18044         (FP_FAST_FMAF): Likewise.
18045         (FP_FAST_FMAL): Likewise.
18046         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18047         multiply/add.
18048         (FP_FAST_FMAF): Likewise.
18050 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
18052         [BZ #3268]
18053         * math/libm-test.inc (fma_test): Some new testcases.
18054         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18055         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18056         y and infinite z.  Do multiplication by C already in long double.
18057         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18059         y and infinite z.  Do bitwise or of inexact bit into u.d.
18060         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18061         * sysdeps/i386/fpu/s_fmaf.S: Removed.
18062         * sysdeps/i386/fpu/s_fma.S: Removed.
18063         * sysdeps/i386/fpu/s_fmal.S: Removed.
18065 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
18067         [BZ #3268]
18068         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18069         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18070         computation is not scheduled after fetestexcept.  Fix value
18071         of minimum denormal long double.
18073 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
18075         [BZ #3268]
18076         * math/libm-test.inc (fma_test): Add some more tests.
18077         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18078         correctly.
18080 2010-10-15  Andreas Schwab  <schwab@redhat.com>
18082         * scripts/data/localplt-s390-linux-gnu.data: New file.
18083         * scripts/data/localplt-s390x-linux-gnu.data: New file.
18085 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
18087         [BZ #3268]
18088         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18089         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18090         instead of dbl-64.
18091         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18092         inlines.
18093         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18094         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18095         if one of x and y is very large and the other is subnormal.
18096         * sysdeps/s390/fpu/s_fmaf.c: New file.
18097         * sysdeps/s390/fpu/s_fma.c: New file.
18098         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18099         * sysdeps/powerpc/fpu/s_fma.S: New file.
18100         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18101         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18102         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18104 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
18106         [BZ #3268]
18107         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18108         fma tests.
18109         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18110         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18111         * sysdeps/i386/i686/multiarch/s_fma.c: Include
18112         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18113         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18114         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18115         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18117 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
18119         [BZ #12078]
18120         * posix/regcomp.c (parse_branch): One more memory leak plugged.
18121         * posix/bug-regex31.input: Add test case.
18123 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18125         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18126         * posix/bug-regex31.input: New file.
18128         [BZ #12078]
18129         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18130         (parse_sub_exp): Fix last change, use postorder.
18132         * posix/bug-regex31.c: New file.
18133         * posix/Makefile: Add rules to build and run bug-regex31.
18135         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18137         [BZ #12078]
18138         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18140         [BZ #12108]
18141         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18142         to have entries in sys_siglist.
18144         [BZ #12093]
18145         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18146         be NULL.
18148 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
18150         [BZ #3268]
18151         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18152         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18153         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18154         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18155         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18156         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18157         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18158         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18159         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18160         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18161         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18162         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18163         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18164         * math/ftestexcept.c (fetestexcept): Likewise.
18165         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18166         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18167         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18168         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18169         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18170         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18171         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18173 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18175         [BZ #12107]
18176         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18177         newline.
18179 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
18181         * string/bug-strstr1.c: New file.
18182         * string/Makefile: Add rules to build and run bug-strstr1.
18184 2010-10-05  Eric Blake  <eblake@redhat.com>
18186         [BZ #12092]
18187         * string/str-two-way.h (two_way_long_needle): Always clear memory
18188         when skipping input due to the shift table.
18190 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
18192         [BZ #12005]
18193         * malloc/mcheck.c: Handle large requests.
18195         [BZ #12077]
18196         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18197         for strncmp and strncasecmp.
18198         * string/stratcliff.c: Add tests for strcmp and strncmp.
18199         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18201 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18203         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18204         __set_fpscr.
18206 2010-09-30  Andreas Jaeger  <aj@suse.de>
18208         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18209         (CGROUP_SUPER_MAGIC): Define.
18210         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18211         Handle btrfs and cgroup file systems.
18212         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18213         Likewise.
18215 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
18217         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18218         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18220 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18222         [BZ #12067]
18223         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18224         trying to locate the ELF header.
18226 2010-09-27  Andreas Schwab  <schwab@redhat.com>
18228         [BZ #11611]
18229         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18230         Mask out sign-bit copies when constructing f_fsid.
18232 2010-09-24  Petr Baudis <pasky@suse.cz>
18234         * debug/stack_chk_fail_local.c: Add missing licence exception.
18235         * debug/warning-nop.c: Likewise.
18237 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
18239         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18240         implementing getdents64 using getdents syscall, set d_type if
18241         __ASSUME_GETDENTS32_D_TYPE.
18243 2010-09-16  Andreas Schwab  <schwab@redhat.com>
18245         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18246         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18248 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
18250         [BZ #12037]
18251         * posix/unistd.h: Undo change of feature selection for ftruncate from
18252         2010-01-11.
18254 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
18256         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18257         detection.
18259 2010-09-20  Andreas Schwab  <schwab@redhat.com>
18261         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18262         fanotify_mark.
18263         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18265 2010-09-14  Andreas Schwab  <schwab@redhat.com>
18267         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18268         variables after CHECK_SP call.
18269         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18271 2010-09-13  Andreas Schwab  <schwab@redhat.com>
18272             Ulrich Drepper  <drepper@redhat.com>
18274         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18275         re-relocationg ld.so.
18276         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18277         _dl_init_paths call.
18278         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
18279         here anymore.
18281 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
18283         * resolv/res_init.c (__res_vinit): Count the default server we added.
18285 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
18286             Ulrich Drepper  <drepper@redhat.com>
18288         [BZ #11968]
18289         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18290         (____longjmp_chk): Use %ebx for saving value across system call.
18291         Add unwind info.
18293 2010-09-06  Andreas Schwab  <schwab@redhat.com>
18295         * manual/Makefile: Don't mix pattern rules with normal rules.
18297 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18299         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18300         operation.
18301         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18302         * libio/iofopncook.c (_IO_cookie_init): Likewise.
18303         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18304         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18305         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18306         Likewise.
18308 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
18310         [BZ #11979]
18311         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18312         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18314 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
18316         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18317         * sysdeps/x86_64/addmul_1.S: Likewise.
18318         * sysdeps/x86_64/lshift.S: Likewise.
18319         * sysdeps/x86_64/mul_1.S: Likewise.
18320         * sysdeps/x86_64/rshift.S: Likewise.
18321         * sysdeps/x86_64/sub_n.S: Likewise.
18322         * sysdeps/x86_64/submul_1.S: Likewise.
18324 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18326         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18327         Define __sched_param instead of SCHED_* and sched_param when
18328         <bits/sched.h> is included with __need_schedparam defined.
18329         * bits/sched.h [__need_schedparam]
18330         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18331         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18332         (__defined_schedparam): Define to 1.
18333         (__sched_param): New structure, identical to sched_param.
18334         (__need_schedparam): Undefine.
18336 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
18338         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18339         (epoll_create1): Declare.
18341         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18343 2010-08-31  Andreas Schwab  <schwab@redhat.com>
18345         [BZ #7066]
18346         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18347         shifting retval into place.
18349 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
18351         * nis/rpcsvc/nis.h: Update copyright notice.
18352         * nis/rpcsvc/nis.x: Likewise.
18353         * nis/rpcsvc/nis_callback.h: Likewise.
18354         * nis/rpcsvc/nis_callback.x: Likewise.
18355         * nis/rpcsvc/nis_object.x: Likewise.
18356         * nis/rpcsvc/nis_tags.h: Likewise.
18357         * nis/rpcsvc/yp.h: Likewise.
18358         * nis/rpcsvc/yp.x: Likewise.
18359         * nis/rpcsvc/ypupd.h: Likewise.
18360         * nis/yp_xdr.c: Likewise.
18361         * nis/ypupdate_xdr.c: Likewise.
18363         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
18364         mainly the body of pmap_getport.  Add parameters to specify timeouts.
18365         (pmap_getport): Use __libc_rpc_getport.
18366         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18367         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18368         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18370 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
18372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18373         fanotify_mark.
18375 2010-08-27  Roland McGrath  <roland@redhat.com>
18377         * sysdeps/i386/i686/multiarch/Makefile
18378         (CFLAGS-varshift.c): New variable.
18380 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
18382         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18383         * sysdeps/i386/i686/multiarch/varshift.c: New file.
18385         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18387         * sysdeps/x86_64/strlen.S: Minimal code improvement.
18389 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18391         * sysdeps/x86_64/strlen.S: Unroll the loop.
18392         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18393         strlen-sse2 strlen-sse2-bsf.
18394         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18395         __strlen_no_bsf if bit_Slow_BSF is set.
18396         (__strlen_sse42): Removed.
18397         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18398         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18400 2010-08-25  Roland McGrath  <roland@redhat.com>
18402         * sysdeps/x86_64/multiarch/varshift.S: File removed.
18403         * sysdeps/x86_64/multiarch/varshift.c: New file.
18404         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18405         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18406         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18407         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18409 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18411         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18412         strlen-sse2 strlen-sse2-bsf.
18413         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18414         __strlen_sse2_bsf if bit_Slow_BSF is unset.
18415         (__strlen_sse2): Removed.
18416         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18417         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18419         bit_Slow_BSF for Atom.
18420         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18421         (index_Slow_BSF): Define.
18422         (HAS_SLOW_BSF): Define.
18424 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
18426         [BZ #10851]
18427         * resolv/res_init.c (__res_vinit): When no server address at all
18428         is given default to loopback.
18430 2010-08-24  Roland McGrath  <roland@redhat.com>
18432         * configure.in: Remove config-name.h generation.
18433         * configure: Regenerated.
18434         * config-name.in: File removed.
18435         * scripts/config-uname.sh: New file.
18436         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18437         ($(objdir)config-name.h): New target.
18439         * sunrpc/rpc_parse.h: Avoid nested comment.
18441 2010-08-24  Richard Henderson  <rth@redhat.com>
18442             Ulrich Drepper  <drepper@redhat.com>
18443             H.J. Lu  <hongjiu.lu@intel.com>
18445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18447         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18448         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
18449         _mm_alignr_epi8 with _mm_loadu_si128.
18450         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18451         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18452         (__m128i_shift_right): Removed.
18453         * sysdeps/i386/i686/multiarch/varshift.h: New file.
18454         * sysdeps/i386/i686/multiarch/varshift.S: New file.
18455         * sysdeps/x86_64/multiarch/varshift.h: New file.
18456         * sysdeps/x86_64/multiarch/varshift.S: New file.
18458 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
18460         * configure.in: Move assembler checks to before sysdep dir checking.
18462 2010-08-20  Petr Baudis  <pasky@suse.cz>
18464         * LICENSES: Sync the sunrpc license.
18466 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
18468         * sunrpc/auth_des.c: Update copyright notice once again.
18469         * sunrpc/auth_none.c: Likewise.
18470         * sunrpc/auth_unix.c: Likewise.
18471         * sunrpc/authdes_prot.c: Likewise.
18472         * sunrpc/authuxprot.c: Likewise.
18473         * sunrpc/bindrsvprt.c: Likewise.
18474         * sunrpc/clnt_gen.c: Likewise.
18475         * sunrpc/clnt_perr.c: Likewise.
18476         * sunrpc/clnt_raw.c: Likewise.
18477         * sunrpc/clnt_simp.c: Likewise.
18478         * sunrpc/clnt_tcp.c: Likewise.
18479         * sunrpc/clnt_udp.c: Likewise.
18480         * sunrpc/clnt_unix.c: Likewise.
18481         * sunrpc/des_crypt.c: Likewise.
18482         * sunrpc/des_soft.c: Likewise.
18483         * sunrpc/get_myaddr.c: Likewise.
18484         * sunrpc/getrpcport.c: Likewise.
18485         * sunrpc/key_call.c: Likewise.
18486         * sunrpc/key_prot.c: Likewise.
18487         * sunrpc/openchild.c: Likewise.
18488         * sunrpc/pm_getmaps.c: Likewise.
18489         * sunrpc/pm_getport.c: Likewise.
18490         * sunrpc/pmap_clnt.c: Likewise.
18491         * sunrpc/pmap_prot.c: Likewise.
18492         * sunrpc/pmap_prot2.c: Likewise.
18493         * sunrpc/pmap_rmt.c: Likewise.
18494         * sunrpc/rpc/auth.h: Likewise.
18495         * sunrpc/rpc/auth_unix.h: Likewise.
18496         * sunrpc/rpc/clnt.h: Likewise.
18497         * sunrpc/rpc/des_crypt.h: Likewise.
18498         * sunrpc/rpc/key_prot.h: Likewise.
18499         * sunrpc/rpc/netdb.h: Likewise.
18500         * sunrpc/rpc/pmap_clnt.h: Likewise.
18501         * sunrpc/rpc/pmap_prot.h: Likewise.
18502         * sunrpc/rpc/pmap_rmt.h: Likewise.
18503         * sunrpc/rpc/rpc.h: Likewise.
18504         * sunrpc/rpc/rpc_des.h: Likewise.
18505         * sunrpc/rpc/rpc_msg.h: Likewise.
18506         * sunrpc/rpc/svc.h: Likewise.
18507         * sunrpc/rpc/svc_auth.h: Likewise.
18508         * sunrpc/rpc/types.h: Likewise.
18509         * sunrpc/rpc/xdr.h: Likewise.
18510         * sunrpc/rpc_clntout.c: Likewise.
18511         * sunrpc/rpc_cmsg.c: Likewise.
18512         * sunrpc/rpc_common.c: Likewise.
18513         * sunrpc/rpc_cout.c: Likewise.
18514         * sunrpc/rpc_dtable.c: Likewise.
18515         * sunrpc/rpc_hout.c: Likewise.
18516         * sunrpc/rpc_main.c: Likewise.
18517         * sunrpc/rpc_parse.c: Likewise.
18518         * sunrpc/rpc_parse.h: Likewise.
18519         * sunrpc/rpc_prot.c: Likewise.
18520         * sunrpc/rpc_sample.c: Likewise.
18521         * sunrpc/rpc_scan.c: Likewise.
18522         * sunrpc/rpc_scan.h: Likewise.
18523         * sunrpc/rpc_svcout.c: Likewise.
18524         * sunrpc/rpc_tblout.c: Likewise.
18525         * sunrpc/rpc_util.c: Likewise.
18526         * sunrpc/rpc_util.h: Likewise.
18527         * sunrpc/rpcinfo.c: Likewise.
18528         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18529         * sunrpc/rpcsvc/key_prot.x: Likewise.
18530         * sunrpc/rpcsvc/klm_prot.x: Likewise.
18531         * sunrpc/rpcsvc/mount.x: Likewise.
18532         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18533         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18534         * sunrpc/rpcsvc/rex.x: Likewise.
18535         * sunrpc/rpcsvc/rstat.x: Likewise.
18536         * sunrpc/rpcsvc/rusers.x: Likewise.
18537         * sunrpc/rpcsvc/sm_inter.x: Likewise.
18538         * sunrpc/rpcsvc/spray.x: Likewise.
18539         * sunrpc/rpcsvc/yppasswd.x: Likewise.
18540         * sunrpc/rtime.c: Likewise.
18541         * sunrpc/svc.c: Likewise.
18542         * sunrpc/svc_auth.c: Likewise.
18543         * sunrpc/svc_authux.c: Likewise.
18544         * sunrpc/svc_raw.c: Likewise.
18545         * sunrpc/svc_run.c: Likewise.
18546         * sunrpc/svc_simple.c: Likewise.
18547         * sunrpc/svc_tcp.c: Likewise.
18548         * sunrpc/svc_udp.c: Likewise.
18549         * sunrpc/svc_unix.c: Likewise.
18550         * sunrpc/svcauth_des.c: Likewise.
18551         * sunrpc/xcrypt.c: Likewise.
18552         * sunrpc/xdr.c: Likewise.
18553         * sunrpc/xdr_array.c: Likewise.
18554         * sunrpc/xdr_float.c: Likewise.
18555         * sunrpc/xdr_mem.c: Likewise.
18556         * sunrpc/xdr_rec.c: Likewise.
18557         * sunrpc/xdr_ref.c: Likewise.
18558         * sunrpc/xdr_sizeof.c: Likewise.
18559         * sunrpc/xdr_stdio.c: Likewise.
18561         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18562         handling.
18564 2010-08-19  Andreas Schwab  <schwab@redhat.com>
18566         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18568 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
18570         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18571         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18572         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18573         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18574         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18575         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18576         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18577         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18578         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18579         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18580         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18581         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18582         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18583         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18585 2010-07-26  Anton Blanchard  <anton@samba.org>
18587         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18588         * malloc/arena.c (heap_trim): Likewise.
18590 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
18592         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18593         here.  Not...
18594         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18595         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18597 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
18599         * sysdeps/i386/elf/Makefile: New file.
18601 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
18603         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18604         from fanotify_init.
18605         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18606         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18608 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
18610         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18611         of strncasecmp_l.
18612         * sysdeps/multiarch/strcmp.S: Likewise.
18614 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
18616         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18617         strncase_l-nonascii.
18618         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18619         Add strncase_l-ssse3.
18620         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18621         * sysdeps/x86_64/strcmp.S: Likewise.
18622         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18623         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18624         * sysdeps/x86_64/strncase.S: New file.
18625         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18626         * sysdeps/x86_64/strncase_l.S: New file.
18627         * string/Makefile (strop-tests): Add strncasecmp.
18628         * string/test-strncasecmp.c: New file.
18630         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18631         warning.
18633         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18634         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18636 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
18638         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18640 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
18642         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18643         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18644         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18646 2010-05-01  Alan Modra  <amodra@gmail.com>
18648         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18649         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18650         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18651         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18652         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18653         tidying.  Don't tail-call __sigjmp_save for static lib.
18654         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18655         save location.
18656         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18657         (CALL_MCOUNT): Add eh info, and nop after bl.
18658         (TAIL_CALL_SYSCALL_ERROR): New macro.
18659         (PSEUDO_RET): Use it.
18660         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18661         Correct save location of integer regs and cr.
18662         (_dl_profile_resolve): Correct cr save location.  Delete nops
18663         after bl when SHARED.  Reduce cfi size a little by better
18664         placement of cfi directives.
18665         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18666         make a stack frame.  Instead use parm save area as a temp.
18667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18668         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
18669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18670         Don't make a stack frame for parent, use parm save area.
18671         Increase child stack frame to 112 bytes.  Don't save unused reg,
18672         and adjust reg usage.  Set up cfi on error recovery and
18673         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18675         (__makecontext): Add dummy nop after jump to exit.
18676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18677         Use correct parm save area and cr save, reduce stack frame.
18678         Correct cfi for possible PSEUDO_RET frame setup.
18679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18680         Branch to local label emitted by PSEUDO_RET rather than
18681         __syscall_error.
18683 2010-08-12  Andreas Schwab  <schwab@redhat.com>
18685         [BZ #11904]
18686         * locale/programs/locale.c (print_assignment): New function.
18687         (show_locale_vars): Use it.
18689 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
18691         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18692         field.
18693         (struct statfs64): Likewise.
18694         (_STATFS_F_FLAGS): Define.
18695         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18696         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18697         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18698         (ST_VALID): Define locally.
18699         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18700         __statvfs_getflags, use the provided value.
18701         * sysdeps/unix/sysv/linux/kernel-features.h: Define
18702         __ASSUME_STATFS_F_FLAGS.
18704         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18706         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18707         Add sys/fanotify.h.
18708         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18709         fanotify_mask for GLIBC_2.13.
18710         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18711         fanotify_init and fanotify_mark.
18712         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18713         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18715         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18716         Add prlimit.
18717         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18718         prlimit64 for GLIBC_2.13.
18719         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18720         prlimit64.
18721         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18722         syscall.
18723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18724         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18725         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18726         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18727         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
18728         add prlimit alias.
18729         * sysdeps/unix/sysv/linux/prlimit.c: New file.
18731         [BZ #11903]
18732         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18733         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18735         * nss/Makefile: Add rules to build and run tst-nss-test1.
18736         * shlib-versions: Add entry for libnss_test1.
18737         * nss/nss_test1.c: New file.
18738         * nss/tst-nss-test1.c: New file.
18740         * nss/nsswitch.c (__nss_database_custom): Define new variable.
18741         (__nss_configure_lookup): Set appropriate entry in
18742         __nss_configure_lookup to true.
18743         * nss/nsswitch.h: Define enum with indeces of databases in
18744         databases and __nss_database_custom arrays.  Declare
18745         __nss_database_custom.
18746         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18747         to avoid using nscd when custom rules are installed.
18748         * nss/getXXbyYY_r.c: Likewise.
18749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18751         * nss/nss_files/files-parse.c: Whitespace fixes.
18753 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
18755         [BZ #11883]
18756         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18757         * posix/fnmatch_loop.c: Likewise.
18759 2010-07-17  Andi Kleen  <ak@linux.intel.com>
18761         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18762         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18763         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18764         * Versions.def [GLIBC_2.13]: Add.
18766 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
18768         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18769         Also fail if tpwd after pwuid call is NULL.
18771 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18773         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18774         when converting to ms.
18776 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18778         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18779         EOPNOTSUPP errors with ENOTTY.
18780         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18781         EOPNOTSUPP errors with ENOTTY.
18783 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
18785         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18786         Add strcasecmp_l-ssse3.
18787         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18788         strcasecmp.
18789         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18790         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18791         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18793 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
18795         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18797         * string/Makefile (strop-tests): Add strcasecmp.
18798         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18799         strcasecmp_l-nonascii.
18800         (gen-as-const-headers): Add locale-defines.sym.
18801         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18802         * sysdeps/x86_64/strcasecmp.S: New file.
18803         * sysdeps/x86_64/strcasecmp_l.S: New file.
18804         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18805         * sysdeps/x86_64/locale-defines.sym: New file.
18806         * string/test-strcasecmp.c: New file.
18808         * string/test-strcasestr.c: Test both ends of the range of characters.
18809         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18811 2010-07-29  Roland McGrath  <roland@redhat.com>
18813         [BZ #11856]
18814         * manual/locale.texi (Yes-or-No Questions): Fix example code.
18816 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
18818         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18819         for ld.so.
18821 2010-07-27  Andreas Schwab  <schwab@redhat.com>
18823         * manual/memory.texi (Malloc Tunable Parameters): Document
18824         M_PERTURB.
18826 2010-07-26  Roland McGrath  <roland@redhat.com>
18828         [BZ #11840]
18829         * configure.in (-fgnu89-inline check): Set and substitute
18830         gnu89_inline, not libc_cv_gnu89_inline.
18831         * configure: Regenerated.
18832         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18834 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
18836         * string/test-strnlen.c: New file.
18837         * string/Makefile (strop-tests): Add strnlen.
18838         * string/tester.c (test_strnlen): Add a few more test cases.
18839         * string/tst-strlen.c: Better error reporting.
18841         * sysdeps/x86_64/strnlen.S: New file.
18843 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
18845         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18846         lower-latency instructions.
18848 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
18850         * string/test-strcasestr.c: New file.
18851         * string/test-strstr.c: New file.
18852         * string/Makefile (strop-tests): Add strstr and strcasestr.
18853         * string/str-two-way.h: Don't undefine MAX.
18854         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18856 2010-07-21  Andreas Schwab  <schwab@redhat.com>
18858         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18859         strcasestr-nonascii.
18860         (CFLAGS-strcasestr-nonascii.c): Define.
18861         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18862         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18863         Remove unused attribute.
18865 2010-07-20  Roland McGrath  <roland@redhat.com>
18867         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18868         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
18869         ld.so.cache was broken.  With it, there is no way to disable dsocaps
18870         like LD_HWCAP_MASK can disable hwcaps.
18872 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
18874         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18876 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
18878         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18879         call in strcasestr.
18880         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18881         __strcasestr_sse42_nonascii.
18882         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18883         strcasestr-nonascii.c.
18884         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18886 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
18888         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18889         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18890         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18891         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18893 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
18895         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18896         fcntl.
18898 2010-07-06  Andreas Schwab  <schwab@redhat.com>
18900         [BZ #11577]
18901         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18902         dl_signal_cerror.
18904 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
18906         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18907         _PC_PIPE_BUF using F_GETPIPE_SZ.
18909 2010-07-05  Roland McGrath  <roland@redhat.com>
18911         * manual/arith.texi (Rounding Functions): Fix rint description
18912         implicit in round description.
18914 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
18916         * elf/Makefile: Fix linking for a few tests to make recent linker
18917         happy.
18919 2010-06-30  Andreas Schwab  <schwab@redhat.com>
18921         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18922         $(common-objpfx)libc_nonshared.a.
18924 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
18926         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18927         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18928         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18929         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18930         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18931         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18932         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18933         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18948         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18949         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18950         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18951         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18952         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18953         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18954         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18955         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18956         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18957         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18958         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18959         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18975 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18977         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18978         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
18979         * string/memmove.c (memmove): Renamed to ...
18980         (MEMMOVE): ...this.  Default to memmove.
18981         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18982         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18983         (END_CHK): Define.
18984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18985         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18986         mempcpy-ssse3-back memmove-ssse3-back.
18987         * sysdeps/x86_64/multiarch/bcopy.S: New file .
18988         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18989         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18990         * sysdeps/x86_64/multiarch/memcpy.S: New file.
18991         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18992         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18993         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18994         * sysdeps/x86_64/multiarch/memmove.c: New file.
18995         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18996         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18997         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18998         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18999         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19000         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19001         Define.
19002         (index_Fast_Copy_Backward): Define.
19003         (HAS_ARCH_FEATURE): Define.
19004         (HAS_FAST_REP_STRING): Define.
19005         (HAS_FAST_COPY_BACKWARD): Define.
19007 2010-06-21  Andreas Schwab  <schwab@redhat.com>
19009         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19010         Restore proper fallback handling.
19012 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
19014         [BZ #11701]
19015         * posix/group_member.c (__group_member): Correct checking loop.
19017         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19018         OOM in getpwuid_r correctly.  Return error number when the caller
19019         should return, otherwise -1.
19020         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19021         call returning > 0 value.
19022         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19024 2010-06-07  Andreas Schwab  <schwab@redhat.com>
19026         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19027         libc_nonshared.a from targets in modules-names.
19029 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
19031         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19032         requires it.
19034 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
19036         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19037         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19038         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19039         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19041 2010-06-02  Andreas Schwab  <schwab@redhat.com>
19043         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19045 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
19047         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19048         and F_GETPIPE_SZ.
19049         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19050         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19051         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19052         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19053         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19054         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19056 2010-06-14  Roland McGrath  <roland@redhat.com>
19058         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19060 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
19062         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19063         __REDIRECT followed by __THROW.
19064         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19065         * posix/getopt.h (getopt): Likewise.
19067 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
19069         * hurd/lookup-at.c (__file_name_lookup_at): Accept
19070         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
19071         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19072         in AT_FLAGS.
19073         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19074         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19076 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
19078         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19080 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
19082         [BZ #11640]
19083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19084         Properly check family and model.
19086 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
19088         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19090 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
19092         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19094 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
19096         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19097         symbol reference.
19099 2010-05-19  Andreas Schwab  <schwab@redhat.com>
19101         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19102         symbol reference.
19104 2010-05-21  Andreas Schwab  <schwab@redhat.com>
19106         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19107         and internal_recvmmsg.
19108         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19109         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19110         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19111         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19113         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19114         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19115         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19117 2010-05-20  Andreas Schwab  <schwab@redhat.com>
19119         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19121 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
19123         POWER7 optimizations.
19124         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19125         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19127 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
19129         * version.h: Update for 2.13 development version.
19131 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
19133         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19134         exceptions.  Return 0.
19136 2010-05-07  Roland McGrath  <roland@redhat.com>
19138         * elf/ldconfig.c (main): Add a const.
19140 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
19142         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19143         (args_options): Add no-idn option.
19144         (ahosts_keys_int): Add idn_flags to ai_flags.
19145         (parse_option): Handle 'i' option to clear idn_flags.
19147         * malloc/malloc.c (_int_free): Possible race in the most recently
19148         added check.  Only act on the data if no current modification
19149         happened.
19151 See ChangeLog.17 for earlier changes.