Rename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++
[glibc.git] / ChangeLog
blob6d3823ec78aff5f63f29c112375936f47326a1d1
1 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
3         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4         (LDLIBS-tst-chk4): This.
5         (LDFLAGS-tst-chk5): Renamed to ...
6         (LDLIBS-tst-chk5): This.
7         (LDFLAGS-tst-chk6): Renamed to ...
8         (LDLIBS-tst-chk6): This.
9         (LDFLAGS-tst-lfschk4): Renamed to ...
10         (LDLIBS-tst-lfschk4): This.
11         (LDFLAGS-tst-lfschk5): Renamed to ...
12         (LDLIBS-tst-lfschk5): This.
13         (LDFLAGS-tst-lfschk6): Renamed to ...
14         (LDLIBS-tst-lfschk6): This.
16         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17         on $(common-objpfx)soversions.mk.
19 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
21         [BZ #10014]
22         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23         example host name.
25 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27         * malloc/arena.c (arena_get_retry): New function that gets
28         another arena for the caller to try its request on.
29         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30         current arena cannot fulfill the request.
31         (__libc_memalign): Likewise.
32         (__libc_memalign): Likewise.
33         (__libc_pvalloc): Likewise.
34         (__libc_calloc): Likewise.
36 2012-09-05  John Tobey  <john.tobey@gmail.com>
38         [BZ #13542]
39         * manual/arith.texi (Operations on Complex): Fix description
40         of carg branch cut.
42 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44         [BZ #10014]
45         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46         host name.
48         [BZ #10038]
49         * manual/memory.texi (Memory): Make order of menu items match
50         order of sections.
52 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
55         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
56         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60         * csu/libc-tls.c (static_dtv): Renamed to ...
61         (_dl_static_dtv): This.  Make it global.
62         (_dl_initial_dtv): Removed.
63         (__libc_setup_tls): Updated.
64         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
65         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66         DL_INITIAL_DTV.
68 2012-09-06  Petr Machata  <pmachata@redhat.com>
70         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
71         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
72         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
73         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
75 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77         [BZ #14545]
78         * csu/libc-tls.c (_dl_initial_dtv): New variable.
79         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
80         freeing dtv[-1].
82 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
84         [BZ #14544]
85         * Makeconfig (link-static-before-libc): Replace $(+prector)
86         with $(+prectorT).
87         (link-static-after-libc): Replace $(+postctor) with
88         $(+postctorT).
89         (link-bounded): Replace $(+prector)/$(+postctor) with
90         $(+prectorT)/$(+postctorT).
91         (+prectorT): New macro.
92         (+postctorT): Likewise.
94 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
96         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
97         (round_str): Handle values above the maximum for IBM long double
98         as inexact.
99         * stdlib/tst-strtod-round.c (tests): Regenerated.
101 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
103         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
104         assembler flag.
105         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
106         zarch_nohighgprs around the zarch optimized routines.
107         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
108         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
109         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
110         for zarch.
112 2012-09-05  David S. Miller  <davem@davemloft.net>
114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
116         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
117         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
118         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
119         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
120         entries.
122 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
124         * malloc/arena.c: Fold copyright years.
125         * malloc/mcheck.c, malloc/memusage.c: Likewise.
127 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
129         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
131 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
133         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
135 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
137         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
138         change internal state upon failure.
140 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
142         * malloc/mcheck.c (mcheck_check_all): Fix typo.
143         * malloc/memusage.c (mmap): Likewise.
144         (mmap64, mremap): Likewise.  Adjust name in comment.
146 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
148         * libio/fileops.c: Fix typos in comments.
149         * libio/oldfileops.c: Likewise.
150         * libio/wfileops.c: Likewise.
152 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
154         [BZ #1349]
155         * malloc/Makefile (tests): Add tst-malloc-usable test case.
156         (tst-malloc-usable-ENV): Set environment for test case.
157         * malloc/hooks.c (malloc_check_get_size): New function to get
158         requested size.
159         * malloc/malloc.c (musable): Use malloc_check_get_size.
160         * malloc/tst-malloc-usable.c: New test case.
162 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
164         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
166 2012-09-05  Allan McRae  <allan@archlinux.org>
168         [BZ #13966]
169         * configure.in (CXX_SYSINCLUDES): Use compiler output to
170         determine header location.
171         * configure: Regenerated.
173 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
175         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
176         float format.
177         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
178         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
179         format.
180         (test): Regenerate.
182 2012-09-04  David S. Miller  <davem@davemloft.net>
184         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
185         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
186         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
188 2012-09-04  Florian Weimer  <fweimer@redhat.com>
190         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
191         failures.
193         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
195 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
197         [BZ #9914]
198         * libio/iogetdelim.c: Include <limits.h>.
199         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
200         + len + 1 would overflow.
202 2012-09-03  Andreas Jaeger  <aj@suse.de>
204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
205         * sysdeps/i386/fpu/libm-test-ulps: Update.
207 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
209         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
210         Add s_sinf-sse2, s_conf-sse2.
212         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
213         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
214         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
215         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
217         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
218         for using routine as __sinf_ia32.
219         Use macro for function declaration and weak_alias.
220         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
221         for using routine as __cosf_ia32.
222         Use macro for function declaration and weak_alias.
224         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
225         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
227         * sysdeps/x86_64/fpu/s_sinf.S: New file.
228         * sysdeps/x86_64/fpu/s_cosf.S: New file.
229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
231         * math/libm-test.inc (cos_test): Add more test cases.
232         (sin_test): Likewise.
233         (sincos_test): Likewise.
235 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
237         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
238         (IFUNC_RESOLVE): Make pointers to the specialized implementations
239         hidden.
240         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
242 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
244         [BZ #14538]
245         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
246         first element of the GOT.
247         (elf_machine_load_address): Return the difference between
248         the runtime address of _DYNAMIC and elf_machine_dynamic ().
250 2012-09-01  Allan McRae  <allan@archlinux.org>
252         [BZ #13412]
253         * configure.in (AWK): Require gawk version 3.0 or later.
254         * configure: Regenerated.
256 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
258         * sysdeps/unix/sysv/linux/kernel-features.h
259         (__ASSUME_POSIX_CPU_TIMERS): Remove.
260         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
261         [__NR_clock_getres]: Make code unconditional.
262         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
263         (clock_getcpuclockid): Remove code left unreachable by removal of
264         conditionals.
265         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
266         code unconditional.
267         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
268         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
269         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
270         Make code unconditional.
271         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
272         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
273         * sysdeps/unix/sysv/linux/clock_settime.c
274         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
275         conditional code.
276         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
277         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
279 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
281         [BZ #14476]
282         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
283         scripts/test-installation.pl.
285         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
286         and $ld_so_version if it is set.
288 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
290         [BZ #14516]
291         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
292         failure if reading from procfs failed.
293         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
295 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
297         * sysdeps/unix/sysv/linux/kernel-features.h
298         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
299         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
300         Remove conditional code.
301         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
302         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
303         Remove conditional code.
304         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
305         * sysdeps/unix/sysv/linux/i386/fxstat.c
306         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
307         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
308         * sysdeps/unix/sysv/linux/i386/fxstatat.c
309         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
310         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
311         * sysdeps/unix/sysv/linux/i386/lxstat.c
312         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
313         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
314         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
315         Remove conditional code.
316         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
317         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
318         Remove conditional code.
319         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
320         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
321         <kernel-features.h>.
322         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
323         Remove.
324         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
325         Remove conditional code.
326         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
327         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
328         Remove conditional.
330 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
332         [BZ #5400]
333         * NEWS: Add fixed bug number.
335 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
337         [BZ #14519]
338         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
339         underflowing exponent in case of negative sign.
340         * stdlib/tst-strtod-round-data: Add more tests.
341         * stdlib/tst-strtod-round.c (tests): Regenerated.
343         [BZ #3479]
344         * stdlib/strtod_l.c (NDIG): Remove.
345         (HEXNDIG): Likewise.
346         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
347         smallest representable value.
348         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
349         lie within an exact representation of 1/2 ulp of the result.
350         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
351         unconditionally.
352         (TENS_P9_IDX): Define unconditionally.
353         (TENS_P9_SIZE): Likewise.
354         (TENS_P10_IDX): Likewise.
355         (TENS_P10_SIZE): Likewise.
356         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
357         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
358         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
359         entries for 10^2^13 and 10^2^14.
360         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
361         (TENS_P13_IDX): Define.
362         (TENS_P13_SIZE): Likewise.
363         (TENS_P14_IDX): Likewise.
364         (TENS_P14_SIZE): Likewise.
365         (_fpioconst_pow10): Change array size to
366         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
367         unconditional.
368         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
369         1024]: Add entries for 10^2^13 and 10^2^14.
370         [LAST_POW10 > _LAST_POW10]: Remove #error.
371         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
372         (_fpioconst_pow10): Change array size to
373         FPIOCONST_POW10_ARRAY_SIZE.
374         * stdlib/gen-fpioconst.c: New file.
375         * stdlib/gen-tst-strtod-round.c: Likewise.
376         * stdlib/tst-strtod-round-data: Likewise.
377         * stdlib/tst-strtod-round.c: Likewise.
378         * stdlib/Makefile (tests): Add tst-strtod-round.
380         [BZ #14459]
381         * stdlib/strtod_l.c: Include <stdint.h>.
382         (NDEBUG): Do not define.
383         (round_and_return): Change EXPONENT parameter to type intmax_t.
384         Rearrange calculations to avoid internal overflow possibilities.
385         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
386         Rearrange calculations to avoid internal overflow possibilities.
387         Assert that number fits inside MPNSIZE limbs.
388         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
389         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
390         calculations and add assertions to avoid internal overflow
391         possibilities.  Add casts to avoid signed/unsigned operations.
392         * stdlib/tst-strtod-overflow.c: New file.
393         * stdlib/Makefile (tests): Add tst-strtod-overflow.
395 2012-08-25  Marek Polacek  <polacek@redhat.com>
397         * time/time.h: Fix some typos in comments.
399 2012-08-23  Roland McGrath  <roland@hack.frob.com>
401         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
402         * posix/tst-rfc3484-2.c: Likewise.
403         * posix/tst-rfc3484-3.c: Likewise.
405 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
407         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
408         (EF_ARM_ABI_FLOAT_HARD): Likewise.
410 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
412         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
413         #include of fxstatat64.c.
415 2012-08-22  Roland McGrath  <roland@hack.frob.com>
417         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
418         * shadow/getspent_r.c: Likewise.
419         * shadow/getspnam.c: Likewise.
420         * shadow/getspnam_r.c: Likewise.
421         * gshadow/getsgent.c: Likewise.
422         * gshadow/getsgent_r.c: Likewise.
423         * gshadow/getsgnam.c: Likewise.
424         * gshadow/getsgnam_r.c: Likewise.
425         * inet/getnetbyad.c: Likewise.
426         * inet/getnetbyad_r.c: Likewise.
427         * inet/getnetbynm.c: Likewise.
428         * inet/getnetbynm_r.c: Likewise.
429         * inet/getnetent.c: Likewise.
430         * inet/getnetent_r.c: Likewise.
431         * inet/getproto.c: Likewise.
432         * inet/getproto_r.c: Likewise.
433         * inet/getprtent.c: Likewise.
434         * inet/getprtent_r.c: Likewise.
435         * inet/getprtname.c: Likewise.
436         * inet/getprtname_r.c: Likewise.
437         * inet/getrpcbyname.c: Likewise.
438         * inet/getrpcbyname_r.c: Likewise.
439         * inet/getrpcbynumber.c: Likewise.
440         * inet/getrpcbynumber_r.c: Likewise.
441         * inet/getrpcent.c: Likewise.
442         * inet/getrpcent_r.c: Likewise.
443         * inet/getaliasent.c: Likewise.
444         * inet/getaliasent_r.c: Likewise.
445         * inet/getaliasname.c: Likewise.
446         * inet/getaliasname_r.c: Likewise.
447         * nscd/getgrgid_r.c: Likewise.
448         * nscd/getgrnam_r.c: Likewise.
449         * nscd/gethstbyad_r.c: Likewise.
450         * nscd/gethstbynm3_r.c: Likewise.
451         * nscd/getpwnam_r.c: Likewise.
452         * nscd/getpwuid_r.c: Likewise.
453         * nscd/getsrvbynm_r.c: Likewise.
454         * nscd/getsrvbypt_r.c: Likewise.
455         * nscd/gai.c: Likewise.
457         * configure.in (build_nscd): New substituted variable, set
458         by --disable-build-nscd and defaults to $use_nscd.
459         * configure: Regenerated.
460         * config.make.in (build-nscd): New substituted variable.
461         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
462         Change conditional to require [$(build-nscd) = yes] as well.
463         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
465         [BZ# 13696]
466         * configure.in (use_nscd): New substituted variable, set by
467         --disable-nscd.  If enabled, define USE_NSCD.
468         * configure: Regenerated.
469         * config.h.in: Add USE_NSCD.
470         * config.make.in (use-nscd): New substituted variable.
471         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
472         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
473         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
474         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
475         (CFLAGS-getgrnam_r.c): Likewise.
476         (CFLAGS-initgroups.c): Likewise.
477         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
478         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
479         Variables removed.
480         * inet/getnetgrent_r.c
481         (nscd_setnetgrent): New function, broken out of ...
482         (setnetgrent): ... here.  Call it.
483         (innetgr): Conditionalize nscd bits on [USE_NSCD].
484         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
485         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
486         * nscd/Makefile (routines, aux): Move definitions after include of
487         Makeconfig.  Conditionalize on [$(use-nscd) != no].
488         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
489         Conditionalize on [USE_NSCD].
490         (is_nscd, nscd_init_cb): Likewise.
491         (nss_load_library): Conditionalize init callback on [USE_NSCD].
492         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
493         * nss/nss_db/db-init.c: Likewise.
494         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
495         [USE_NSCD].
496         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
497         (make_request): Use it.
498         (cache_valid_p): New function.
499         (__check_pf): Use it.
500         * NEWS: Add item for --disable-nscd.
502 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
504         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
505         to support sed >= 4.2.1-20-ga9bf076.
506         * configure: Regenerated.
508 2012-08-22  Roland McGrath  <roland@hack.frob.com>
510         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
511         Conditionalize whole body on [IREL].
513 2012-08-22  Jeff Law <law@redhat.com>
515         [BZ #14505]
516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
517         if the family is PF_UNSPEC.
519 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
521         * Makerules (lib-version): Rename from V.
522         (install-lib-nosubdir): Change V to lib-version.
524 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
526         [BZ #14252]
527         * powerpc32/power6/wcschr.c: New file.
528         * powerpc32/power6/wcscpy.c: New file.
529         * powerpc32/power6/wcsrchr.c: New file.
530         * powerpc64/power6/wcschr.c: New file.
531         * powerpc64/power6/wcscpy.c: New file.
532         * powerpc64/power6/wcsrchr.c: New file.
534 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
536         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
537         (two_way_short_needle): Use it.
538         * string/strstr.c (AVAILABLE1_USES_J): Define.
539         * string/strcasestr.c: Likewise.
541         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
542         array references.
543         * string/strcasestr.c (TOLOWER): Make side-effect safe.
545         [BZ #11607]
546         * NEWS: Add an entry.
547         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
548         define their defaults.
549         (two_way_short_needle): Detect end-of-string on-the-fly.
550         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
551         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
552         * string/bug-strcasestr1.c: New test.
553         * string/Makefile: Run it.
555 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
557         [BZ #11607]
558         * string/str-two-way.h (two_way_short_needle): Optimize matching of
559         the first character.
561 2012-08-21  Roland McGrath  <roland@hack.frob.com>
563         * csu/elf-init.c (__libc_csu_irel): Function removed.
564         * csu/libc-start.c (apply_irel): New function.
565         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
567 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
569         * sysdeps/unix/sysv/linux/kernel-features.h
570         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
571         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
572         <kernel-features.h>.
573         [__NR_fadvise64_64]: Make code unconditional.
574         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
575         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
576         !__NR_fadvise64_64)]: Likewise.
577         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
578         !__NR_fadvise64_64))]: Likewise.
579         [__NR_fadvise64]: Make code unconditional.
580         [!__NR_fadvise64]: Remove conditional code.
581         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
582         <kernel-features.h>.
583         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
584         unconditional.
585         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
586         conditional code.
587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
588         not include <kernel-features.h>.
589         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
590         unconditional.
591         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
592         conditional code.
593         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
594         include <kernel-features.h>.
595         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
596         unconditional.
597         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
598         conditional code.
600 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
602         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
603         slight instruction rearrangements per scrollpipe analysis.
604         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
606 2012-08-20  Roland McGrath  <roland@hack.frob.com>
608         * manual/syslog.texi (syslog; vsyslog, closelog):
609         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
610         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
612         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
613         DSOCAPS to match condition on defining it.
615 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
617         * sysdeps/unix/sysv/linux/kernel-features.h
618         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
620         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
621         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
623         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
624         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
626         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
627         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
629         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
630         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
632         * sysdeps/unix/sysv/linux/kernel-features.h
633         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
634         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
635         unconditional.
636         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
637         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
638         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
639         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
640         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
641         Make code unconditional.
642         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
643         (__mmap64) [!__NR_mmap2]: Likewise.
644         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
645         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
646         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
647         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
648         [__NR_mmap2]: Make code unconditional.
649         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
650         (__mmap64) [!__NR_mmap2]: Likewise.
652 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
654         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
656 2012-08-18  Andreas Jaeger  <aj@suse.de>
658         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
660 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
662         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
663         * include/unistd.h (__have_sock_cloexec): Likewise.
664         (__have_pipe2): Likewise.
665         (__have_dup3): Likewise.
667 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
669         [BZ #9685]
670         * include/unistd.h (__have_pipe2): Change define into an extern int.
671         (__have_dup3): Likewise.
672         * socket/have_sock_cloexec.c: Include fcntl.h.
673         (__have_pipe2): New variable.
674         (__have_dup3): Likewise.
676 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
678         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
680 2012-08-17  Marek Polacek  <polacek@redhat.com>
682         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
683         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
685 2012-08-17  Roland McGrath  <roland@hack.frob.com>
687         * configure.in: Add AC_SUBST for sysheaders.
688         * configure: Regenerated.
689         * config.make.in (sysheaders): New substituted variable.
691         * sysdeps/unix/mkfifo.c: Moved ...
692         * sysdeps/posix/mkfifo.c: ... here.
693         * sysdeps/unix/mkfifoat.c: Moved ...
694         * sysdeps/posix/mkfifoat.c: ... here.
696         * sysdeps/unix/utime.c: Moved ...
697         * sysdeps/posix/utime.c: ... here.
699         * sysdeps/unix/time.c: Moved ...
700         * sysdeps/posix/time.c: ... here.
701         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
702         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
704         * sysdeps/unix/nice.c: Moved ...
705         * sysdeps/posix/nice.c: ... here.
707         * sysdeps/unix/alarm.c: Moved ...
708         * sysdeps/posix/alarm.c: ... here.
710         * intl/Makefile ($(codeset_mo)): Depend on the input file.
712 2012-08-17  Jeff Law <law@redhat.com>
714         * intl/Makefile (codeset_mo): New variable.
715         ($(codeset_mo)): New target.
716         (tst-codeset.out): Depend on that.  Remove explicit rule.
717         (tst-gettext3.out, tst-gettext5.out): Likewise.
718         (LOCPATH-ENV, tst-codeset-ENV): New variables.
719         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
720         * intl/tst-codeset.sh: Remove.
721         * intl/tst-gettext3.sh: Likewise.
722         * intl/tst-gettext5.sh: Likewise.
724 2012-08-17  Roland McGrath  <roland@hack.frob.com>
726         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
727         * sysdeps/unix/syscalls.list: ... here.
729         * sysdeps/posix/getaddrinfo.c
730         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
731         (gaiconf_init, gaiconf_reload): Use them.
732         [!_STATBUF_ST_NSEC]
733         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
734         Define using time_t rather than struct timespec.
736         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
737         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
738         Macros removed.
739         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
740         [!NO_THREADS].
741         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
742         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
743         Likewise.
745         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
746         __libc_cleanup_push argument.
748         * bits/param.h: New file.
749         * misc/sys/param.h: New file.
750         * include/sys/param.h: New file.
751         * misc/Makefile (headers): Add bits/param.h.
752         * sysdeps/generic/sys/param.h: File removed.
753         * sysdeps/unix/sysv/linux/bits/param.h: New file.
754         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
755         * sysdeps/mach/hurd/bits/param.h: New file.
756         * sysdeps/mach/hurd/sys/param.h: New file.
758         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
759         last change.
761         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
762         [_IO_MTSAFE_IO].
763         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
764         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
765         New macros.
767         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
768         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
769         rather than -D_IO_MTSAFE_IO conditionally.
770         * stdio-common/Makefile (CPPFLAGS): Likewise.
771         * wcsmbs/Makefile (CPPFLAGS): Likewise.
772         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
773         Use $(libio-mtsafe).
774         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
775         of -D_IO_MTSAFE_IO.
776         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
777         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
778         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
779         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
780         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
781         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
782         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
783         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
784         (CFLAGS-fread_u_chk.c): Likewise.
785         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
786         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
787         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
788         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
789         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
790         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
791         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
792         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
793         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
795         * libio/Makefile: Test [$(libc-reentrant) = yes]
796         instead of [$(filter %REENTRANT, $(defines)) nonempty].
798         * Makeconfig
799         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
800         * sysdeps/pthread/configure: File removed.
801         * sysdeps/pthread/Makeconfig: New file.
802         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
803         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
805 2012-08-16  Gary Benson  <gbenson@redhat.com>
807         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
808         unmapping the first object in a namespace.
810 2012-08-16  Roland McGrath  <roland@hack.frob.com>
812         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
813         (__internal_setnetgrent): ... this.  Add internal_function to
814         definition.  Add libc_hidden_def.
815         (setnetgrent): Update caller.
816         (internal_endnetgrent): Renamed to ...
817         (__internal_endnetgrent): ... this.  Add internal_function to
818         definition.  Add libc_hidden_def.
819         (endnetgrent): Update caller.
820         (internal_getnetgrent_r): Renamed to ...
821         (__internal_getnetgrent_r): ... this.  Add internal_function to
822         definition.  Add libc_hidden_def.
823         (__getnetgrent_r): Update caller.
824         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
826 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
828         * stdlib/longlong.h: Update from GCC.
830 2012-08-16  Roland McGrath  <roland@hack.frob.com>
832         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
833         on _QL, which is set by umul_ppmm but never used.
834         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
835         variables, which are set by GMP macros but never used.
836         * stdio-common/_itowa.c (_itowa): Likewise.
837         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
838         * stdlib/mod_1.c (mpn_mod_1): Likewise.
840 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
842         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
843         struct La_sh_regs is not constant.
844         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
845         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
846         and struct La_sparc64_regs are not constant.
848 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
850         * sysdeps/unix/sysv/linux/kernel-features.h
851         (__ASSUME_POSIX_TIMERS): Remove.
852         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
853         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
854         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
855         Make code unconditional.
856         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
857         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
858         Make code unconditional.
859         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
860         * sysdeps/unix/sysv/linux/clock_nanosleep.c
861         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
862         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
863         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
864         Make code unconditional.
865         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
866         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
867         (__libc_missing_posix_timers): Remove.
869 2012-08-15  Roland McGrath  <roland@hack.frob.com>
871         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
872         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
874         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
876         * elf/dl-sym.c: Include <stdlib.h>.
878         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
879         constants, which avoids warnings in 32-bit builds.
881         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
882         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
884         * misc/lseek.c: File moved to ...
885         * io/lseek.c: ... here.
887         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
889         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
890         shifting LEN more than 31 bits at once.
892 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
894         [BZ #14195]
895         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
896         segmentation fault for a case of two empty input strings.
897         * string/test-strncasecmp.c (check1): Renamed to...
898         (bz12205): ...this.
899         (bz14195): Add new testcase for two empty input strings and N > 0.
900         (test_main): Call new testcase, adapt for renamed function.
902 2012-08-15  Andreas Jaeger  <aj@suse.de>
904         [BZ #14090]
905         * crypt/md5test2.c: New test, based on test supplied by Serge
906         Belyshev <belyshev@depni.sinp.msu.ru>.
907         * crypt/Makefile (xtests): Add md5test-giant..
908         * crypt/Makefile ($(objpfx)md5test-giant): Add.
910 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
912         [BZ #14090]
913         * crypt/md5.c (md5_process_block): Don't assume the buffer
914         length is less than 2**32.
915         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
916         length is less than 2**64.
918 2012-08-15  Roland McGrath  <roland@hack.frob.com>
920         * string/str-two-way.h: Include <sys/param.h>.
921         (MAX): Macro removed.
923         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
924         Move #define and #undef of memmove to just before and after
925         including <string.h>.
927         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
928         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
929         and after including <string.h>.  Move declarations of
930         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
931         to before #include "string/memmove.c".
933         * include/dirent.h: Declare __getdirentries.
935         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
936         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
938 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
940         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
941         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
942         * sysdeps/i386/configure: Regenerated.
943         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
944         STABS_CURRENT_FILE, and STABS_FUN.
945         (END): Remove call to STABS_FUN_END.
946         (STABS_CURRENT_FILE1): Delete.
947         (STABS_CURRENT_FILE): Likewise.
948         (STABS_FUN): Likewise.
949         (STABS_FUN_END): Likewise.
950         (STABS_FUN2): Likewise.
951         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
952         * sysdeps/x86_64/configure: Regenerated.
954 2012-08-14  Roland McGrath  <roland@hack.frob.com>
956         * elf/dl-open.c: Include <atomic.h>.
957         * elf/dl-lookup.c: Likewise.
959 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
961         * sysdeps/unix/sysv/linux/kernel-features.h
962         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
963         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
964         unconditionally.
965         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
966         unconditionally.
967         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
968         condition on __ASSUME_CLONE_THREAD_FLAGS.
970 2012-08-14  Andreas Jaeger  <aj@suse.de>
972         * sysdeps/i386/fpu/libm-test-ulps: Update.
974 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
976         * include/atomic.h (atomic_exchange_and_add): Split into ...
977         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
978         New atomic macros.
980 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
982         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
984 2012-08-13  Jeff Law <law@redhat.com>
986         * manual/stdio.texi (snprintf): Clarify handling of the trailing
987         null byte in the output string.
989 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
991         * sysdeps/unix/sysv/linux/kernel-features.h
992         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
993         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
994         (__ASSUME_ARG_MAX_STACK_BASED): Define.
995         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
996         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
997         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
998         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1000 2012-08-09  Jeff Law <law@redhat.com>
1002         [BZ #13939]
1003         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1004         When avoid_arena is set, don't retry in the that arena.  Pick the
1005         next one, whatever it might be.
1006         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1007         (arena_lock): Pass in new parameter to arena_get2.
1008         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1009         arena_get2.
1010         (__libc_malloc): Unify retrying after main arena failure with
1011         __libc_memalign version.
1012         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1014 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1016         [BZ #14166]
1017         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1018         to __redirect_strstr.
1019         (__strstr_sse42): Use typeof __redirect_strstr.
1020         (__strstr_ia32): Likewise.
1021         (__libc_strstr): New prototype.
1022         (strstr): Renamed to ...
1023         (__libc_strstr): This.
1024         (strstr): New strong alias of __libc_strstr.
1025         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1026         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1027         __redirect_time.
1028         Include <time.h>.
1029         (__libc_time): New prototype.
1030         (time_ifunc): Replace time with __libc_time.
1031         (time): New strong alias and hidden definition of __libc_time.
1032         (__GI_time): Remove strong alias.
1033         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1034         Include <stddef.h>.
1035         (memmove): Redefined to __redirect_memmove.
1036         (__memmove_sse2): Use typeof __redirect_memmove.
1037         (__memmove_ssse3): Likewise.
1038         (__memmove_ssse3_back): Likewise.
1039         (__libc_memmove): New prototype.
1040         (memmove): Renamed to ...
1041         (__libc_memmove): This.
1042         (memmove): New strong alias of __libc_memmove.
1044 2012-08-08  Mark Salter  <msalter@redhat.com>
1046         * elf/elf.h
1047         (R_MN10300_TLS_GD): Define.
1048         (R_MN10300_TLS_LD): Likewise.
1049         (R_MN10300_TLS_LDO): Likewise.
1050         (R_MN10300_TLS_GOTIE): Likewise.
1051         (R_MN10300_TLS_IE): Likewise.
1052         (R_MN10300_TLS_LE): Likewise.
1053         (R_MN10300_TLS_DTPMOD): Likewise.
1054         (R_MN10300_TLS_DTPOFF): Likewise.
1055         (R_MN10300_TLS_TPOFF): Likewise.
1056         (R_MN10300_SYM_DIFF): Likewise.
1057         (R_MN10300_ALIGN): Likewise.
1058         (R_MN10300_NUM): Update.
1060 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
1062         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1063         Remove.
1065 2012-08-08  Roland McGrath  <roland@hack.frob.com>
1067         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1069         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1070         sysdeps/unix -> sysdeps/posix move.
1071         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1073 2012-08-07      Allan McRae     <allan@archlinux.org>
1075         [BZ #14303]
1076         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1077         (SUNOS_CPP): Likewise.
1078         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1079         not found.
1080         (open_input): Call CPP using execvp.
1082 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
1084         * sysdeps/unix/sysv/linux/kernel-features.h
1085         (__ASSUME_PROT_GROWSUPDOWN): Remove.
1086         (__ASSUME_NO_CLONE_DETACHED): Likewise.
1087         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1088         (__ASSUME_WAITID_SYSCALL): Likewise.
1089         * sysdeps/unix/sysv/linux/dl-execstack.c
1090         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1091         code unconditional.
1092         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1093         conditional code.
1094         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1095         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1096         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1097         code.
1098         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1099         unconditional.
1100         [__ASSUME_WAITID_SYSCALL]: Likewise.
1101         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1103 2012-08-07  Roland McGrath  <roland@hack.frob.com>
1105         * sysdeps/unix/closedir.c: Renamed to ...
1106         * sysdeps/posix/closedir.c: ... here.
1107         * sysdeps/unix/dirfd.c: Renamed to ...
1108         * sysdeps/posix/dirfd.c: ... here.
1109         * sysdeps/unix/dirstream.h: Renamed to ...
1110         * sysdeps/posix/dirstream.h: ... here.
1111         * sysdeps/unix/fdopendir.c: Renamed to ...
1112         * sysdeps/posix/fdopendir.c: ... here.
1113         * sysdeps/unix/opendir.c: Renamed to ...
1114         * sysdeps/posix/opendir.c: ... here.
1115         * sysdeps/unix/readdir.c: Renamed to ...
1116         * sysdeps/posix/readdir.c: ... here.
1117         * sysdeps/unix/readdir_r.c: Renamed to ...
1118         * sysdeps/posix/readdir_r.c: ... here.
1119         * sysdeps/unix/rewinddir.c: Renamed to ...
1120         * sysdeps/posix/rewinddir.c: ... here.
1121         * sysdeps/unix/seekdir.c: Renamed to ...
1122         * sysdeps/posix/seekdir.c: ... here.
1123         * sysdeps/unix/telldir.c: Renamed to ...
1124         * sysdeps/posix/telldir.c: ... here.
1125         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1126         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1127         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1128         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1130         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1131         * bits/fcntl.h: ... here.
1133         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1134         not 0.
1135         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1136         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1137         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1138         (struct flock): Move l_start, l_len to the beginning.
1139         Use __pid_t for l_pid.
1140         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1141         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1142         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1143         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1144         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1145         [__USE_LARGEFILE64] (struct flock64): New type.
1146         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1148         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1149         * bits/dirent.h: ... here.
1151         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1152         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1154 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
1156         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1157         Change from 2.6.0 to 2.6.16.
1158         * sysdeps/unix/sysv/linux/configure: Regenerated.
1159         * sysdeps/unix/sysv/linux/kernel-features.h
1160         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1161         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1162         version.
1163         (__ASSUME_UTIMES): Likewise.
1164         (__ASSUME_CLONE_STOPPED): Remove.
1165         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1166         architectures, not kernel version.
1167         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1168         (__ASSUME_NO_CLONE_DETACHED): Likewise.
1169         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1170         (__ASSUME_WAITID_SYSCALL): Likewise.
1171         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1172         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1173         * README: State 2.6.16 as minimum Linux kernel version.  Do not
1174         refer to older versions.
1176 2012-08-06  Roland McGrath  <roland@hack.frob.com>
1178         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1179         Define alphasort64 as an alias.
1180         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1181         Define versionsort64 as an alias.
1182         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1183         Define scandir64 as an alias.
1184         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1185         Define scandirat64 as an alias.
1186         * dirent/alphasort64.c (alphasort64):
1187         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1188         * dirent/versionsort64.c: Likewise.
1189         * dirent/scandir64.c: Likewise.
1190         * dirent/scandirat64.c: Likewise.
1191         * sysdeps/wordsize-64/alphasort.c: File removed.
1192         * sysdeps/wordsize-64/alphasort64.c: File removed.
1193         * sysdeps/wordsize-64/scandir.c: File removed.
1194         * sysdeps/wordsize-64/scandir64.c: File removed.
1195         * sysdeps/wordsize-64/scandirat.c: File removed.
1196         * sysdeps/wordsize-64/scandirat64.c: File removed.
1197         * sysdeps/wordsize-64/versionsort.c: File removed.
1198         * sysdeps/wordsize-64/versionsort64.c: File removed.
1199         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1200         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1201         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1202         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1203         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1204         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1205         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1206         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1208         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1209         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1210         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1211         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1212         [defined __arch64__ || defined __sparcv9]
1213         (__INO_T_MATCHES_INO64_T): New macro.
1214         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1215         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1216         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1217         * sysdeps/unix/sysv/linux/bits/dirent.h
1218         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1219         (_DIRENT_MATCHES_DIRENT64): New macro.
1221         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1222         Define lockf64 as an alias.
1223         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1224         Define fseeko64 as an alias.
1225         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1226         Define ftello64 as an alias.
1227         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1228         Define _IO_fgetpos64 and fgetpos64 as aliases.
1229         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1230         Define _IO_fsetpos64 and fsetpos64 as aliases.
1231         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1232         Conditionalize body on this.
1233         * libio/fseeko64.c: Likewise.
1234         * libio/ftello64.c: Likewise.
1235         * libio/iofgetpos64.c: Likewise.
1236         * libio/iofsetpos64.c: Likewise.
1237         * sysdeps/wordsize-64/lockf.c: File removed.
1238         * sysdeps/wordsize-64/lockf64.c: File removed.
1239         * sysdeps/wordsize-64/fseeko.c: File removed.
1240         * sysdeps/wordsize-64/fseeko64.c: File removed.
1241         * sysdeps/wordsize-64/ftello.c: File removed.
1242         * sysdeps/wordsize-64/ftello64.c: File removed.
1243         * sysdeps/wordsize-64/iofgetpos.c: File removed.
1244         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1245         * sysdeps/wordsize-64/iofsetpos.c: File removed.
1246         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1247         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1248         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1249         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1250         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1251         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1252         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1253         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1254         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1255         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1256         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1258         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1259         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1260         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1261         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1262         [defined __arch64__ || defined __sparcv9]
1263         (__OFF_T_MATCHES_OFF64_T): New macro.
1264         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1265         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1266         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1267         (__OFF_T_MATCHES_OFF64_T): New macro.
1269 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1271         * stdlib/secure-getenv.c (__secure_getenv): Replace
1272         GLIBC_2_16 with GLIBC_2_17.
1274 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1276         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1277         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1279 2012-08-03  David S. Miller  <davem@davemloft.net>
1281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1283 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1285         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1286         Remove.
1287         (__ASSUME_CORRECT_SI_PID): Likewise.
1288         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1289         (__ASSUME_TMPFS_NAME): Likewise.
1290         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1291         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1292         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1293         (HAVE_AUX_SECURE): Make definition unconditional.
1294         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1295         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1297 2012-08-03  Roland McGrath  <roland@hack.frob.com>
1299         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1300         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1301         * sysdeps/mach/hurd/eloop-threshold.h: New file.
1302         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1303         __eloop_threshold instead of SYMLOOP_MAX.
1305         * sysdeps/generic/eloop-threshold.h: New file.
1306         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1307         of MAXSYMLINKS.
1308         * elf/chroot_canon.c (chroot_canon): Likewise.
1310 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1312         [BZ #13717]
1313         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1314         Change to 2.6.0 everywhere.
1315         * sysdeps/unix/sysv/linux/configure: Regenerated.
1316         * sysdeps/unix/sysv/linux/kernel-features.h
1317         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1318         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1319         kernel versions.
1320         (__ASSUME_POSIX_TIMERS): Define unconditionally.
1321         (__ASSUME_FUTEX_REQUEUE): Remove.
1322         (__ASSUME_STATFS64): Define unconditionally.
1323         (__ASSUME_AT_SECURE): Likewise.
1324         (__ASSUME_CORRECT_SI_PID): Likewise.
1325         (__ASSUME_TGKILL): Define without depending on kernel version for
1326         i386.
1327         (__ASSUME_UTIMES): Likewise.
1328         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1329         kernel version.
1330         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1331         (__ASSUME_TMPFS_NAME): Likewise.
1332         * README: Update reference to Linux kernel versions.
1334 2012-08-02  Marek Polacek  <polacek@redhat.com>
1336         [BZ# 14150]
1337         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
1338         libc_cv_asm_type_prefix with %.
1339         * configure: Regenerated.
1340         * include/libc-symbols.h: Remove comment about
1341         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1342         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1343         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1344         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1345         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1346         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1347         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1348         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1349         * elf/tst-unique2mod1.c: Likewise.
1350         * elf/tst-unique1mod2.c: Likewise.
1351         * elf/tst-unique1mod1.c: Likewise.
1352         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1353         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1354         Replace ASM_TYPE_DIRECTIVE with .type.
1355         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1356         * sysdeps/i386/sysdep.h: Likewise.
1357         * sysdeps/x86_64/sysdep.h: Likewise.
1358         * sysdeps/sh/sysdep.h: Likewise.
1359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1360         Do not define ASM_TYPE_DIRECTIVE.
1361         * sysdeps/powerpc/sysdep.h: Likewise.
1362         * sysdeps/powerpc/powerpc32/sysdep.h:
1363         Replace ASM_TYPE_DIRECTIVE with .type.
1364         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1365         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1366         * sysdeps/i386/fpu/e_powf.S: Likewise.
1367         * sysdeps/i386/fpu/e_expl.S: Likewise.
1368         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1369         * sysdeps/i386/fpu/e_acosh.S: Likewise.
1370         * sysdeps/i386/fpu/e_pow.S: Likewise.
1371         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1372         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1373         * sysdeps/i386/fpu/s_expm1.S: Likewise.
1374         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1375         * sysdeps/i386/fpu/e_log2.S: Likewise.
1376         * sysdeps/i386/fpu/e_log2l.S: Likewise.
1377         * sysdeps/i386/fpu/e_scalb.S: Likewise.
1378         * sysdeps/i386/fpu/e_powl.S: Likewise.
1379         * sysdeps/i386/fpu/e_log10f.S: Likewise.
1380         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1381         * sysdeps/i386/fpu/e_logl.S: Likewise.
1382         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1383         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1384         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1385         * sysdeps/i386/fpu/e_log2f.S: Likewise.
1386         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1387         * sysdeps/i386/fpu/e_log.S: Likewise.
1388         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1389         * sysdeps/i386/fpu/e_logf.S: Likewise.
1390         * sysdeps/i386/fpu/e_log10l.S: Likewise.
1391         * sysdeps/i386/fpu/e_atanh.S: Likewise.
1392         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1393         * sysdeps/i386/fpu/e_log10.S: Likewise.
1394         * sysdeps/i386/fpu/s_frexp.S: Likewise.
1395         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1396         * sysdeps/i386/fpu/s_asinh.S: Likewise.
1397         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1398         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1399         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1400         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1401         * sysdeps/i386/i686/strtok.S: Likewise.
1402         * sysdeps/i386/i386-mcount.S: Likewise.
1403         * sysdeps/i386/strtok.S: Likewise.
1404         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1405         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1406         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1407         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1408         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1409         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1410         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1411         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1412         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1413         * sysdeps/x86_64/_mcount.S: Likewise.
1414         * sysdeps/x86_64/strtok.S: Likewise.
1415         * sysdeps/sh/_mcount.S: Likewise.
1417 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1419         * libio/iofopen.c: Include <fcntl.h>.
1420         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1421         (_IO_fopen64, fopen64): Define as aliases.
1422         * libio/iofopen64.c: Include <fcntl.h>.
1423         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1424         Conditionalize body on this.
1425         * sysdeps/wordsize-64/iofopen.c: File removed.
1426         * sysdeps/wordsize-64/iofopen64.c: File removed.
1428 2012-08-01  Marek Polacek  <polacek@redhat.com>
1430         * libc/Makeconfig: Use elf in place of binfmt-subdir.
1431         Use dlfcn directly instead of a variable.
1432         (binfmt-subdir): Do not define.
1433         (dlfcn): Likewise.
1435 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
1437         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1438         Remove all definitions.
1439         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1440         <kernel-features.h>.
1441         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1442         (miss_F_GETOWN_EX): Remove all definitions.
1443         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1444         macro definition.
1445         [!__ASSUME_FCNTL64]: Remove conditional code.
1446         [__ASSUME_FCNTL64]: Make code unconditional.
1447         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1448         <kernel-features.h>.
1449         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1450         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1451         (lockf64) [__NR_fcntl64]: Make code unconditional.
1452         (lockf64) [__ASSUME_FCNTL64]: Likewise.
1454         * sysdeps/unix/sysv/linux/kernel-features.h
1455         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1456         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1457         Make code unconditional.
1458         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1459         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1461         [__NR_vfork]: Make code unconditional.
1462         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1463         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1465         [__NR_vfork]: Make code unconditional.
1466         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1467         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1469 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1471         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1472         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1474         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1475         Define mkstemp64 as an alias.
1476         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1477         Define mkstemps64 as an alias.
1478         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1479         Define mkostemp64 as an alias.
1480         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1481         Define mkostemps64 as an alias.
1482         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1483         Conditionalize body on this.
1484         * misc/mkostemp64.c: Likewise.
1485         * misc/mkostemps64.c: Likewise.
1486         * misc/mkstemps64.c: Likewise.
1487         * sysdeps/wordsize-64/mkstemp64.c: File removed.
1488         * sysdeps/wordsize-64/mkostemp64.c: File removed.
1489         * sysdeps/wordsize-64/mkostemp.c: File removed.
1490         * sysdeps/wordsize-64/mkstemp.c: File removed.
1491         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1492         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1493         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1494         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1496         [BZ #14138]
1497         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1498         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1499         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1500         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1502         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1503         compat_symbol macros from <shlib-compat.h> rather than the underlying
1504         default_symbol_version and symbol_version macros, so that DEFAULT
1505         lines in shlib-versions are respected.
1506         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1508 2012-08-01  Florian Weimer  <fweimer@redhat.com>
1510         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1511         Declare with warn_unused_result.
1512         (setgid, setregid, setegid, setresgid): Likewise.
1513         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1514         Likewise.
1515         * WUR-REPORT: Remove set*id functions.
1517 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
1519         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1521 2012-07-31  Roland McGrath  <roland@hack.frob.com>
1523         * include/sys/socket.h (__libc_accept, __libc_accept4):
1524         Add attribute_hidden.
1525         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1527         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1528         use of PTR_MANGLE.
1529         * inet/getnetgrent_r.c (setup): Likewise.
1531         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1533 2012-07-31  David S. Miller  <davem@davemloft.net>
1535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1537 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
1539         [BZ #13629]
1540         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1541         value between 1.0 and 2.0 and smaller part has absolute value less
1542         than 1.0.
1543         * math/s_clog10.c (__clog10): Likewise.
1544         * math/s_clog10f.c (__clog10f): Likewise.
1545         * math/s_clog10l.c (__clog10l): Likewise.
1546         * math/s_clogf.c (__clogf): Likewise.
1547         * math/s_clogl.c (__clogl): Likewise.
1548         * math/libm-test.inc (clog_test): Add more tests.
1549         (clog10_test): Likewise.
1550         * sysdeps/i386/fpu/libm-test-ulps: Update.
1551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1553 2012-07-31  Florian Weimer  <fweimer@redhat.com>
1555         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1556         Exit with zero in case no suitable GID is found, and write a
1557         message to standard error.
1559 2012-07-30  Roland McGrath  <roland@hack.frob.com>
1561         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1562         rather than to 1.
1563         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1564         (MAXPATHLEN): Removed.
1565         (NOGROUP, NODEV): New macros.
1566         (setbit, clrbit, isset, isclr): New macros.
1567         (howmany, roundup, powerof2): New macros.
1568         (DEV_BSIZE): New macro.
1570         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1571         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1573         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1574         definition on [!__NO_LONG_DOUBLE_MATH].
1576         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1577         PTR_MANGLE and PTR_DEMANGLE.
1579         * socket/accept4.c (accept4): Rename to __libc_accept4.
1580         Define accept4 as a weak alias.
1582         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1583         on [_DIRENT_HAVE_D_TYPE].
1584         * io/ftw.c (ftw_dir): Likewise.
1586         * io/xmknod.c (__xmknod): Don't check PATH for being null.
1588         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1590         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1591         Use the BSD numbers rather than the arbitrary ones we had.
1592         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1593         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1594         (SIGXCPU, SIGXFSZ): New macros.
1595         (_NSIG): Now 32.
1597         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1598         initializer on [_LIBC_REENTRANT].
1600         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1601         definitions inside [_POSIX_MAPPED_FILES].
1603         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1605         * dirent/opendir.c: Include <fcntl.h>.
1607         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1608         (__libc_getspecific): Likewise.
1609         (__libc_key_create): Likewise.
1611         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1612         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1613         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1614         (tmpfile64): Define as alias.
1615         * sysdeps/wordsize-64/tmpfile.c: File removed.
1616         * sysdeps/wordsize-64/tmpfile64.c: File removed.
1617         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1618         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1620         * stdio-common/vfscanf.c: Include <stdbool.h>.
1621         * nss/makedb.c: Likewise.
1622         * stdio-common/_i18n_number.h: Likewise.
1623         * argp/argp-help.c: Likewise.
1624         * posix/wordexp.c: Likewise.
1625         * sysdeps/posix/spawni.c: Likewise.
1626         * nss/nss_files/files-initgroups.c: Likewise.
1627         * stdio-common/reg-modifier.c: Include <stdlib.h>.
1628         * nss/nss_files/files-initgroups.c: Likewise.
1629         * nss/nss_db/db-netgrp.c: Likewise.
1630         * nss/nss_db/db-initgroups.c: Likewise.
1631         * io/fchmodat.c: Include <sys/stat.h>.
1633         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1634         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1636         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1637         [HAVE_MMAP].
1639         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1640         Add multiple inclusion protection.
1642 2012-07-27  David S. Miller  <davem@davemloft.net>
1644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1646 2012-07-27  Gary Benson  <gbenson@redhat.com>
1648         [BZ #14298]
1649         * elf/rtld.c: Include <stap-probe.h>.
1650         (dl_main): Added static probes "init_start" and "init_complete".
1651         * elf/dl-load.c: Include <stap-probe.h>.
1652         (lose): Take new parameter "nsid".
1653         Added static probe "map_failed".
1654         (_dl_map_object_from_fd): Pass namespace id to lose.
1655         Added static probe "map_start".
1656         (open_verify): Pass namespace id to lose.
1657         * elf/dl-open.c: Include <stap-probe.h>.
1658         (dl_open_worker) Added static probes "map_complete", "reloc_start"
1659         and "reloc_complete".
1660         * elf/dl-close.c: Include <stap-probe.h>.
1661         (_dl_close_worker): Added static probes "unmap_start" and
1662         "unmap_complete".
1663         * elf/rtld-debugger-interface.txt: New file documenting the above.
1665 2012-07-26  Roland McGrath  <roland@hack.frob.com>
1667         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1668         rather than a string variable.
1669         * sunrpc/rpc_main.c (h_output): Likewise.
1670         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1672 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
1674         * inet/check_native.c: New file.
1676 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
1678         [BZ #13629]
1679         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1680         if larger part has absolute value 1.0.
1681         * math/s_clog10.c (__clog10): Likewise.
1682         * math/s_clog10f.c (__clog10f): Likewise.
1683         * math/s_clog10l.c (__clog10l): Likewise.
1684         * math/s_clogf.c (__clogf): Likewise.
1685         * math/s_clogl.c (__clogl): Likewise.
1686         * math/libm-test.inc (clog_test): Add more tests.
1687         (clog10_test): Likewise.
1688         * sysdeps/i386/fpu/libm-test-ulps: Update.
1689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1691         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1692         (pltexit): Likewise.
1693         (La_regs): Likewise.
1694         (La_retval): Likewise.
1695         (int_retval): Likewise.
1696         Update #error for removed macros to refer only to definitions in
1697         tst-audit.h.
1698         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1699         macro.
1700         (pltexit): Likewise.
1701         (La_regs): Likewise.
1702         (La_retval): Likewise.
1703         (int_retval): Likewise.
1704         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1705         macro.
1706         (pltexit): Likewise.
1707         (La_regs): Likewise.
1708         (La_retval): Likewise.
1709         (int_retval): Likewise.
1710         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1711         macro.
1712         (pltexit): Likewise.
1713         (La_regs): Likewise.
1714         (La_retval): Likewise.
1715         (int_retval): Likewise.
1716         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1717         macro.
1718         (pltexit): Likewise.
1719         (La_regs): Likewise.
1720         (La_retval): Likewise.
1721         (int_retval): Likewise.
1722         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1723         macro.
1724         (pltexit): Likewise.
1725         (La_regs): Likewise.
1726         (La_retval): Likewise.
1727         (int_retval): Likewise.
1728         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1729         macro.
1730         (pltexit): Likewise.
1731         (La_regs): Likewise.
1732         (La_retval): Likewise.
1733         (int_retval): Likewise.
1734         * sysdeps/generic/tst-audit.h: Update comment to refer only to
1735         macro definitions in tst-audit.h.
1736         * sysdeps/i386/tst-audit.h: New file.
1737         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1738         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1739         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1740         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1741         * sysdeps/sh/tst-audit.h: Likewise.
1742         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1743         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1744         * sysdeps/x86_64/tst-audit.h: Likewise.
1746 2012-07-26  Andreas Jaeger  <aj@suse.de>
1748         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1749         ptrace.
1751         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1752         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1753         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1754         PTRACE_O_MASK.
1755         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1756         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1757         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1759         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1760         value.
1762         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1763         _sigsys.
1764         (si_call_addr, si_syscall, si_arch): Define new macro.
1765         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1766         _sigsys.
1767         (si_call_addr, si_syscall, si_arch): Define new marcro.
1768         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1769         _sigsys.
1770         (si_call_addr, si_syscall, si_arch): Define new macro.
1771         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1772         _sigsys.
1773         (si_call_addr, si_syscall, si_arch): Define new macro.
1775 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
1777         [BZ #13717]
1778         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1779         Change to 2.4.21 where previously 2.4.1.
1780         * sysdeps/unix/sysv/linux/configure: Regenerated.
1781         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1782         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1783         Linux kernel version.
1784         (__ASSUME_STD_AUXV): Remove.
1785         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1786         kernel version.
1787         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1788         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1789         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1790         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1791         (__ASSUME_NETLINK_SUPPORT): Likewise.
1792         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1793         (__no_netlink_support): Remove conditional definition.
1794         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1795         Remove.
1796         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1797         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1798         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1799         (if_nameindex_ioctl): Remove.
1800         (if_nameindex_netlink): Do not handle __no_netlink_support.
1801         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1802         code.
1803         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1804         Remove conditional code.
1805         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1806         code.
1807         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1808         unconditional.
1809         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1810         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1811         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1812         Remove.
1813         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1814         [!__ASSUME_STD_AUXV]: Remove conditional code.
1815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1816         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1817         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1819         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1820         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1821         code.
1822         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1824         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1825         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1826         conditional code.
1827         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1829         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1830         code.
1831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1832         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1833         conditional code.
1834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1835         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1836         code unconditional.
1837         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1838         conditional code.
1839         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1840         unconditional.
1841         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1842         conditional code.
1843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1844         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1845         unconditional.
1846         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1847         conditional code.
1848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1849         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1850         code unconditional.
1851         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1852         conditional code.
1853         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1854         unconditional.
1855         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1856         conditional code.
1857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1858         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1859         code unconditional.
1860         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1861         conditional code.
1862         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1863         unconditional.
1864         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1865         conditional code.
1867 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
1869         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1870         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1871         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1872         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1873         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1874         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1875         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1876         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1877         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1878         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1879         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1880         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1881         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1882         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1883         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1884         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1885         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1886         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1887         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1888         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1889         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1890         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1891         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1893 2012-07-25  Florian Weimer  <fweimer@redhat.com>
1895         * Versions.def: Add GLIBC_2.17.
1896         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1897         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1898         Introduce __libc_secure_getenv.
1899         * stdlib/Versions (2.17): Add secure_getenv
1900         (GLIBC_PRIVATE): Add __libc_secure_getenv.
1901         * stdlib/secure-getenv.c: Rename __secure_getenv to
1902         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
1903         symbol __secure_getenv for GLIBC_2.0.
1904         * stdlib/tst-secure-getenv.c: New.
1905         * stdlib/Makefile (tests): Add testcase.
1906         * manual/startup.texi (Environment Access): Document
1907         secure_getenv.
1908         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1909         __libc_secure_getenv.
1910         * inet/ruserpass.c (ruserpass): Likewise.
1911         * malloc/mtrace.c (mtrace): Likewise.
1912         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1913         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1914         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1915         * sysdeps/posix/tempname.c: Likewise.  Evaluate
1916         HAVE_SECURE_GETENV.
1917         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1918         __secure_getenv to __libc_secure_getenv.
1919         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1921         Likewise.
1922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1923         Likewise.
1924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1926         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1932 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
1934         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1935         (struct La_i86_retval): Likewise.
1936         (struct La_x86_64_regs): Likewise.
1937         (struct La_x86_64_retval): Likewise.
1938         (struct La_x32_regs): Likewise.
1939         (struct La_x32_retval): Likewise.
1940         (struct La_ppc32_regs): Likewise.
1941         (struct La_ppc32_retval): Likewise.
1942         (struct La_ppc64_regs): Likewise.
1943         (struct La_ppc64_retval): Likewise.
1944         (struct La_sh_regs): Likewise.
1945         (struct La_sh_retval): Likewise.
1946         (struct La_s390_32_regs): Likewise.
1947         (struct La_s390_32_retval): Likewise.
1948         (struct La_s390_64_regs): Likewise.
1949         (struct La_s390_64_retval): Likewise.
1950         (struct La_sparc32_regs): Likewise.
1951         (struct La_sparc32_retval): Likewise.
1952         (struct La_sparc64_regs): Likewise.
1953         (struct La_sparc64_retval): Likewise.
1954         (struct audit_ifaces): Remove architecture-specific pltenter and
1955         pltexit members.
1956         * sysdeps/i386/ldsodefs.h: New file.
1957         * sysdeps/powerpc/ldsodefs.h: Likewise.
1958         * sysdeps/s390/ldsodefs.h: Likewise.
1959         * sysdeps/sh/ldsodefs.h: Likewise.
1960         * sysdeps/sparc/ldsodefs.h: Likewise.
1961         * sysdeps/x86_64/ldsodefs.h: Likewise.
1963 2012-07-25  Marek Polacek  <polacek@redhat.com>
1965         [BZ #6808]
1966         * math/libm-test.inc (yn_test): Add another test.
1967         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1968         to ERANGE when the result is +-Inf.
1969         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1970         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1971         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1972         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1974 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
1976         * conform/data/time.h-data (NULL): Use macro-constant.  Require
1977         equal to 0.
1978         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
1979         clock_t.
1980         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
1982 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
1984         * configure.in <sysdeps resolving>: Correct printing
1985         Implies_before.
1986         * configure: Regenerate.
1988 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
1990         * math/w_ilogb.c: Include <limits.h>.
1991         * math/w_ilogbl.c: Likewise.
1993 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
1995         * manual/lang.texi (__va_copy): Document primarily as ISO C99
1996         va_copy.  Document allowing for unavailable va_copy only as
1997         pre-C99 compatibility.
1998         * manual/string.texi (Copying and Concatenation): Use va_copy
1999         instead of __va_copy in concat example.
2001 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
2003         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2004         (__sendto): Use create_address_port.  Initialize APORT and deallocate
2005         it if not null.
2007         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2008         with O_NOLINK passed to __file_name_lookup.
2010         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2011         with O_NOLINK passed to __file_name_lookup.
2013         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2014         negative N or less than NGIDS.
2016         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2017         type to string_t.  Set ERANGE as errno and return it if NAME is not big
2018         enough.  Use memcpy instead of strncpy.
2020 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
2022         * elf/Makefile (check-data): Remove.
2023         (localplt.data): New vpath directive.
2024         ($(objpfx)check-localplt.out): Use localplt.data from vpath
2025         instead of $(check-data).
2026         * scripts/data/localplt-generic.data: Move to ...
2027         * sysdeps/generic/localplt.data: ... here.
2028         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2029         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2030         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2032         ... here.
2033         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2035         ... here.
2036         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2038         ... here.
2039         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2041         ... here.
2042         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2044         ... here.
2045         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2047         ... here.
2049 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2051         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2052         PPC32 and PPC64 files.
2053         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2054         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2056 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2058         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2059         __makecontext_ret to ...
2060         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2061         ... here and call exit if uc_link is NULL.  New file.
2062         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2063         __makecontext_ret.S.
2064         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2065         __makecontext_ret to ...
2066         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2067         ... here and call exit if uc_link is NULL.  New file.
2068         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2069         __makecontext_ret.S.
2071 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2073         * elf/elf.h (R_390_IRELATIVE): New definition.
2074         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2075         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
2076         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2077         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2078         (elf_machine_lazy_rel): Likewise.
2079         * sysdeps/s390/dl-irel.h: New file.
2080         * sysdeps/s390/s390-64/memcpy.S: New asm code.
2081         * sysdeps/s390/s390-64/memset.S: New asm code.
2082         * sysdeps/s390/s390-64/memcmp.S: New asm code.
2083         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2084         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2085         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2086         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2087         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2088         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2089         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2090         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2091         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2092         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2093         * sysdeps/s390/s390-32/memcpy.S: New asm code.
2094         * sysdeps/s390/s390-32/memset.S: New asm code.
2095         * sysdeps/s390/s390-32/memcmp.S: New asm code.
2097 2012-07-17  Marek Polacek  <polacek@redhat.com>
2099         [BZ #14349]
2100         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2101         * sysdeps/s390/s390-64/configure.in: Likewise.
2102         * sysdeps/sparc/configure.in: Likewise.
2103         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2104         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2105         * sysdeps/i386/configure.in: Likewise.
2106         * sysdeps/x86_64/configure.in: Likewise.
2107         * sysdeps/sh/configure.in: Likewise.
2108         * sysdeps/s390/s390-32/configure: Regenerated.
2109         * sysdeps/s390/s390-64/configure: Likewise.
2110         * sysdeps/x86_64/configure: Likewise.
2111         * sysdeps/sh/configure: Likewise.
2112         * sysdeps/powerpc/powerpc64/configure: Likewise.
2113         * sysdeps/powerpc/powerpc32/configure: Likewise.
2114         * sysdeps/sparc/configure: Likwise.
2115         * sysdeps/i386/configure: Likewise.
2117         * elf/dl-open.c: Comment fixes.
2119 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
2121         * Makefile [CXX] (check-data): Remove.
2122         [CXX] (c++-types.data): New vpath directive.
2123         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2124         vpath.  Do not allow for C++ type data being missing.
2125         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2126         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2127         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2128         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2129         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2130         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2131         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2133         ... here.
2134         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2136         ... here.
2137         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2139         ... here.
2140         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2142         ... here.
2143         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2145         ... here.
2146         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2148         ... here.
2149         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2151         ... here.
2152         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2155         * elf/tls-macros.h (TLS_LE): Move architecture-specific
2156         definitions to architecture-specific files.
2157         (TLS_IE): Likewise.
2158         (TLS_LD): Likewise.
2159         (TLS_GD): Likewise.
2160         * sysdeps/i386/tls-macros.h: New file.
2161         * sysdeps/powerpc/tls-macros.h: Likewise.
2162         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2163         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2164         * sysdeps/sh/tls-macros.h: Likewise.
2165         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2166         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2167         * sysdeps/x86_64/tls-macros.h: Likewise.
2169 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2171         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2172         zero value for regular exit case.
2174         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2175         (__start_context): Preserve zero value for regular exit case.
2177 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2178             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2180         * manual/setjmp.texi (setcontext): Clarify normal process
2181         termination when uc_link is the null pointer.
2182         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2183         exit call.
2185 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
2187         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2188         preprocessor.  Test for each exception mask separately.
2190 2012-07-16  Andreas Jaeger  <aj@suse.de>
2192         * po/ru.po: Update from translation team.
2194 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
2196         * conform/data/string.h-data (NULL): Use macro-constant.  Require
2197         equal to 0.
2198         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2199         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2200         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2201         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2202         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2204 2012-07-13  Andreas Jaeger  <aj@suse.de>
2206         * po/fr.po: Update from translation team.
2208 2012-07-12  Marek Polacek  <polacek@redhat.com>
2210         [BZ #14173]
2211         * math/libm-test.inc (yn_test): Add test for BZ #14173.
2212         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2213         loop condition.
2215 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
2217         [BZ #13717]
2218         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2219         Change to 2.4.1 where previously 2.4.0.
2220         * sysdeps/unix/sysv/linux/configure: Regenerated.
2221         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2222         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2223         version.
2224         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2225         (__ASSUME_AT_CLKTCK): Remove.
2226         (__ASSUME_AT_PAGESIZE): Likewise.
2227         (__ASSUME_AT_XID): Likewise.
2228         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2229         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2230         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2231         unconditionally.
2232         (HAVE_AUX_PAGESIZE): Likewise.
2233         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2234         [__ASSUME_AT_CLKTCK]: Make code unconditional.
2235         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2237 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
2239         [BZ #14307]
2240         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2241         the temporary buffer used to invoke __gethostbyname2_r,
2242         __gethostbyaddr_r and gethostbyname4_r to make room for struct
2243         host_data / struct gaih_addrtuple.
2244         * resolv/nss_dns/dns-host.c (global scope): Move definition of
2245         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2246         header file nss/nsswitch.h.
2247         * nss/nsswitch.h (global scope): Add definition of implementation
2248         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2249         resolv/nss_dns/dns-host.c).
2251 2012-07-11  Andreas Jaeger  <aj@suse.de>
2253         * po/fr.po: Update from translation team.
2255         * po/sv.po: Update from translation team
2256         * po/fr.po: Another update from translation team.
2258 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2260         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2261         for subnormals or multiply small sinh result by itself.
2262         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2265 2012-07-11  David S. Miller  <davem@davemloft.net>
2267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2269 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
2271         [BZ #14347]
2272         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2273         (INTERNAL_MARK): Shift it here.
2275 2012-07-10  Marek Polacek  <polacek@redhat.com>
2277         [BZ #14151]
2278         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
2279         libc_cv_asm_global_directive with .globl.
2280         * configure: Regenerated.
2281         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2282         with .globl.
2283         * sysdeps/i386/configure: Regenerated.
2284         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2285         with .globl.
2286         * sysdeps/x86_64/configure: Regenerated.
2287         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2288         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2289         * elf/tst-unique2mod2.c: Likewise.
2290         * elf/tst-unique2mod1.c: Likewise.
2291         * elf/tst-unique1mod2.c: Likewise.
2292         * elf/tst-unique1mod1.c: Likewise.
2293         * sysdeps/s390/s390-32/sysdep.h: Likewise.
2294         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2295         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2296         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2297         * sysdeps/mach/sysdep.h: Likewise.
2298         * sysdeps/i386/sysdep.h: Likewise.
2299         * sysdeps/i386/i386-mcount.S: Likewise.
2300         * sysdeps/x86_64/_mcount.S: Likewise.
2301         * sysdeps/x86_64/sysdep.h: Likewise.
2302         * sysdeps/sh/_mcount.S: Likewise.
2303         * sysdeps/sh/sysdep.h: Likewise.
2304         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2305         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2306         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2307         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2308         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2309         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2310         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2311         * locale/localeinfo.h: Likewise.
2312         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2313         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2315 2012-07-09  Roland McGrath  <roland@hack.frob.com>
2317         [BZ #14336]
2318         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2319         system".
2320         * manual/message.texi (The Uniforum approach): Likewise.
2321         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2322         (glibc iconv Implementation): Likewise.
2324 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
2326         [BZ #14337]
2327         * math/s_clog.c (__clog): Avoid scaling a value down where that
2328         could result in underflow.
2329         * math/s_clog10.c (__clog10): Likewise.
2330         * math/s_clog10f.c (__clog10f): Likewise.
2331         * math/s_clog10l.c (__clog10l): Likewise.
2332         * math/s_clogf.c (__clogf): Likewise.
2333         * math/s_clogl.c (__clogl): Likewise.
2334         * math/libm-test.inc (clog_test): Add more tests.
2335         (clog10_test): Likewise.
2336         * sysdeps/i386/fpu/libm-test-ulps: Update.
2337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2339 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
2341         [BZ #14283]
2342         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2343         by 7 not 8 to examine high bit of fractional part.
2345         [BZ #14042]
2346         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2347         for call to __mcount_internal.
2348         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2349         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2350         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2352 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
2354         [BZ #14154]
2355         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2356         approximation for values within 0x1p-13f of an odd multiple of
2357         pi/4.
2358         * math/libm-test.inc (tan_test): Do not allow spurious underflow
2359         exception.  Add more tests.
2360         * sysdeps/i386/fpu/libm-test-ulps: Update.
2362         [BZ #6778]
2363         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2364         inputs and return -1 for them.  Do not check for +Inf in case not
2365         reachable for +Inf.
2366         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2367         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2368         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2369         and return -1 for them.  Do not check for +Inf in case not
2370         reachable for +Inf.
2371         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2372         define.
2373         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2374         and return -1 for them.  Do not check for +Inf in case not
2375         reachable for +Inf.
2376         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
2377         spurious underflow.
2378         * sysdeps/i386/fpu/libm-test-ulps: Update.
2379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2381 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
2383         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2385 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
2387         [BZ #14157]
2388         [BZ #14331]
2389         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2390         could result in spurious underflow.  Scale down values above
2391         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2392         * math/s_csqrtf.c (__csqrtf): Likewise.
2393         * math/s_csqrtl.c (__csqrtl): Likewise.
2394         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
2395         spurious underflow.
2396         * sysdeps/i386/fpu/libm-test-ulps: Update.
2397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2399 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2401         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2402         xopen-msg.sed.
2403         * catgets/xopen-msg.awk: New file.
2404         * catgets/xopen-msg.sed: Removed.
2406         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2407         po2text.sed.
2408         * intl/po2test.awk: New file.
2409         * intl/po2test.sed: Removed.
2411 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
2413         [BZ #14328]
2414         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2415         or multiply small sinh result by itself.
2416         * math/s_ctanf.c (__ctanf): Likewise.
2417         * math/s_ctanh.c (__ctanh): Likewise.
2418         * math/s_ctanhf.c (__ctanhf): Likewise.
2419         * math/s_ctanhl.c (__ctanhl): Likewise.
2420         * math/s_ctanl.c (__ctanl): Likewise.
2421         * math/libm-test.inc (ctan_test_tonearest): New function.
2422         (ctan_test_towardzero): Likewise.
2423         (ctan_test_downward): Likewise.
2424         (ctan_test_upward): Likewise.
2425         (ctanh_test_tonearest): Likewise.
2426         (ctanh_test_towardzero): Likewise.
2427         (ctanh_test_downward): Likewise.
2428         (ctanh_test_upward): Likewise.
2429         (main): Call these new functions.
2430         * sysdeps/i386/fpu/libm-test-ulps: Update.
2431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2433 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
2435         * .gitignore: Delete /ports entry.
2437 2012-07-03  Andreas Jaeger  <aj@suse.de>
2439         * po/bg.po: Update from translation team.
2440         * po/cs.po: Likewise.
2441         * po/de.po: Likewise.
2442         * po/hr.po: Likewise.
2443         * po/nl.pl: Likewise.
2444         * po/pl.po: Likewise.
2445         * po/vi.po: Likewise.
2447 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
2449         * Makeconfig [!+link] (+link-before-libc): New variable.
2450         [!+link] (+link-after-libc): Likewise.
2451         [!+link] (+link-tests): Likewise.
2452         [!+link] (+link): Define in terms of $(+link-before-libc) and
2453         $(+link-after-libc).
2454         [!+link-static] (+link-static-before-libc): New variable.
2455         [!+link-static] (+link-static-after-libc): Likewise.
2456         [!+link-static] (+link-static-tests): Likewise.
2457         [!+link-static] (+link-static): Define in terms of
2458         $(+link-static-before-libc) and $(+link-static-after-libc).
2459         [build-shared] (link-libc-before-gnulib): New variable.
2460         [build-shared] (link-libc-tests): Likewise.
2461         [build-shared] (link-libc): Define in terms of
2462         $(link-libc-before-gnulib).
2463         [!build-shared] (link-libc-tests): New variable.
2464         (link-libc-static-tests): New variable.
2465         [!gnulib] (gnulib-arch): New variable.
2466         [!gnulib] (gnulib-tests): Likewise.
2467         [!gnulib] (static-gnulib-arch): Likewise.
2468         [!gnulib] (static-gnulib-tests): Likewise.
2469         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
2470         Define with "=" instead of ":=".
2471         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
2472         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
2473         * Rules (binaries-all-notests): New variable.
2474         (binaries-all-tests): Likewise.
2475         (binaries-static-notests): Likewise.
2476         (binaries-static-tests): Likewise.
2477         (binaries-all): Define using $(binaries-all-notests) and
2478         $(binaries-all-tests).
2479         (binaries-static): Define using $(binaries-static-notests) and
2480         $(binaries-static-tests).
2481         (binaries-shared-tests): New variable.
2482         (binaries-shared-notests): Likewise.
2483         (binaries-shared): Remove variable.
2484         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2485         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2486         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2487         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2488         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2489         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2490         * elf/Makefile (sln-modules): New variable.
2491         (extra-objs): Add $(sln-modules:=.o).
2492         (ldconfig-modules): Add static-stubs.
2493         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2494         * elf/static-stubs.c: New file.
2496         [BZ #14283]
2497         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2498         by 7 not 8 to examine high bit of fractional part.  Use volatile
2499         variables when splitting into final array of floats if
2500         __FLT_EVAL_METHOD__ != 0.
2501         * math/libm-test.inc (cos_test): Add another test.
2502         (sin_test): Likewise.
2503         * sysdeps/i386/fpu/libm-test-ulps: Update.
2505         [BZ #14273]
2506         * math/libm-test.inc (cosh_test): Add more tests.
2508         * version.h (RELEASE): Set to "development".
2509         (VERSION): Set to "2.16.90".
2511 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
2513         * NEWS: Update copyright. Remove last-updated date.
2514         Mention math library bug fixes and timezone data changes.
2515         * README: Mention GNU/Hurd, x32, and HPPA support status.
2517 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
2519         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2521 2012-06-27  Andreas Jaeger  <aj@suse.de>
2523         * manual/contrib.texi (Contributors): Add Samuel Thibault.
2525 2012-06-25  Andreas Jaeger  <aj@suse.de>
2527         * sysdeps/s390/fpu/libm-test-ulps: Update.
2529 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
2530             Thomas Schwinge  <thomas@codesourcery.com>
2532         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2533         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2534         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2535         fanotify_mark.
2537 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
2539         * sysdeps/mach/start.c: Remove file.
2540         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2541         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2542         * sysdeps/sh/init-first.c: Likewise.
2544         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2545         registers for frame unwinding purposes, add CFI directives.
2546         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2547         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2548         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2549         Likewise.
2551         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2552         __fortify_fail returning.
2553         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2555         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2556         sysdeps/sh/____longjmp_chk.S.
2557         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2558         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2559         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2560         (gen-as-const-headers): Append sigaltstack-offsets.sym.
2562         * sysdeps/sh/abort-instr.h: New file.
2563         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2564         process in case exit returns.
2566         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2567         initialize the GOT register before use.
2569         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2570         calculation of ARGC > 4.
2572         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2573         meaningful names to some local labels.
2575 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2576             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2578         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2579         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2580         (__arch_compare_and_exchange_val_16_acq): Likewise.
2581         (__arch_compare_and_exchange_val_32_acq): Likewise.
2582         (atomic_exchange_and_add): Fix gUSA sequence.
2583         (atomic_add): Likewise.
2584         (atomic_add_negative): Likewise.
2585         (atomic_add_zero): Likewise.
2586         (atomic_bit_test_set): Likewise.
2588 2012-06-22  Andreas Schwab  <schwab@redhat.com>
2590         [BZ #13579]
2591         * include/link.h (struct link_map): Add l_free_initfini.
2592         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2593         l_initfini.
2594         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2595         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2596         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2597         set.
2599 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
2601         * configure.in: Use AC_LANG_SOURCE.
2602         * configure: Regenerate.
2604 2012-06-22  Roland McGrath  <roland@hack.frob.com>
2606         * configure.in (libc_cv_localstatedir): New substituted variable.
2607         * configure: Regenerated.
2608         * config.make.in (localstatedir): New variable, substituted from
2609         libc_cv_localstatedir.
2610         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2611         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2612         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2613         * sysdeps/gnu/configure: Regenerated.
2615 2012-06-21  Jeff Law  <law@redhat.com>
2617         [BZ #14277]
2618         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2619         free.  Simplify list management for _LIBC case.
2621 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
2623         [BZ #14273]
2624         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2625         Clear sign bit of 64-bit integer value before comparing against
2626         overflow value.
2628         * sysdeps/mach/configure: Regenerated.
2630 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
2632         [BZ #14278]
2633         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2635 2012-06-21  Jeff Law  <law@redhat.com>
2637         [BZ #13882]
2638         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
2639         uint16_t for elements in the "seen" array to avoid char overflows.
2640         * elf/dl-fini.c (_dl_sort_fini): Likewise.
2641         * elf/dl-open.c (dl_open_worker): Likewise.
2643 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
2645         * scripts/list-sources.sh: Scan PORTS for translations.
2646         * po/libc.pot: Regenerated.
2648 2012-06-21  Andreas Jaeger  <aj@suse.de>
2650         [BZ #12194]
2651         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2652         warning.
2653         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2654         * bits/byteswap-16.h (__bswap_16): Likewise.
2655         * bits/byteswap.h (__bswap_constant_16): Likewise.
2657 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
2659         [BZ #14117]
2660         * sysdeps/i386/fpu_control.h: Removed.
2661         * sysdeps/x86_64/fpu_control.h: Moved to ...
2662         * sysdeps/x86/fpu_control.h: Here.
2664         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2665         (_FPU_SETCW): Likewise.
2667 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2669         [BZ #14117]
2670         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2671         * sysdeps/x86/fpu/bits/mathinline.h: This.
2672         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2674         [BZ #14050]
2675         [BZ #14117]
2676         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2677         functions if __x86_64__ is defined.
2679 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
2681         * string/endian.h: Add !__ASSEMBLER__ condition for including
2682         conversion interfaces.
2684 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
2686         [BZ #14241]
2687         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2688         of ABS(x) in calculating zero to negative powers other than odd
2689         integers.
2690         * math/libm-test.inc (pow_test): Add more tests.
2692 2012-06-15  Andreas Jaeger  <aj@suse.de>
2694         * manual/contrib.texi (Contributors): Update entry of Liubov
2695         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2696         Machado Filho.
2698 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
2700         * string/string.h: Add __wur to GNU version of strerror_r.
2702 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
2704         [BZ #14229]
2705         * string/Makefile (tests): Add tst-strtok_r.
2706         * string/tst-strtok_r.c: New file.
2707         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2708         RAX_LP/RDX_LP on SAVE_PTR.
2710 2012-06-14  Roland McGrath  <roland@hack.frob.com>
2712         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2714 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
2716         * libm_test.inc (csqrt_test): Allow more spurious underflow
2717         exceptions.
2718         (j0_test): Likewise.
2719         (j1_test): Likewise.
2720         (y0_test): Likewise.
2721         (y1_test): Likewise.
2723 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
2725         * po/Makefile (libc.pot): Use UTF-8 charset.
2727 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
2729         [BZ #14210]
2730         Suppress sign-conversion warning from FD_SET.
2731         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2732         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2733         not unsigned long int.
2734         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2736 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
2738         [BZ #14050]
2739         [BZ #14117]
2740         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2741         __extern_always_inline instead of __extern_inline.
2742         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2743         (__signbit): Likewise.
2744         (__signbitl): Support C++ namespace.
2745         (lrintf): New inline function.
2746         (lrint): Likewise.
2747         (llrintf): Likewise.
2748         (llrint): Likewise.
2749         (fmaxf): Likewise.
2750         (fmax): Likewise.
2751         (fminf): Likewise.
2752         (fmin): Likewise.
2753         (rint): Likewise.
2754         (rintf): Likewise.
2755         (ceil): Likewise.
2756         (ceilf): Likewise.
2757         (floor): Likewise.
2758         (floorf): Likewise.
2759         (nearbyint): Likewise.
2760         (nearbyintf): Likewise.
2762 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
2764         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2765         non-default versions.
2767 2012-06-11  Roland McGrath  <roland@hack.frob.com>
2769         [BZ #14218]
2770         * manual/argp.texi (Argp): Reword argp_parse description slightly.
2772 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
2774         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2775         (FE_UPWARD, FE_DOWNWARD): Don't define.
2776         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2777         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2779         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2780         reading it.
2781         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2782         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2784 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2786         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2787         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2788         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2789         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2791 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2793         [BZ #14117]
2794         * sysdeps/i386/fpu/bits/fenv.h: Removed.
2795         * sysdeps/i386/fpu/Implies: New file.
2796         * sysdeps/x86_64/fpu/Implies: Likewise.
2797         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2798         * sysdeps/x86/fpu/bits/fenv.h: This.
2800         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2801         __SSE_MATH__.
2803 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2805         [BZ #14134]
2806         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2807         character 0xffff that matches the last element of the
2808         conversion table.
2810 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2812         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2813         fmodl commit.
2815 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2817         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2818         values higher than 25.6283.
2820 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2822         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2823         subnormal exponent extraction and add some __builtin_expect.
2824         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2825         Fix for subnormal mantissa calculation.
2827 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
2829         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2830         cpu2 is -1 and errno is not ENOSYS.
2832 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
2834         [BZ #14117]
2835         * sysdeps/i386/i486/bits/string.h: Renamed to ...
2836         * sysdeps/x86/bits/string.h: This.
2837         * sysdeps/x86_64/bits/string.h: Removed.
2839         * sysdeps/i386/i486/bits/string.h: Define inline functions only
2840         if not compiling for x86-64, but compiling for >= i486.
2842         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2843         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2845         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2846         New macro from Linux kernel 3.4.0.
2847         (FP_XSTATE_MAGIC2): Likewise.
2848         (FP_XSTATE_MAGIC2_SIZE): Likewise.
2849         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2850         (struct _fpx_sw_bytes): New struct.
2851         (struct _xsave_hdr): Likewise.
2852         (struct _ymmh_state): Likewise.
2853         (struct _xstate): Likewise.
2855         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2856         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2857         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2858         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2859         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2860         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2862         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2863         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2864         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2865         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2866         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2867         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2869 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2871         [BZ #13743]
2872         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2873         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2874         (sysdep_headers): Include sys/platform/ppc.h.
2875         * sysdeps/powerpc/test-gettimebase.c: Test for
2876         __ppc_get_timebase() to catch future ISA opcode/insn changes.
2877         * manual/Makefile (appendices): Include platform.texi.
2878         * manual/contrib.texi (Contributors): Update @node pointers.
2879         * manual/maint.texi (Maintenance): Likewise.
2880         (Platform): New node.
2881         * manual/platform.texi: New file.  Document the new features.
2883 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2884             Jakub Jelinek  <jakub@redhat.com>
2886         [BZ #14188]
2887         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2888         where __builtin_expect is unavailable.
2890 2012-06-03  David S. Miller  <davem@davemloft.net>
2892         * stdlib/longlong.h: Updated from GCC.
2894 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
2896         [BZ #14042]
2897         * sysdeps/powerpc/powerpc32/mcount.c: New file.
2898         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2899         __mcount_internal.
2900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2901         (GLIBC_2.16): Likewise.
2903 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2905         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2907 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
2909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2910         (default-abi): New variable.
2911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2912         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2913         variable.
2914         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2915         Likewise.
2916         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2917         Likewise.
2918         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2919         Likewise.
2921         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2922         definition.  Document in comment.
2924 2012-06-01  David S. Miller  <davem@davemloft.net>
2926         * stdlib/longlong.h: Updated from GCC.
2928 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2930         [BZ #14117]
2931         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2932         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2933         sys/debugreg.h sys/io.h here.
2934         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2935         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2936         sys/io.h.
2937         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2938         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2939         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2940         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2941         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2942         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2944         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2945         Define only if __x86_64__ is defined.
2947 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
2949         [BZ #14048]
2950         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2951         Use int64_t for variable i.
2952         * math/libm-test.inc (fmod_test): Add more tests.
2954         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2955         z computation is not scheduled after fetestexcept.
2956         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2957         Use math_force_eval instead of asm to ensure calculation scheduled
2958         before exception test.
2959         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2960         Ensure a1 + u.d computation is not scheduled after fetestexcept.
2962 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
2964         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2965         computation is not scheduled after fetestexcept.
2967 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2969         [BZ #14117]
2970         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2971         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2973 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2975         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2976         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2978 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
2980         [BZ #14117]
2981         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2982         <bits/wordsize.h>.
2983         (__WCHAR_MIN): Support __WORDSIZE == 64.
2984         (__WCHAR_MAX): Likewise.
2986         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2987         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2989         [BZ #14183]
2990         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2991         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2993         [BZ #14117]
2994         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2995         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2997         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2998         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3000         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3001         Defined to 1 if __x86_64__ isn't defined.
3002         (_STAT_VER_LINUX_OLD): New.
3003         (st_atime): Remove duplicate.
3004         (st_mtime): Likewise.
3005         (st_ctime): Likewise.
3007 2012-05-31  David S. Miller  <davem@davemloft.net>
3009         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3010         entries.
3012 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
3014         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3015         gen-libm-test.pl.
3017         [BZ #14132]
3018         * elf/dl-reloc.c: Include <_itoa.h>.
3019         (_dl_reloc_bad_type): Remove use of INTUSE.
3020         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3021         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3022         * stdio-common/psiginfo.c (psiginfo): Likewise.
3023         * stdio-common/psignal.c (psignal): Likewise.
3024         * string/strsignal.c (strsignal): Likewise.
3025         * include/signal.h (_sys_siglist): Declare hidden proto.
3026         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
3027         INTVARDEF with libc_hidden_data_def.
3028         * stdio-common/itoa-udigits.c: Likewise.
3029         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3030         (_itoa_lower_digits_internal): Remove declaration.
3031         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3032         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3033         (_sys_sigabbrev_internal): Remove aliases.
3034         (_sys_siglist): Define hidden alias.
3036 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
3038         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3039         bits/sysctl.h.
3041 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
3043         [BZ #14117]
3044         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3045         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3047         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3048         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3049         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3050         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3051         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3052         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3054         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3055         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3056         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3058         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3059         with __addr.
3060         (insw): Likewise.
3061         (insl): Likewise.
3062         (outsb): Likewise.
3063         (outsw): Likewise.
3064         (outsl): Likewise.
3066         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3067         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3068         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3070         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3071         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3072         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3073         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3074         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3075         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3077         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3078         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3080         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3081         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3083         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3084         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3085         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3087         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3088         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3089         to ...
3090         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3092         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3093         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3094         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3096         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3097         for x86-64.
3098         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3100 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
3102         * math/math.h (M_El): Use two more decimal places.
3103         (M_LOG2El): Likewise.
3104         (M_LOG10El): Likewise.
3105         (M_LN2l): Likewise.
3106         (M_LN10l): Likewise.
3107         (M_PIl): Likewise.
3108         (M_PI_2l): Likewise.
3109         (M_PI_4l): Likewise.
3110         (M_1_PIl): Likewise.
3111         (M_2_PIl): Likewise.
3112         (M_2_SQRTPIl): Likewise.
3113         (M_SQRT2l): Likewise.
3114         (M_SQRT1_2l): Likewise.
3116 2012-05-31  David S. Miller  <davem@davemloft.net>
3118         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3119         values between float registers.
3120         * sysdeps/sparc/sparc64/memset.S: Likewise.
3121         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3123 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
3125         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3126         -D_FORTIFY_SOURCE=1.
3127         (CPPFLAGS-tst-longjmp_chk.c): Define.
3128         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3129         (CPPFLAGS-tst-longjmp_chk2.c): Define.
3130         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3131         CFLAGS-tst-wchar-h.c.
3133 2012-05-31  Marek Polacek  <polacek@redhat.com>
3135         [BZ #14132]
3136         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3137         __endmntent_internal): Remove declaration.
3138         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3139         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3140         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3142 2012-05-30  David S. Miller  <davem@davemloft.net>
3144         * sysdeps/sparc/sparc32/soft-fp/q_util.c
3145         (___Q_simulate_exceptions): Use real FP ops rather than writing
3146         into the %fsr.
3147         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3148         Likewise.
3150 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3152         [BZ #14117]
3153         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3154         * sysdeps/x86/bits/xtitypes.h: This.
3156         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3157         * sysdeps/x86/bits/wordsize.h: This.
3159         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3160         * sysdeps/x86/bits/huge_vall.h: This.
3162         * sysdeps/i386/bits/select.h: Removed.
3163         * sysdeps/x86_64/bits/select.h: Renamed to ...
3164         * sysdeps/x86/bits/select.h: This.
3166         * sysdeps/i386/bits/setjmp.h: Removed.
3167         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3168         * sysdeps/x86/bits/setjmp.h: This.
3170         * sysdeps/i386/bits/mathdef.h: Removed.
3171         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3172         * sysdeps/x86/bits/mathdef.h: This.
3174 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
3176         [BZ #14132]
3177         * include/sys/socket.h (__connect_internal)
3178         (__libc_sa_len_internal): Remove declaration.
3179         (__connect, __libc_sa_len): Declare hidden_proto.
3180         (SA_LEN): Remove use of INTUSE.
3181         * socket/connect.c: Add libc_hidden_def.
3182         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3183         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3184         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3185         alias.
3186         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3187         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3188         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3189         of adding _internal alias.
3191 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3193         [BZ #14117]
3194         * sysdeps/i386/bits/link.h: Removed.
3195         * sysdeps/i386/bits/linkmap.h: Likewise.
3196         * sysdeps/x86_64/bits/link.h: Renamed to ...
3197         * sysdeps/x86/bits/link.h: This.
3198         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3199         * sysdeps/x86/bits/linkmap.h: This.
3201         * sysdeps/i386/bits/endian.h: Removed.
3202         * sysdeps/x86_64/bits/endian.h: Renamed to ...
3203         * sysdeps/x86/bits/endian.h: This.
3205         * sysdeps/i386/bits/byteswap.h: Removed.
3206         * sysdeps/i386/bits/byteswap-16.h: Likewise.
3207         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3208         * sysdeps/x86/bits/byteswap.h: This.
3209         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3210         * sysdeps/x86/bits/byteswap-16.h: This.
3211         * sysdeps/i386/Implies: Add x86.
3212         * sysdeps/x86_64/Implies: Likewise.
3214 2012-05-30  David S. Miller  <davem@davemloft.net>
3216         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3217         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3218         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3219         (FP_TRAPPING_EXCEPTIONS): Define.
3220         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3221         (FP_TRAPPING_EXCEPTIONS): Define.
3222         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3223         subnormals only when inexact has been signalled or underflow
3224         exceptions are enabled.
3225         (_FP_PACK_CANONICAL): Likewise.
3227 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3229         [BZ #14183]
3230         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3231         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3233 2012-05-30  Richard Henderson  <rth@twiddle.net>
3235         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3236         with #ifndef NOT_IN_libc.
3238         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
3239         marked to avoid plt entry.
3241 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3243         [BZ #14112]
3244         * Makeconfig (default-abi): New macro.
3245         (abi-includes): Likewise.
3246         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
3247         $(abi-$(default-abi)-lib-soname) for soname if defined.
3248         ($(common-objpfx)gnu/lib-names.stmp): Generate from
3249         abi-variants.
3250         * Makefile (installed-stubs): Likewise.
3251         * include/stubs-biarch.h: Removed.
3252         * scripts/lib-names.awk: Only handle one library at a time.
3253         * scripts/soversions.awk: Remove WORDSIZE support.
3254         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3255         entries.
3256         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3257         Removed.
3258         (syscall-list-default-condition): Likewise.
3259         (syscall-list-default-condition): Likewise.
3260         (syscall-list-includes): Likewise.
3261         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3262         syscall-list-* with abi-*.  Handle undefined abi-variants.
3263         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3264         * sysdeps/unix/sysv/linux/i386/Implies: New file.
3265         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3266         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3267         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3268         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3269         Removed.
3270         (syscall-list-32-options): Likewise.
3271         (syscall-list-32-condition): Likewise.
3272         (syscall-list-64-options): Likewise.
3273         (syscall-list-64-condition): Likewise.
3274         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3275         macro.
3276         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3277         Renamed to ...
3278         (abi-*): This.
3279         (abi-64-ld-soname): New macro.
3280         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3281         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3282         Renamed to ...
3283         (abi-*): This.
3284         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3285         * sysdeps/x86_64/x32/shlib-versions: Likewise.
3287 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
3289         * sysdeps/unix/sysv/linux/kernel-features.h
3290         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3291         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3292         include <kernel-features.h>.
3293         [!__NR_ftruncate64]: Remove conditional code.
3294         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3295         [__NR_ftruncate64]: Make code unconditional.
3296         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3297         * sysdeps/unix/sysv/linux/truncate64.c: Do not
3298         include <kernel-features.h>.
3299         [!__NR_ftruncate64]: Remove conditional code.
3300         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3301         [__NR_ftruncate64]: Make code unconditional.
3302         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3304         include <kernel-features.h>.
3305         [!__NR_ftruncate64]: Remove conditional code.
3306         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3307         [__NR_ftruncate64]: Make code unconditional.
3308         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3310         include <kernel-features.h>.
3311         [!__NR_ftruncate64]: Remove conditional code.
3312         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3313         [__NR_ftruncate64]: Make code unconditional.
3314         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3316         * configure.in (libc_cv_fpie): Weaken to a compile test using
3317         LIBC_TRY_CC_OPTION.
3318         * configure: Regenerated.
3320 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3326         Refreshed.
3327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3333         Refreshed.
3335 2012-05-27  David S. Miller  <davem@davemloft.net>
3337         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3338         (___Q_zero): New.
3339         (__Q_simulate_exceptions): Return void.  Change to simulate
3340         exceptions by writing into the %fsr.
3341         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3342         (__Qp_handle_exceptions): Likewise.
3343         (numbers): Delete.
3344         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3345         __Qp_handle_exceptions.
3346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3347         __Qp_handle_exceptions.
3348         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3349         as unused and give dummy FP_RND_NEAREST initializer.
3350         (FP_INHIBIT_RESULTS): Define.
3351         (___Q_simulate_exceptions): Update declaration.
3352         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3353         formatting.
3354         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3355         as unused and give dummy FP_RND_NEAREST initializer.
3356         (__Qp_handle_exceptions): Update declaration.
3357         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3358         formatting.
3360 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
3362         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3363         the temporary FPU control word.
3364         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3365         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3366         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3367         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3368         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3369         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3370         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3371         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3372         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3373         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3374         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3376 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3378         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3379         fields.
3381 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
3383         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3384         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3385         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3386         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3387         Likewise.
3388         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3389         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3390         Likewise.
3392 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
3394         * po/h.po: Update from translation team.
3396 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
3398         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3400         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3401         handling of denormals.
3402         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3403         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3404         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3405         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3406         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3407         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3408         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3409         Likewise.
3411 2012-05-26  Marek Polacek  <polacek@redhat.com>
3413         [BZ #14152]
3414         * math/libm-test.inc (fma_test): Don't always expect underflow
3415         exception.
3417 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3419         [BZ #12416]
3420         * elf/tst-execstack.c: Include stackinfo.h.
3421         (do_test): Adjust test case to ensure that pthread_getattr_np
3422         behaviour remains the same after marking stack executable.
3424 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3426         * sysdeps/unix/sysv/linux/kernel-features.h
3427         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3428         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3429         kernel-features.h.
3430         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3431         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3432         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3433         kernel-features.h.
3434         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3435         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3437 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3439         * configure.in: Define the default includes to being none.
3440         * configure: Regenerated.
3442 2012-05-25  Roland McGrath  <roland@hack.frob.com>
3444         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3445         * sysdeps/x86_64/setjmp.S: Likewise.
3446         * sysdeps/i386/bsd-setjmp.S: Likewise.
3447         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3448         * sysdeps/i386/setjmp.S: Likewise.
3449         * sysdeps/i386/__longjmp.S: Likewise.
3450         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3451         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3453         * include/stap-probe.h: New file.
3454         * configure.in: Handle --enable-systemtap.
3455         * configure: Regenerated.
3456         * config.h.in (USE_STAP_PROBE): New #undef.
3457         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3458         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3459         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3461 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3463         [BZ #13717]
3464         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3465         to 2.4.0 where earlier.
3466         * sysdeps/unix/sysv/linux/configure: Regenerated.
3467         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3468         <kernel-features.h>.
3469         [__ASSUME_32BITUIDS]: Make code unconditional.
3470         [!__ASSUME_32BITUIDS]: Remove conditional code.
3471         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3472         <kernel-features.h>.
3473         [__ASSUME_32BITUIDS]: Make code unconditional.
3474         [!__ASSUME_32BITUIDS]: Remove conditional code.
3475         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3476         [__ASSUME_32BITUIDS]: Make code unconditional.
3477         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3478         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3479         <kernel-features.h>.
3480         [__ASSUME_32BITUIDS]: Make code unconditional.
3481         [!__ASSUME_32BITUIDS]: Remove conditional code.
3482         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3483         <kernel-features.h>.
3484         [__ASSUME_32BITUIDS]: Make code unconditional.
3485         [!__ASSUME_32BITUIDS]: Remove conditional code.
3486         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3487         <kernel-features.h>.
3488         [__ASSUME_32BITUIDS]: Make code unconditional.
3489         [!__ASSUME_32BITUIDS]: Remove conditional code.
3490         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3491         <kernel-features.h>.
3492         [__ASSUME_32BITUIDS]: Make code unconditional.
3493         [!__ASSUME_32BITUIDS]: Remove conditional code.
3494         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3495         <kernel-features.h>.
3496         [__ASSUME_32BITUIDS]: Make code unconditional.
3497         [!__ASSUME_32BITUIDS]: Remove conditional code.
3498         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3499         <kernel-features.h>.
3500         [__ASSUME_32BITUIDS]: Make code unconditional.
3501         [!__ASSUME_32BITUIDS]: Remove conditional code.
3502         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3503         <kernel-features.h>.
3504         [__ASSUME_32BITUIDS]: Make code unconditional.
3505         [!__ASSUME_32BITUIDS]: Remove conditional code.
3506         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3507         <kernel-features.h>.
3508         [__ASSUME_32BITUIDS]: Make code unconditional.
3509         [!__ASSUME_32BITUIDS]: Remove conditional code.
3510         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3511         <kernel-features.h>.
3512         [__ASSUME_32BITUIDS]: Make code unconditional.
3513         [!__ASSUME_32BITUIDS]: Remove conditional code.
3514         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3515         <kernel-features.h>.
3516         [__ASSUME_32BITUIDS]: Make code unconditional.
3517         [!__ASSUME_32BITUIDS]: Remove conditional code.
3518         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3519         <kernel-features.h>.
3520         [__NR_setresgid] (__setresgid): Do not declare.
3521         [__ASSUME_32BITUIDS]: Make code unconditional.
3522         [!__ASSUME_32BITUIDS]: Remove conditional code.
3523         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3524         <kernel-features.h>.
3525         [__NR_setresuid] (__setresuid): Do not declare.
3526         [__ASSUME_32BITUIDS]: Make code unconditional.
3527         [!__ASSUME_32BITUIDS]: Remove conditional code.
3528         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3529         <kernel-features.h>.
3530         [__ASSUME_32BITUIDS]: Make code unconditional.
3531         [!__ASSUME_32BITUIDS]: Remove conditional code.
3532         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3533         <kernel-features.h>.
3534         [__ASSUME_32BITUIDS]: Make code unconditional.
3535         [!__ASSUME_32BITUIDS]: Remove conditional code.
3536         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3537         <kernel-features.h>.
3538         [__ASSUME_32BITUIDS]: Make code unconditional.
3539         [!__ASSUME_32BITUIDS]: Remove conditional code.
3540         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3541         <kernel-features.h>.
3542         [__ASSUME_32BITUIDS]: Make code unconditional.
3543         [!__ASSUME_32BITUIDS]: Remove conditional code.
3544         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3545         <kernel-features.h>.
3546         [__ASSUME_32BITUIDS]: Make code unconditional.
3547         [!__ASSUME_32BITUIDS]: Remove conditional code.
3548         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3549         <kernel-features.h>.
3550         [__ASSUME_32BITUIDS]: Make code unconditional.
3551         [!__ASSUME_32BITUIDS]: Remove conditional code.
3552         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3553         <kernel-features.h>.
3554         [__ASSUME_32BITUIDS]: Make code unconditional.
3555         [!__ASSUME_32BITUIDS]: Remove conditional code.
3556         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3557         <kernel-features.h>.
3558         [__ASSUME_32BITUIDS]: Make code unconditional.
3559         [!__ASSUME_32BITUIDS]: Remove conditional code.
3560         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3561         <kernel-features.h>.
3562         [__ASSUME_32BITUIDS]: Make code unconditional.
3563         [!__ASSUME_32BITUIDS]: Remove conditional code.
3564         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3565         <kernel-features.h>.
3566         [__ASSUME_32BITUIDS]: Make code unconditional.
3567         [!__ASSUME_32BITUIDS]: Remove conditional code.
3568         * sysdeps/unix/sysv/linux/kernel-features.h
3569         (__ASSUME_SETRESUID_SYSCALL): Remove.
3570         (__ASSUME_SETRESGID_SYSCALL): Likewise.
3571         (__ASSUME_32BITUIDS): Likewise.
3572         (__ASSUME_LDT_WORKS): Likewise.
3573         (__ASSUME_O_DIRECTORY): Likewise.
3574         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3575         architecture but not kernel version.
3576         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3577         (__ASSUME_MMAP2_SYSCALL): Likewise.
3578         (__ASSUME_STAT64_SYSCALL): Likewise.
3579         (__ASSUME_IPC64): Likewise.
3580         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3581         <kernel-features.h>.
3582         [__ASSUME_32BITUIDS]: Make code unconditional.
3583         [!__ASSUME_32BITUIDS]: Remove conditional code.
3584         * sysdeps/unix/sysv/linux/opendir.c: Do not include
3585         <kernel-features.h>.
3586         [__ASSUME_O_DIRECTORY]: Make code unconditional.
3587         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3588         132096]: Remove conditional code.
3589         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3590         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3591         <kernel-features.h>.
3592         [__ASSUME_32BITUIDS]: Make code unconditional.
3593         [!__ASSUME_32BITUIDS]: Remove conditional code.
3594         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3595         <kernel-features.h>.
3596         [__ASSUME_32BITUIDS]: Make code unconditional.
3597         [!__ASSUME_32BITUIDS]: Remove conditional code.
3598         * sysdeps/unix/sysv/linux/setegid.c: Do not include
3599         <kernel-features.h>.
3600         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3601         unconditional.
3602         (__setresgid): Do not declare.
3603         [__ASSUME_32BITUIDS]: Make code unconditional.
3604         [!__ASSUME_32BITUIDS]: Remove conditional code.
3605         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3606         <kernel-features.h>.
3607         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3608         unconditional.
3609         (__setresuid): Do not declare.
3610         [__ASSUME_32BITUIDS]: Make code unconditional.
3611         [!__ASSUME_32BITUIDS]: Remove conditional code.
3612         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3613         <kernel-features.h>.
3614         [__ASSUME_32BITUIDS]: Make code unconditional.
3615         [!__ASSUME_32BITUIDS]: Remove conditional code.
3616         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3617         <kernel-features.h>.
3618         [__ASSUME_32BITUIDS]: Make code unconditional.
3619         [!__ASSUME_32BITUIDS]: Remove conditional code.
3621 2012-05-25  Richard Henderson  <rth@twiddle.net>
3623         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3624         dl_hwcap to ifunc resolver.
3625         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3626         elf_ifunc_invoke.
3627         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3628         dl_hwcap to ifunc resolver.
3629         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3631 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
3633         [BZ #14153]
3634         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3635         for |x| <= 2**-26, not 2**-57.
3636         * math/libm-test.inc (acos_test): Do not allow spurious underflow
3637         exception.
3639 2012-05-24  Jeff Law  <law@redhat.com>
3641         * stdio-common/Makefile (tests): Add bug25.
3642         * stdio-common/bug25.c: New test.
3644 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3646         [BZ #13576]
3647         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3648         multiple of MALLOC_ALIGNMENT in size.
3649         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3651 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
3653         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3654         Require >= 256.
3655         (FILENAME_MAX): Use macro-int-constant.
3656         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
3657         (_IOFBF): Use macro-int-constant.
3658         (_IOLBF): Likewise.
3659         (_IONBF): Likewise.
3660         (SEEK_CUR): Likewise.
3661         (SEEK_END): Likewise.
3662         (SEEK_SET): Likewise.
3663         (TMP_MAX): Likewise.
3664         (EOF): Use macro-int-constant.  Require < 0.
3665         (NULL): Use macro-constant.  Require == 0.
3666         (stdin): Require type to be FILE *.
3667         (stdout): Likewise.
3668         (stderr): Likewise.
3669         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3670         macro-int-constant.
3671         (EXIT_SUCCESS): Likewise.
3672         (NULL): Use macro-constant.  Require == 0.
3673         (RAND_MAX): Use macro-int-constant.
3674         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3675         [C99-based standards] (strtof): Require function.
3676         [C99-based standards] (strtold): Likewise.
3677         [C99-based standards] (strtoll): Likewise.
3678         [C99-based standards] (strtoull): Likewise.
3679         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3680         [ISO || ISO99 || ISO11] (limits.h): Likewise.
3681         [ISO || ISO99 || ISO11] (math.h): Likewise.
3682         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3683         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3684         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3686 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
3688         [BZ #14132]
3689         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3690         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3691         * intl/dgettext.c (DCGETTEXT): Likewise.
3692         * intl/gettext.c (DCGETTEXT): Likewise.
3693         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3694         * posix/regex_internal.h (gettext): Likewise.
3695         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3696         Remove declaration.
3697         * include/argz.h (__argz_count_internal)
3698         (__argz_stringify_internal): Remove declaration.
3699         (__argz_count, __argz_stringify): Declare hidden proto.
3700         * intl/dcgettext.c: Remove use of INTDEF.
3701         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3702         * string/argz-stringify.c: Likewise.
3703         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3704         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3705         Declare hidden proto.
3706         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3707         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3708         Declare hidden proto.
3709         * include/stdio.h (__asprintf_internal): Don't declare.
3710         (__asprintf): Don't define as macro.  Declare hidden proto.
3711         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3712         (__fsetlocking): Declare hidden proto.
3713         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3714         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3715         hidden proto.
3716         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3717         (_IO_setlinebuf): Remove use of INTUSE.
3718         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3719         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3720         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3721         Remove declaration.
3722         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3723         (_IO_do_flush): Remove use of INTUSE.
3724         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3725         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3726         (_IO_adjust_column, _IO_least_wmarker)
3727         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3728         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3729         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3730         (_IO_default_doallocate, _IO_wdefault_doallocate)
3731         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3732         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3733         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3734         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3735         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3736         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3737         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3738         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3739         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3740         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3741         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3742         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3743         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3744         proto.
3745         (_IO_flush_all_internal, _IO_adjust_column_internal)
3746         (_IO_default_uflow_internal, _IO_default_finish_internal)
3747         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3748         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3749         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3750         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3751         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3752         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3753         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3754         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3755         (_IO_file_close_internal, _IO_file_close_it_internal)
3756         (_IO_file_underflow_internal, _IO_file_overflow_internal)
3757         (_IO_file_init_internal, _IO_file_attach_internal)
3758         (_IO_file_fopen_internal, _IO_file_read_internal)
3759         (_IO_file_sync_internal, _IO_file_seek_internal)
3760         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3761         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3762         (_IO_str_underflow_internal, _IO_str_overflow_internal)
3763         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3764         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3765         (_IO_list_all_internal, _IO_link_in_internal)
3766         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3767         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3768         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3769         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3770         (_IO_do_write_internal, _IO_padn_internal)
3771         (_IO_getline_info_internal, _IO_getline_internal)
3772         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3773         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3774         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3775         (_IO_vfscanf_internal, _IO_vfprintf_internal)
3776         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3777         (_IO_init_internal, _IO_un_link_internal): Don't declare.
3778         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3779         with libc_hidden_ver, remove use of INTUSE.
3780         * libio/genops.c: Likewise.
3781         * libio/freopen.c: Likewise.
3782         * libio/freopen64.c: Likewise.
3783         * libio/iofclose.c: Likewise.
3784         * libio/iofdopen.c: Likewise.
3785         * libio/iofflush.c: Likewise.
3786         * libio/iofflush_u.c: Likewise.
3787         * libio/iofgets.c: Likewise.
3788         * libio/iofgets_u.c: Likewise.
3789         * libio/iofopen.c: Likewise.
3790         * libio/iofopncook.c: Likewise.
3791         * libio/iofread.c: Likewise.
3792         * libio/iofread_u.c: Likewise.
3793         * libio/ioftell.c: Likewise.
3794         * libio/iofwrite.c: Likewise.
3795         * libio/iogetline.c: Likewise.
3796         * libio/iogets.c: Likewise.
3797         * libio/iogetwline.c: Likewise.
3798         * libio/iopadn.c: Likewise.
3799         * libio/iopopen.c: Likewise.
3800         * libio/ioseekoff.c: Likewise.
3801         * libio/ioseekpos.c: Likewise.
3802         * libio/iosetbuffer.c: Likewise.
3803         * libio/iosetvbuf.c: Likewise.
3804         * libio/ioungetc.c: Likewise.
3805         * libio/ioungetwc.c: Likewise.
3806         * libio/iovdprintf.c: Likewise.
3807         * libio/iovsprintf.c: Likewise.
3808         * libio/iovsscanf.c: Likewise.
3809         * libio/memstream.c: Likewise.
3810         * libio/obprintf.c: Likewise.
3811         * libio/oldfileops.c: Likewise.
3812         * libio/oldiofclose.c: Likewise.
3813         * libio/oldiofdopen.c: Likewise.
3814         * libio/oldiofopen.c: Likewise.
3815         * libio/oldiopopen.c: Likewise.
3816         * libio/oldstdfiles.c: Likewise.
3817         * libio/putc.c: Likewise.
3818         * libio/setbuf.c: Likewise.
3819         * libio/setlinebuf.c: Likewise.
3820         * libio/stdfiles.c: Likewise.
3821         * libio/strops.c: Likewise.
3822         * libio/vasprintf.c: Likewise.
3823         * libio/vscanf.c: Likewise.
3824         * libio/vsnprintf.c: Likewise.
3825         * libio/vswprintf.c: Likewise.
3826         * libio/wfiledoalloc.c: Likewise.
3827         * libio/wfileops.c: Likewise.
3828         * libio/wgenops.c: Likewise.
3829         * libio/wmemstream.c: Likewise.
3830         * libio/wstrops.c: Likewise.
3831         * libio/__fpurge.c: Likewise.
3832         * libio/__fsetlocking.c: Likewise.
3833         * assert/assert.c: Likewise.
3834         * debug/fgets_chk.c: Likewise.
3835         * debug/fgets_u_chk.c: Likewise.
3836         * debug/fread_chk.c: Likewise.
3837         * debug/fread_u_chk.c: Likewise.
3838         * debug/gets_chk.c: Likewise.
3839         * debug/obprintf_chk.c: Likewise.
3840         * debug/vasprintf_chk.c: Likewise.
3841         * debug/vdprintf_chk.c: Likewise.
3842         * debug/vsnprintf_chk.c: Likewise.
3843         * debug/vsprintf_chk.c: Likewise.
3844         * malloc/mtrace.c: Likewise.
3845         * misc/error.c: Likewise.
3846         * misc/syslog.c: Likewise.
3847         * stdio-common/asprintf.c: Likewise.
3848         * stdio-common/fxprintf.c: Likewise.
3849         * stdio-common/getw.c: Likewise.
3850         * stdio-common/isoc99_fscanf.c: Likewise.
3851         * stdio-common/isoc99_scanf.c: Likewise.
3852         * stdio-common/isoc99_vfscanf.c: Likewise.
3853         * stdio-common/isoc99_vscanf.c: Likewise.
3854         * stdio-common/isoc99_vsscanf.c: Likewise.
3855         * stdio-common/printf-prs.c: Likewise.
3856         * stdio-common/printf_fp.c: Likewise.
3857         * stdio-common/printf_fphex.c: Likewise.
3858         * stdio-common/printf_size.c: Likewise.
3859         * stdio-common/putw.c: Likewise.
3860         * stdio-common/scanf.c: Likewise.
3861         * stdio-common/sprintf.c: Likewise.
3862         * stdio-common/tmpfile.c: Likewise.
3863         * stdio-common/vfprintf.c: Likewise.
3864         * stdio-common/vfscanf.c: Likewise.
3865         * stdlib/strfmon_l.c: Likewise.
3866         * sunrpc/openchild.c: Likewise.
3867         * sunrpc/xdr_stdio.c: Likewise.
3868         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3869         * sysdeps/mach/hurd/tmpfile.c: Likewise.
3871 2012-05-24  Roland McGrath  <roland@hack.frob.com>
3873         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3875         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3876         in the third column, to generate for the shared library an IFUNC
3877         that uses _dl_vdso_vsym.
3878         * Makerules (COMPILE.c, compile-stdin.c): New variables.
3879         * Makeconfig (object-suffixes-noshared): New variable.
3881         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3882         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3883         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3884         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3886         [BZ #14132]
3887         * include/sys/time.h (__gettimeofday): Remove macro.
3888         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3889         * time/gettimeofday.c (__gettimeofday): Remove #undef.
3890         Remove INTDEF.
3891         (__gettimeofday): Add libc_hidden_def.
3892         (gettimeofday): Add libc_hidden_weak.
3893         * sysdeps/mach/gettimeofday.c: Likewise.
3894         * sysdeps/posix/gettimeofday.c: Likewise.
3895         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3896         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3897         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3898         (__gettimeofday_internal): Remove strong_alias.
3899         (__gettimeofday): Add libc_hidden_def.
3900         (gettimeofday): Add libc_hidden_weak.
3901         * sysdeps/unix/syscalls.list (gettimeofday):
3902         Remove __gettimeofday_internal alias.
3904 2012-05-24  Daniel Jacobowitz  <drow@false.org>
3905             H.J. Lu  <hongjiu.lu@intel.com>
3907         [BZ #12495]
3908         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3909         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3910         (largebin_index_32_big): New.
3911         (largebin_index): Use it for 16-byte alignment.
3912         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
3913         correction with front_misalign.
3915 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3919         Likewise.
3920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3921         Likewise.
3922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3923         Likewise.
3924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3925         Likewise.
3926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3927         Likewise.
3928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3929         Likewise.
3930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3931         Likewise.
3932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3933         Likewise.
3934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3935         Likewise.
3936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3937         Likewise.
3938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3939         Likewise.
3940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3941         Likewise.
3943         * scripts/data/c++-types-x32-linux-gnu.data: New file.
3944         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3946 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
3948         [BZ #10846]
3949         [BZ #14036]
3950         * math/libm-test.inc (exp_test): Add test from bug 14036.
3951         (pow_test): Add test from bug 10846.
3953         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3954         and other flags.
3955         (special_function): Do not include flags in test name.
3956         (parse_args): Likewise.
3957         * sysdeps/i386/fpu/libm-test-ulps: Update.
3958         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3959         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3960         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3963         * math/gen-libm-test.pl (%beautify): Add entries for underflow
3964         exceptions.
3965         * math/libm-test.inc ("Philosophy"): Update comment about
3966         exception testing.
3967         (UNDERFLOW_EXCEPTION): New macro.
3968         (UNDERFLOW_EXCEPTION_OK): Likewise.
3969         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3970         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3971         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3972         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3973         (INVALID_EXCEPTION_OK): Update value.
3974         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3975         (OVERFLOW_EXCEPTION_OK): Likewise.
3976         (IGNORE_ZERO_INF_SIGN): Likewise.
3977         (test_exceptions): Handle underflow exceptions.
3978         (acos_test): Update for underflow exception expectations.
3979         (cexp_test): Likewise.
3980         (clog_test): Likewise.
3981         (clog10_test): Likewise.
3982         (csqrt_test): Likewise.
3983         (ctan_test): Likewise.
3984         (ctanh_test): Likewise.
3985         (exp_test): Likewise.
3986         (exp10_test): Likewise.
3987         (exp2_test): Likewise.
3988         (expm1_test): Likewise.
3989         (fma_test): Likewise.
3990         (j0_test): Likewise.
3991         (jn_test): Likewise.
3992         (nexttoward_test): Likewise.
3993         (pow_test): Likewise.
3994         (scalbn_test): Likewise.
3995         (scalbln_test): Likewise.
3996         (tan_test): Likewise.
3997         (y1_test): Likewise.
3998         * sysdeps/i386/fpu/libm-test-ulps: Update.
3999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4001 2012-05-23  David S. Miller  <davem@davemloft.net>
4003         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4004         (__libc_sigaction): Remove unused local variables.
4006 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4008         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4010 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
4012         mktime: avoid signed integer overflow
4013         * time/mktime.c (__mktime_internal): Do not mishandle the case
4014         where diff == INT_MIN.
4016         mktime: simplify computation of average
4017         * time/mktime.c (ranged_convert): Use new time_t_avg function
4018         instead of rolling our own (probably-slower) code.
4020         mktime: do not assume signed right shift propagates sign bit
4021         * time/mktime.c (isdst_differ): New static function.
4022         (__mktime_internal): No need to normalize tm_isdst now.
4023         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4024         tm_isdst values.
4026         mktime: merge another wrapv change from gnulib
4027         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4028         from some compilers.
4030         mktime: remove incorrect attempt at unusual arithmetics
4031         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4032         The code didn't really work on such machines anyway.
4033         (TYPE_MINIMUM): Assume two's complement.
4034         (twos_complement_arithmetic): Verify that long_int and time_t
4035         are two's complement (or unsigned, in the latter case).
4037         mktime: check signed shifts on long_int and time_t, too
4038         * time/mktime.c (SHR): Check that shifts work as desired
4039         on the types long_int and time_t too, as SHR is used on
4040         such types.
4042         mktime: do not assume 'long' is wide enough
4043         * time/mktime.c (verify): Move decl up.
4044         (long_int): New type.
4045         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4046         to remove assumption in the code that 'long' is wide enough to
4047         store year values.  This assumption is not true on x32 and on
4048         some non-glibc platforms.
4050         mktime: merge wrapv change from gnulib
4051         * time/mktime.c (WRAPV): New macro.
4052         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4053         (guess_time_tm, __mktime_internal): Do not assume that signed
4054         integer overflow wraps around; modern compilers generate code
4055         where this assumption is no longer valid.
4057 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4059         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4060         Replace "jmp L(pseudo_end)" with "ret".
4061         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4062         Likewise.
4064 2012-05-23  Andreas Jaeger  <aj@suse.de>
4066         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4067         * sysdeps/unix/sysv/linux/poll.c: Remove file.
4069 2012-05-23  Andreas Jaeger  <aj@suse.de>
4070             Maximilian Attems  <max@stro.at>
4072         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4073         New macros.
4075 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
4077         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4078         code so that pseudo_end is just ret and the stack pointer is
4079         correct also for static library in error case.
4081 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
4083         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4084         move to syscalls.list.
4085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4090         * manual/install.texi (Running make install): Do not mention Linux
4091         kernel version for which pt_chown is not needed.
4092         (Linux): Do not mention problems with nscd with 2.0 kernels.
4093         * INSTALL: Regenerated.
4095 2012-05-23  Andreas Jaeger  <aj@suse.de>
4097         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4098         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4099         macro.
4100         * sysdeps/unix/sysv/linux/s390/bits/mman.h
4101         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4102         * sysdeps/unix/sysv/linux/sh/bits/mman.h
4103         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4104         * sysdeps/unix/sysv/linux/i386/bits/mman.h
4105         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4106         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4107         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4108         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4109         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4110         * sysdeps/unix/sysv/linux/bits/in.h
4111         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4113 2012-05-22  Roland McGrath  <roland@hack.frob.com>
4115         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4116         (PREPARE_VERSION): Just use assert instead, it will be elided
4117         under [NDEBUG] anyway.
4119 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4121         * sysdeps/unix/sysv/linux/Makefile: Include
4122         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4123         (sysdep_routines): Remove sysctl.
4124         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4125         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4126         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4127         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4128         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4130 2012-05-22  Andreas Jaeger  <aj@suse.de>
4132         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4133         that pseudo_end is just ret and the stack pointer is correct also
4134         for static library in error case.
4136 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4138         [BZ #14122]
4139         * nss/nsswitch.c (defconfig_entries): New variable.
4140         (__nss_database_lookup): Don't leak defconfig entries.
4141         (nss_parse_service_list): Don't leak on error paths.
4142         (free_database_entries): New function.
4143         (free_defconfig): New function.
4144         (free_mem): Move common code to free_database_entries.
4146 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4148         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4149         Add arch_prctl.
4150         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4152         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4153         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4154         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4155         New macro.
4156         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4157         (INTERNAL_SYSCALL_TYPES): Likewise.
4158         (LOAD_ARGS_TYPES_[1-6]): Likewise.
4159         (LOAD_REGS_TYPES_[1-6]): Likewise.
4160         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4161         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4163 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4165         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4166         copysignl for GLIBC_2_0.
4167         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4168         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4169         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4170         logbl for GLIBC_2_0.
4171         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4172         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4174 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4176         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4177         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4179         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4180         Use "neg %eax".
4182         * time/mktime.c: Update copyright years.
4184 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4186         mktime: merge comment-quoting-style change from gnulib
4187         * time/mktime.c: Quote 'like this' in comments.
4188         The GNU coding standards suggest that we no longer quote `like this',
4189         as "`" and "'" are typically rendered asymmetrically nowadays.
4190         The typical gnulib style is to quote 'like this' when quoting
4191         code, and "like this" when quoting English.
4193         * time/mktime.c (compile-command): Add "-I.".
4195         mktime: merge mktime-internal.h change from gnulib
4196         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4198         mktime: merge time_r change from gnulib
4199         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4201         mktime: merge DEBUG change from gnulib
4202         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4203         case system <time.h> has a #define.
4205         mktime: merge <sys/types.h> change from gnulib
4206         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4207         since <time.t> is now guaranteed to define time_t.
4209         mktime: merge HAVE_CONFIG_H change from gnulib
4210         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4212 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4214         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4215         Use "neg %eax".
4217         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4218         __rlim_t cast.
4219         (struct rusage): Use anonymous union to pad each field to
4220         __syscall_slong_t.
4222 2012-05-21  David S. Miller  <davem@davemloft.net>
4224         * Makefules (o-iterator): Remove .s cases.
4225         (compile-command.s): Delete.
4226         (COMPILE.s): Delete.
4227         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4229 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
4231         * configure.in (libc_cv_predef_stack_protector): Only consider
4232         "foobar" and "__stack_chk_fail" lines in libc_undefs.
4233         * configure: Regenerated.
4235 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4237         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4238         New macro.  Use R*LP on int and pointer.
4239         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4240         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4241         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4242         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4244         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4245         [__WORDSIZE_TIME64_COMPAT32] instead of
4246         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4247         (struct utmp): Likewise.
4248         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4249         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4250         Renamed to ...
4251         (__WORDSIZE_TIME64_COMPAT32): This.
4252         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4253         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4254         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4255         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4256         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4257         (__WORDSIZE_TIME64_COMPAT32): New macro.
4259 2012-05-21  Andreas Jaeger  <aj@suse.de>
4261         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4262         only if [SHARED]. Add prototype for __wcschr_ia32.
4264 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4266         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4267         of %rbp unmolested in the jmp_buf while mangling the low bits.
4268         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4269         unmolested high bits of %rbp while demangling the low bits.
4270         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4272 2012-05-21  Andreas Jaeger  <aj@suse.de>
4274         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4275         * sunrpc/svc_simple.c: Use it for registerrpc.
4276         * sunrpc/xcrypt.c: Use it for passwd2des.
4278         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4280 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4282         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4283         Don't define if [__SYSCALL_WORDSIZE != 32].
4284         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4285         New macro.
4287 2012-05-21  Bruno Haible  <bruno@clisp.org>
4288             Andreas Jaeger  <aj@suse.de>
4290         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4291         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4292         inptr and inend for must_buffer_ch.
4293         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4294         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4295         * stdio-common/Makefile (tests): Remove bug15.
4296         (bug15-ENV): Remove macro.
4297         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4298         anymore.
4300 2012-05-19  Andreas Jaeger  <aj@suse.de>
4301             Roland McGrath  <roland@hack.frob.com>
4303         * manual/contrib.texi: Completely rewritten. It contains now an
4304         alphabetical list of contributors and their contributions.
4306 2012-05-21  Richard Henderson  <rth@twiddle.net>
4308         * misc/getauxval.c (__getauxval): Use unsigned long int.
4309         * misc/sys/auxv.h: Include <sys/cdefs.h>.
4310         (getauxval): Use unsigned long int.
4312 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4314         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4316 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4318         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4319         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4320         __alignof__ (long double).
4322 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4326 2012-05-20  Richard Henderson  <rth@twiddle.net>
4328         * misc/getauxval.c: New file.
4329         * misc/sys/auxv.h: New file.
4330         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4331         (routines): Add getauxval.
4332         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4333         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4334         * elf/dl-sysdep.c (_dl_auxv): Remove.
4335         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4336         * elf/dl-support.c (_dl_auxv): New variable.
4337         (_dl_aux_init): Initialize it.
4338         * manual/startup.texi (Auxiliary Vector): New node.
4339         * sysdeps/generic/bits/hwcap.h: New file.
4340         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4341         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
4342         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4343         * sysdeps/sparc/sysdep.h: ... here.  Include it.
4344         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4345         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4347         Update.
4348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4351         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4357 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4361 2012-05-19  David S. Miller  <davem@davemloft.net>
4363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4365 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4367         [BZ #14123]
4368         * math/s_ccosh.c: Include <float.h>
4369         (__ccosh): Avoid internal overflow calculating sinh and cosh
4370         values before multiplying by sin and cos values.
4371         * math/s_ccoshf.c: Likewise.
4372         * math/s_ccoshl.c: Likewise.
4373         * math/s_csin.c: Likewise.
4374         * math/s_csinf.c: Likewise.
4375         * math/s_csinl.c: Likewise.
4376         * math/s_csinh.c: Likewise.
4377         * math/s_csinhf.c: Likewise.
4378         * math/s_csinhl.c: Likewise.
4379         * math/libm-test.inc (ccos_test): Add more tests.
4380         (ccosh_test): Likewise.
4381         (csin_test): Likewise.
4382         (csinh_test): Likewise.
4383         * sysdeps/i386/fpu/libm-test-ulps: Update.
4384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4386 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4388         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4389         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4391         * sysdeps/x86_64/x32/_itoa.h: Add comment.
4393 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4395         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4396         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4397         * sysdeps/powerpc/soft-fp/Versions: Likewise.
4398         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4399         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4400         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4401         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4402         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4403         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4404         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4405         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4406         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4407         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4408         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4409         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4410         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4411         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4412         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4413         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4414         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4415         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4416         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4417         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4418         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4419         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4420         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4421         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4422         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4423         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4424         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4425         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4427 2012-05-18  Andreas Jaeger  <aj@suse.de>
4429         * csu/.gitignore: Delete.
4431 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4433         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4434         (timex): Use __syscall_slong_t.
4436 2012-05-18  Andreas Jaeger  <aj@suse.de>
4437             Carlos O'Donell  <carlos_odonell@mentor.com>
4439         * manual/install.texi (Configuring and compiling): Update
4440         description about files modified in the source directory.
4441         * INSTALL: Regenerated.
4443 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4445         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4446         value.  Use "or" to set return value to -1.
4447         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4448         negate return value.
4450 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4452         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4453         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4454         failure if the compiler has Graphite support disabled.
4455         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4456         Likewise.
4457         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4458         CFLAGS-memmove.c): Likewise.
4459         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4460         Likewise.
4462 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4464         * sysdeps/x86_64/x32/_itoa.h: New file.
4466         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4467         getdents system call only if kernel and user dirents have the
4468         same d_ino and d_off.
4470         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4471         LLONG_MAX != LONG_MAX.
4472         (_itoa_word): Use _ITOA_WORD_TYPE on value.
4473         (_fitoa_word): Likewise.
4475         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4476         years.
4477         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4478         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4479         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4481         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4482         include <bits/wordsize.h>.  Check __x86_64__ instead of
4483         __WORDSIZE.
4484         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4485         if __x86_64__ is defined.  Use anonymous union on fpstate.
4487         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4488         anonymous union.
4490 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
4492         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4493         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4494         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4495         Refer to _rtld_local_ro instead of _rtld_global_ro.
4496         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4497         Likewise.
4498         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4499         Likewise.
4500         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4501         Likewise.
4502         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4503         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4504         of _rtld_global, and rtld_progname instead of _dl_argv[0].
4506         * sysdeps/powerpc/powerpc32/dl-machine.c
4507         (__elf_machine_runtime_setup) [PROF]: Don't reference
4508         _dl_prof_resolve.
4510 2012-05-18  Andreas Jaeger  <aj@suse.de>
4512         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4513         function only available for GCCs before 3.4 since GCC 3.4
4514         introduced a builtin.
4515         (lrint): Likewise.
4516         (llrintf): Likewise.
4517         (llrint): Likewise.
4518         (fmaxf): Likewise.
4519         (fmax): Likewise.
4520         (fminf): Likewise.
4521         (fmin): Likewise.
4522         (rint): Likewise.
4523         (rintf): Likewise.
4524         (nearbyint): Likewise.
4525         (nearbyintf): Likewise.
4526         (ceil): Likewise.
4527         (ceilf): Likewise.
4528         (floor): Likewise.
4529         (floorf): Likewise.
4531 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4533         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4534         on both fields and cast pointer to __syscall_ulong_t.
4536         * bits/types.h (__fsword_t): New type.
4537         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4538         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4539         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4540         (__FSWORD_T_TYPE): Likewise.
4541         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4542         (__FSWORD_T_TYPE): Likewise.
4543         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4544         (__FSWORD_T_TYPE): Likewise.
4545         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4546         (__FSWORD_T_TYPE): Likewise.
4547         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4548         __SWORD_TYPE with __fsword_t.
4549         (statfs64): Likewise.
4551 2012-05-17  David S. Miller  <davem@davemloft.net>
4553         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4555 2012-05-17  Andreas Jaeger  <aj@suse.de>
4557         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4558         warning.
4560 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4562         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4564 2012-05-17  Andreas Jaeger  <aj@suse.de>
4566         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4567         when it is used.
4569 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
4571         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4573 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4575         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4576         * sysdeps/x86_64/tst-mallocalign1.c: New file.
4578 2012-05-17  Andreas Jaeger  <aj@suse.de>
4579             Carlos O'Donell  <carlos_odonell@mentor.com>
4581         [BZ #14059]
4582         * sysdeps/x86_64/multiarch/init-arch.h
4583         (bit_YMM_Usable): Rename to...
4584         (bit_AVX_Usable): ... this.
4585         (bit_FMA4_Usable): New macro.
4586         (bit_XMM_state): New macro.
4587         (bit_YMM_state): New macro.
4588         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4589         [__ASSEMBLER__] (index_AVX_Usable): ... this.
4590         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4591         (CPUID_OSXSAVE): New macro.
4592         (CPUID_AVX): New macro.
4593         (CPUID_FMA4): New macro.
4594         (index_YMM_Usable): Rename to...
4595         (index_AVX_Usable): ... this.
4596         (HAS_AVX): Use HAS_ARCH_FEATURE.
4597         (HAS_FMA4): Likewise.
4598         (HAS_YMM_USABLE): Remove.
4599         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4600         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4601         are present.
4602         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4603         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4604         * sysdeps/x86_64/multiarch/Makefile: Likewise.
4605         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4606         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4608 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
4610         * math/libm-test.c: Support platforms without multiple rounding modes.
4611         * math/bug-nextafter.c: Support platforms without FP exceptions.
4612         * math/bug-nexttoward.c: Likewise.
4613         * math/test-fenv.c: Likewise.
4614         * math/test-misc.c: Likewise.
4615         * stdlib/bug-getcontext.c: Likewise.
4617 2012-05-17  Andreas Jaeger  <aj@suse.de>
4619         * manual/examples/search.c (critter_cmp): Change signature to
4620         avoid warnings.
4621         * manual/string.texi (Collation Functions): Likewise.
4623 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4625         * bits/types.h: Fold copyright years.
4626         * bits/typesizes.h: Likewise.
4627         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4628         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4629         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4630         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4631         * time/time.h: Likewise.
4633 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
4635         [BZ #208]
4636         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4637         in instead of returning them.  Return void.
4638         (__libc_mallinfo): Accumulate over all arenas.
4639         (__malloc_stats): Adjust for change in int_mallinfo interface.
4641 2012-05-16  Roland McGrath  <roland@hack.frob.com>
4643         [BZ #10375]
4644         * configure.in (NM): Add AC_CHECK_TOOL for it.
4645         (libc_extra_cflags): New substituted variable.
4646         Check for -fstack-protector being used implicitly.
4647         * configure: Regenerated.
4648         * config.make.in (config-extra-cflags): New variable,
4649         gets @libc_extra_cflags@.
4650         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4652         [BZ #10375]
4653         * configure.in: Check for _FORTIFY_SOURCE being predefined.
4654         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4655         * configure: Regenerated.
4656         * config.make.in (CPPUNDEFS): New substituted variable.
4657         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4658         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4659         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4661 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4663         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4664         (mq_attr): Use __syscall_slong_t.
4666 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4668         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4669         Check __x86_64__ instead of __WORDSIZE.
4670         (_STAT_VER_LINUX): Likewise.
4671         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
4672         __syscall_ulong_t and __syscall_slong_t.
4673         (stat64): Likewise.
4675 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4677         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4679 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4681         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4683 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4685         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4686         __syscall_ulong_t.
4688         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4689         include <bits/wordsize.h>.  Check __x86_64__ instead of
4690         __WORDSIZE.
4691         (greg_t): Use "__extension__ long long int" if __x86_64__ is
4692         defined.
4693         (mcontext_t): Replace "unsigned long" with "unsigned long long".
4695         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4696         include <bits/wordsize.h>.  Check __x86_64__ instead of
4697         __WORDSIZE.
4698         (user_regs_struct): Use "__extension__ unsigned long long"
4699         instead of "unsigned long" if __x86_64__ is defined.
4700         (user): Likewise.  Pad after pointer field if __ILP32__ is
4701         defined.
4703 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
4705         * configure.in (makeinfo): Require version 4.5 or later.  Allow
4706         versions 5 to 9.
4707         * configure: Regenerated.
4708         * manual/install.texi (texinfo): Increase version requirement to
4709         4.5 or later.
4710         * INSTALL: Regenerated.
4712         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4714 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4716         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4718         * sysdeps/x86_64/x32/ffs.c: New file.
4720         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4721         __syscall_ulong_t.
4722         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4723         defined.  Use __syscall_ulong_t.
4724         (shminfo): Use __syscall_ulong_t.
4725         (shm_info): Likewise.
4727         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4728         __syscall_ulong_t.
4730         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4731         <bits/wordsize.h>.
4732         (msgqnum_t): Use __syscall_ulong_t.
4733         (msglen_t): Likewise.
4734         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
4735         __syscall_ulong_t.
4737         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4738         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4740         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4742         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4743         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4745         * sysvipc/sys/msg.h (msgbuf): Replace long int with
4746         __syscall_slong_t.
4748         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4749         include <bits/wordsize.h>.  Check __x86_64__ instead of
4750         __WORDSIZE.
4752         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4753         "unsigned long long int" if __x86_64__ is defined.
4754         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4756         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4757         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4758         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4760         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4761         <stdint.h>.
4762         (GET_PC): Cast to uintptr_t first.
4763         (GET_FRAME): Likewise.
4764         (GET_STACK): Likewise.
4766         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4767         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4768         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4769         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4770         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4771         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4772         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4773         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4774         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4775         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4776         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4777         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4778         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4779         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4780         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4781         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4782         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4783         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4784         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4785         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4786         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4787         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4788         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4789         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4790         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4791         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4792         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4793         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4794         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4796 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
4798         * Makerules (+depfiles): Also collect depfiles from .oS in
4799         $(extra-objs).
4800         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4801         .oS, $(libnldbl-routines)).
4803         * Makerules (native-compile-mkdep-flags): Define.
4804         * sunrpc/Makefile (extra-objs): Add $(addprefix
4805         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4806         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4807         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
4808         calling $(make-target-directory).
4810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4812         * bits/types.h (__snseconds_t): Removed.
4813         * time/time.h (struct timespec): Replace __snseconds_t with
4814         __syscall_slong_t.
4815         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4816         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4817         Likewise.
4818         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4819         (__SNSECONDS_T_TYPE): Likewise.
4820         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4821         (__SNSECONDS_T_TYPE): Likewise.
4822         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4823         (__SNSECONDS_T_TYPE): Likewise.
4825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4827         * sysdeps/mach/hurd/bits/typesizes.h
4828         (__SYSCALL_SLONG_TYPE): New macro.
4829         (__SYSCALL_ULONG_TYPE): Likewise.
4831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4833         * bits/types.h (__syscall_slong_t): New type.
4834         (__syscall_ulong_t): Likewise.
4836         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4837         (__SYSCALL_ULONG_TYPE): Likewise.
4838         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4839         (__SYSCALL_SLONG_TYPE): Likewise.
4840         (__SYSCALL_ULONG_TYPE): Likewise.
4841         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4842         (__SYSCALL_SLONG_TYPE): Likewise.
4843         (__SYSCALL_ULONG_TYPE): Likewise.
4844         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4845         (__SYSCALL_SLONG_TYPE): Likewise.
4846         (__SYSCALL_ULONG_TYPE): Likewise.
4848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4850         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4851         Add sigaltstack-offsets.sym.
4852         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4853         <sigaltstack-offsets.h>.
4854         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
4855         longjmp_msg pointer.
4856         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
4857         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4858         signal stack.
4859         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4861 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
4863         * elf/stackguard-macros.h: Remove file.
4864         * sysdeps/generic/stackguard-macros.h: New file.
4865         * sysdeps/i386/stackguard-macros.h: Likewise.
4866         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4867         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4868         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4869         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4870         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4871         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4872         * sysdeps/x86_64/stackguard-macros.h: Likewise.
4873         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4874         <elf/stackguard-macros.h>.
4876         [BZ #14109]
4877         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4878         __aligned__ in attribute.
4879         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4880         (gregset_t): Likewise.
4882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4884         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4885         * sysdeps/x86_64/64/Implies-after: Here.  New file.
4886         * sysdeps/x86_64/x32/Implies-after: New file.
4888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4890         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4891         and access return value for _dl_profile_fixup.  Use R10_LP to
4892         load frame size.
4894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4896         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4900         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4901         * sysdeps/x86_64/x32/sysdep.h: New file.
4903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4905         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4906         * sysdeps/x86_64/setjmp.S: Likewise.
4908 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4910         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4911         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4912         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4913         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4914         remove unused global constant.
4916 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
4918         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4919         include of <not-cancel.h>.
4921 2012-05-15  Roland McGrath  <roland@hack.frob.com>
4923         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4925 2012-05-15  Jeff Law  <law@redhat.com>
4926             Andreas Jaeger  <aj@suse.de>
4928         [BZ #13594]
4929         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4930         out from...
4931         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4932         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4933         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4934         code changing __hst_map_handle.map.
4936 2012-05-15  Roland McGrath  <roland@hack.frob.com>
4938         * configure.in (sysnames): Look for Implies-before and Implies-after
4939         files.
4940         * configure: Regenerated.
4942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4944         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4945         8-byte data alignment with LP_SIZE alignment.
4947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4949         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4950         into R10_LP.
4952 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4954         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4958         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4959         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4960         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4961         Likewise.
4962         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4966         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4967         (stackinfo_sub_sp): Likewise.
4969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4971         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4972         RAX_LP.
4974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4976         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4977         into R*_LP.
4979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4981         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4982         sizes into R*_LP.
4984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4986         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4990         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4991         into R11_LP and load __x86_64_shared_cache_size_half into
4992         R8_LP.
4994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4996         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4997         R8_LP.
4999 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5001         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5002         logb for POWER7.
5003         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5004         logbf for POWER7.
5005         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5006         logbl for POWER7.
5007         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5008         powerpc32/power7/fpu/s_logb.c via #include.
5009         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5010         powerpc32/power7/fpu/s_logbf.c via #include.
5011         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5012         powerpc32/power7/fpu/s_logbl.c via #include.
5014 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
5016         * README.libm: Remove file.
5018 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5020         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5021         count for x32.  Use R*_LP and omit operand-size suffix.
5023 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5025         * shlib-versions: Move x86_64-.*-linux.* entries to ...
5026         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
5027         * sysdeps/x86_64/x32/shlib-versions: New file.
5029 2012-05-14  Roland McGrath  <roland@hack.frob.com>
5031         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5032         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5033         Use _dl_fatal_printf instead.
5035 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
5037         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5038         set if not set by the user.  Do not allow for being unset.
5039         * sysdeps/unix/sysv/linux/configure: Regenerated.
5041 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5043         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5044         the `q' suffix from lea and replace .quad with ASM_ADDR.
5046 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5048         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5049         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
5050         instead of $17.
5051         (PTR_DEMANGLE): Likewise.
5053 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5055         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5056         (LP_OP): Likewise.
5057         (ASM_ADDR): Likewise.
5058         (RAX_LP): Likewise.
5059         (RBP_LP): Likewise.
5060         (RBX_LP): Likewise.
5061         (RCX_LP): Likewise.
5062         (RDI_LP): Likewise.
5063         (RSI_LP): Likewise.
5064         (RSP_LP): Likewise.
5065         (R8_LP): Likewise.
5066         (R9_LP): Likewise.
5067         (R10_LP): Likewise.
5068         (R10_LP): Likewise.
5069         (R11_LP): Likewise.
5070         (R12_LP): Likewise.
5071         (R13_LP): Likewise.
5072         (R14_LP): Likewise.
5073         (R15_LP): Likewise.
5075 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5077         * sysdeps/x86_64/x32/dl-machine.h: New file.
5079 2012-05-14  Andreas Jaeger  <aj@suse.de>
5081         * manual/Makefile (subdir): Remove export of subdir.
5082         (all): Remove target.
5083         (.PHONY): Remove all from list.
5084         (mkinstalldirs): Remove.
5085         (.PHONY): Remove installdirs from list.
5086         ($(inst_infodir)/libc.info): Use make-target-directory.
5087         (installdirs): Remove.
5088         (subdir_%): Remove.
5089         (glibc-targets): Remove.
5090         (lib): Remove.
5091         (stubs): Remove.
5092         ($(objpfx)stubs ../po/manual.pot): Remove.
5093         ($(objpfx)stamp%): Remove.
5094         (make-target-directory): Remove.
5095         (subdir_install): Remove.
5096         (routines): Remove.
5097         (aux): Remove.
5098         (sources): Remove.
5099         (objects): Remove.
5100         (headers): Remove.
5102         [BZ #13750]
5103         * manual/.gitignore: Remove, it's not needed anymore.
5104         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5105         all files in it.
5106         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5107         directory.
5108         (texis): Renamed to $(objpfx)texis.
5109         (texis-path): New, contains path to generated files.
5110         (chapters.%): Use texis-path for complete path, add extra argument
5111         libc-texinfo.sh.
5112         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5113         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5114         (summary,texi, stamp-summary): Use complete path of
5115         files. Generate files in build dir.
5116         (dir-add.texi): Build in build dir.
5117         (libm-err.texi,stamp-libm-err): Likewise.
5118         (version.texi, stamp-version): Likewise.
5119         (.%c.texi): Likewise.
5120         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5121         (mostlyclean): Remove target.
5122         (realclean): Remove target.
5123         (generated): Add new variable with contents from mostlyclean and
5124         realclean, remove entries duplicated in common-mostlyclean, add
5125         stamp-libm-err and stamp-version.
5126         (generated-dirs): Add libc directory.
5127         ($(inst_infodir)/libc.info): Install files from build dir.
5129         * manual/install.texi (Configuring and compiling): Adjust since
5130         the info files are not part of the tar ball anymore.
5132 2012-05-14  Andreas Jaeger  <aj@suse.de>
5134         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5135         variable.
5137 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
5139         [BZ #13717]
5140         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5141         to 2.2.0 where earlier.
5142         * sysdeps/unix/sysv/linux/configure: Regenerated.
5143         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5144         Remove conditional code.
5145         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5146         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5147         Remove conditional code.
5148         [!__NR_lchown]: Likewise.
5149         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5150         [__NR_lchown]: Likewise.
5151         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5152         comment referencing __ASSUME_LCHOWN_SYSCALL.
5153         * sysdeps/unix/sysv/linux/i386/sigaction.c
5154         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5155         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5156         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5157         Remove conditional code.
5158         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5159         (__protocol_available): Remove #if 0 code.
5160         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5161         conditional code.
5162         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5163         * sysdeps/unix/sysv/linux/kernel-features.h
5164         (__ASSUME_GETCWD_SYSCALL): Don't define.
5165         (__ASSUME_REALTIME_SIGNALS): Likewise.
5166         (__ASSUME_PREAD_SYSCALL): Likewise.
5167         (__ASSUME_PWRITE_SYSCALL): Likewise.
5168         (__ASSUME_POLL_SYSCALL): Likewise.
5169         (__ASSUME_LCHOWN_SYSCALL): Likewise.
5170         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5171         non-SPARC.
5172         (__ASSUME_SIOCGIFNAME): Don't define.
5173         (__ASSUME_MSG_NOSIGNAL): Likewise.
5174         (__ASSUME_SENDFILE): Define unconditionally.
5175         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5176         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5177         conditional code.
5178         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5179         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5180         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5181         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5182         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5183         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5184         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5186         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5187         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5189         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5190         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5192         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5193         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5195         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5196         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5198         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5199         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5201         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5202         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5204         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5205         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5207         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5208         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5209         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5210         Remove conditional code.
5211         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5212         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5213         Remove conditional code.
5214         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5215         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5216         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5217         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5218         Remove conditional code.
5219         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5220         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5221         Remove conditional code.
5222         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5223         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5224         Remove conditional code.
5225         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5226         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5227         Remove conditional code.
5228         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5229         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5230         Remove conditional code.
5231         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5232         * sysdeps/unix/sysv/linux/sh/pwrite64.c
5233         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5234         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5235         * sysdeps/unix/sysv/linux/sigaction.c
5236         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5237         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5238         * sysdeps/unix/sysv/linux/sigpending.c
5239         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5240         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5241         * sysdeps/unix/sysv/linux/sigprocmask.c
5242         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5243         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5244         * sysdeps/unix/sysv/linux/sigsuspend.c
5245         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5246         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5247         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5248         (__libc_missing_rt_sigs): Remove.
5249         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5250         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5251         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5252         Remove conditional code.
5253         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5254         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5255         return 1.
5256         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5257         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5258         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5259         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5261 2012-05-14  Andreas Jaeger  <aj@suse.de>
5263         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5264         it's not used in glibc.
5265         (__coshm1): Likewise.
5266         (__acosh1p): Likewise.
5267         (__sgn): Likewise.
5269         * manual/string.texi (Copying and Concatenation): Add missing
5270         variable in concat example.
5271         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5273 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5275         [BZ #14103]
5276         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5277         __builtin_clzl with __builtin_clzll.
5279 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5281         [BZ #14104]
5282         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5283         libc_freeres_ptr.
5285 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5287         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5288         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5289         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5290         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5292 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
5294         * NEWS: Update ia64 info.
5296 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
5298         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5299         used as bcopy.
5301 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
5303         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5304         * sysdeps/unix/syscalls.list (dup3): Likewise.
5305         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5306         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5308 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5310         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5311         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5313 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5315         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5316         thread pointer.
5317         (TLS_IE): Use mov/add instead of movq/addq to load thread
5318         pointer.
5319         (TLS_GD_PREFIX): New.
5320         (TLS_GD): Use it.
5322 2012-05-11  David S. Miller  <davem@davemloft.net>
5324         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5325         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5326         (_FPU_SETCW): Likewise.
5328 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5330         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5331         is 32-byte aligned.
5333 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
5335         [BZ #11837]
5336         * iconvdata/gb18030.c: Update tables.
5337         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
5338         characters specially.
5339         (BODY for TO_LOOP): Add encoding of missing ranges.
5341 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
5343         [BZ #13673]
5344         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5345         * sysdeps/mach/hurd/dup3.c: Likewise.
5346         * sysdeps/mach/hurd/readlinkat.c: Likewise.
5347         * sysdeps/powerpc/memmove.c:: Likewise.
5349 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5351         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5352         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5354 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5356         * elf/elf.h (R_X86_64_RELATIVE64): New.
5357         (R_X86_64_NUM): Updated.
5358         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5359         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
5360         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5361         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5362         tst-quad1pie tst-quad2pie
5363         (modules-names): Add tst-quadmod1 tst-quadmod2.
5364         ($(objpfx)tst-quad1): New dependency.
5365         ($(objpfx)tst-quad2): Likewise.
5366         ($(objpfx)tst-quad1pie): Likewise.
5367         ($(objpfx)tst-quad2pie): Likewise.
5368         * sysdeps/x86_64/tst-quad1.c: New file.
5369         * sysdeps/x86_64/tst-quad1pie.c: New file.
5370         * sysdeps/x86_64/tst-quad2.c: Likewise.
5371         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5372         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5373         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5374         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5375         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5377 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5379         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5380         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5381         * streams/stropts.h (t_scalar_t): Define type.
5383         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5384         (_PATH_PRESERVE): Set to "/var/lib".
5385         (_PATH_RWHODIR): Set to "/var/spool/rwho".
5387         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5388         instead of int.
5390         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5391         if __dir_mkfile succeeded.
5393         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5394         checking for _hurd_dtablesize.  Unlock it right after having
5395         finished _hurd_dtable allocation.
5397 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5399         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5400         * sysdeps/mach/hurd/configure: Regenerated.
5401         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5402         special-casing to...
5403         * sysdeps/gnu/configure.in: ... this new file.
5404         * sysdeps/unix/sysv/linux/configure: Regenerated.
5405         * sysdeps/gnu/configure: New generated file.
5407         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5408         for Linux: use nsec instead of usec, as well as:
5409         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5410         members of type struct timespec.
5411         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5412         New macros.
5413         (struct stat64): Likewise.
5414         (_STATBUF_ST_NSEC): New macro.
5415         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5417         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5418         __strtoul_internal rather than strtoul.
5420 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5422         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5423         and reject them.
5425 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5427         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5428         which preserves existing values.
5429         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5431 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5433         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5434         TIMEOUT values.  Return EINVAL for NFDS values either negative or
5435         greater than FD_SETSIZE.
5437 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5439         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5440         allocated, call __vm_protect to finish enabling the existing space, and
5441         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5442         allocate the remainder.
5444 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5446         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5447         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
5449 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5451         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5452         sysdeps/mach/hurd/readlink.c.
5454         * posix/tst-sysconf.c (posix_options): Only use
5455         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5456         _POSIX_SYNCHRONIZED_IO when they are defined
5457         * sysdeps/mach/hurd/bits/posix_opt.h:
5458         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5459         (_XOPEN_REALTIME): Undefine macro.
5460         (_XOPEN_REALTIME_THREADS): Undefine macro.
5461         (_XOPEN_SHM): Undefine macro.
5462         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5463         macro to -1.
5464         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5465         macro to -1.
5466         (_POSIX_ASYNC_IO): Undefine macro.
5467         (_POSIX_PRIORITIZED_IO): Undefine macro.
5468         (_POSIX_SPIN_LOCKS): Define macro to -1.
5470         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5471         SA_NODEFER, SA_RESETHAND.
5472         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5473         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5474         F_DUPFD_CLOEXEC.
5476 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5478         * elf/Makefile (pldd-modules): Define unconditionally.
5480 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5482         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5484 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5486         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5487         Return ENOENT when name is empty.
5488         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5490 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5492         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5494         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5496 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5498         Fix mlock in all cases except non-readable pages.
5499         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5500         instead of VM_PROT_ALL as parameter to __vm_wire function.
5502         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5503         (__mkdir): When path is `/', just fail with EEXIST.
5504         * sysdeps/mach/hurd/mkdirat.c: Likewise.
5506 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5508         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5509         <sys/uio.h> (for writev).
5510         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5511         and <sys/param.h> (for MIN).
5513 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5515         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5516         REQUESTED_TIME.  Properly set the remaining time and return EINTR
5517         if interrupted.
5519 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5521         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5522         Depend on against $(link-rpcuserlibs).
5524 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5526         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5527         (__libc_stack_end): Do not use attribute_relro.
5528         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5529         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5530         to libthread-provided value.
5531         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5532         attribute_relro.
5534 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5536         [BZ #3748]
5537         * bits/libc-lock.h (__libc_once_get): New macro.
5538         * sysdeps/mach/bits/libc-lock.h: Likewise.
5539         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5540         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5541         instead of using implementation details.
5543         * libio/fileops.c: Unconditionally include <kernel-features.h>.
5544         * libio/freopen.c: Likewise.
5545         * libio/freopen64.c: Likewise.
5546         * misc/syslog.c: Likewise.
5547         * nscd/connections.c: Likewise.
5548         * nscd/netgroupcache.c: Likewise.
5549         * sysdeps/posix/getcwd.c: Likewise.
5551 2012-05-10  Roland McGrath  <roland@hack.frob.com>
5553         * math/w_ilogbf.c: Add #include <limits.h>.
5555 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5557         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5558         path instead of returning without unlocking.
5560         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5561         immediate-write ioctls.
5562         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5564 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5566         * sysdeps/mach/hurd/i386/init-first.c (init): Use
5567         __builtin_frame_address instead of making assumptions about the
5568         location of the return address relative to DATA.  Force early load of
5569         the return address.
5570         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5571         __builtin_frame_address.
5573         dup3 for GNU Hurd.
5574         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5575         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
5576         implement dup3 and do some further code clean-ups.
5577         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5578         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5580 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5582         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5584         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5585         HURD_CRITICAL_END around holding _hurd_dtable_lock.
5586         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5587         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5588         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5589         d->port.lock.
5591         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5592         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
5593         when handler == SIG_ERR, not when handler != SIG_ERR.
5595 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5597         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5598         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5599         definitions.
5601         accept4 for GNU Hurd.
5602         * include/sys/socket.h (__libc_accept4): New prototype.
5603         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
5604         to implement __libc_accept4.
5605         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5606         __libc_accept4.
5607         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5609         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5610         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5611         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5612         signal-defines.sym.
5614 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5616         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5618 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5620         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5621         assertion on O_CLOEXEC flag.
5622         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5623         * hurd/intern-fd.c: Likewise.
5624         * hurd/port2fd.c: Likewise.
5626 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5628         [BZ #3906]
5629         * bits/in.h (IPV6_PKTINFO): Define new macro.
5630         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5632 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5634         [BZ #13954]
5635         [BZ #13955]
5636         [BZ #13956]
5637         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5638         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5639         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5640         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5641         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5642         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5643         * math/libm-test.inc (logb_test) : Additional logb tests.
5645 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
5646             Andreas Jaeger  <aj@suse.de>
5648         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5649         * configure: Regenerated.
5650         * config.h.in (LINK_OBSOLETE_RPC): New macro.
5651         * config.make.in (link-obsolete-rpc): New substituted variable.
5652         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5653         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5654         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5655         (shared-only-routines): Don't set it under [link-obsolete-rpc],
5656         so that libc.a contains the symbols.
5657         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5658         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5659         * sunrpc/auth_none.c: Likewise.
5660         * sunrpc/auth_unix.c: Likewise.
5661         * sunrpc/authdes_prot.c: Likewise.
5662         * sunrpc/authuxprot.c: Likewise.
5663         * sunrpc/clnt_gen.c: Likewise.
5664         * sunrpc/clnt_perr.c: Likewise.
5665         * sunrpc/clnt_raw.c: Likewise.
5666         * sunrpc/clnt_simp.c: Likewise.
5667         * sunrpc/clnt_tcp.c: Likewise.
5668         * sunrpc/clnt_udp.c: Likewise.
5669         * sunrpc/clnt_unix.c: Likewise.
5670         * sunrpc/des_crypt.c: Likewise.
5671         * sunrpc/des_soft.c: Likewise.
5672         * sunrpc/get_myaddr.c: Likewise.
5673         * sunrpc/key_call.c: Likewise.
5674         * sunrpc/key_prot.c: Likewise.
5675         * sunrpc/netname.c: Likewise.
5676         * sunrpc/pm_getmaps.c: Likewise.
5677         * sunrpc/pm_getport.c: Likewise.
5678         * sunrpc/pmap_clnt.c: Likewise.
5679         * sunrpc/pmap_prot.c: Likewise.
5680         * sunrpc/pmap_prot2.c: Likewise.
5681         * sunrpc/pmap_rmt.c: Likewise.
5682         * sunrpc/publickey.c: Likewise.
5683         * sunrpc/rpc_cmsg.c: Likewise.
5684         * sunrpc/rpc_common.c: Likewise.
5685         * sunrpc/rpc_dtable.c: Likewise.
5686         * sunrpc/rpc_prot.c: Likewise.
5687         * sunrpc/rpc_thread.c: Likewise.
5688         * sunrpc/rtime.c: Likewise.
5689         * sunrpc/svc.c: Likewise.
5690         * sunrpc/svc_auth.c: Likewise.
5691         * sunrpc/svc_raw.c: Likewise.
5692         * sunrpc/svc_run.c: Likewise.
5693         * sunrpc/svc_tcp.c: Likewise.
5694         * sunrpc/svc_udp.c: Likewise.
5695         * sunrpc/svc_unix.c: Likewise.
5696         * sunrpc/svcauth_des.c: Likewise.
5697         * sunrpc/xcrypt.c: Likewise.
5698         * sunrpc/xdr.c: Likewise.
5699         * sunrpc/xdr_array.c: Likewise.
5700         * sunrpc/xdr_float.c: Likewise.
5701         * sunrpc/xdr_intXX_t.c: Likewise.
5702         * sunrpc/xdr_mem.c: Likewise.
5703         * sunrpc/xdr_rec.c: Likewise.
5704         * sunrpc/xdr_ref.c: Likewise.
5705         * sunrpc/xdr_sizeof.c: Likewise.
5706         * sunrpc/xdr_stdio.c: Likewise.
5708 2012-05-10  Roland McGrath  <roland@hack.frob.com>
5710         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5711         change.  Update copyright years.
5713 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
5715         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5717 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
5718             Joseph Myers  <joseph@codesourcery.com>
5719             Paul Pluzhnikov  <ppluzhnikov@google.com>
5721         [BZ #14012]
5722         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5723         requiring rpcgen.
5724         [cross-compiling] (extra-libs): Likewise.
5725         [cross-compiling] (extra-libs-others): Likewise.
5726         [cross-compiling] (librpcsvc-routines): Likewise.
5727         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5728         [cross-compiling] (omit-deps): Likewise.
5729         (sunrpc-CPPFLAGS): New variable.
5730         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5731         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5732         (cross-rpcgen-objs): New variable.
5733         (extra-objs): Append $(cross-rpcgen-objs).
5734         ($(cross-rpcgen-objs)): New rule.
5735         ($(objpfx)cross-rpcgen): Likewise.
5736         (rpcgen-cmd): Define to use $(built-program-file).  Expand
5737         comment.
5738         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5739         ($(objpfx)x%.stmp): Likewise.
5740         * sunrpc/proto.h [IS_IN_build] (_): Define.
5741         [IS_IN_build] (_libc_intl_domainname): Likewise.
5743 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5745         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5746         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5747         and R_X86_64_TPOFF64.
5749 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
5751         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5752         sysdeps/unix/sysv/syscalls.list.
5753         (stime): Likewise.
5754         (utime): Likewise.
5755         * sysdeps/unix/sysv/syscalls.list: Remove file.
5757 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
5759         [BZ #3440]
5760         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5761         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5762         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5763         (__LC_IDENTIFICATION): Make these macros useful in #if
5764         expressions, as required by C99.
5766 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
5768         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5769         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
5770         after this.
5772 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
5774         * stdlib/longlong.h: Updated from GCC.
5776 2012-05-09  Andreas Jaeger  <aj@suse.de>
5778         * nscd/nscd.c (run_modes): Make named enum, reorder so that
5779         default is first entry.
5780         (run_mode): Set type.
5781         (main): Remove informal message about syslog.
5782         (options): Fix typo.
5784         [BZ #14053]
5785         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5786         to asm.
5787         (lrint): Likewise.
5788         (llrintf): Likewise.
5789         (llrint): Likewise.
5790         (rint): Likewise.
5791         (rintf): Likewise.
5792         (nearbyint): Likewise.
5793         (nearbyintf): Likewise.
5795 2012-05-09  Andreas Jaeger  <aj@suse.de>
5796             Pedro Alves  <palves@redhat.com>
5798         * nscd/nscd.c (run_mode): Use enum.
5799         (main): Cleanup coding style issue.
5801 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
5802             Andreas Jaeger  <aj@suse.de>
5804         * nscd/nscd.c (go_background): Replaced with...
5805         (run_mode): ... this.
5806         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5807         (options): Add -F --foreground.
5808         (main): Implement it.
5809         (parse_opt): Parse it.
5811 2012-05-09  Andreas Jaeger  <aj@suse.de>
5813         [BZ #14083]
5814         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5815         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5816         -Wconversion warning.
5817         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5818         Likewise.
5820 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
5822         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
5823         == 0.
5824         (LC_ALL): Use macro-int-constant.
5825         (LC_COLLATE): Likewise.
5826         (LC_CTYPE): Likewise.
5827         (LC_MESSAGES): Likewise.
5828         (LC_MONETARY): Likewise.
5829         (LC_NUMERIC): Likewise.
5830         (LC_TIME): Likewise.
5831         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5832         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5833         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5834         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5835         Specify type.
5836         [C99-based standards] (float_t): Expect type.
5837         [C99-based standards] (double_t): Expect type.
5838         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
5839         type.
5840         [C99-based standards] (HUGE_VALL): Likewise.
5841         [C99-based standards] (INFINITY): Likewise.
5842         [C99-based standards] (NAN): Likewise.
5843         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5844         [C99-based standards] (FP_NAN): Likewise.
5845         [C99-based standards] (FP_NORMAL): Likewise.
5846         [C99-based standards] (FP_SUBNORMAL): Likewise.
5847         [C99-based standards] (FP_ZERO): Likewise.
5848         [C99-based standards] (FP_FAST_FMA): Use
5849         optional-macro-int-constant.  Specify type.  Require == 1.
5850         [C99-based standards] (FP_FAST_FMAF): Likewise.
5851         [C99-based standards] (FP_FAST_FMAL): Likewise.
5852         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5853         [C99-based standards] (FP_ILOGBNAN): Likewise.
5854         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5855         Specify type.
5856         [C99-based standards] (MATH_ERREXCEPT): Likewise.
5857         [C99-based standards] (math_errhandling): Specify type.
5858         [ISO99 || ISO11] (signgam): Do not allow.
5859         [non-C99-based standards] (copysignf): Do not allow.
5860         [non-C99-based standards] (exp2f): Likewise.
5861         [non-C99-based standards] (log2f): Likewise.
5862         [non-C99-based standards] (modff): Allow.
5863         [non-C99-based standards] (erff): Do not allow.
5864         [non-C99-based standards] (erfcf): Likewise.
5865         [non-C99-based standards] (gammaf): Likewise.
5866         [non-C99-based standards] (hypotf): Likewise.
5867         [non-C99-based standards] (j0f): Likewise.
5868         [non-C99-based standards] (j1f): Likewise.
5869         [non-C99-based standards] (jnf): Likewise.
5870         [non-C99-based standards] (lgammaf): Likewise.
5871         [non-C99-based standards] (tgammaf): Likewise.
5872         [non-C99-based standards] (y0f): Likewise.
5873         [non-C99-based standards] (y1f): Likewise.
5874         [non-C99-based standards] (ynf): Likewise.
5875         [non-C99-based standards] (isnanf): Likewise.
5876         [non-C99-based standards] (acoshf): Likewise.
5877         [non-C99-based standards] (asinhf): Likewise.
5878         [non-C99-based standards] (atanhf): Likewise.
5879         [non-C99-based standards] (cbrtf): Likewise.
5880         [non-C99-based standards] (expm1f): Likewise.
5881         [non-C99-based standards] (ilogbf): Likewise.
5882         [non-C99-based standards] (log1pf): Likewise.
5883         [non-C99-based standards] (logbf): Likewise.
5884         [non-C99-based standards] (nextafterf): Likewise.
5885         [non-C99-based standards] (remainderf): Likewise.
5886         [non-C99-based standards] (rintf): Likewise.
5887         [non-C99-based standards] (scalbf): Likewise.
5888         [non-C99-based standards] (copysignl): Likewise.
5889         [non-C99-based standards] (exp2l): Likewise.
5890         [non-C99-based standards] (log2l): Likewise.
5891         [non-C99-based standards] (modfl): Allow.
5892         [non-C99-based standards] (erfl): Do not allow.
5893         [non-C99-based standards] (erfcl): Likewise.
5894         [non-C99-based standards] (gammal): Likewise.
5895         [non-C99-based standards] (hypotl): Likewise.
5896         [non-C99-based standards] (j0l): Likewise.
5897         [non-C99-based standards] (j1l): Likewise.
5898         [non-C99-based standards] (jnl): Likewise.
5899         [non-C99-based standards] (lgammal): Likewise.
5900         [non-C99-based standards] (tgammal): Likewise.
5901         [non-C99-based standards] (y0l): Likewise.
5902         [non-C99-based standards] (y1l): Likewise.
5903         [non-C99-based standards] (ynl): Likewise.
5904         [non-C99-based standards] (isnanl): Likewise.
5905         [non-C99-based standards] (acoshl): Likewise.
5906         [non-C99-based standards] (asinhl): Likewise.
5907         [non-C99-based standards] (atanhl): Likewise.
5908         [non-C99-based standards] (cbrtl): Likewise.
5909         [non-C99-based standards] (expm1l): Likewise.
5910         [non-C99-based standards] (ilogbl): Likewise.
5911         [non-C99-based standards] (log1pl): Likewise.
5912         [non-C99-based standards] (logbl): Likewise.
5913         [non-C99-based standards] (nextafterl): Likewise.
5914         [non-C99-based standards] (remainderl): Likewise.
5915         [non-C99-based standards] (rintl): Likewise.
5916         [non-C99-based standards] (scalbl): Likewise.
5917         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5918         [non-C99-based standards] (FP_*): Do not allow.
5919         [C99-based standards] (FP_*): Change to
5920         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5921         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5922         allow.
5923         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5924         (SIG_ERR): Likewise.
5925         [X/Open-based standards] (SIG_HOLD): Likewise.
5926         (SIG_IGN): Likewise.
5927         (SIGABRT): Use macro-int-constant.  Specify type.  Require
5928         positive value.
5929         (SIGFPE): Likewise.
5930         (SIGILL): Likewise.
5931         (SIGINT): Likewise.
5932         (SIGSEGV): Likewise.
5933         (SIGTER): Likewise.
5934         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5935         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5936         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5937         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5938         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5939         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5940         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5941         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5942         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5943         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5944         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5945         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5946         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5947         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5948         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5949         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5950         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5951         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5952         [X/Open-based standards] (SIGTRAP): Likewise.
5953         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5954         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5955         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5956         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5957         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5958         allow.
5960 2012-05-08  Ian Wienand  <ianw@vmware.com>
5962         [BZ #14080]
5963         * time/tzset.c (__tzset_parse_tz): Update default rules for
5964         daylight time changes in the Energy Policy Act of 2005.
5966 2012-05-09  Andreas Jaeger  <aj@suse.de>
5968         [BZ #13983]
5969         * elf/ldconfig.c (parse_conf): Change string to make clear that
5970         ldconfig only issued a warning if ld.so.conf does not exist.
5972 2012-05-08  David S. Miller  <davem@davemloft.net>
5974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5975         movxtod instead of popping the value on the stack.
5977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5979 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
5981         * config.h.in: Add HAVE_ARM_PCS_VFP.
5983 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
5985         [BZ #13979]
5986         * include/features.h: Warn if user requests __FORTIFY_SOURCE
5987         checking but the checks are disabled for any reason.
5989 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5991         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5992         and ELF64_R_TYPE with ELFW(R_TYPE).
5994 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
5996         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5997         (ulimit): Likewise.
5999         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6000         (settimeofday): Likewise.
6002 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
6004         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
6005         a struct th_u2 inside the union, and move tu_block/tu_code into
6006         a new th_u3 union of tu_block/tu_code inside of that.  Move
6007         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
6008         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
6009         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6010         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6011         (th_stuff): Change to th_u1.tu_stuff.
6012         (th_data): Define.
6013         (th_msg): Change to th_u1.th_u2.tu_data.
6015 2012-05-07  David S. Miller  <davem@davemloft.net>
6017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6019         [BZ #14074]
6020         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6021         (SETUP_PIC_REG): Use it.
6022         (SETUP_PIC_REG_LEAF): Use it.
6024 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
6026         [BZ #13885]
6027         [BZ #13923]
6028         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6029         USE_AS_EXPM1L.
6030         (EXPL_FINITE): Likewise.
6031         (FLDLOG): Likewise.
6032         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6033         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6034         e_expl.S.
6035         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6036         USE_AS_EXPM1L.
6037         (EXPL_FINITE): Likewise.
6038         (FLDLOG): Likewise.
6039         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6040         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6041         e_expl.S.
6042         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
6043         test of -max_value argument for long double.
6044         * sysdeps/i386/fpu/libm-test-ulps: Update.
6045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6047 2012-05-06  David S. Miller  <davem@davemloft.net>
6049         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6050         quad soft-float symbols whose references which are compiler
6051         generated.
6052         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6054 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
6056         [BZ #13884]
6057         [BZ #13914]
6058         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6059         USE_AS_EXP10L.
6060         (EXPL_FINITE): Likewise.
6061         (FLDLOG): Likewise.
6062         (c0): Likewise.
6063         (c1): Likewise.
6064         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
6065         Adjust comments for base varying.
6066         (__expl_finite): Change alias to EXPL_FINITE.
6067         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6068         e_expl.S.
6069         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6070         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6071         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6072         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6073         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6074         USE_AS_EXP10L.
6075         (EXPL_FINITE): Likewise.
6076         (FLDLOG): Likewise.
6077         (c0): Likewise.
6078         (c1): Likewise.
6079         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
6080         Adjust comments for base varying.
6081         (__expl_finite): Change alias to EXPL_FINITE.
6082         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
6083         tests for bugs.
6084         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6086         [BZ #14064]
6087         * math/libm-test.inc (check_float_internal): Correct ulp
6088         calculation for subnormal expected results.
6090 2012-05-06  Andreas Jaeger  <aj@suse.de>
6092         * Makeconfig (+math-flags): New, set to -frounding-math.
6093         (+cflags): Add +math-flags so that all of glibc gets compiled with
6094         it.
6096         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6098 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
6100         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6101         Disable one test.
6103         [BZ #13787]
6104         [BZ #13922]
6105         [BZ #14036]
6106         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6107         (__ieee754_expl): Allow for and saturate large arguments.
6108         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6109         (u_threshold): Likewise.
6110         (__exp): Call __ieee754_exp before checking for overflow and
6111         underflow.
6112         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6113         (u_threshold): Likewise.
6114         (__expf): Call __ieee754_expf before checking for overflow and
6115         underflow.
6116         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6117         (u_threshold): Likewise.
6118         (__expl): Call __ieee754_expl before checking for overflow and
6119         underflow.
6120         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6121         (__ieee754_expl): Allow for and saturate large arguments.
6122         * math/libm-test.inc (exp_test): Add another test.  Do not allow
6123         missing overflow exception on overflow.
6124         (expm1_test): Do not allow missing overflow exception on overflow.
6126         * sysdeps/i386/fpu/e_expl.c: Move to ...
6127         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
6128         rather than using inline asm.
6129         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6130         * sysdeps/x86_64/fpu/e_expl.S: Copy from
6131         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6133         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6134         (nice): Likewise.
6135         (poll): Likewise.
6136         (signal): Likewise.
6137         (time): Likewise.
6138         (times): Likewise.
6140 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6142         * sysdeps/unix/syscalls.list (adjtime): Add entry from
6143         sysdeps/unix/common/syscalls.list.
6144         (fchmod): Likewise.
6145         (fchown): Likewise.
6146         (ftruncate): Likewise.
6147         (getrusage): Likewise.
6148         (gettimeofday): Likewise.
6149         (setpgid): Likewise.
6150         (setregid): Likewise.
6151         (setreuid): Likewise.
6152         (sigaction): Likewise.
6153         (truncate): Likewise.
6154         (vhangup): Likewise.
6155         * sysdeps/unix/common/syscalls.list: Remove file.
6156         * sysdeps/unix/bsd/Implies: Don't include unix/common.
6157         * sysdeps/unix/sysv/linux/Implies: Likewise.
6159 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
6161         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6163         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6164         Moved to ...
6165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6166         Here.
6167         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6168         to ...
6169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6170         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6171         to ...
6172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6173         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6174         to ...
6175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6176         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6177         to ...
6178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6179         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6180         to ...
6181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6182         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6183         to ...
6184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6185         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6186         to ...
6187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6188         Here.
6189         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6190         to ...
6191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6192         Here.
6193         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6194         to ...
6195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6196         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6197         Moved to ...
6198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6199         Here.
6200         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6201         to ...
6202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6204 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6206         * sysdeps/unix/common/bits/dirent.h: Remove file.
6207         * sysdeps/unix/common/bits/fcntl.h: Likewise.
6209         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6210         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6211         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6212         * sysdeps/unix/bsd/isatty.c: Likewise.
6213         * sysdeps/unix/bsd/tcdrain.c: Likewise.
6214         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6215         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6217 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6219         [BZ #13563]
6220         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6221         long double comparison inaccuracies.
6222         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6225 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
6227         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6228         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6230 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6232         [BZ #14049]
6233         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6234         nonzero digits before rounding a hex value.
6235         * stdlib/tst-strtod.c (tests): Add another test.
6237 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6239         * sysdeps/s390/fpu/libm-test-ulps: Update.
6241 2012-05-03  Andreas Jaeger  <aj@suse.de>
6243         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6244         does not get optimized out.
6245         (malloc_opt_barrier): New.
6247 2012-05-03  Andreas Jaeger  <aj@suse.de>
6248             Roland McGrath  <roland@hack.frob.com>
6250         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6251         intermediate file deletion.
6252         (generated): Add .symlist files.
6254 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
6256         [BZ #13775]
6257         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6258         Redirect under this condition.
6259         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6260         [__USE_GNU] (__dprintf_chk): Not under this condition.
6261         [__USE_GNU] (__vdprintf_chk): Likewise.
6262         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6263         under this condition.
6264         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6265         [__USE_XOPEN2K8] (dprintf): Define under this condition.
6266         [__USE_XOPEN2K8] (vdprintf): Likewise.
6267         [__USE_GNU] (__dprintf_chk): Not under this condition.
6268         [__USE_GNU] (__vdprintf_chk): Likewise.
6269         [__USE_GNU] (dprintf): Likewise.
6270         [__USE_GNU] (vdprintf): Likewise.
6272 2012-05-03  Roland McGrath  <roland@hack.frob.com>
6274         * elf/Makefile (common-generated): Set this instead of generated for
6275         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
6276         $(all-built-dso)-derived lists.
6278 2012-05-03  Andreas Jaeger  <aj@suse.de>
6280         * sysdeps/i386/fpu/libm-test-ulps: Update.
6282         * FAQ: Removed.
6283         * FAQ.in: Likewise.
6284         * scripts/gen-FAQ.pl: Likewise.
6285         * manual/install.texi (Installation): Point to online location of
6286         FAQ.
6287         * Makefile (files-for-dist): Remove FAQ.
6288         (FAQ): Remove.
6290 2012-05-02  Allan McRae  <allan@archlinux.org>
6292         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6293         (LDFLAGS-reldepmod5.so): Likewise.
6294         (LDFLAGS-reldep6mod1.so): Likewise.
6295         (LDFLAGS-reldep6mod4.so): Likewise.
6296         (LDFLAGS-reldep8mod3.so): Likewise.
6297         (LDFLAGS-unload4mod1.so): Likewise.
6298         (LDFLAGS-unload4mod2.so): Likewise.
6299         (LDFLAGS-tst-initorder): Likewise.
6300         (LDFLAGS-tst-initordera2.so): Likewise.
6301         (LDFLAGS-tst-initordera3.so): Likewise.
6302         (LDFLAGS-tst-initordera4.so): Likewise.
6303         (LDFLAGS-tst-initorderb2.so): Likewise.
6304         (LDFLAGS-noload): Likewise.
6305         (LDFLAGS-next): Likewise.
6306         (LDFLAGS-order2mod1.so): Likewise.
6307         (LDFLAGS-order2mod2.so): Likewise.
6308         (LDFLAGS-tst-initorder2): Likewise.
6309         (LDFLAGS-tst-initorder2a.so): Likewise.
6310         (LDFLAGS-tst-initorder2b.so): Likewise.
6311         (LDFLAGS-tst-initorder2c.so): Likewise.
6312         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6314 2012-05-02  David S. Miller  <davem@davemloft.net>
6316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6318 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6320         [BZ #14055]
6321         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6323 2012-05-02  Andreas Jaeger  <aj@suse.de>
6325         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6326         since we manipulate rounding mode.
6327         (CPPFLAGS-test-idouble.c): Likewise.
6328         (CPPFLAGS-test-ifloat.c): Likewise.
6329         (CFLAGS-test-ldouble.c): Likewise.
6330         (CFLAGS-test-double.c): Likewise.
6331         (CFLAGS-test-float.c): Likewise.
6332         (CFLAGS-test-misc.c): Likewise.
6333         (CFLAGS-test-test-fenv.c): Likewise.
6335 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6337         [BZ #2550]
6338         [BZ #2570]
6339         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6340         comparisons to determine direction to adjust input.
6342 2012-05-01  Roland McGrath  <roland@hack.frob.com>
6344         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6345         output to the target.
6347         * scripts/localplt.awk: New file.
6348         * elf/Makefile ($(objpfx)check-localplt): Target removed.
6349         (check-localplt-CFLAGS): Variable removed.
6350         ($(all-built-dso:=.jmprel)): New static pattern rule.
6351         (generated): Add those targets.
6352         (localplt-built-dso): New variable.
6353         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6355         * elf/check-localplt.c: File removed.
6357         * scripts/check-execstack.awk: New file.
6358         * elf/Makefile ($(objpfx)check-execstack): Target removed.
6359         (check-execstack-CFLAGS): Variable removed.
6360         ($(objpfx)check-execstack.h): Target removed.
6361         ($(objpfx)execstack-default): New target.
6362         (generated): Add that instead of check-execstack.h.
6363         ($(all-built-dso:=.phdr)): New static pattern rule.
6364         (generated): Add those targets.
6365         * elf/check-execstack.c: File removed.
6367         * scripts/check-textrel.awk: New file.
6368         * elf/Makefile ($(objpfx)check-textrel): Target removed.
6369         (check-textrel-CFLAGS): Variable removed.
6370         (all-built-dso): Use := to define.o
6371         ($(all-built-dso:=.dyn)): New static pattern rule.
6372         (generated): Add those targets.
6373         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6374         * config.make.in (READELF): New substituted variable.
6375         * elf/check-textrel.c: File removed.
6377 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
6379         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6380         allow.
6381         * conform/data/ctype.h-data [C99-based standards] (isblank):
6382         Expect function.
6383         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6384         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6385         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6386         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6387         Specify type.  Require positive value.
6388         (EILSEQ): Likewise.
6389         (ERANGE): Likewise.
6390         [ISO || POSIX] (EILSEQ): Do not expect.
6391         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6392         Specify type.  Require positive value.
6393         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6394         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6395         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6396         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6397         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6398         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6399         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6400         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6401         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6402         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6403         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6404         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6405         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6406         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6407         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6408         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6409         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6410         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6411         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6412         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6413         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6414         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6415         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6416         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6417         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6418         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6419         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6420         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6421         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6422         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6423         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6424         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6425         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6426         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6427         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6428         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6429         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6430         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6431         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6432         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6433         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6434         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6435         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6436         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6437         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6438         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6439         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6440         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6441         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6442         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6443         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6444         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6445         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6446         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6447         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6448         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6449         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6450         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6451         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6452         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6453         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6454         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6455         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6456         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6457         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6458         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6459         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6460         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6461         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6462         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6463         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6464         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6465         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6466         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6467         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6468         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6469         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6470         Require >= 2.
6471         (FLT_ROUNDS): Expect as macro, not constant.
6472         (FLT_MANT_DIG): Use macro-int-constant.
6473         (DBL_MANT_DIG): Likewise.
6474         (LDBL_MANT_DIG): Likewise.
6475         (FLT_DIG): Likewise.
6476         (DBL_DIG): Likewise.
6477         (LDBL_DIG): Likewise.
6478         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
6479         (DBL_MIN_EXP): Likewise.
6480         (LDBL_MIN_EXP): Likewise.
6481         (FLT_MAX_EXP): Use macro-int-constant.
6482         (DBL_MAX_EXP): Likewise.
6483         (LDBL_MAX_EXP): Likewise.
6484         (FLT_MAX_10_EXP): Likewise.
6485         (DBL_MAX_10_EXP): Likewise.
6486         (LDBL_MAX_10_EXP): Likewise.
6487         (FLT_MAX): Use macro-constant.
6488         (DBL_MAX): Likewise.
6489         (LDBL_MAX): Likewise.
6490         (FLT_EPSILON): Use macro-constant.  Give upper bound.
6491         (DBL_EPSILON): Likewise.
6492         (LDBL_EPSILON): Likewise.
6493         (FLT_MIN): Likewise.
6494         (DBL_MIN): Likewise.
6495         (LDBL_MIN): Likewise.
6496         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6497         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6498         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6499         [ISO11] (FLT_HAS_SUBNORM): Likewise.
6500         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6501         [ISO11] (DBL_DECIMAL_DIG): Likewise.
6502         [ISO11] (FLT_DECIMAL_DIG): Likewise.
6503         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6504         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6505         [ISO11] (FLT_TRUE_MIN): Likewise.
6506         [ISO11] (LDBL_TRUE_MIN): Likewise.
6507         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6508         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6509         (SCHAR_MIN): Use macro-int-constant.  Specify type.
6510         (SCHAR_MAX): Likewise.
6511         (UCHAR_MAX): Likewise.
6512         (CHAR_MIN): Likewise.
6513         (CHAR_MAX): Likewise.
6514         (MB_LEN_MAX): Use macro-int-constant.
6515         (SHRT_MIN): Use macro-int-constant.  Specify type.
6516         (SHRT_MAX): Likewise.
6517         (USHRT_MAX): Likewise.
6518         (INT_MAX): Likewise.
6519         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
6520         bound negative.
6521         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6522         bound with "U".
6523         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6524         bound with "L".
6525         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
6526         bound negative.  Suffix upper bound with "L".
6527         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6528         bound with "UL".
6529         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6530         Specify type.
6531         [C99-based standards] (LLONG_MAX): Likewise.
6532         [C99-based standards] (ULLONG_MAX): Likewise.
6533         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
6534         == 0.
6535         [ISO11] (max_align_t): Require type.
6536         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6538         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6539         from $CFLAGS, without defining away __attribute__ calls.
6540         (checknamespace): Use $CFLAGS_namespace.
6542         * conform/conformtest.pl (@keywords): Only include C99 keywords
6543         for standards based on C99 or C11.
6545         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6546         Disable tests.
6547         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6548         UNIX98]: Likewise.
6550         * conform/conformtest.pl: Handle "macro-int-constant" and test for
6551         usability of symbols in #if.
6553         * conform/conformtest.pl: If macro or constant types start
6554         "promoted:", expect the symbol to be of the following type
6555         promoted by the integer promotions.
6557         * conform/conformtest.pl: Parse all "constant" and "macro" lines
6558         in one place.  Also handle "macro-constant".
6560         * conform/conformtest.pl: Only accept expected macro values with
6561         "==".  Parse all "macro" lines in one place.
6562         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6564         * conform/conformtest.pl: Handle braced types on "constant" lines
6565         instead of handling "typed-constant".
6566         * conform/data/signal.h-data: Use "constant" instead of
6567         "typed-constant".
6569         * conform/conformtest.pl: Handle "optional-" at start of lines in
6570         one place rather than duplicating several cases.  Handle each
6571         format of "macro" line with initial "optional-".
6573         * conform/conformtest.pl: Only accept expected constant or
6574         optional-constant values with "==".  Parse all "constant" lines in
6575         one place.  Parse all "optional-constant" lines in one place.
6576         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6577         * conform/data/fmtmsg.h-data: Likewise.
6578         * conform/data/netinet/in.h-data: Likewise.
6579         * conform/data/tar.h-data: Likewise.
6580         * conform/data/limits.h-data: Use "==" form on "constant" and
6581         "optional-constant" lines.
6583         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6584         Use -std=c99 for XOPEN2K.
6585         (@knownproblems): Remove.
6586         (newtoken): Don't check %isknown.
6588         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6589         Do not expect macro.
6590         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6591         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6592         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6593         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6594         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6595         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6596         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6597         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6598         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6599         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6600         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6601         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6602         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6603         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6604         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6605         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6606         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6607         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6608         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6609         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6610         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6611         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6612         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6613         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6614         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6615         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6616         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6617         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6618         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6619         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6620         [XPG3] (acosh): Likewise.
6621         [XPG3] (asinh): Likewise.
6622         [XPG3] (atanh): Likewise.
6623         [XPG3] (cbrt): Likewise.
6624         [XPG3] (expm1): Likewise.
6625         [XPG3] (ilogb): Likewise.
6626         [XPG3] (log1p): Likewise.
6627         [XPG3] (logb): Likewise.
6628         [XPG3] (nextafter): Likewise.
6629         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6630         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6631         [XPG3] (remainder): Likewise.
6632         [XPG3] (rint): Likewise.
6633         [XPG3 || XPG4 || UNIX98] (round): Likewise.
6634         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6635         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6636         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6637         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6638         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6639         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6640         [UNIX98 || XOPEN2K] (scalb): Expect.
6641         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6642         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6643         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6644         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6645         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6646         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6647         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6648         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6649         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6650         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6651         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6652         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6653         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6654         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6655         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6656         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6657         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6658         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6659         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6660         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6661         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6662         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6663         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6664         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6665         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6666         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6667         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6668         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6669         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6670         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6671         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6672         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6673         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6674         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6675         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6676         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6677         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6678         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6679         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6680         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6681         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6682         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6683         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6684         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6685         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6686         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6687         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6688         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6689         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6690         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6691         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6692         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6693         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6694         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6695         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6696         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6697         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6698         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6699         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6700         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6701         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6702         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6703         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6704         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6705         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6706         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6707         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6708         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6709         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6710         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6711         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6712         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6713         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6714         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6715         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6716         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6717         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6718         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6719         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6720         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6721         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6722         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6723         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6724         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6725         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6726         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6727         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6728         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6729         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6730         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6731         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6732         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6733         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6734         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6735         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6736         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6737         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6738         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6739         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6740         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6741         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6742         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6743         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6744         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6745         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6746         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6747         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6748         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6749         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6750         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6751         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6752         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6753         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6754         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6755         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6756         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6757         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6758         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6759         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6760         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6761         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6762         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6763         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6764         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6765         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6766         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6767         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6768         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6769         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6770         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6771         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6772         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6773         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6774         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6775         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6776         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6777         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6779         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6780         _XOPEN_SOURCE_EXTENDED for XPG4.
6782         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6784         * Makeconfig (localtime): Remove variable.
6785         (inst_localtime-file): Likewise.
6787 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6790         Update.
6791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6792         Update.
6793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6794         Update.
6795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6796         Update.
6797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6798         Update.
6799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6800         Update.
6801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6802         Update.
6803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6804         Update.
6805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6806         Update.
6808 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
6810         [BZ #2550]
6811         [BZ #2570]
6812         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6813         comparisons to determine direction to adjust input.
6814         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6815         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6816         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6817         Likewise.
6818         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6819         Likewise.
6820         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6821         Likewise.
6822         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6823         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6824         Likewise.
6825         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6826         Likewise.
6827         * math/libm-test.inc (nexttoward_test): Add more tests.
6829 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6831         [BZ #14040]
6832         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6833         in version GLIBC_2.1, not GLIBC_2.0.
6834         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6835         Likewise.
6837 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
6839         [BZ #13942]
6840         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6841         (1 - x) * (1 + x).
6842         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6843         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6844         * math/libm-test.inc (acos_test): Add more tests.
6845         (asin_test): Likewise.
6846         * sysdeps/i386/fpu/libm-test-ulps: Update.
6847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6849         [BZ #14034]
6850         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6851         of square root.
6852         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6853         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6854         * math/libm-test.inc (acos_test_tonearest): New function.
6855         (acos_test_towardzero): Likewise.
6856         (acos_test_downward): Likewise.
6857         (acos_test_upward): Likewise.
6858         (asin_test_tonearest): Likewise.
6859         (asin_test_towardzero): Likewise.
6860         (asin_test_downward): Likewise.
6861         (asin_test_upward): Likewise.
6862         (main): Call the new functions.
6863         * sysdeps/i386/fpu/libm-test-ulps: Update.
6864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6866         [BZ #13884]
6867         [BZ #13924]
6868         * math/e_exp10.c: Include <float.h>.
6869         (__ieee754_exp10): Handle underflow here rather than multiplying
6870         large negative argument by M_LN10.
6871         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6872         of __ieee754_expf.
6873         * math/e_exp10l.c: Include <float.h>.
6874         (__ieee754_exp10l): Handle underflow here rather than multiplying
6875         large negative argument by M_LN10l.
6876         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
6877         spurious overflow exception on underflow.
6879 2012-04-29  Marek Polacek  <polacek@redhat.com>
6881         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6882         (__fortify_function): New macro.
6883         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6884         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6885         __extern_always_inline.
6886         * libio/bits/stdio2.h: Likewise.
6887         * libio/bits/stdio.h: Likewise.
6888         * string/string.h: Likewise.
6889         * string/bits/string3.h: Likewise.
6890         * include/stdio.h: Likewise.
6891         * stdlib/bits/stdlib.h: Likewise.
6892         * stdlib/stdlib.h: Likewise.
6893         * rt/bits/mqueue2.h: Likewise.
6894         * rt/mqueue.h: Likewise.
6895         * posix/bits/unistd.h: Likewise.
6896         * posix/unistd.h: Likewise.
6897         * io/bits/poll2.h: Likewise.
6898         * io/bits/fcntl2.h: Likewise.
6899         * io/fcntl.h: Likewise.
6900         * io/sys/poll.h: Likewise.
6901         * misc/bits/syslog.h: Likewise.
6902         * misc/bits/syslog-ldbl.h: Likewise.
6903         * misc/sys/syslog.h: Likewise.
6904         * socket/bits/socket2.h: Likewise.
6905         * socket/sys/socket.h: Likewise.
6906         * debug/tst-chk1.c: Likewise.
6907         * wcsmbs/bits/wchar2.h: Likewise.
6908         * wcsmbs/bits/wchar-ldbl.h: Likewise.
6909         * wcsmbs/wchar.h: Likewise.
6911 2012-04-29  Andreas Jaeger  <aj@suse.de>
6913         * Makerules (tests): Remove enable-check-abi protection.
6914         (check-abi-warn): Remove.
6915         (check-abi-%): Remove check-abi-warn usage.
6917         * configure.in: Remove check-abi configure option.
6918         * configure: Regenerated.
6919         * config.make.in (enable-check-abi): Remove.
6921 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
6923         [BZ #14033]
6924         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6925         double functions to double *_finite functions.
6927         [BZ #13941]
6928         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6929         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6930         LDBL_MIN_EXP.
6931         * stdio-common/Makefile (tests): Add tst-sprintf3.
6932         * stdio-common/tst-sprintf3.c: New file.
6934         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6935         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6937 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
6939         * conform/conformtest.pl: Remove duplicate typed-constant
6940         handling.
6942 2012-04-28  David S. Miller  <davem@davemloft.net>
6944         * Makerules (%.abilist): Add vpath on sysdep_dirs.
6945         (check-abi-%): Remove AWK script prerequisite and explicit
6946         abilist directory.
6947         (check-abi): Rewrite to just diff the symlist with the abilist.
6948         (config-tls, config-abi-config): Delete, no longer used.
6949         (update-abi-%): Remove AWK script and explicit abilist directory.
6950         (update-abi): Rewrite to simply compare and conditionally copy the
6951         symlist and the sysdep abilist file.  Remove update-abi-config
6952         checks.
6953         * abilist/ld.abilist: Remove.
6954         * abilist/libBrokenLocale.abilist: Remove.
6955         * abilist/libanl.abilist: Remove.
6956         * abilist/libcrypt.abilist: Remove.
6957         * abilist/libdl.abilist: Remove.
6958         * abilist/librt.abilist: Remove.
6959         * abilist/libthread_db.abilist: Remove.
6960         * abilist/libutil.abilist: Remove.
6961         * scripts/extract-abilist.awk: Remove.
6962         * scripts/merge-abilist.awk: Remove.
6963         * sysdeps/generic/libcidn.abilist: New file.
6964         * sysdeps/generic/libnss_compat.abilist: New file.
6965         * sysdeps/generic/libnss_db.abilist: New file.
6966         * sysdeps/generic/libnss_dns.abilist: New file.
6967         * sysdeps/generic/libnss_files.abilist: New file.
6968         * sysdeps/generic/libnss_hesiod.abilist: New file.
6969         * sysdeps/generic/libnss_nis.abilist: New file.
6970         * sysdeps/generic/libnss_nisplus.abilist: New file.
6971         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6972         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6973         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6974         file.
6975         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6976         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6977         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6978         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6979         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6980         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6981         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6982         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6983         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6984         file.
6985         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6986         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6987         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6988         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6989         file.
6990         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6991         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6992         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6993         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6994         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6995         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6996         file.
6997         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6998         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6999         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7000         file.
7001         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7002         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7003         New file.
7004         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7005         New file.
7006         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7007         New file.
7008         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7009         New file.
7010         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7011         New file.
7012         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7013         New file.
7014         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7015         New file.
7016         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7017         New file.
7018         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7019         New file.
7020         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7021         New file.
7022         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7023         New file.
7024         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7025         New file.
7026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7027         New file.
7028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7029         file.
7030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7031         New file.
7032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7033         New file.
7034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7035         file.
7036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7037         New file.
7038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7039         New file.
7040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7041         file.
7042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7043         New file.
7044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7045         New file.
7046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7047         New file.
7048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7049         New file.
7050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7051         New file.
7052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7053         New file.
7054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7056         file.
7057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7058         New file.
7059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7060         file.
7061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7062         file.
7063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7064         file.
7065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7066         file.
7067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7068         file.
7069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7070         New file.
7071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7072         file.
7073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7074         file.
7075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7076         New file.
7077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7078         file.
7079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7081         file.
7082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7083         New file.
7084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7085         file.
7086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7087         file.
7088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7089         file.
7090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7091         file.
7092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7093         file.
7094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7095         New file.
7096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7097         file.
7098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7099         file.
7100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7101         New file.
7102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7103         file.
7104         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7105         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7106         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7107         file.
7108         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7109         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7110         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7111         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7112         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7113         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7114         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7115         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7116         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7117         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7120         file.
7121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7122         New file.
7123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7124         file.
7125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7126         file.
7127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7128         file.
7129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7130         file.
7131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7132         file.
7133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7134         New file.
7135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7136         New file.
7137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7138         file.
7139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7140         New file.
7141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7142         file.
7143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7145         file.
7146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7147         New file.
7148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7149         file.
7150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7151         file.
7152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7153         file.
7154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7155         file.
7156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7157         file.
7158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7159         New file.
7160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7161         New file.
7162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7163         file.
7164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7165         New file.
7166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7167         file.
7169 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
7171         * conform/conformtest.pl: Fix typo in handling typed-constant from
7172         allow-header.
7174 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7176         * README: Cut down references to pre-2.6 Linux kernels and
7177         Linuxthreads.  Update lists of configurations in libc and ports
7178         and sort alphabetically.  Say "or newer" with Linux kernel version
7179         requirements.
7181         * config.h.in [IS_IN_build]: Allow compiling without optimization.
7183 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7185         [BZ #887]
7186         * math/libm-test.inc (logb_test_downward): New test to expose
7187         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7188         rounding mode.
7190 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7192         [BZ #14027]
7193         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7194         to be done.
7195         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7196         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7198 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
7200         * sysdeps/unix/i386/brk.S: Remove file.
7201         * sysdeps/unix/i386/dl-brk.S: Likewise.
7202         * sysdeps/unix/i386/pipe.S: Likewise.
7203         * sysdeps/unix/i386/sigreturn.S: Likewise.
7204         * sysdeps/unix/i386/syscall.S: Likewise.
7205         * sysdeps/unix/i386/vfork.S: Likewise.
7206         * sysdeps/unix/i386/wait.S: Likewise.
7208         * sysdeps/unix/common/tcsendbrk.c: Move to ...
7209         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7211         * configure.in (arm*-none*): Do not allow without
7212         --enable-hacker-mode.
7213         (netbsd*): Remove case setting base_os.
7214         (386bsd*): Likewise.
7215         (freebsd*): Likewise.
7216         (bsdi*): Likewise.
7217         (osf*): Likewise.
7218         (sunos*): Likewise.
7219         (ultrix*): Likewise.
7220         (newsos*): Likewise.
7221         (dynix*): Likewise.
7222         (*bsd*): Likewise.
7223         (sysv*): Likewise.
7224         (isc*): Likewise.
7225         (esix*): Likewise.
7226         (sco*): Likewise.
7227         (minix*): Likewise.
7228         (irix4*): Likewise.
7229         (irix6*): Likewise.
7230         (solaris[2-9]*): Likewise.
7231         (none): Likewise.
7232         * configure: Regenerated.
7234 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7236         [BZ #11521]
7237         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7238         overflow or cancellation in calculating denominator.
7239         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7240         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7241         down expression to avoid unexpected rounding in newer GCCs.
7242         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7244 2012-04-26  David S. Miller  <davem@davemloft.net>
7246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7247         long-double compat symbols.
7248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7262 2012-04-25  David S. Miller  <davem@davemloft.net>
7264         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7265         HWCAP_* values only after the memory barriers have been defined.
7266         (atomic_full_barrier): Define.
7267         (atomic_read_barrier): Define.
7268         (atomic_write_barrier): Define.
7270 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7272         * shlib-versions: Add libgcc_s version information.
7273         * sysdeps/generic/libgcc_s.h: Remove.
7274         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7275         libgcc_s.h.
7276         * sysdeps/gnu/unwind-resume.c: Likewise.
7277         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7279 2012-04-25  David S. Miller  <davem@davemloft.net>
7281         * sysdeps/unix/sparc/brk.S: Delete.
7282         * sysdeps/unix/sparc/dl-brk.S: Delete.
7283         * sysdeps/unix/sparc/pipe.S: Delete.
7284         * sysdeps/unix/sparc/sysdep.S: Delete.
7285         * sysdeps/unix/sparc/sysdep.h: Delete.
7286         * sysdeps/unix/sparc/vfork.S: Delete.
7287         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7288         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7289         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7290         ret_ERRVAL, r0, r1, MOVE): Define.
7291         (JUMPTARGET): Remove.
7292         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7293         sysdeps/unix/sparc/sysdep.h
7294         (ENTRY, END): Remove.
7295         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7297 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
7299         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7300         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7301         -DIS_IN_build.
7303         * timezone/README: Update upstream location and email address for
7304         tzcode and tzdata.
7305         * timezone/zdump.c: Update from tzcode 2012b.
7306         * timezone/zic.c: Likewise.
7308         * configure.in (libc_cv_as_needed): Remove test.
7309         * configure: Regenerated.
7310         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7311         conditional definition.
7312         [$(have-as-needed) != yes] (no-as-needed): Likewise.
7313         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7314         * config.make.in (have-as-needed): Remove variable.
7316 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7317             Paul Pluzhnikov  <ppluzhnikov@google.com>
7319         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7320         strings correctly.
7322 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7324         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7325         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7326         * sysdeps/sh/strlen.S: Likewise.
7328 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7330         * sysdeps/unix/fork.S: Remove file.
7331         * sysdeps/unix/i386/fork.S: Likewise.
7332         * sysdeps/unix/sparc/fork.S: Likewise.
7334         * sysdeps/unix/system.c: Remove file.
7335         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7337         * sysdeps/unix/getegid.S: Remove file.
7338         * sysdeps/unix/geteuid.S: Likewise.
7340 2012-04-24  Roland McGrath  <roland@hack.frob.com>
7342         * scripts/check-localplt.awk: New file.
7343         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7344         of diff.
7345         * scripts/data/localplt-generic.data: Add a comment.
7347         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7348         NODE when __dir_mkfile failed.
7349         * sysdeps/mach/hurd/symlinkat.c: Likewise.
7350         Reported by Ludovic Courtès <ludo@gnu.org>.
7352 2012-04-24  Andreas Jaeger  <aj@suse.de>
7354         * Makerules (common-clean): Also remove gen-as-const-headers
7355         files.
7357 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7359         * Makerules (native-compile): Do not change working directory for
7360         build.  Use $(OUTPUT_OPTION) in command.
7361         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7363 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7365         [BZ #13886]
7366         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7367         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7368         * math/libm-test.inc (floor_test): Add more tests.
7369         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7371 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7373         * sysdeps/unix/getdents.c: Remove file.
7374         * sysdeps/unix/sysv/getdents.c: Likewise.
7375         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7377         * sysdeps/unix/syscalls.list (madvise): Add syscall from
7378         sysdeps/unix/mman/syscalls.list.
7379         (mmap): Likewise.
7380         (mprotect): Likewise.
7381         (msync): Likewise.
7382         (munmap): Likewise.
7383         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7384         * sysdeps/unix/mman/syscalls.list: Remove.
7385         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7387         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7388         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7389         * configure: Regenerated.
7390         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7391         $(libgcc_s_suffix).
7392         * config.make.in (libgcc_s_suffix): Remove variable.
7394 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
7396         * sysdeps/unix/sysv/gethostname.c: Move to ...
7397         * sysdeps/posix/gethostname.c: ... here.
7399         * sysdeps/unix/execve.S: Remove file.
7401         * sysdeps/unix/_exit.S: Remove file.
7403 2012-04-23  Andreas Jaeger  <aj@suse.de>
7405         [BZ #13739]
7406         * manual/Makefile: Remove make dist support, there's no
7407         need for a stand-alone documentation tar ball.
7408         (TEXI2DVI): Define always, it's not in Makeconfig.
7409         (dist): Removed.
7410         (tar-it): Removed.
7411         (edition): Removed.
7412         (glibc-doc-$(edition).tar): Removed
7413         (%.Z): Removed.
7414         (%.gz): Removed.
7415         (%.uu): Removed.
7416         (ETAGS): Remove, it's in Makeconfig.
7417         (move-if-change): Remove, it's in Makeconfig.
7419 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
7421         [BZ #13970]
7422         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7423         (strtod, strtof, strtold, strtol, strtoul, strtoq)
7424         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7425         (strtod_l, strtof_l, strtold_l): Remove __wur.
7426         It is not necessarily an error to ignore strtol's return value.
7427         One can reliably look at the stored endptr to decide whether
7428         the number had valid syntax.
7430 2012-04-21  Andreas Jaeger  <aj@suse.de>
7432         [BZ #13739]
7433         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7435 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
7437         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7438         * sysdeps/unix/sysv/Versions: Remove file.
7440 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
7442         [BZ #13927]
7443         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7445 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
7447         [BZ #7064]
7448         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7449         version from __vm86.
7451 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
7453         * sysdeps/unix/common/lxstat.c: Remove file.
7454         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7456         * sysdeps/unix/sysv/Makefile: Remove file.
7458         * sysdeps/unix/sysv/direct.h: Remove file.
7460         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7461         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7462         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7463         * sysdeps/unix/sysv/bits/signum.h: Likewise.
7464         * sysdeps/unix/sysv/bits/stat.h: Likewise.
7465         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7466         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7468         * sysdeps/unix/sysv/setrlimit.c: Remove file.
7470         * sysdeps/unix/xmknod.c: Remove file.
7471         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7473         * sysdeps/unix/sysv/settimeofday.c: Remove file.
7475         * sysdeps/unix/sysv/i386/time.S: Remove file.
7477         * sysdeps/unix/fxstat.c: Remove file.
7478         * sysdeps/unix/xstat.c: Likewise.
7479         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7481         * sysdeps/unix/sysv/sigaction.c: Remove file.
7483         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7484         (sysdep_headers): Remove variable.
7485         [termio.h not in sysdep_headers] (generated): Likewise.
7486         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7487         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7488         * sysdeps/unix/sysv/tcdrain.c: Likewise.
7489         * sysdeps/unix/sysv/tcflow.c: Likewise.
7490         * sysdeps/unix/sysv/tcflush.c: Likewise.
7491         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7492         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7493         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7494         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7495         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7497         * sysdeps/unix/siglist.c: Remove file.
7499         * sysdeps/unix/getppid.S: Remove file.
7501         * sysdeps/unix/mkdir.c: Remove file.
7502         * sysdeps/unix/rmdir.c: Likewise.
7504 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
7506         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7507         ERR_MAX value.
7508         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7509         errlist-compat value.
7511 2012-04-18  David S. Miller  <davem@davemloft.net>
7513         * sysdeps/generic/memcopy.h (reg_char): Delete.
7514         * debug/strcat_chk.c: Use char, not reg_char.
7515         * debug/strcpy_chk.c: Likewise.
7516         * debug/strncat_chk.c: Likewise.
7517         * debug/strncpy_chk.c: Likewise.
7518         * string/memchr.c: Likewise.
7519         * string/memrchr.c: Likewise.
7520         * string/rawmemchr.c: Likewise.
7521         * string/strcat.c: Likewise.
7522         * string/strchr.c: Likewise.
7523         * string/strchrnul.c: Likewise.
7524         * string/strcmp.c: Likewise.
7525         * string/strcpy.c: Likewise.
7526         * string/strncat.c: Likewise.
7527         * string/strncmp.c: Likewise.
7528         * string/strncpy.c: Likewise.
7530 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7532         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7533         __builtin_memcopy is called when src and dest ranges are known to not
7534         overlap.
7536 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7538         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7539         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7540         fwd_align_merge macro call.
7541         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7542         bwd_align_merge macro call.
7543         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7545 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7547         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7548         bwd_align_merge macros.
7549         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7550         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7551         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7553 2012-04-18  David S. Miller  <davem@davemloft.net>
7555         * sysdeps/sparc/sparc64/memcopy.h: Delete.
7557 2012-04-18  Andreas Jaeger  <aj@suse.de>
7559         [BZ# 6794]
7560         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7561         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7562         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7564         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7565         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7566         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7568         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7569         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7570         Adjust for changed ldbl-128 files.
7572         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7573         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7574         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7576 2012-04-17  David S. Miller  <davem@davemloft.net>
7578         * sysdeps/sparc/sparc32/memcopy.h: Delete.
7580 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
7582         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7583         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7584         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7585         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7586         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7587         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7589 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7591         [BZ #6794]
7592         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7593         * math/libm-test.inc: Add ilogb errno and exception tests.
7594         * math/w_ilogb.c: New file: ilogb wrapper.
7595         * math/w_ilogbf.c: New file: ilogbf wrapper.
7596         * math/w_ilogbl.c: New file: ilogbl wrapper.
7597         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7598         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7599         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7600         exception being thrown with 0.0 as argument.
7601         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7602         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7603         exception being thrown with 0.0 as argument.
7604         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7605         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7606         exception being thrown with 0.0 as argument.
7607         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7608         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7609         exception being thrown with 0.0 as argument.
7610         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7611         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7612         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7613         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7614         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7615         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7616         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7617         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7618         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7620 2012-04-17  Petr Baudis  <pasky@ucw.cz>
7622         * include/sys/uio.h: Change __vector to __iovec to avoid clash
7623         with altivec.
7625 2012-04-16  Marek Polacek  <polacek@redhat.com>
7627         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7629 2012-04-16  Marek Polacek  <polacek@redhat.com>
7631         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7632         operands of fdivp instruction.
7634 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
7636         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7637         * elf/tst-auditmod3b.c: Likewise.
7638         * elf/tst-auditmod4b.c: Likewise.
7639         * elf/tst-auditmod5b.c: Likewise.
7640         * elf/tst-auditmod6b.c: Likewise.
7641         * elf/tst-auditmod6c.c: Likewise.
7642         * elf/tst-auditmod7b.c: Likewise.
7643         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7644         * sysdeps/x86_64/preconfigure.in: Likewise.
7645         * sysdeps/x86_64/preconfigure: Regenerated.
7647 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
7649         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7650         __ILP32__.
7652 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
7654         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7655         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7657 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
7659         [BZ #13973]
7660         * locale/iso-639.def: Fix gl language name. Spotted by
7661         Yaron Shahrabani.
7663 2012-04-12  Roland McGrath  <roland@hack.frob.com>
7665         [BZ #2074]
7666         * libio/libio.h (__io_write_fn): Update comment.
7668 2012-04-12  Petr Baudis  <pasky@ucw.cz>
7670         [BZ #2074]
7671         * stdio.texi (Hook Functions): The user provided writer function
7672         is not allowed to return -1.
7674 2012-04-11  David S. Miller  <davem@davemloft.net>
7676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7678 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
7680         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7681         Add a leading slash to rtkaio.
7683 2012-04-11  Jim Meyering  <meyering@redhat.com>
7685         [BZ #11959]
7686         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7687         It is not necessarily an error to ignore fwrite's return
7688         value.  One can reliably use ferror to test for errors after
7689         the fact.
7691 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
7693         * bits/types.h (__snseconds_t): New type.
7694         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7696         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7697         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7698         (__SNSECONDS_T_TYPE): Likewise.
7699         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7700         (__SNSECONDS_T_TYPE): Likewise.
7701         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7702         (__SNSECONDS_T_TYPE): Likewise.
7704 2012-04-10  Andreas Jaeger  <aj@suse.de>
7706         [BZ #2636]
7707         * manual/time.texi (Processor Time): Return type of times is
7708         elapsed real time since an arbitrary point in the past.
7709         (CPU Time): Move CLK_TCK from here...
7710         (Processor Time): ...to here.  Correct description.
7711         * manual/conf.texi (Constants for Sysconf): Correct description of
7712         _SC_CLK_TCK.
7714 2012-04-10  David S. Miller  <davem@davemloft.net>
7716         [BZ #13967]
7717         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7718         where the is a gap between DT_REL(A) and DT_JMPREL.
7720 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
7722         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7723         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7724         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7726 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7728         * elf/dl-support.c (_dl_inhibit_cache): New variable.
7729         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7730         (dl_main): Handle --inhibit-cache.
7731         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7732         _dl_inhibit_cache.
7733         * elf/dl-load.c (_dl_map_object): Use it.
7734         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7736 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
7738         [BZ #13872]
7739         * sysdeps/i386/fpu/e_powl.S (p78): New object.
7740         (__ieee754_powl): Saturate large exponents rather than testing for
7741         overflow of y*log2(x).
7742         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7743         * math/libm-test.inc (pow_test): Do not permit spurious overflow
7744         exceptions.
7746         [BZ #11521]
7747         * math/s_ctan.c: Include <float.h>.
7748         (__ctan): Avoid internal overflow or cancellation in calculating
7749         denominator.
7750         * math/s_ctanf.c: Likewise.
7751         * math/s_ctanl.c: Likewise.
7752         * math/s_ctanh.c: Likewise.
7753         * math/s_ctanhf.c: Likewise.
7754         * math/s_ctanhl.c: Likewise.
7755         * math/libm-test.inc (ctan_test): Add more tests.
7756         (ctanh_test): Likewise.
7757         * sysdeps/i386/fpu/libm-test-ulps: Update.
7758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7760 2012-04-09  Andreas Jaeger  <aj@suse.de>
7762         [BZ #6894]
7763         * manual/filesys.texi (Directory Entries): Mention that d_namlen
7764         is an optional BSD extension.
7766         [BZ #10254]
7767         * manual/stdio.texi (Opening Streams): Document additional fopen
7768         parameters.
7770 2012-04-09  Roland McGrath  <roland@hack.frob.com>
7772         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7773         %eax without telling the compiler.
7775 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
7777         [BZ # 13963]
7778         * manual/install.texi: Use sourceware.org.
7780 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
7782         [BZ #13873]
7783         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7784         (__ieee754_pow): Generate overflow and underflow using huge*huge
7785         and tiny*tiny rather than just returning constant infinity or zero
7786         for large exponents.
7787         * math/libm-test.inc (pow_test): Require overflow exceptions for
7788         applicable cases of large exponents.
7790         [BZ #706]
7791         * sysdeps/i386/fpu/e_pow.S (p10): New object.
7792         (__ieee754_pow): Use iterative multiplication algorithm only for
7793         integer exponents with absolute value below 1024.  Check for odd
7794         integer exponents when using algorithm for real exponents.
7795         * math/libm-test.inc (pow_test): Add more tests.
7796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7798 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
7800         [BZ #13705]
7801         * math/libm-test.inc (exp_test): Do not allow overflow exception
7802         on underflow test.
7804 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
7806         [BZ #13705]
7807         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7808         instead of __kernel_standard_f.
7810 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
7812         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7813         * sysdeps/x86_64/memset_chk.S: Likewise.
7815 2012-04-08  Andreas Jaeger  <aj@suse.de>
7817         [BZ #10153]
7818         * manual/startup.texi (Environment Access): Describe return value
7819         for putenv and setenv.
7821         [BZ #6895]
7822         * manual/filesys.texi (Directory Entries): Add description for
7823         DT_LNK.
7825         [BZ #6890]
7826         * manual/filesys.texi (Directory Entries): Clarify that it's file
7827         system not operating system in the description of DT_UNKNOWN.
7829         [BZ #6578]
7830         * manual/syslog.texi (closelog): Fix reference, it's openlog.
7832 2012-04-08  Stephen Compall  <s11@member.fsf.org>
7834         [BZ #6649]
7835         * manual/llio.texi (Opening and Closing Files): Add cross
7836         reference to explain mode argument.
7838 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
7840         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7841         * sysdeps/x86_64/memset_chk.S: Likewise.
7843 2012-04-07  David S. Miller  <davem@davemloft.net>
7845         * elf/elf.h (R_SPARC_WDISP10): Define.
7846         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7847         R_SPARC_SIZE32.
7848         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7849         R_SPARC_SIZE64 and R_SPARC_H34.
7851 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
7853         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7854         conditions and remove no longer applicable assertion.
7856 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
7858         * bits/byteswap.h: Include <features.h>.
7859         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7860         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7862 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
7864         * bits/byteswap.h (__bswap_16): Removed.
7865         Include <bits/byteswap-16.h> to get __bswap_16.
7866         * sysdeps/i386/bits/byteswap.h: Likewise.
7867         * sysdeps/s390/bits/byteswap.h: Likewise.
7868         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7869         * bits/byteswap-16.h: New file.
7870         * sysdeps/i386/bits/byteswap-16.h: Likewise.
7871         * sysdeps/s390/bits/byteswap-16.h: Likewise.
7872         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7873         * string/Makefile (headers): Add bits/byteswap-16.h.
7875 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7877         [BZ #13895]
7878         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7879         extra indirection.
7880         * nss/Makefile (tests-static, tests): Add tst-nss-static.
7881         * nss/tst-nss-static.c: New.
7883 2012-04-06  Robert Millan  <rmh@gnu.org>
7885         [BZ #6486]
7886         * manual/llio.texi (File Position Primitive): lseek
7887         refers to WHENCE when it really means OFFSET.
7889 2012-04-06  Andreas Jaeger  <aj@suse.de>
7891         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7892         strncmp declarations.
7894         * abilist/libc.abilist: Add __poll and __ppoll.
7896 2012-04-05  David S. Miller  <davem@davemloft.net>
7898         * scripts/check-local-headers.sh: Accept a host triplet in the
7899         path matched by the exclude regexp.
7901         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7902         definition.
7903         * sysdeps/powerpc/powerpc32/dl-machine.h
7904         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7905         * sysdeps/s390/s390-32/dl-machine.h
7906         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7907         * sysdeps/sparc/sparc32/dl-machine.h
7908         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7909         * sysdeps/sparc/sparc64/dl-machine.h
7910         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7912         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7913         lazy binding.
7914         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7915         undefined symbol errors.
7917         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7918         DT_NEEDED entries.
7920 2012-04-05  Michael Matz  <matz@suse.de>
7922         [BZ #13592]
7923         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7925 2012-04-05  Andreas Jaeger  <aj@suse.de>
7927         [BZ #13908]
7928         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7929         comment.
7931 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7933         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7934         which ROUND is no valid rounding mode.
7936 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7938         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7939         read again.
7940         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7942 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7944         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7945         an exception using FPU order intentionally.
7947 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7949         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7950         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7951         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7952         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7954 2012-04-05  Simon Josefsson  <simon@josefsson.org>
7956         [BZ #12340]
7957         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7958         EINVAL when BUFLEN is too smal.
7960 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7962         [BZ #13553]
7963         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7964         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7966 2012-04-03  Andreas Jaeger  <aj@suse.de>
7968         [BZ #13938]
7969         * manual/setjmp.texi (System V contexts): Fix sentence.
7971         [BZ #13926]
7972         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7973         New macro for this case.
7974         [!__GNUC__] (__bswap_64): New inline function for this case.
7975         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7976         * bits/byteswap.h: Likewise.
7977         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7978         ull, guard with __GLIBC_HAVE_LONG_LONG.
7980         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7981         __GLIBC_HAVE_LONG_LONG.
7983         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7984         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7986 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7988         [BZ #13691]
7989         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7990         inptr and inend, rather than using last_ch.
7992 2012-04-02  David S. Miller  <davem@davemloft.net>
7994         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7995         * stdio-common/printf-parse.h (read_int): Change return type to
7996         'int', return -1 on INT_MAX overflow.
7997         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7998         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
7999         overflows INT_MAX.  Check for overflow of in-format-string precision
8000         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
8001         SIZE_MAX not INT_MAX for integer overflow test.
8002         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8003         skip the construct in the format string but do not record anything.
8004         * stdio-common/bug22.c: Adjust to test both width/prevision
8005         INT_MAX overflow as well as total length INT_MAX overflow.  Check
8006         explicitly for proper errno values.
8008 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
8010         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8011         CHAR_MAX.
8012         * string/test-strcmp.c [! WIDE]: Likewise.
8013         * time/tst-mktime2.c: Likewise for INT_MAX.
8014         * string/test-string.h: #include <sys/param.h> for MIN.
8016         * csu/init-first.c (__libc_init_first): Call __ctype_init.
8017         * sysdeps/i386/init-first.c (init): Likewise.
8018         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8019         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8020         * sysdeps/sh/init-first.c (init): Likewise.
8022 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
8024         * po/ru.po: Update from translation team.
8025         * po/vi.po: Likewise.
8027 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8029         * resolv/nss_dns/dns-host.c: Merge copyright years.
8031 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8033         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8034         Optimize memcpy with prefetch if
8035         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
8036         src, dst pointers have unequal 16 byte alignments.
8038 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8040         [BZ #13928]
8041         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8042         from a CNAME entry and return the minimum ttl for the query.
8043         (gaih_getanswer_slice): Likewise.
8045 2012-03-30  Jeff Law  <law@redhat.com>
8047         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8048         due to long keys.
8049         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8050         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8052         * resolv/nss_dns/dns-host.c: Update copyright year.
8054 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
8056         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8057         requests to save a system call.  Fix check that all bytes are sent.
8059         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8060         comments for sendmmsg.
8062 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8064         [BZ #13691]
8065         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8066         with only 1 character between 0x0041 and 0x01b0.
8067         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8068         * wcsmbs/tst-mbsnrtowcs.c: New file.
8070 2012-03-29  David S. Miller  <davem@davemloft.net>
8072         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8073         small copies by hand.
8075 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8077         [BZ #13761]
8078         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8079         _nss_compat_initgroups_dyn): Fall back to malloc/free
8080         for large group memberships.
8082 2012-03-28  David S. Miller  <davem@davemloft.net>
8084         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8085         that branches into memcpy.
8086         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8087         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8088         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8089         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8090         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8091         bits.
8092         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8093         implementation too.
8094         * sysdeps/sparc/mempcpy.S: New file.
8096         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8097         the IFUNC routine in the libc case.
8098         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8100         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8101         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8102         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8103         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8104         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8105         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8106         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8107         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8109         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8110         loop to 256 bytes instead of 64 bytes and fix test signedness.
8112         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8113         * sysdeps/sparc/sparc32/Makefile: rather than here...
8114         * sysdeps/sparc/sparc64/Makefile: and here.
8116 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
8118         * malloc/mallocbug.c: Avoid warnings about unused variables.
8120 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8122         [BZ #13760]
8123         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8124         in the right place. Discard and retry query if response is
8125         larger than input buffer size.
8127 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
8129         [BZ #369]
8130         [BZ #2678]
8131         [BZ #3866]
8132         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8133         x for large integer exponent.
8134         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8135         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
8136         sign of result as needed afterwards.
8137         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8138         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8139         result for underflowing pow the same as for overflow.
8140         (__kernel_standard_l): Handle powl overflow and underflow here
8141         rather than calling __kernel_standard.
8142         * math/libm-test.inc (pow_test): Add more tests.
8144         [BZ #3868]
8145         [BZ #13879]
8146         [BZ #13910]
8147         [BZ #13911]
8148         [BZ #13912]
8149         [BZ #13913]
8150         [BZ #13915]
8151         [BZ #13916]
8152         [BZ #13917]
8153         [BZ #13918]
8154         [BZ #13919]
8155         [BZ #13920]
8156         [BZ #13921]
8157         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8158         * sysdeps/ieee754/k_standard.c: Include <float.h>.
8159         (__kernel_standard_l): New function.
8160         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8161         __kernel_standard.
8162         * math/w_acosl.c (__acosl): Likewise.
8163         * math/w_asinl.c (__asinl): Likewise.
8164         * math/w_atan2l.c (__atan2l): Likewise.
8165         * math/w_atanhl.c (__atanhl): Likewise.
8166         * math/w_coshl.c (__coshl): Likewise.
8167         * math/w_exp10l.c (__exp10l): Likewise.
8168         * math/w_exp2l.c (__exp2l): Likewise.
8169         * math/w_fmodl.c (__fmodl): Likewise.
8170         * math/w_hypotl.c (__hypotl): Likewise.
8171         * math/w_j0l.c (__j0l, __y0l): Likewise.
8172         * math/w_j1l.c (__j1l, __y1l): Likewise.
8173         * math/w_jnl.c (__jnl, __ynl): Likewise.
8174         * math/w_lgammal.c (__lgammal): Likewise.
8175         * math/w_log10l.c (__log10l): Likewise.
8176         * math/w_log2l.c (__log2l): Likewise.
8177         * math/w_logl.c (__logl): Likewise.
8178         * math/w_powl.c (__powl): Likewise.
8179         * math/w_remainderl.c (__remainderl): Likewise.
8180         * math/w_scalbl.c (sysv_scalbl): Likewise.
8181         * math/w_sinhl.c (__sinhl): Likewise.
8182         * math/w_sqrtl.c (__sqrtl): Likewise.
8183         * math/w_tgammal.c (__tgammal): Likewise.
8184         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8185         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8186         * math/libm-test.inc (acos_test): Add more tests.
8187         (acosh_test): Likewise.
8188         (asin_test): Likewise.
8189         (atanh_test): Likewise.
8190         (exp_test): Likewise.
8191         (exp10_test): Likewise.
8192         (exp2_test): Likewise.
8193         (expm1_test): Likewise.
8194         (lgamma_test): Likewise.
8195         (log_test): Likewise.
8196         (log10_test): Likewise.
8197         (log1p_test): Likewise.
8198         (log2_test): Likewise.
8199         (pow_test): Do not allow some spurious overflow exceptions.
8200         (sqrt_test): Add more tests.
8201         (tgamma_test): Likewise.
8202         (y0_test): Likewise.
8203         (y1_test): Likewise.
8204         (yn_test): Likewise.
8206 2012-03-27  Anton Blanchard  <anton@samba.org>
8208         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8209         MAP_HUGETLB.
8210         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8211         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8212         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8214 2012-03-27  David S. Miller  <davem@davemloft.net>
8216         * conform/Makefile: Run run-conformtest.sh using $(BASH).
8218         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8219         have-as-vis3 check.
8221 2012-03-27  Andreas Jaeger  <aj@suse.de>
8223         * sysdeps/x86_64/elf/configure.in: Moved to ...
8224         * sysdeps/x86_64/configure.in: ... here.
8225         * sysdeps/x86_64/elf/start.S: Moved to ...
8226         * sysdeps/x86_64/start.S: ... here.
8227         * sysdeps/x86_64/elf/configure: Delete.
8229         * sysdeps/x86_64/configure.in: Merge contents from
8230         sysdeps/i386/configure.in (without i686 check).
8232         * sysdeps/i386/elf/Versions: Merge into ...
8233         * sysdeps/i386/Versions: ... this.
8234         * sysdeps/i386/elf/Versions: Delete file.
8235         * sysdeps/i386/elf/start.S: Moved to ...
8236         * sysdeps/i386/start.S: ...here.
8237         * sysdeps/i386/elf/configure.in: Merge into...
8238         * sysdeps/i386/configure.in: ...here.
8239         * sysdeps/i386/elf/configure.in: Delete file.
8240         * sysdeps/i386/elf/configure: Delete file.
8242         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8243         * debug/backtracesyms.c: ... here.
8244         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8245         * debug/backtracesymsfd.c: ... here.
8246         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8247         * sysdeps/generic/ifunc-sel.h: ... here.
8249         * sysdeps/unix/i386/start.c: Delete file.
8250         * sysdeps/unix/sparc/start.c: Delete file.
8251         * sysdeps/unix/start.c: Delete file.
8253         * sysdeps/sh/elf/configure.in: Moved to ...
8254         * sysdeps/sh/configure.in: ... here.
8255         * sysdeps/sh/elf/start.S: Moved to ...
8256         * sysdeps/sh/start.S: ... here.
8257         * sysdeps/sh/elf/configure: Delete file.
8259         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8260         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8261         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8262         * sysdeps/powerpc/powerpc64/entry.h: ... here.
8263         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8264         * sysdeps/powerpc/powerpc64/start.S: here.
8265         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8266         * sysdeps/powerpc/powerpc64/Makefile: ... this.
8267         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8268         * sysdeps/powerpc/powerpc64/configure.in: ... this.
8269         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8271         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8272         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8273         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8274         * sysdeps/powerpc/powerpc32/start.S: ... here.
8275         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8276         * sysdeps/powerpc/powerpc32/configure.in: ... this.
8277         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8279         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8280         * sysdeps/powerpc/ifunc-sel.h: ... here.
8281         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8282         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8284         * sysdeps/sparc/elf/configure.in: Moved to ...
8285         * sysdeps/sparc/configure.in: ... here.
8286         * sysdeps/sparc/elf/configure: Delete file.
8287         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8288         * sysdeps/sparc/sparc32/start.S: ... here.
8289         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8290         * sysdeps/sparc/sparc64/start.S: ... here.
8291         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8292         * sysdeps/sparc/sparc32/Makefile: ... this.
8293         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8294         * sysdeps/sparc/sparc64/Makefile: ... this.
8296         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8297         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8298         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8299         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8300         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8301         * sysdeps/s390/s390-32/setjmp.S: ... here.
8302         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8303         * sysdeps/s390/s390-32/configure.in: ... here.
8304         * sysdeps/s390/s390-32/elf/configure: Delete file.
8305         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8306         * sysdeps/s390/s390-32/start.S: ... here.
8308         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8309         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8310         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8311         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8312         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8313         * sysdeps/s390/s390-64/setjmp.S: ... here.
8314         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8315         * sysdeps/s390/s390-64/configure.in: ... here
8316         * sysdeps/s390/s390-64/elf/configure: Delete file.
8317         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8318         * sysdeps/s390/s390-64/start.S: ... here.
8319         * sysdeps/s390/s390-64/elf/configure: Delete.
8321         * configure.in: Remove support for elf directories in sysdeps.
8323         * configure: Regenerated.
8324         * sysdeps/i386/configure: Regenerated.
8325         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8326         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8327         * sysdeps/s390/s390-32/configure: Regenerated.
8328         * sysdeps/s390/s390-64/configure: Regenerated.
8329         * sysdeps/sh/configure: Regenerated.
8330         * sysdeps/sparc/configure: Regenerated.
8331         * sysdeps/x86_64/configure: Regenerated.
8333 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
8335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8337         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8338         denormal result into account.
8340 2012-03-25  Roland McGrath  <roland@hack.frob.com>
8342         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8343         Reported by Allan McRae <allan@archlinux.org>.
8345 2012-03-23  Jeff Law  <law@redhat.com>
8347         * nss/getnssent.c (__nss_getent): Fix typo.
8349 2012-03-23  David S. Miller  <davem@davemloft.net>
8351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8353 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
8355         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8356         to pad to uint64_t for each field.
8357         (dl_tls_index): Replace unsigned long with uint64_t.
8359 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
8360         Paul Pluzhnikov  <ppluzhnikov@google.com>
8362         [BZ #6528]
8363         * grp/Makefile (otherlibs): Don't set it.
8364         * inet/Makefile (otherlibs): Likewise.
8365         * login/Makefile (otherlibs): Likewise.
8366         * nscd/Makefile (otherlibs): Likewise.
8367         * posix/Makefile (otherlibs): Likewise.
8368         * pwd/Makefile (otherlibs): Likewise.
8369         * rt/Makefile (otherlibs): Likewise.
8370         * sunrpc/Makefile (otherlibs): Likewise.
8371         * nss/Makefile (otherlibs): Likewise.
8372         Add libnss_files to routines and static-only-routines.
8373         ($(objpfx)getent): Remove rule.
8374         * resolv/Makefile: Add libnss_dns and libresolv to routines and
8375         static-only-routines.
8377 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8379         [BZ #13892]
8380         * math/s_cexp.c: Include <float.h>.
8381         (__cexp): Handle exp result overflowing not necessarily
8382         overflowing both real and imaginary parts of result.
8383         * math/s_cexpf.c: Likewise.
8384         * math/s_cexpl.c: Likewise.
8385         * math/libm-test.inc (cexp_test): Add more tests.
8386         * sysdeps/i386/fpu/libm-test-ulps: Update.
8387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8389 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8391         * include/link.h (ELFW): New macro.
8392         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8393         Replace ELF64_R_TYPE with ELFW(R_TYPE).
8395 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8397         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8398         with uint64_t.
8400 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8402         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8403         declaration.
8404         (struct La_x32_retval): Likewise.
8406 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8408         * sysdeps/x86_64/preconfigure.in: New file.
8409         * sysdeps/x86_64/preconfigure: New generated file.
8411 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8413         [BZ #13824]
8414         * math/e_exp2l.c: Include <float.h>.
8415         (__ieee754_exp2l): Handle overflow and underflow cases
8416         separately.  Only pass fractional part of argument to
8417         __ieee754_expl.
8418         * math/libm-test.inc (exp2_test): Add more tests.
8420         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8421         negating x to take absolute value.
8422         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8423         Likewise.
8424         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8425         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8426         Likewise.
8427         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8428         computing low part if x was negated.
8429         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8431 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8433         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8434         la_x32_gnu_pltexit.
8435         (pltexit): Cast int_retval to ptrdiff_t.
8436         * elf/tst-auditmod3b.c: Likewise.
8437         * elf/tst-auditmod4b.c: Likewise.
8438         * elf/tst-auditmod5b.c: Likewise.
8439         * elf/tst-auditmod6b.c: Likewise.
8440         * elf/tst-auditmod6c.c: Likewise.
8441         * elf/tst-auditmod7b.c: Likewise.
8443         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8444         and x32_gnu_pltexit.
8446         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8447         __ELF_NATIVE_CLASS.
8448         (La_x32_regs): New macro.
8449         (La_x32_retval): Likewise.
8450         (la_x32_gnu_pltenter): New function prototype.
8451         (la_x32_gnu_pltexit): Likewise.
8453 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
8455         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8456         exponent.
8458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8460         * configure.in (libc_cv_cc_nofma): Check for option to disable
8461         generation of FMA instructions.
8462         * configure: Regenerate.
8463         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8464         * sysdeps/ieee754/dbl-64/Makefile: New file.
8465         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8466         Remove brandred-fma4.
8467         (CFLAGS-brandred-fma4.c): Remove.
8468         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8469         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8470         define.
8471         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8472         define.
8474 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8476         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8477         LLONG_MAX != LONG_MAX.
8478         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8479         (_fitoa_word): Likewise.
8480         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8481         LLONG_MAX != LONG_MAX.
8482         * stdio-common/_itowa.h: Include <_itoa.h>.
8483         (_itowa_word): Use _ITOA_WORD_TYPE on value.
8484         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
8485         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
8486         only if not defined.
8487         (_ITOA_WORD_TYPE): Likewise.
8488         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8489         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8491 2012-03-21  David S. Miller  <davem@davemloft.net>
8493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8495 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8497         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8498         of x86_64 when setting libc_cv_slibdir, libdir and
8499         libc_cv_localedir.
8500         * sysdeps/unix/sysv/linux/configure: Regenerated.
8502 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8504         * manual/lang.texi (Old Varargs): Remove section.
8505         (How Variadic): Update menu.
8506         (va_start): Do not mention varargs.h.
8508 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8509             Joseph Myers  <joseph@codesourcery.com>
8511         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8512         link test.
8513         * configure: Regenerated.
8515 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8517         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8518         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8519         conformtest.pl
8521 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8523         * NOTES: Remove.
8524         * Makefile (files-for-dist): Remove NOTES.
8525         (NOTES): Remove rule.
8526         * README: Don't refer to NOTES.
8527         * manual/creature.texi: Don't include macros.texi.
8528         * manual/intro.texi (creature.texi): Remove comment referring to
8529         NOTES.
8531         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8532         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8533         * configure: Regenerated.
8534         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8535         LIBC_TRY_CC_OPTION.
8536         (libc_cv_as_i686): Likewise.
8537         (libc_cv_cc_avx): Likewise.
8538         (libc_cv_cc_sse2avx): Likewise.
8539         (libc_cv_cc_fma4): Likewise.
8540         (libc_cv_cc_novzeroupper): Likewise.
8541         * sysdeps/i386/configure: Regenerated.
8543         [BZ #13883]
8544         * sysdeps/i386/fpu/s_cexp.S: Remove.
8545         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8546         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8547         * math/libm-test.inc (cexp_test): Add more tests.
8548         * sysdeps/i386/fpu/libm-test-ulps: Update.
8549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8551 2012-03-21  Allan McRae  <allan@archlinux.org>
8553         * timezone/Makefile: Do not install iso3166.tab and zone.tab
8555 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8557         [BZ #13871]
8558         * math/w_exp2.c: Do not include <float.h>.
8559         (o_threshold, u_threshold): Remove.
8560         (__exp2): Calculate result before checking finiteness and calling
8561         __kernel_standard.
8562         * math/w_exp2f.c: Likewise.
8563         * math/w_exp2l.c: Likewise.
8564         * math/libm-test.inc (exp2_test): Require overflow exception for
8565         1e6 input.
8567         [BZ #3866]
8568         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8569         range of signed 64-bit integers before using fistpll.  Remove
8570         checks for whether integers fit in mantissa bits.
8571         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8572         the range of signed 32-bit integers before using fistpl.  Remove
8573         checks for whether integers fit in mantissa bits.
8574         * sysdeps/i386/fpu/e_powl.S (p64): New object.
8575         (__ieee754_powl): Test for y outside the range of signed 64-bit
8576         integers before using fistpll.  Reduce 64-bit values to 63-bit
8577         ones as needed.
8578         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8579         divide-by-zero is raised for zero to large negative powers.
8580         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8581         (__ieee754_powl): Test for y outside the range of signed 64-bit
8582         integers before using fistpll.  Reduce 64-bit values to 63-bit
8583         ones as needed.
8584         * math/libm-test.inc (pow_test): Add more tests.
8586 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8588         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8589         <stdio-common/_itoa.h>.
8590         * debug/segfault.c: Likewise.
8591         * elf/dl-cache.c: Likewise.
8592         * elf/dl-minimal.c: Likewise.
8593         * elf/dl-misc.c: Likewise.
8594         * elf/dl-sysdep.c: Likewise.
8595         * elf/dl-version.c: Likewise.
8596         * elf/rtld.c: Likewise.
8597         * hurd/hurdsock.c: Likewise.
8598         * hurd/lookup-retry.c: Likewise.
8599         * malloc/malloc.c: Likewise.
8600         * malloc/mtrace.c: Likewise.
8601         * nscd/nscd_getgr_r.c: Likewise.
8602         * nscd/nscd_getpw_r.c: Likewise.
8603         * nscd/nscd_getserv_r.c: Likewise.
8604         * posix/getopt_init.c: Likewise.
8605         * posix/wordexp.c: Likewise.
8606         * stdio-common/_itoa.c: Likewise.
8607         * stdio-common/printf_fphex.c: Likewise.
8608         * stdio-common/vfprintf.c: Likewise.
8609         * string/_strerror.c: Likewise.
8610         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8611         * sysdeps/i386/i686/hp-timing.h: Likewise.
8612         * sysdeps/mach/_strerror.c: Likewise.
8613         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8614         * sysdeps/mach/hurd/sethostid.c: Likewise.
8615         * sysdeps/mach/hurd/xmknodat.c: Likewise.
8616         * sysdeps/mach/xpg-strerror.c: Likewise.
8617         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8618         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8619         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8620         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8621         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8622         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8623         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8624         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8625         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8626         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8627         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8628         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8629         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8630         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8631         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8632         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8633         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8634         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8635         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8636         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8637         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8639         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8641         * stdio-common/_itoa.h: Moved to ...
8642         * sysdeps/generic/_itoa.h: Here.
8644         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8646         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8647         instead of "_itoa.h" and "_itowa.h".
8648         * stdio-common/vfprintf.: Likewise.
8650 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8652         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8653         <bits/wordsize.h>.
8654         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8655         (__signbit): Likwise.
8656         (llrintf): Likwise.
8657         (llrint): Likwise.
8659 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8661         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8662         __WORDSIZE != 64.
8664 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
8666         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8667         OVERFLOW_EXCEPTION_OK.
8668         * math/libm-test.inc ("Philosophy"): Update comment about
8669         exception testing.
8670         (OVERFLOW_EXCEPTION): Define.
8671         (OVERFLOW_EXCEPTION_OK): Likewise.
8672         (INVALID_EXCEPTION_OK): Renumber.
8673         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8674         (IGNORE_ZERO_INF_SIGN): Likewise.
8675         (test_exceptions): Handle FE_OVERFLOW.
8676         (exp10_test): Expect overflow exceptions.
8677         (exp2_test): Likewise.
8678         (expm1_test): Likewise.
8679         (nextafter_test): Likewise.
8680         (pow_test): Likewise.
8681         (scalbn_test): Likewise.
8682         (scalbln_test): Likewise.
8684 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8686         * sysdeps/x86_64/bits/atomic.h
8687         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8688         64bit integer.
8689         (atomic_exchange_acq): Likewise.
8690         (__arch_exchange_and_add_body): Likewise.
8691         (__arch_add_body): Likewise.
8692         (atomic_add_negative): Likewise.
8693         (atomic_add_zero): Likewise.
8695 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8697         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8698         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8700 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8702         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8703         Check __x86_64__ instead of __WORDSIZE.
8705 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8707         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8709 2012-03-19  David S. Miller  <davem@davemloft.net>
8711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8713         * sysdeps/sparc/fpu/fenv_private.h: New file.
8714         * sysdeps/sparc/fpu/math_private.h: Use it.
8715         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8716         Remove.
8717         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8718         (libc_feholdexcept_setroundl): Remove.
8719         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8720         Remove.
8721         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8722         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8724 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8726         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8727         int64_t instead of long int.
8728         (INSERT_WORDS64): Likwise.
8730 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8732         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8733         _Unwind_GetCFA return to _Unwind_Ptr first.
8735 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
8737         [BZ #13629]
8738         * math/s_clog.c: Include <float.h>.
8739         (__clog): Scale large or subnormal inputs.
8740         * math/s_clogf.c: Likewise.
8741         * math/s_clogl.c: Likewise.
8742         * math/s_clog10.c: Include <float.h>.
8743         (M_LOG10_2): Define.
8744         (__clog10): Scale large or subnormal inputs.
8745         * math/s_clog10f.c: Likewise.
8746         * math/s_clog10l.c: Likewise.
8747         * math/libm-test.inc (clog_test): Add more tests.
8748         (clog10_test): Likewise.
8749         * sysdeps/i386/fpu/libm-test-ulps: Update.
8750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8752         [BZ #11451]
8753         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8754         x and y.
8755         * math/libm-test.inc (atan2_test): Add another test.
8757         * Makerules (common-objdir-compile): Remove.
8758         * sysdeps/unix/Makefile (config-generated): Do not add
8759         $(unix-generated) to variable.
8760         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8761         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8762         Remove rule.
8763         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8764         Likewise.
8765         [generic bits/local_lim.h] (before-compile): Do not append to
8766         variable.
8767         [generic bits/local_lim.h] (common-generated): Likewise.
8768         [generic sys/param.h] (before-compile): Do not append to variable.
8769         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8770         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8771         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8772         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8773         include.
8774         [generic sys/param.h] (sys/param.h-includes): Remove variable.
8775         [generic sys/param.h] (sys/param.h-includes): Remove rule.
8776         [generic sys/param.h] ($(addprefix
8777         $(common-objpfx),$(sys/param.h-includes))): Likewise.
8778         [generic sys/param.h] (common-generated): Do not append to
8779         variable.
8780         [generic sys/param.h] (sysdep_headers): Likewise.
8781         [generic bits/errno.h] (before-compile): Do not append to
8782         variable.
8783         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8784         rule.
8785         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8786         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8787         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8788         [generic bits/errno.h] (common-generated): Do not append to
8789         variable.
8790         [generic bits/ioctls.h] (before-compile): Do not append to
8791         variable.
8792         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8793         rule.
8794         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8795         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8796         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8797         rule.
8798         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8799         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8800         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8801         [generic bits/ioctls.h] (common-generated): Do not append to
8802         variable.
8803         [generic sys/syscall.h] (syscall.h): Remove variable.
8804         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8805         rule.
8806         [generic sys/syscall.h] (before-compile): Do not append to
8807         variable.
8808         [generic sys/syscall.h] (common-generated): Likewise.
8809         * sysdeps/unix/errnos-tmpl.c: Remove file.
8810         * sysdeps/unix/errnos.awk: Likewise.
8811         * sysdeps/unix/ioctls-tmpl.c: Likewise.
8812         * sysdeps/unix/ioctls.awk: Likewise.
8813         * sysdeps/unix/mk-local_lim.c: Likewise.
8814         * sysdeps/unix/snarf-ioctls: Likewise.
8816 2012-03-19  Richard Henderson  <rth@twiddle.net>
8818         * sysdeps/i386/fpu/fenv_private.h: New file.
8819         * sysdeps/i386/fpu/math_private.h: Use it.
8820         (math_opt_barrier, math_force_eval): Remove.
8821         (libc_feholdexcept_setround_53bit): Remove.
8822         (libc_feupdateenv_53bit): Remove.
8823         * sysdeps/x86_64/fpu/math_private.h: Likewise.
8824         (math_opt_barrier, math_force_eval): Remove.
8825         (libc_feholdexcept): Remove.
8826         (libc_feholdexcept_setround): Remove.
8827         (libc_fetestexcept, libc_fesetenv): Remove.
8828         (libc_feupdateenv_test): Remove.
8829         (libc_feupdateenv, libc_feholdsetround): Remove.
8830         (libc_feresetround): Remove.
8832         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8833         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8835         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8836         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8837         (libc_feupdateenv_testl): New.
8838         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8839         (libc_feupdateenv_testf): New.
8840         (libc_feupdateenv): Use libc_feupdateenv_test.
8841         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8842         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8844         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8845         (libc_feholdsetroundf, libc_feholdsetroundl): New.
8846         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8847         (libc_feresetround_noex): New.
8848         (libc_feresetround_noexf): New.
8849         (libc_feresetround_noexl): New.
8850         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8851         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8852         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8853         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8854         SET_RESTORE_ROUND.
8855         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8856         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8857         (__cos): Likewise.
8858         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8859         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8860         SET_RESTORE_ROUND_NOEX.
8861         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8862         SET_RESTORE_ROUND_NOEXF.
8863         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8864         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8865         (libc_feholdsetroundf): New.
8866         (libc_feresetround, libc_feresetroundf): New.
8868         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8869         (libc_feholdexcept_setround_53bit): Convert from macro to function.
8870         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
8872         * sysdeps/generic/math_private.h: Include <fenv.h>.
8873         (default_libc_feholdexcept): New.
8874         (default_libc_feholdexcept_setround): New.
8875         (default_libc_fesetenv, default_libc_feupdateenv): New.
8876         (libc_feholdexcept): Only define if undefined.
8877         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8878         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8879         (libc_feholdexcept_setroundl): Likewise.
8880         (libc_feholdexcept_setround_53bit): Likewise.
8881         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8882         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8883         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8884         (libc_feupdateenv_53bit): Likewise.
8885         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8886         (libc_feholdexcept): Convert from macro to inline function.
8887         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8888         (libc_fesetenv, libc_feupdateenv): Likewise.
8890         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8891         not previously defined.
8892         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8893         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8894         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8895         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8896         * sysdeps/ieee754/flt-32/math_private.h: New file.
8897         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8898         math_private.h below SET_FLOAT_WORD.
8899         (__isnan, __isinf_ns, __finite): Remove.
8900         (__isnanf, __isinf_nsf, __finitef): Remove.
8902 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
8904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8906 2012-03-17  David S. Miller  <davem@davemloft.net>
8908         [BZ #6471]
8909         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8910         for 2.16.
8912 2012-03-16  David S. Miller  <davem@davemloft.net>
8914         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8915         warnings.
8917         [BZ #6471]
8918         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8919         properly.
8920         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8921         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8922         sysdep_routines when subdir is sysvipc.
8923         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8924         __getshmlba helper.
8926         * sysdeps/sparc/fpu/libm-test/ulps: Update.
8928 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8930         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8931         [__LP64__].
8933 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8935         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8936         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8937         (__lround): Renamed to ...
8938         (__llround): This.  Replace long int with long long int.
8939         Define lround functions as aliases of llround functions.
8940         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8942 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8944         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8945         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
8946         adresses to uintptr_t.  Replace "long int" and "unsigned long
8947         int" with "greg_t" on va_arg.
8949 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8951         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8952         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8954         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8955         Move e_machine check before EI_CLASS check.  Handle x32
8956         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8957         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8958         SKIP_EM_IA_64 and include
8959         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8961         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8962         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8963         (add_system_dir): New macro.
8965         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8966         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8968 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
8970         [BZ #2551]
8971         [BZ #2552]
8972         [BZ #2553]
8973         [BZ #2554]
8974         [BZ #2562]
8975         [BZ #2563]
8976         [BZ #2565]
8977         [BZ #2566]
8978         [BZ #2576]
8979         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8980         (y0): Likewise.
8981         * math/w_j0f.c (j0f): Likewise.
8982         (y0f): Likewise.
8983         * math/w_j0l.c (__j0l): Likewise.
8984         (__y0l): Likewise.
8985         * math/w_j1.c (j1): Likewise.
8986         (y1): Likewise.
8987         * math/w_j1f.c (j1f): Likewise.
8988         (y1f): Likewise.
8989         * math/w_j1l.c (__j1l): Likewise.
8990         (__y1l): Likewise.
8991         * math/w_jn.c (jn): Likewise.
8992         (yn): Likewise.
8993         * math/w_jnf.c (jnf): Likewise.
8994         (ynf): Likewise.
8995         * math/w_jnl.c (__jnl): Likewise.
8996         (__ynl): Likewise.
8997         * math/libm-test.inc (j0_test): Add more tests.
8998         (j1_test): Likewise.
8999         (jn_test): Likewise.  Add trailing semicolon to existing test.
9000         (y0_test): Likewise.
9001         (y1_test): Likewise.
9002         * sysdeps/i386/fpu/libm-test-ulps: Update.
9003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9005         [BZ #13851]
9006         [BZ #13854]
9007         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9008         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9009         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9010         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9011         (__tanl): Set errno for infinite argument.
9012         * sysdeps/i386/fpu/mptan.c: Remove.
9013         * sysdeps/i386/fpu/s_tan.S: Likewise.
9014         * sysdeps/i386/fpu/s_tanl.S: Likewise.
9015         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9016         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9017         * math/libm-test.inc (tan_test): Add more tests and enable more
9018         tests for double and long double.
9019         * sysdeps/i386/fpu/libm-test-ulps: Update.
9020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9022 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
9024         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9025         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9027 2012-03-16  Roland McGrath  <roland@hack.frob.com>
9029         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9030         * configure.in: Use it for both main tree and add-ons.
9031         * configure: Regenerated.
9033 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9035         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9037 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
9039         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9040         in comment.
9042         [BZ #13851]
9043         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9044         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9045         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9046         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9047         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9048         infinite argument.
9049         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9050         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9051         != 0 for prec == 2.
9052         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9053         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9054         * sysdeps/i386/fpu/s_cosl.S: Likewise.
9055         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9056         * sysdeps/i386/fpu/s_sinl.S: Likewise.
9057         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9058         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9059         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9060         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9061         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9062         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9063         * math/libm-test.inc (cos_test): Add more tests and enable more
9064         tests for long double.
9065         (sin_test): Likewise.
9066         (sincos_test): Likewise.
9067         * sysdeps/i386/fpu/libm-test-ulps: Update.
9068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9070 2012-03-16  David S. Miller  <davem@davemloft.net>
9072         * sysdeps/sparc/fpu/math_private.h: New file.
9074 2012-03-15  David S. Miller  <davem@davemloft.net>
9076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9077         file.
9078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9080         file.
9081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9082         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9083         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9084         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9085         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9086         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9087         sysdep routines.
9088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9090         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9091         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9093         * sysdeps/sparc/sparc-ifunc.h: New file.
9094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9095         sparc-ifunc.h
9096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9098         Likewise.
9099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9100         Likewise.
9101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9105         Likewise.
9106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9111         Likewise.
9112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9113         Likewise.
9114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9118         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9119         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9120         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9121         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9122         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9123         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9124         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9125         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9128         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9129         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9130         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9131         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9132         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9133         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9134         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9135         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9136         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9137         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9139 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9141         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9142         scaling.
9143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9145 2012-03-15  Andreas Jaeger  <aj@suse.de>
9147         [BZ #13852]
9148         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9149         ieee754/flt-32 implementation for sin, cos and sincos.
9150         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9151         * sysdeps/i386/fpu/s_cosf.S: Likewise.
9152         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9153         * sysdeps/i386/fpu/s_sinf.S: Likewise.
9154         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9155         ieee754/flt-32 implementation for tan.
9157         * math/libm-test.inc (cos_test): Enable some large input tests for
9158         float as well
9159         (sin_test): Likewise.
9160         (sincos_test): Likewise.
9161         (tan_test): Add tests for large input.
9163         * sysdeps/i386/fpu/libm-test-ulps: Update.
9165 2012-03-15  Andreas Jaeger  <aj@suse.de>
9167         [BZ #13658]
9168         * math/libm-test.inc (cos_test): Add more test cases.
9169         (sin_test): Likewise.
9170         (sincos_test): Likewise.
9172 2012-03-15  Andreas Jaeger  <aj@suse.de>
9174         [BZ #13837]
9175         * math/libm-test.inc (cos_test): Add a test case for large input
9176         value.
9177         (sin_test): Likewise.
9178         (sincos_test): Likewise.
9180 2012-03-15  Andreas Jaeger  <aj@suse.de>,
9181         Joseph Myers  <joseph@codesourcery.com>
9183         [BZ #13658]
9184         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9185         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9186         * sysdeps/i386/fpu/branred.c: Likewise.
9187         * sysdeps/i386/fpu/dosincos.c: Likewise.
9188         * sysdeps/i386/fpu/mpa.c: Likewise.
9189         * sysdeps/i386/fpu/s_cos.S: Likewise.
9190         * sysdeps/i386/fpu/s_sin.S: Likewise.
9191         * sysdeps/i386/fpu/s_sincos.S: Likewise.
9192         * sysdeps/i386/fpu/sincos32.c: Likewise.
9194         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9195         Define.
9196         (libc_feupdateenv_53bit): Define.
9197         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9198         Define.
9199         (libc_feupdateenv_53bit): Define.
9201         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9202         53 bit (without extend i386 double precision).
9204         * math/libm-test.inc (sincos_test): Add tests for large input.
9205         (sin): Likewise.
9206         (cos): Likewise.
9208         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9210 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9214 2012-03-15  David S. Miller  <davem@davemloft.net>
9216         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9217         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9218         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9219         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9224         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9225         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9226         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9227         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9228         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9229         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9232         file.
9233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9235         file.
9236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9238         file.
9239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9241         file.
9242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9243         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9244         fmin/fmax sysdep routines.
9245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9247 2012-03-14  David S. Miller  <davem@davemloft.net>
9249         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9250         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9251         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9252         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9253         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9254         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9255         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9256         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9258         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9261         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9262         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9263         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9264         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9265         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9266         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9267         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9268         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9269         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9270         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9271         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9272         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9273         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9274         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9275         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9276         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9277         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9278         routines.
9279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9280         file.
9281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9283         file.
9284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9286         file.
9287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9289         file.
9290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9292         file.
9293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9295         file.
9296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9297         file.
9298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9299         file.
9300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9301         file.
9302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9303         New file.
9304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9305         file.
9306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9307         file.
9308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9310         file.
9311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9313         file.
9314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9316         file.
9317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9319         VIS3 routines.
9321         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9322         New file.
9324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9326         * sysdeps/sparc/configure.in: New file.
9327         * sysdeps/sparc/configure: Generate.
9328         * configure.in (libc_cv_sparc_as_vis3): Substitute.
9329         * configure: Regenerate.
9330         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9331         * config.make.in (have-as-vis3): New.
9332         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9333         available use -Av9d instead of -Av9a.
9334         * sysdeps/sparc/sparc64/Makefile: Likewise.
9335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9337         New file.
9338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9339         file.
9340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9341         New file.
9342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9343         file.
9344         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9345         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9346         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9347         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9348         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9350         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9351         fzeros/fnegs to load 0x80000000 into a float register instead of
9352         using the stack.
9353         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9355 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9357         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9358         bits/syscall.h.
9359         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9360         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9361         ($(inst_includedir)/bits/syscall.h): Remove rule.
9362         ($(objpfx)bits/syscall.d): Include instead of
9363         $(objpfx)syscall-list.d.
9364         (generated): Change syscall-list.h and syscall-list.d to
9365         bits/syscall.h and bits/syscall.d.
9367 2012-03-14  Roland McGrath  <roland@hack.frob.com>
9369         [BZ #13846]
9370         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9372 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9374         [BZ #13841]
9375         * math/s_csqrt.c: Include <float.h>.
9376         (__csqrt): Scale large or subnormal inputs.
9377         * math/s_csqrtf.c: Likewise.
9378         * math/s_csqrtl.c: Likewise.
9379         * math/libm-test.inc (csqrt_test): Add more tests.
9380         * sysdeps/i386/fpu/libm-test-ulps: Update.
9381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9383         [BZ #13840]
9384         * math/libm-test.inc (hypot_test): Add more tests.
9386 2012-03-13  David S. Miller  <davem@davemloft.net>
9388         [BZ #13840]
9389         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9390         double-precision for the calculation instead of scaling.
9392 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
9394         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9395         manipulate bits before adding and subtracting TWO52[sx].
9396         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9397         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9398         Likewise.
9399         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9401 2012-03-13  David S. Miller  <davem@davemloft.net>
9403         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9404         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9405         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9406         rtld-global-offsets.h
9407         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9409         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9410         large parameters.
9412         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9414         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9415         'err' in the ifdef scope in which it is actually used.
9417         * nss/nss_db/db-init.c: Include string.h
9419 2012-03-12  David S. Miller  <davem@davemloft.net>
9421         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9422         masking out of the most significant byte of random value used.
9423         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9424         Fix coding style in previous change.
9426         * sysdeps/unix/sysv/linux/kernel-features.h
9427         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9428         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9429         expression.
9430         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9431         later.
9433 2012-03-11  David S. Miller  <davem@davemloft.net>
9435         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9436         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9437         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9438         for 'resultvar' otherwise things get truncated on 64-bit.
9440         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9441         Fix masking out of the most significant byte of random value used.
9443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9445 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
9447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9449 2012-03-09  David S. Miller  <davem@davemloft.net>
9451         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9452         variables with appropriate CPP guards.
9453         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9454         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
9455         on resulting framesize and the management of the outregs buffer for pltexit.
9456         Preserve floating point return values across _dl_call_pltexit call.
9457         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9458         framesize and the management of the outregs buffer for pltexit.
9459         Preserve floating point return values across _dl_call_pltexit
9460         call.
9461         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9462         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9463         (print_exit): Fix format string for return register value.
9465 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
9467         * sunrpc/Makefile (others): Add rpcgen.
9468         ($(objpfx)rpcgen): Remove special build rule and dependency on
9469         libc.
9470         * sunrpc/rpcgen.c: New file.
9472 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
9474         [BZ #13673]
9475         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9476         * stdio-common/bug-vfprintf-nargs.c: Likewise.
9477         * sysdeps/i386/crti.S: Likewise.
9478         * sysdeps/i386/crtn.S: Likewise.
9479         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9480         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9481         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9482         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9483         * sysdeps/sh/crti.S: Likewise.
9484         * sysdeps/sh/crtn.S: Likewise.
9485         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9487         [BZ #13673]
9488         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9489         with URL.
9490         * locale/programs/locfile-kw.gperf: Likewise.
9491         * locale/programs/charmap-kw.h: Regenerated.
9492         * locale/programs/locfile-kw.h: Likewise.
9494         [BZ #13673]
9495         * intl/plural.y: Replace FSF snail mail address with URL.
9496         * intl/plural.c: Regenerated.
9498 2012-03-09  Richard Henderson  <rth@twiddle.net>
9500         * include/math_private.h: Remove file.
9501         * math/math_private.h: Move file ...
9502         * sysdeps/generic/math_private.h: ... here.
9504         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9505         * sysdeps/powerpc/fpu/math_private.h: Likewise.
9506         * sysdeps/x86_64/fpu/math_private.h: Likewise.
9508         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9509         and <math_private.h>.
9510         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9511         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9512         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9513         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9514         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9515         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9516         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9517         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9518         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9519         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9520         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9521         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9522         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9523         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9524         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9525         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9526         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9527         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9528         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9529         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9530         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9531         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9532         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9533         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9534         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9535         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9536         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9537         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9538         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9539         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9540         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9541         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9542         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9543         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9544         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9545         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9546         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9547         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9548         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9549         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9550         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9551         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9552         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9553         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9554         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9555         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9556         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9557         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9558         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9559         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9560         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9561         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9562         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9563         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9564         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9565         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9566         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9567         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9568         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9569         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9570         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9571         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9572         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9573         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9574         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9575         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9576         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9577         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9578         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9579         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9580         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9581         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9582         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9583         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9584         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9585         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9586         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9587         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9588         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9589         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9590         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9591         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9592         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9593         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9594         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9595         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9596         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9597         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9598         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9599         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9600         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9601         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9602         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9603         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9604         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9605         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9606         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9607         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9608         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9609         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9610         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9611         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9612         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9613         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9614         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9615         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9616         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9617         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9618         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9619         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9620         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9621         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9622         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9623         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9624         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9625         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9626         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9627         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9628         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9629         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9630         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9631         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9632         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9633         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9634         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9635         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9636         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9637         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9638         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9639         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9640         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9641         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9642         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9643         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9644         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9645         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9646         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9647         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9648         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9649         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9650         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9651         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9652         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9653         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9654         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9655         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9656         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9657         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9658         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9659         * sysdeps/ieee754/k_standard.c: Likewise.
9660         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9661         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9662         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9663         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9664         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9665         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9666         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9667         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9668         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9669         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9670         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9671         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9672         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9673         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9674         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9675         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9676         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9677         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9678         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9679         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9680         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9681         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9682         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9683         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9684         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9685         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9686         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9687         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9688         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9689         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9690         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9691         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9692         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9693         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9694         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9695         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9696         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9697         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9698         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9699         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9700         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9701         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9702         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9703         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9704         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9705         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9706         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9707         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9708         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9709         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9710         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9711         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9712         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9713         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9714         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9715         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9716         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9717         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9718         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9719         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9720         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9721         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9722         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9723         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9724         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9725         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9726         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9727         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9728         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9729         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9730         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9731         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9732         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9733         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9734         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9735         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9736         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9737         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9738         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9739         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9740         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9741         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9742         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9743         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9744         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9745         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9746         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9747         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9748         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9749         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9750         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9751         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9752         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9753         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9754         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9755         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9756         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9757         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9758         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9759         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9760         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9761         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9762         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9763         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9764         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9765         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9766         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9767         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9768         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9769         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9770         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9771         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9772         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9773         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9774         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9775         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9776         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9777         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9778         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9779         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9780         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9781         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9782         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9783         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9784         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9785         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9786         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9787         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9788         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9789         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9790         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9791         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9792         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9793         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9794         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9795         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9796         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9797         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9798         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9799         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9800         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9801         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9802         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9803         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9804         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9805         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9806         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9807         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9808         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9809         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9810         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9811         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9812         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9813         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9814         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9815         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9816         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9817         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9818         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9819         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9820         * sysdeps/ieee754/s_lib_version.c: Likewise.
9821         * sysdeps/ieee754/s_matherr.c: Likewise.
9822         * sysdeps/ieee754/s_signgam.c: Likewise.
9823         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9824         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9825         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9826         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9827         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9828         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9829         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9830         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9831         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9832         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9833         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9834         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9835         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9836         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9837         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9838         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9839         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9840         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9841         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9842         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9843         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9845 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
9847         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9848         * sunrpc/rpc_main.c: Likewise.
9849         * sunrpc/rpc_svcout.c: Likewise.
9851 2012-03-09  David S. Miller  <davem@davemloft.net>
9853         * include/math_private.h: New file.
9855 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
9857         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9858         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9859         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9860         from <bits/socket_type.h>.
9861         (enum __socket_type): Don't define here.
9862         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9863         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9864         bits/socket_type.h.
9866         [BZ #13566]
9867         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9868         checking __USE_GNU.
9870         * Makerules ($(inst_includedir)/%.h): New rule.
9871         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9872         (install-others): Remove variable setting.
9873         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9875 2012-03-08  Richard Henderson  <rth@twiddle.net>
9877         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9878         from macro to inline function; merge with the
9879         !__LIBC_INTERNAL_MATH_INLINES version.
9880         (__ieee754_sqrtf): Likewise.
9882         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9883         to inline function.
9884         (__rintf, __floor, __floorf): Likewise.
9886         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9887         macro to inline function.
9888         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9890         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9891         not <math/math_private.h>.
9893 2012-03-08  David S. Miller  <davem@davemloft.net>
9895         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9896         copyright year.
9897         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9899 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
9901         * resolv/gai_misc.c (handle_requests): Fix struct timespec
9902         normalization.
9903         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9904         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9906 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
9908         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
9909         be defined individually, they must be defined as a block.  Define
9910         S for printing a string instead of hidint the different by using a
9911         macro for adding the 'l'.
9912         * stdio-common/tst-fphex-wide.c: Adjust.
9914 2012-03-07  Marek Polacek  <polacek@redhat.com>
9916         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9918 2012-03-08  Marek Polacek  <polacek@redhat.com>
9920         [BZ #13806]
9921         * stdio-common/Makefile (tests): Add tst-fphex-wide.
9922         * stdio-common/tst-fphex.c: Define a few macros to make the
9923         test reusable.  Use them.
9924         * stdio-common/tst-fphex-wide.c: New file.
9926 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
9928         [BZ #6911]
9929         * manual/macros.texi (gnusystems): New macro.
9930         (nongnusystems): Likewise.
9931         (gnulinuxhurdsystems): Likewise.
9932         (gnuhurdsystems): Likewise..
9933         (gnulinuxsystems): Likewise.
9934         * manual/charset.texi: Use new macros or @theglibc{} to refer to
9935         variants of the GNU system, not "GNU system".
9936         * manual/conf.texi: Likewise.
9937         * manual/errno.texi: Likewise.  Update example of errno macro
9938         expansion.
9939         * manual/filesys.texi: Likewise.
9940         (getumask): Document as specific to GNU/Hurd.
9941         * manual/install.texi: Likewise.  Reword some references to
9942         GNU/Linux.
9943         * manual/intro.texi: Likewise.
9944         * manual/io.texi: Likewise.
9945         (File Name Portability): Detail which constraints are inapplicable
9946         to all GNU systems and which are only inapplicable to GNU/Hurd.
9947         * manual/job.texi: Likewise.
9948         * manual/llio.texi: Likewise.
9949         (O_NOCTTY): Document as present on GNU/Linux.
9950         * manual/maint.texi: Likewise.
9951         * manual/memory.texi: Likewise.
9952         * manual/pattern.texi: Likewise.
9953         * manual/pipe.texi: Likewise.
9954         * manual/process.texi: Likewise.
9955         * manual/resource.texi: Likewise.
9956         (RUSAGE_CHILDREN): Remove statement about specifying a particular
9957         child on GNU/Hurd.
9958         * manual/setjmp.texi: Likewise.
9959         * manual/signal.texi: Likewise.
9960         * manual/startup.texi: Likewise.
9961         * manual/stdio.texi: Likewise.
9962         * manual/terminal.texi: Likewise.
9963         (ONLCR): Document as POSIX.
9964         (OXTABS): Document availability on GNU/Linux as XTABS.
9965         (ONOEOT): Document availability separately from other bits.
9966         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9967         * manual/time.texi: Likewise.
9968         * manual/users.texi: Likewise.
9969         * INSTALL: Regenerated.
9970         * sysdeps/gnu/errlist.c: Regenerated.
9972         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9973         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9974         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
9975         puts.
9976         * configure: Regenerated.
9978 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
9980         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9981         default includes instead of AC_HEADER_CHECK.
9982         * sysdeps/i386/configure: Regenerated.
9984         [BZ #10716]
9985         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9986         * math/s_cacoshf.c (__cacoshf): Likewise.
9987         * math/s_cacoshl.c (__cacoshl): Likewise.
9988         * math/s_casinh.c (__casinh): Set signs of result from argument.
9989         * math/s_casinhf.c (__casinhf): Likewise.
9990         * math/s_casinhl.c (__casinhl): Likewise.
9991         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9992         (casinh_test): Add more tests.
9993         * sysdeps/i386/fpu/libm-test-ulps: Update.
9994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9996 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
9998         * po/zh_TW.po: Update from translation team.
10000         * login/Makefile (distribute): Remove variable.
10001         * catgets/Makefile: Likewise.
10002         * mach/Makefile: Likewise.
10003         * malloc/Makefile: Likewise.
10004         * misc/Makefile: Likewise.
10005         * iconv/Makefile: Likewise.
10006         * nscd/Makefile: Likewise.
10007         * hurd/Makefile: Likewise.
10008         * manual/Makefile: Likewise.
10009         * locale/Makefile: Likewise.
10010         * intl/Makefile: Likewise.
10011         * conform/Makefile: Likewise.
10012         * nss/Makefile: Likewise.
10013         * time/Makefile: Likewise.
10014         * soft-fp/Makefile: Likewise.
10015         * dirent/Makefile: Likewise.
10016         * gmon/Makefile: Likewise.
10017         * po/Makefile: Likewise.
10018         * rt/Makefile: Likewise.
10019         * socket/Makefile: Likewise.
10020         * math/Makefile: Likewise.
10021         * signal/Makefile: Likewise.
10022         * debug/Makefile: Likewise.
10023         * elf/Makefile: Likewise.
10024         * timezone/Makefile: Likewise.
10025         * stdlib/Makefile: Likewise.
10026         * iconvdata/Makefile: Likewise.
10027         * sunrpc/Makefile: Likewise.
10028         * io/Makefile: Likewise.
10029         * argp/Makefile: Likewise.
10030         * inet/Makefile: Likewise.
10031         * hesiod/Makefile: Likewise.
10032         * grp/Makefile: Likewise.
10033         * csu/Makefile: Likewise.
10034         * wctype/Makefile: Likewise.
10035         * crypt/Makefile: Likewise.
10036         * libio/Makefile: Likewise.
10037         * string/Makefile: Likewise.
10038         * nis/Makefile: Likewise.
10039         * resolv/Makefile: Likewise.
10040         * stdio-common/Makefile: Likewise.
10041         * wcsmbs/Makefile: Likewise.
10042         * dlfcn/Makefile: Likewise.
10043         * posix/Makefile: Likewise.
10045         [BZ #6959]
10046         * timezone/Makefile: Don't install timezone files, just the programs
10047         and scripts.
10049 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
10051         * nss/databases.def: Add missing gshadow entry.
10053         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
10055 2012-03-06  Marek Polacek  <polacek@redhat.com>
10057         [BZ #13726]
10058         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10059         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10060         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10061         * stdio-common/tst-long-dbl-fphex.c: New file.
10063 2012-03-06  David S. Miller  <davem@davemloft.net>
10065         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10066         (set_obp_int): New function.
10067         (get_obp_int): New function.
10068         (__get_clockfreq_via_dev_openprom): Likewise.
10069         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10070         Avoid unused variable warnings on 'val' and use builtin_expect.
10071         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10072         __builtin_expect.
10073         (INLINE_CLONE_SYSCALL): Likewise.
10075 2012-03-05  David S. Miller  <davem@davemloft.net>
10077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10079 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
10081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10083         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10084         only for |x| >= 40.
10085         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10087 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
10089         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10090         Replace gettimeofday with __vdso_gettimeofday.
10092         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10093         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10094         __vdso_clock_gettime and __vdso_getcpu.
10096         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10097         time with __vdso_time.
10099 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
10101         * manual/lang.texi (size_t): Note types to which size_t may be
10102         equivalent with the GNU C Library, but do not describe when
10103         differences between them are significant.
10105 2012-03-05  Andreas Jaeger  <aj@suse.de>
10107         * sysdeps/i386/fpu/libm-test-ulps: Update.
10109 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
10111         [BZ #3976]
10112         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10113         (__ieee754_pow): Save and restore rounding mode and use
10114         round-to-nearest for main computations.
10115         * math/libm-test.inc (pow_test_tonearest): New function.
10116         (pow_test_towardzero): Likewise.
10117         (pow_test_downward): Likewise.
10118         (pow_test_upward): Likewise.
10119         (main): Call the new functions.
10120         * sysdeps/i386/fpu/libm-test-ulps: Update.
10121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10123         [BZ #3976]
10124         * math/libm-test.inc (cosh_test_tonearest): New function.
10125         (cosh_test_towardzero): Likewise.
10126         (cosh_test_downward): Likewise.
10127         (cosh_test_upward): Likewise.
10128         (sinh_test_tonearest): Likewise.
10129         (sinh_test_towardzero): Likewise.
10130         (sinh_test_downward): Likewise.
10131         (sinh_test_upward): Likewise.
10132         (main): Call the new functions.
10133         * sysdeps/i386/fpu/libm-test-ulps: Update.
10134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10136 2012-03-05  Tom de Vries  <tom@codesourcery.com>
10138         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10139         default stack guard is set in last bytes.
10140         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10142 2012-03-05  Kees Cook  <keescook@chromium.org>
10144         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10146         [BZ #13656]
10147         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10148         possibly allocate from heap instead of stack.
10149         * stdio-common/bug-vfprintf-nargs.c: New file.
10150         * stdio-common/Makefile (tests): Add nargs overflow test.
10152 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
10154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10156 2012-03-03  Marek Polacek  <polacek@redhat.com>
10158         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10159         * math/math_private.h: Likewise.
10160         * stdlib/tst-strtod.c: Likewise.
10161         * sysdeps/i386/i486/bits/atomic.h: Likewise.
10162         * sysdeps/x86_64/bits/atomic.h: Likewise.
10164 2012-03-02  David S. Miller  <davem@davemloft.net>
10166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10170         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10171         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10172         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10173         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10175 2012-03-02  Roland McGrath  <roland@hack.frob.com>
10177         [BZ #13792]
10178         * manual/examples/README: New file, says the example source files
10179         can be used under GPL>=2.
10180         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10181         line containing just "*/".
10182         * manual/examples/add.c: Add copyright header (GPL>=2).
10183         * manual/examples/argp-ex1.c: Likewise.
10184         * manual/examples/argp-ex2.c: Likewise.
10185         * manual/examples/argp-ex3.c: Likewise.
10186         * manual/examples/argp-ex4.c: Likewise.
10187         * manual/examples/atexit.c: Likewise.
10188         * manual/examples/db.c: Likewise.
10189         * manual/examples/dir.c: Likewise.
10190         * manual/examples/dir2.c: Likewise.
10191         * manual/examples/execinfo.c: Likewise.
10192         * manual/examples/filecli.c: Likewise.
10193         * manual/examples/filesrv.c: Likewise.
10194         * manual/examples/fmtmsgexpl.c: Likewise.
10195         * manual/examples/genpass.c: Likewise.
10196         * manual/examples/inetcli.c: Likewise.
10197         * manual/examples/inetsrv.c: Likewise.
10198         * manual/examples/isockad.c: Likewise.
10199         * manual/examples/longopt.c: Likewise.
10200         * manual/examples/memopen.c: Likewise.
10201         * manual/examples/memstrm.c: Likewise.
10202         * manual/examples/mkfsock.c: Likewise.
10203         * manual/examples/mkisock.c: Likewise.
10204         * manual/examples/mygetpass.c: Likewise.
10205         * manual/examples/pipe.c: Likewise.
10206         * manual/examples/popen.c: Likewise.
10207         * manual/examples/rprintf.c: Likewise.
10208         * manual/examples/search.c: Likewise.
10209         * manual/examples/select.c: Likewise.
10210         * manual/examples/setjmp.c: Likewise.
10211         * manual/examples/sigh1.c: Likewise.
10212         * manual/examples/sigusr.c: Likewise.
10213         * manual/examples/stpcpy.c: Likewise.
10214         * manual/examples/strdupa.c: Likewise.
10215         * manual/examples/strftim.c: Likewise.
10216         * manual/examples/strncat.c: Likewise.
10217         * manual/examples/subopt.c: Likewise.
10218         * manual/examples/swapcontext.c: Likewise.
10219         * manual/examples/termios.c: Likewise.
10220         * manual/examples/testopt.c: Likewise.
10221         * manual/examples/testpass.c: Likewise.
10222         * manual/examples/timeval_subtract.c: Likewise.
10224         [BZ #13792]
10225         * manual/time.texi (Elapsed Time): Move timeval_subtract example
10226         function to ...
10227         * manual/timeval_subtract.c.texi: ... here, new file.
10229 2012-03-02  David S. Miller  <davem@davemloft.net>
10231         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10233 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
10235         [BZ #3976]
10236         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10237         (__sin): Save and restore rounding mode and use round-to-nearest
10238         for all computations.
10239         (__cos): Save and restore rounding mode and use round-to-nearest
10240         for all computations.
10241         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10242         <fenv.h>.
10243         (tan): Save and restore rounding mode and use round-to-nearest for
10244         all computations.
10245         * math/libm-test.inc (cos_test_tonearest): New function.
10246         (cos_test_towardzero): Likewise.
10247         (cos_test_downward): Likewise.
10248         (cos_test_upward): Likewise.
10249         (sin_test_tonearest): Likewise.
10250         (sin_test_towardzero): Likewise.
10251         (sin_test_downward): Likewise.
10252         (sin_test_upward): Likewise.
10253         (tan_test_tonearest): Likewise.
10254         (tan_test_towardzero): Likewise.
10255         (tan_test_downward): Likewise.
10256         (tan_test_upward): Likewise.
10257         (main): Call the new functions.
10258         * sysdeps/i386/fpu/libm-test-ulps: Update.
10259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10261         [BZ #10135]
10262         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10263         small n, then large n, before computing and testing k+n.
10264         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10265         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10266         Likewise.
10267         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10268         Likewise.
10269         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10270         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10271         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10272         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10273         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10274         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10275         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10276         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10277         * math/libm-test.inc (scalbn_test): Add more tests.
10278         (scalbln_test): Likewise.
10280         * manual/filesys.texi (mode_t): Describe constraints on size and
10281         signedness, not exact equivalence to a particular type.
10282         (ino_t): Likewise.
10283         (ino64_t): Likewise.
10284         (dev_t): Likewise.
10285         (nlink_t): Likewise.
10286         (blkcnt_t): Likewise.
10287         (blkcnt64_t): Likewise.
10288         * manual/llio.texi (off_t): Likewise.
10290         [BZ #3976]
10291         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10292         (__ieee754_exp): Save and restore rounding mode and use
10293         round-to-nearest for all computations.
10294         * math/libm-test.inc (exp_test_tonearest): New function.
10295         (exp_test_towardzero): Likewise.
10296         (exp_test_downward): Likewise.
10297         (exp_test_upward): Likewise.
10298         (main): Call the new functions.
10299         * sysdeps/i386/fpu/libm-test-ulps: Update.
10300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10302 2012-03-01  Chris Demetriou  <cgd@google.com>
10304         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10305         have predictable order.
10307 2012-03-01  David S. Miller  <davem@davemloft.net>
10309         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10311         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10312         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10313         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10314         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10316         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10317         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10318         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10320         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10321         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10322         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10323         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10324         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10328         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10329         * sysdeps/sparc/fpu/libm-test-ulps: to here.
10330         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10332         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10333         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10334         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10335         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10336         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10337         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10338         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10339         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10340         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10341         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10342         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10343         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10344         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10345         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10346         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10347         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10348         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10349         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10350         * sysdeps/sparc/elf/configure: Regenerated.
10352 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
10354         * configure.in (AS, LD): Require binutils 2.20 or later.
10355         * configure: Regenerated.
10356         * manual/install.texi (Tools for Compilation): Give binutils 2.20
10357         as required minimum version.
10358         * INSTALL: Regenerated.
10360         [BZ #2541]
10361         [BZ #4108]
10362         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10363         before squaring exponent.
10364         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10365         bottom long double and 27 bits of top long double before squaring
10366         exponent.
10367         * math/libm-test.inc (erfc_test): Add more tests.
10368         * sysdeps/i386/fpu/libm-test-ulps: Update.
10369         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10372 2012-03-01  Kai Tietz  <ktietz@redhat.com>
10374         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10375         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10376         containing bit-fields.
10377         * soft-fp/extended.h (_FP_UNION_E): Likewise.
10378         * soft-fp/single.h (_FP_UNION_S): Likewise.
10379         * soft-fp/double.h (_FP_UNION_D): Likewise.
10381 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10383         [BZ #13786]
10384         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10385         not include ../strcmp.S.
10386         [USE_AS_STRNCASECMP_L]: Likewise.
10387         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10388         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10389         * sysdeps/i386/i686/multiarch/strncase_l-c.c
10390         (__strncasecmp_l_ia32): Define as alias to
10391         __strncasecmp_l_nonascii.
10393         [BZ #5794]
10394         * math/libm-test.inc (expm1_test): Add test for bug 5794.
10395         * sysdeps/i386/fpu/libm-test-ulps: Update.
10396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10398         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10401 2012-02-29  Jeff Law  <law@redhat.com>
10403         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10404         out of bounds read.
10406 2012-02-29  Marek Polacek  <polacek@redhat.com>
10408         [BZ #13706]
10409         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10410         * elf/Makefile: Add rules to run tst-unused-dep.out.
10412 2012-02-28  David S. Miller  <davem@davemloft.net>
10414         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10415         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10416         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10417         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10418         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10419         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10421 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10423         * math/libm-test.inc (llround_test): Move one test from
10424         lround_test.  Use TEST_f_L in moved test.
10425         (lround_test): Move misplaced test to llround_test.  Add testcase
10426         from bug 2561.
10428 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
10430         * sysdeps/x86_64/fpu/e_expf.S: New file.
10431         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10433 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
10435         [BZ #13637]
10436         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10437         of remain_len that may cause incomplete multi-byte character and
10438         false match.
10439         * posix/bug-regex33.c: New file.
10440         * posix/Makefile (tests): Add bug-regex33.
10442 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
10444         * manual/macros.texi: New file.
10445         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10446         * manual/libc.texinfo: Include macros.texi.
10447         * manual/creatute.texi: Likewise.
10448         * manual/install.texi: Likewise.
10449         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10450         @glibcadj{} in references to the GNU C Library.
10451         * manual/charset.texi: Likewise.
10452         * manual/conf.texi: Likewise.
10453         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
10454         when not using those macros.
10455         * manual/creature.texi: Likewise.
10456         * manual/crypt.texi: Likewise.
10457         * manual/errno.texi: Likewise.
10458         * manual/filesys.texi: Likewise.
10459         * manual/header.texi: Likewise.
10460         * manual/install.texi: Likewise.
10461         * manual/intro.texi: Likewise.
10462         * manual/io.texi: Likewise.
10463         * manual/job.texi: Likewise.
10464         * manual/lang.texi: Likewise.
10465         * manual/libc.texiinfo: Likewise.
10466         * manual/llio.texi: Likewise.
10467         * manual/locale.texi: Likewise.
10468         * manual/maint.texi: Likewise.
10469         * manual/math.texi: Likewise.
10470         * manual/memory.texi: Likewise.
10471         * manual/message.texi: Likewise.
10472         * manual/nss.texi: Likewise.
10473         * manual/pattern.texi: Likewise.
10474         * manual/process.texi: Likewise.
10475         * manual/resource.texi: Likewise.
10476         * manual/search.texi: Likewise.
10477         * manual/setjmp.texi: Likewise.
10478         * manual/signal.texi: Likewise.
10479         * manual/socket.texi: Likewise.
10480         * manual/startup.texi: Likewise.
10481         * manual/stdio.texi: Likewise.
10482         * manual/string.texi: Likewise.
10483         * manual/sysinfo.texi: Likewise.
10484         * manual/syslog.texi: Likewise.
10485         * manual/terminal.texi: Likewise.
10486         * manual/time.texi: Likewise.
10487         * manual/users.texi: Likewise.
10488         * INSTALL: Regenerated.
10489         * NOTES: Regenerated.
10490         * sysdeps/gnu/errlist.c: Regenerated.
10492 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
10494         * include/dirent.h: Include <dirstream.h> before
10495         <dirent/dirent.h>.
10497 2012-02-28  David S. Miller  <davem@davemloft.net>
10499         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10500         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10501         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10502         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10504 2012-02-27  David S. Miller  <davem@davemloft.net>
10506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10508         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10509         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10512         frame pointer instead of stack pointer relative arg slot.
10513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10514         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10515         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10517 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
10519         [BZ #3992]
10520         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10522 2012-02-27  David S. Miller  <davem@davemloft.net>
10524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10528         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10529         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10530         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10531         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10533 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
10535         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10536         later.  Allow versions 5-9.
10537         * configure: Regenerated.
10538         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10539         required minimum version and 4.6 as recommended version.  Do not
10540         mention bugs in GCC 2.7 and 2.8.
10541         * INSTALL: Regenerated.
10543 2012-02-27  David S. Miller  <davem@davemloft.net>
10545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10549         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10550         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10551         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10552         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10554         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10555         manipulate bits before adding and subtracting TWO112[sx].
10556         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10558 2012-02-27  Roland McGrath  <roland@hack.frob.com>
10560         [BZ #13775]
10561         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10562         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10563         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10564         being in POSIX, because they are in 1003.1-2008.
10566         * rt/tst-aio.c: Include <fcntl.h>.
10567         * rt/tst-aio7.c: Likewise.
10568         * rt/tst-aio64.c: Likewise.
10570         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10572 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
10574         * manual/install.texi (--with-headers): Describe headers as
10575         interface headers, not private headers.
10576         (Specific advice for GNU/Linux systems): Describe use of headers
10577         from "make headers_install", not private headers from older
10578         kernels.
10579         * INSTALL: Regenerated.
10580         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10581         Change to 2.6.19.
10582         * sysdeps/unix/sysv/linux/configure: Regenerated.
10584         * manual/llio.texi (fclean): Remove documentation.
10586         * manual/Makefile (libc-texi-generated): New variable.  Include
10587         version.texi.
10588         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10589         $(libc-texi-generated), not duplicated list of files.
10590         (version.texi, stamp-version): New rules.
10591         (realclean): Remove $(libc-texi-generated), not individual files
10592         from that list.  Do not remove dir-add.texinfo.
10593         * manual/libc.texinfo: Comment out uses of edition numbers and
10594         references to printed manual.  Remove last-updated dates.
10595         (EDITION): Comment out.
10596         (ISBN): Likewise.
10597         (VERSION, UPDATED): Remove.
10598         (version.texi): Include.
10600 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
10602         * sysdeps/posix/spawni.c: Include <signal.h>.
10603         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10604         * sysdeps/pthread/aio_fsync.c: Likewise.
10606 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
10608         * conform/Makefile (tests): Run only when not cross-compiling and
10609         when fast-check is not defined.
10611         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10612         * conform/data/limits.h-data: Fixes for POSIX2008.
10613         * conform/run-conformtest.sh: Run all tests.
10614         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10615         headers.
10616         * include/bits/dlfcn.h: Likewise.
10617         * include/langinfo.h: Likewise.
10618         * include/monetary.h: Likewise.
10619         * include/sys/poll.h: Likewise.
10621         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10622         for __USE_GNU.
10623         * posix/spawn.h: Define __need_sigset_t.
10624         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10625         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10626         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
10627         to get sigevent_t only.
10628         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10629         only for __USE_GNU.
10630         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10631         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10632         process_vm_writev only for __USE_GNU.
10633         * termios/termios.h: Declare tcgetsid also for POSIX2008.
10635         * conform/Makefile: For now ignore errors from run-conformtest.
10636         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
10637         POSIX to avoid namespace pollution.  Don't prepend headers.
10638         * conform/data/aio.h-data: Fixes for POSIX testing.
10639         * conform/data/fcntl.h-data: Likewise.
10640         * conform/data/glob.h-data: Likewise.
10641         * conform/data/grp.h-data: Likewise.
10642         * conform/data/pthread.h-data: Likewise.
10643         * conform/data/pwd.h-data: Likewise.
10644         * conform/data/signal.h-data: Likewise.
10645         * conform/data/spawn.h-data: Likewise.
10646         * conform/data/stdio.h-data: Likewise.
10647         * conform/data/stdlib.h-data: Likewise.
10648         * conform/data/stropts.h-data: Likewise.
10649         * conform/data/sys/mman.h-data: Likewise.
10650         * conform/data/sys/stat.h-data: Likewise.
10651         * conform/data/sys/types.h-data: Likewise.
10652         * conform/data/sys/wait.h-data: Likewise.
10653         * conform/data/time.h-data: Likewise.
10654         * conform/data/unistd.h-data: Likewise.
10655         * conform/data/utime.h-data: Likewise.
10657         * io/sys/stat.h: fchmod was always in POSIX.
10658         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10659         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10660         * rt/aio.h: Define __need_timespec before including <time.h>.
10661         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10662         struct.  Add forward declaration of pthread_attr_t and use it in
10663         sigevent.
10664         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10665         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10666         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10667         always remove CLK_TCK definition.
10669 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
10671         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10673 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
10675         * conform/run-conformtest.sh: New file.
10676         * conform/Makefile: Run run-conformtest for tests.
10677         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
10678         support.
10680         * conform/data/uchar.h-data: New file.
10681         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10682         * conform/data/arpa/inet.h-data: Likewise.
10683         * conform/data/assert.h-data: Likewise.
10684         * conform/data/complex.h-data: Likewise.
10685         * conform/data/cpio.h-data: Likewise.
10686         * conform/data/ctype.h-data: Likewise.
10687         * conform/data/dirent.h-data: Likewise.
10688         * conform/data/dlfcn.h-data: Likewise.
10689         * conform/data/errno.h-data: Likewise.
10690         * conform/data/fcntl.h-data: Likewise.
10691         * conform/data/float.h-data: Likewise.
10692         * conform/data/fmtmsg.h-data: Likewise.
10693         * conform/data/fnmatch.h-data: Likewise.
10694         * conform/data/ftw.h-data: Likewise.
10695         * conform/data/glob.h-data: Likewise.
10696         * conform/data/grp.h-data: Likewise.
10697         * conform/data/iconv.h-data: Likewise.
10698         * conform/data/inttypes.h-data: Likewise.
10699         * conform/data/langinfo.h-data: Likewise.
10700         * conform/data/libgen.h-data: Likewise.
10701         * conform/data/limits.h-data: Likewise.
10702         * conform/data/locale.h-data: Likewise.
10703         * conform/data/math.h-data: Likewise.
10704         * conform/data/monetary.h-data: Likewise.
10705         * conform/data/mqueue.h-data: Likewise.
10706         * conform/data/ndbm.h-data: Likewise.
10707         * conform/data/net/if.h-data: Likewise.
10708         * conform/data/netdb.h-data: Likewise.
10709         * conform/data/netinet/in.h-data: Likewise.
10710         * conform/data/nl_types.h-data: Likewise.
10711         * conform/data/poll.h-data: Likewise.
10712         * conform/data/pthread.h-data: Likewise.
10713         * conform/data/pwd.h-data: Likewise.
10714         * conform/data/regex.h-data: Likewise.
10715         * conform/data/sched.h-data: Likewise.
10716         * conform/data/search.h-data: Likewise.
10717         * conform/data/semaphore.h-data: Likewise.
10718         * conform/data/setjmp.h-data: Likewise.
10719         * conform/data/signal.h-data: Likewise.
10720         * conform/data/spawn.h-data: Likewise.
10721         * conform/data/stdarg.h-data: Likewise.
10722         * conform/data/stdio.h-data: Likewise.
10723         * conform/data/stdlib.h-data: Likewise.
10724         * conform/data/string.h-data: Likewise.
10725         * conform/data/strings.h-data: Likewise.
10726         * conform/data/stropts.h-data: Likewise.
10727         * conform/data/sys/ipc.h-data: Likewise.
10728         * conform/data/sys/mman.h-data: Likewise.
10729         * conform/data/sys/msg.h-data: Likewise.
10730         * conform/data/sys/resource.h-data: Likewise.
10731         * conform/data/sys/select.h-data: Likewise.
10732         * conform/data/sys/sem.h-data: Likewise.
10733         * conform/data/sys/shm.h-data: Likewise.
10734         * conform/data/sys/socket.h-data: Likewise.
10735         * conform/data/sys/stat.h-data: Likewise.
10736         * conform/data/sys/statvfs.h-data: Likewise.
10737         * conform/data/sys/time.h-data: Likewise.
10738         * conform/data/sys/timeb.h-data: Likewise.
10739         * conform/data/sys/times.h-data: Likewise.
10740         * conform/data/sys/types.h-data: Likewise.
10741         * conform/data/sys/uio.h-data: Likewise.
10742         * conform/data/sys/un.h-data: Likewise.
10743         * conform/data/sys/utsname.h-data: Likewise.
10744         * conform/data/sys/wait.h-data: Likewise.
10745         * conform/data/syslog.h-data: Likewise.
10746         * conform/data/tar.h-data: Likewise.
10747         * conform/data/termios.h-data: Likewise.
10748         * conform/data/utime.h-data: Likewise.
10749         * conform/data/utmpx.h-data: Likewise.
10750         * conform/data/varargs.h-data: Likewise.
10751         * conform/data/wchar.h-data: Likewise.
10752         * conform/data/wctype.h-data: Likewise.
10753         * conform/data/wordexp.h-data: Likewise.
10755         * include/stropts.h: New file.
10756         * include/uchar.h: New file.
10757         * include/aio.h: Changes to allow conformtest.pl to use the headers.
10758         * include/assert.h: Likewise.
10759         * include/ctype.h: Likewise.
10760         * include/dirent.h: Likewise.
10761         * include/dlfcn.h: Likewise.
10762         * include/fcntl.h: Likewise.
10763         * include/fnmatch.h: Likewise.
10764         * include/glob.h: Likewise.
10765         * include/grp.h: Likewise.
10766         * include/libio.h: Likewise.
10767         * include/locale.h: Likewise.
10768         * include/math.h: Likewise.
10769         * include/net/if.h: Likewise.
10770         * include/netdb.h: Likewise.
10771         * include/netinet/in.h: Likewise.
10772         * include/pthread.h: Likewise.
10773         * include/pwd.h: Likewise.
10774         * include/regex.h: Likewise.
10775         * include/sched.h: Likewise.
10776         * include/search.h: Likewise.
10777         * include/setjmp.h: Likewise.
10778         * include/signal.h: Likewise.
10779         * include/stdio.h: Likewise.
10780         * include/stdlib.h: Likewise.
10781         * include/string.h: Likewise.
10782         * include/sys/cdefs.h: Likewise.
10783         * include/sys/mman.h: Likewise.
10784         * include/sys/msg.h: Likewise.
10785         * include/sys/resource.h: Likewise.
10786         * include/sys/select.h: Likewise.
10787         * include/sys/socket.h: Likewise.
10788         * include/sys/stat.h: Likewise.
10789         * include/sys/statvfs.h: Likewise.
10790         * include/sys/time.h: Likewise.
10791         * include/sys/times.h: Likewise.
10792         * include/sys/uio.h: Likewise.
10793         * include/sys/utsname.h: Likewise.
10794         * include/sys/wait.h: Likewise.
10795         * include/termios.h: Likewise.
10796         * include/time.h: Likewise.
10797         * include/ulimit.h: Likewise.
10798         * include/unistd.h: Likewise.
10799         * include/utime.h: Likewise.
10800         * include/wchar.h: Likewise.
10801         * include/wctype.h: Likewise.
10802         * include/wordexp.h: Likewise.
10804         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10806         * time/time.h: TIME_UTC must be a macro.
10807         Make timespec_get available for ISO C11 only as well.
10809 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
10811         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10812         Reported by Peng Haitao <penght@cn.fujitsu.com>.
10814 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
10816         * configure.in: Use -o not -a in test for unsupported multi-arch.
10818 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
10820         * manual/texinfo.tex: Update to version 2012-01-19.16.
10822 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
10824         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10826 2012-02-24  Roland McGrath  <roland@hack.frob.com>
10828         [BZ #13738]
10829         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10830         * manual/fdl-1.3.texi: New file.
10831         * manual/fdl-1.1.texi: File removed.
10833         [BZ #13738]
10834         * manual/libc.texinfo (FDL_VERSION): New @set.
10835         Use it for mention of FDL in cover text.
10836         (Documentation License): Use it in @include file name.
10838 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10839             Roland McGrath  <roland@hack.frob.com>
10841         [BZ #5461]
10842         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10843         not LONG_LONG_MAX and LONG_LONG_MIN.
10844         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10845         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
10846         name.
10847         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10849 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10851         [BZ #2547]
10852         [BZ #11365]
10853         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10854         manipulate bits before adding and subtracting TWO23[sx].
10855         * math/libm-test.inc (nearbyint_test): Add more tests.
10857 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10859         [BZ #2548]
10860         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10861         bits before adding and subtracting TWO23[sx].
10862         * math/libm-test.inc (rint_test): Add more tests.
10863         (rint_test_tonearest): Likewise.
10864         (rint_test_towardzero): Likewise.
10865         (rint_test_downward): Likewise.
10866         (rint_test_upward: Likewise.
10868 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10870         [BZ #10110]
10871         * include/stdc-predef.h: New file.  Extracted from features.h.
10872         * include/features.h: Include stdc-predef.h.
10873         * Makefile (headers): Add stdc-predef.h.
10874         * CONFORMANCE (Compiler limitations): Update.
10876 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10878         * manual/libc.texinfo (VERSION, UPDATED): Revert.
10880 2012-02-21  David S. Miller  <davem@davemloft.net>
10882         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10883         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10885 2012-02-20  David S. Miller  <davem@davemloft.net>
10887         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10888         using a normal save/restore sequence, rather than allocating a
10889         dummy stack frame just to store a frame pointer and restore.
10890         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10892 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10894         * manual/install.texi: Fix stray word in line-wrapped comment.
10896 2012-02-20  David S. Miller  <davem@davemloft.net>
10898         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10899         both binutils and gcc support GOTDATA.
10901         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10902         "rd %pc" in the PIC register setup sequences.
10904         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10905         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10906         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10907         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10908         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10909         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10910         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10911         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10912         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10913         (SYSCALL_ERROR_HANDLER): Likewise.
10914         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10915         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10916         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10917         (SYSCALL_ERROR_HANDLER): Likewise.
10919         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10920         (HAVE_GCC_GOTDATA): New.
10921         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10922         relocation support in both binutils and gcc.
10923         * sysdeps/sparc/elf/configure: Regenerate.
10925         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10926         * sysdeps/sparc/sparc32/elf/configure: Delete.
10927         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10928         * sysdeps/sparc/sparc64/elf/configure: Delete.
10929         * sysdeps/sparc/elf/configure.in: New file.
10930         * sysdeps/sparc/elf/configure: Generate.
10932         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10933         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10934         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10935         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10936         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10938 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10940         * manual/install.texi: Do not mention specific glibc version
10941         numbers.
10942         * manual/libc.texinfo (VERSION, UPDATED): Update.
10943         (@copying): Use @copyright{} and range of years.
10945 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10947         [BZ #13695]
10948         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10949         [crti.S not in sysdirs] (generated): Do not append.
10950         [crti.S not in sysdirs] (omit-deps): Likewise.
10951         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10952         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10953         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10954         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10955         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10956         Likewise.
10957         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10958         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10959         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10960         * csu/defs.awk: Remove file.
10961         * sysdeps/generic/initfini.c: Likewise.
10962         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10963         variable.
10964         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10965         Likewise.
10967 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10969         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10970         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10971         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10972         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10973         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10974         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10975         <bits/epoll.h>.
10976         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10977         (__EPOLL_PACKED): Define to empty if not defined by
10978         <bits/epoll.h>.
10979         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10980         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10981         bits/epoll.h.
10983 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10985         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10986         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10987         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10988         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10989         <bits/timerfd.h>.
10990         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10991         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10992         bits/timerfd.h.
10994 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10996         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10997         in C locale.
10998         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10999         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11000         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11003 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
11005         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11006         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11008 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
11010         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11011         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11012         defined.
11013         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11014         Likewise.
11015         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11016         entry for 2.16.
11018 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
11020         * math/w_acos.c: Use non-signaling floating-point comparisons.
11021         * math/w_acosf.c: Likewise.
11022         * math/w_acosh.c: Likewise.
11023         * math/w_acoshf.c: Likewise.
11024         * math/w_acoshl.c: Likewise.
11025         * math/w_acosl.c: Likewise.
11026         * math/w_asin.c: Likewise.
11027         * math/w_asinf.c: Likewise.
11028         * math/w_asinl.c: Likewise.
11029         * math/w_atanh.c: Likewise.
11030         * math/w_atanhf.c: Likewise.
11031         * math/w_atanhl.c: Likewise.
11032         * math/w_exp2.c: Likewise.
11033         * math/w_exp2f.c: Likewise.
11034         * math/w_exp2l.c: Likewise.
11035         * math/w_j0.c: Likewise.
11036         * math/w_j0f.c: Likewise.
11037         * math/w_j0l.c: Likewise.
11038         * math/w_j1.c: Likewise.
11039         * math/w_j1f.c: Likewise.
11040         * math/w_j1l.c: Likewise.
11041         * math/w_jn.c: Likewise.
11042         * math/w_jnf.c: Likewise.
11043         * math/w_log.c: Likewise.
11044         * math/w_log10.c: Likewise.
11045         * math/w_log10f.c: Likewise.
11046         * math/w_log10l.c: Likewise.
11047         * math/w_log2.c: Likewise.
11048         * math/w_log2f.c: Likewise.
11049         * math/w_log2l.c: Likewise.
11050         * math/w_logf.c: Likewise.
11051         * math/w_logl.c: Likewise.
11052         * math/w_sqrt.c: Likewise.
11053         * math/w_sqrtf.c: Likewise.
11054         * math/w_sqrtl.c: Likewise.
11055         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11056         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11057         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11058         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11059         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11061 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11063         [BZ #9739]
11064         * manual/string.texi (strnlen): Use correct parameter name in
11065         equivalent expression.
11067 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11069         [BZ #11174]
11070         * manual/users.texi (seteuid): Consistently use neweuid for
11071         argument name.
11073 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
11075         [BZ #13704]
11076         * manual/nss.texi (Services in the NSS configuration): Correct
11077         list of services in example configuration file.
11079 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
11081         [BZ #11322]
11082         * manual/arith.texi: Remove statements about negative zero
11083         behaving identically to zero.
11085 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
11087         [BZ #5993]
11088         * manual/install.texi: Do not document upgrading from libc5.
11090 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
11092         [BZ #4596]
11093         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11095 2012-02-18  David S. Miller  <davem@davemloft.net>
11097         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11098         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11099         %o7 across the call.
11100         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11101         instead.
11102         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11103         SETUP_PIC_REG_LEAF.
11104         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11105         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11106         * sysdeps/sparc/crtn.S: Likewise.
11108 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
11110         * aout/Makefile: Remove.
11112 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
11114         [BZ #13058]
11115         * manual/examples/argp-ex1.c (main): Format definition in GNU
11116         style.
11117         * manual/examples/argp-ex2.c (main): Likewise.
11118         * manual/examples/argp-ex3.c (main): Likewise.
11119         * manual/examples/argp-ex4.c (main): Likewise.
11120         * manual/examples/longopt.c (main): Use new-style prototype
11121         definition.
11122         * manual/examples/strncat.c (main): Specify return type and use
11123         (void) for arguments.
11124         * manual/examples/subopt.c (main): Use char **argv argument.
11126 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11128         [BZ #5077]
11129         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11130         rounding modes.
11132 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
11134         [BZ #6907]
11135         * manual/string.texi (strchr): Change when strchrnul is
11136         recommended.
11138 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
11140         [BZ #174]
11141         * manual/locale.texi (setlocale): Document LOCPATH.
11143 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11145         [BZ #10210]
11146         * manual/process.texi (execle): Move @dots{} before last argument.
11148 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
11150         [BZ #12047]
11151         * manual/charset.texi (Generic Charset Conversion): Fix typo
11152         (LC_TYPE -> LC_CTYPE).
11154 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
11156         [BZ #5805]
11157         * manual/arith.texi (scalbn): Use @var{} on parameter names.
11158         (scalbnf): Likewise.
11159         (scalbnl): Likewise.
11160         (scalbln): Likewise.
11161         (scalblnf): Likewise.
11162         (scalblnl): Likewise.
11163         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11164         (vwarnx): Likewise.
11165         (verr): Likewise.
11166         (verrx): Likewise.
11167         * manual/filesys.texi (telldir): Use braces around return type.
11168         * manual/llio.texi (mmap): Add space after comma.
11169         (mmap64): Likewise.
11170         * manual/math.texi (jn): Use @var{} on parameter names.
11171         (jnf): Likewise.
11172         (jnl): Likewise.
11173         (yn): Likewise.
11174         (ynf): Likewise.
11175         (ynl): Likewise.
11176         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11177         line.
11178         * manual/resource.texi (ulimit): Use @dots{} instead of literal
11179         "...".
11180         (sched_get_priority_min): Remove semicolon on @deftypefun line.
11181         (sched_get_priority_max): Likewise.
11182         * manual/signal.texi (sigvec): Add space after comma.
11183         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11184         names.
11185         (if_indextoname): Likewise.
11186         (if_freenameindex): Likewise.
11187         (sendto): Use ',' instead of '.' in prototype.
11188         * manual/startup.texi (syscall): Use @dots{} instead of literal
11189         "...".
11190         * manual/stdio.texi (__fpending): Separate initial words of
11191         paragraph from @deftypefun line.
11192         * manual/syslog.texi (syslog): Use @dots{} instead of literal
11193         "...".
11194         (vsyslog): Use @var{} on parameter names.
11195         * manual/terminal.texi (stty): Use @var{} on parameter names.
11196         * manual/users.texi (getutmp): Use @var{} on parameter names.
11197         (getutmpx): Likewise.
11199 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11201         [BZ #6884]
11202         * manual/stdio.texi (fopen): Fix typos in description of
11203         ",ccs=STRING".
11205 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
11207         [BZ #4026]
11208         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11209         get clock_id definition.
11211 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
11213         [BZ #4822]
11214         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11215         (madvise): Cast every argument to void on its own.
11217 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11219         [BZ #9902]
11220         * manual/startup.texi (Exit Status): Fix typo.
11222 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11224         [BZ #10140]
11225         * manual/examples/argp-ex1.c: Include <stdlib.h>.
11226         * manual/examples/argp-ex2.c: Likewise.
11227         * manual/examples/argp-ex3.c: Likewise.
11229 2012-02-16  Richard Henderson  <rth@redhat.com>
11231         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11232         * sysdeps/s390/s390-32/initfini.c: Remove.
11233         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11234         * sysdeps/s390/s390-64/initfini.c: Remove.
11236 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11238         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11239         compiler output for sysdeps/generic/initfini.c.
11240         * sysdeps/sh/elf/initfini.c: Remove file.
11242 2012-02-16  David S. Miller  <davem@davemloft.net>
11244         [BZ #11494]
11245         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11247         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11248         * sysdeps/sparc/crti.S: New file.
11249         * sysdeps/sparc/crtn.S: New file.
11250         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11251         * sysdeps/sparc/sparc64/Makefile: Likewise.
11253 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
11255         [BZ #3335]
11256         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11258 2012-02-15  Roland McGrath  <roland@hack.frob.com>
11260         [BZ #4822]
11261         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11263         * mach/devstream.c (cookie_io_functions_t): Macro removed.
11264         (write, read, close): Likewise.
11265         Patch by Aurelien Jarno <aurelien@aurel32.net>.
11267 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
11269         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11270         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11271         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11272         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11273         <bits/signalfd.h>.
11274         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11275         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11276         bits/signalfd.h.
11278 2012-02-14  Marek Polacek  <polacek@redhat.com>
11280         * sysdeps/x86_64/crti.S: New file.
11281         * sysdeps/x86_64/crtn.S: New file.
11282         * sysdeps/x86_64/elf/initfini.c: Remove file.
11284 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11286         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11287         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11288         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11289         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11290         <bits/inotify.h>.
11291         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11292         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11293         bits/inotify.h.
11295 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11297         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11298         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11299         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11300         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11301         <bits/eventfd.h>.
11302         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11303         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11304         bits/eventfd.h.
11306 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
11308         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11309         __feraiseexcept instead of feraiseexcept.
11311         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11312         nanosleep invocations.
11313         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11314         strings, and add error checking for a nanosleep invocations.
11316 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
11318         Replace FSF snail mail address with URLs, as per GNU coding standards.
11319         Most of the snail mail addresses were wrong anyway, and omitting
11320         them makes the source code easier to maintain.  Almost all of the
11321         changes are to license notices and to locale LC_IDENTIFICATION
11322         addresses, except for this one:
11323         * manual/libc.texinfo: In "Published by", give the FSF's URL,
11324         not its snail mail address.
11326 2012-02-09  Richard Henderson  <rth@twiddle.net>
11328         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11329         of kernel-features.h.
11331         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11333 2012-02-08  Marek Polacek  <polacek@redhat.com>
11335         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11336         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11337         * sysdeps/gnu/_G_config.h: Likewise.
11338         * sysdeps/generic/_G_config.h: Likewise.
11340 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
11342         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11343         tests.
11344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11346         * sysdeps/powerpc/powerpc32/crti.S: New file.
11347         * sysdeps/powerpc/powerpc32/crtn.S: New file.
11348         * sysdeps/powerpc/powerpc64/crti.S: New file.
11349         * sysdeps/powerpc/powerpc64/crtn.S: New file.
11351         * Makeconfig (have-initfini): Don't set.
11352         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11353         * configure.in (nopic_initfini): Don't substitute.
11354         * config.h.in (HAVE_INITFINI): Don't #undef.
11355         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11356         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11358 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
11360         Support crti.S and crtn.S provided directly by architectures.
11361         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11362         [crti.S in sysdirs] (omit-deps): Likewise.
11363         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11364         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11365         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11366         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11367         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11368         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11369         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11370         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11371         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11372         compiler output for sysdeps/generic/initfini.c.
11373         * sysdeps/i386/elf/Makefile: Remove file.
11374         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11376 2012-02-07  Marek Polacek  <polacek@redhat.com>
11378         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11379         * sysdeps/gnu/_G_config.h: Likewise.
11380         * sysdeps/mach/hurd/_G_config.h: Likewise.
11382 2012-02-07  Marek Polacek  <polacek@redhat.com>
11384         * math/Makefile (tests): Add tst-CMPLX2.
11385         * math/tst-CMPLX2.c: New file.
11387 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
11389         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11391         * math/libm-test.inc (jn_test): Add missing L suffix.
11393 2012-02-06  Marek Polacek  <polacek@redhat.com>
11395         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11396         * sysdeps/i386/fpu/e_powf.S: Likewise.
11397         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11398         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11399         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11400         * sysdeps/i386/fpu/e_pow.S: Likewise.
11401         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11402         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11403         * sysdeps/i386/fpu/s_expm1.S: Likewise.
11404         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11405         * sysdeps/i386/fpu/e_log2.S: Likewise.
11406         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11407         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11408         * sysdeps/i386/fpu/e_powl.S: Likewise.
11409         * sysdeps/i386/fpu/s_log1p.S: Likewise.
11410         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11411         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11412         * sysdeps/i386/fpu/e_logl.S: Likewise.
11413         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11414         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11415         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11416         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11417         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11418         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11419         * sysdeps/i386/fpu/e_log.S: Likewise.
11420         * sysdeps/i386/fpu/s_cexp.S: Likewise.
11421         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11422         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11423         * sysdeps/i386/fpu/e_logf.S: Likewise.
11424         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11425         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11426         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11427         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11428         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11429         * sysdeps/i386/fpu/e_log10.S: Likewise.
11430         * sysdeps/i386/fpu/s_frexp.S: Likewise.
11431         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11432         * sysdeps/i386/fpu/s_asinh.S: Likewise.
11433         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11434         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11435         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11436         * sysdeps/i386/asm-syntax.h: Likewise.
11437         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11438         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11439         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11440         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11441         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11442         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11443         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11444         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11445         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11446         * sysdeps/powerpc/sysdep.h: Likewise.
11447         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11448         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11450 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11452         [BZ #411]
11453         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11455 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11457         * sysdeps/i386/sysdep.h: Include <features.h>.
11458         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11459         version.
11461 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
11463         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11464         Define.
11465         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11466         LOAD_PIC_REG_STR.
11468 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11470         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11471         (SETUP_PIC_REG): Use GET_PC_THUNK.
11472         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11473         macro.
11475 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11477         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11478         for non-PIC compilation.
11479         (SETUP_PIC_REG): Add .p2align directive.
11480         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11481         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11482         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11483         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11484         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11485         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11486         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11487         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11488         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11489         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11490         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11491         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11492         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11493         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11494         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11495         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11496         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11497         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11498         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11499         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11500         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11501         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11502         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11503         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11504         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11505         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11506         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11507         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11508         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11509         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11510         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11511         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11512         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11513         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11514         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11515         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11516         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11517         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11518         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11519         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11520         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11522 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11524         * math/tst-CMPLX.c: Include <stdio.h>.
11526 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
11528         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11529         float.
11530         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11531         * sysdeps/sparc/bits/mathdef.h: Likewise.
11533 2012-01-31  Marek Polacek  <polacek@redhat.com>
11535         * libio/libio.h: Don't define _PARAMS.
11536         * locale/programs/config.h: Don't define PARAMS.
11537         * stdlib/strtol_l.c: Likewise.
11538         (__strtol_l): Remove PARAMS from the prototype.
11540 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
11542         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
11543         names.  Just use the correct names.  Remove unnecessary wrapper
11544         functions.
11545         * malloc/arena.c: Likewise.
11546         * malloc/hooks.c: Likewise.
11548         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11549         ARENA_TEST says not to.  Simplify test for creation of a new arena.
11550         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11552 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
11554         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11555         into tail calls.
11556         (update_get_addr): New function.
11557         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11558         GET_ADDR_MODULE parameter.
11560 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
11562         * crypt/cert.c: Remove __STDC__ conditionals.
11563         * crypt/crypt-entry.c: Likewise.
11564         * crypt/crypt_util.c: Likewise.
11565         * libio/filedoalloc.c: Likewise.
11566         * libio/fileops.c: Likewise.
11567         * libio/genops.c: Likewise.
11568         * libio/iofclose.c: Likewise.
11569         * libio/iofdopen.c: Likewise.
11570         * libio/iofopen.c: Likewise.
11571         * libio/iofopen64.c: Likewise.
11572         * libio/iogetdelim.c: Likewise.
11573         * libio/iopopen.c: Likewise.
11574         * libio/obprintf.c: Likewise.
11575         * libio/oldfileops.c: Likewise.
11576         * libio/oldiofclose.c: Likewise.
11577         * libio/oldiofdopen.c: Likewise.
11578         * libio/oldiofopen.c: Likewise.
11579         * libio/oldiopopen.c: Likewise.
11580         * libio/wfiledoalloc.c: Likewise.
11581         * libio/wgenops.c: Likewise.
11582         * locale/programs/xmalloc.c: Likewise.
11583         * misc/syslog.c: Likewise.
11584         * stdio-common/xbug.c: Likewise.
11585         * string/memchr.c: Likewise.
11586         * string/memcmp.c: Likewise.
11587         * string/memrchr.c: Likewise.
11588         * string/rawmemchr.c: Likewise.
11589         * sysdeps/posix/getcwd.c: Likewise.
11590         * time/strftime_l.c: Likewise.
11592 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
11594         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11595         * config.make.in (config-cflags-sse2avx): Define.
11596         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11597         Fix typo.
11599 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
11601         * scripts/config.guess: Update from upstream config git repository.
11602         * scripts/config.sub: Likewise.
11604 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
11606         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11607         (EM_NUM): Update.
11608         (R_TILEPRO_*, R_TILEGX_*): New macros.
11610         * scripts/firstversions.awk: Fix bug in version range handling.
11612         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11614         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11616         * include/sys/epoll.h: New file.
11617         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11618         libc_hidden_def.
11620 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
11622         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11623         Avoid unnecessary __WORDSIZE == 64 test.
11624         (fmaxf): Use VEX format if possible.
11625         (fmax): Likewise.
11626         (fminf): Likewise.
11627         (fmin): Likewise.
11629         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11630         * math/math_private.h: Remove libc_fegetround* and
11631         libc_fesetround*.
11632         * sysdeps/i386/configure.in: Check for -msse2avx.
11633         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11634         also if SSE2AVX is defined.
11635         Remove libc_fegetround* and libc_fesetround*.
11636         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11637         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
11638         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11639         of HAS_YMM_USABLE.
11640         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11641         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11642         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11643         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11644         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11646         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11648 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11650         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11651         size is not set.
11652         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11654 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
11656         [BZ #13618]
11657         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11658         relocation.
11659         * Makeconfig (libm): Define.
11660         * elf/Makefile: Add rules to build and run tst-relsort1.
11661         * elf/tst-relsort1.c: New file.
11662         * elf/tst-relsort1mod1.c: New file.
11663         * elf/tst-relsort1mod2.c: New file.
11665 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
11667         * math/s_ldexp.c: Remove __STDC__ conditionals.
11668         * math/s_ldexpf.c: Likewise.
11669         * math/s_ldexpl.c: Likewise.
11670         * math/s_nextafter.c: Likewise.
11671         * math/s_nexttowardf.c: Likewise.
11672         * math/s_significand.c: Likewise.
11673         * math/s_significandf.c: Likewise.
11674         * math/s_significandl.c: Likewise.
11675         * math/w_jnl.c: Likewise.
11676         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11677         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11678         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11679         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11680         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11681         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11682         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11683         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11684         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11685         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11686         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11687         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11688         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11689         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11690         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11691         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11692         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11693         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11694         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11695         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11696         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11697         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11698         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11699         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11700         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11701         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11702         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11703         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11704         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11705         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11706         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11707         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11708         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11709         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11710         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11711         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11712         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11713         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11714         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11715         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11716         * sysdeps/ieee754/k_standard.c: Likewise.
11717         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11718         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11719         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11720         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11721         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11722         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11723         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11724         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11725         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11726         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11727         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11728         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11729         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11730         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11731         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11732         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11733         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11734         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11735         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11736         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11737         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11738         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11739         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11740         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11741         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11742         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11743         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11744         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11745         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11746         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11747         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11748         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11749         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11750         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11751         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11752         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11753         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11754         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11755         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11756         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11757         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11758         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11759         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11760         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11761         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11762         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11763         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11764         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11765         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11766         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11767         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11768         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11769         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11770         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11771         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11772         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11773         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11774         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11775         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11776         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11777         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11778         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11779         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11780         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11781         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11782         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11783         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11784         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11785         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11786         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11787         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11788         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11789         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11790         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11791         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11792         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11793         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11794         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11795         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11796         * sysdeps/ieee754/s_matherr.c: Likewise.
11797         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11798         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11799         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11800         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11802 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
11804         * crypt/md5.h: Remove __STDC__ conditionals.
11805         * libio/libioP.h: Likewise.
11806         * locale/programs/config.h: Likewise.
11807         * sysdeps/generic/sysdep.h: Likewise.
11808         * sysdeps/i386/asm-syntax.h: Likewise.
11809         * sysdeps/s390/asm-syntax.h: Likewise.
11810         * sysdeps/unix/sysdep.h: Likewise.
11811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11814 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
11816         * libio/libio.h: Remove __STDC__ conditionals.
11817         * malloc/obstack.h: Likewise.
11818         * math/complex.h: Likewise.
11819         * math/math.h: Likewise.
11820         * sysdeps/generic/_G_config.h: Likewise.
11821         * sysdeps/gnu/_G_config.h: Likewise.
11822         * sysdeps/mach/hurd/_G_config.h: Likewise.
11823         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11824         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11825         * sysdeps/sparc/bits/mathdef.h: Likewise.
11827 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
11829         [BZ #13583]
11830         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11831         Clean up HAS_* macros.
11832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11833         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11834         possible.
11835         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11836         HAS_AVX.
11837         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11838         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11839         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11840         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11841         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11843 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
11845         * elf/tst-unique3.cc (gets): Remove declaration.
11846         * elf/tst-unique3lib.cc (gets): Likewise.
11847         * elf/tst-unique3lib2.cc (gets): Likewise.
11848         * elf/tst-unique4.cc (gets): Likewise.
11850 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
11852         * include/stdio.h: Add C++ protection.  Add gets declarations and
11853         definitions.
11854         * debug/tst-chk1.c: Don't declare gets here.
11855         * stdio-common/tst-gets.c: Likewise.
11857 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
11859         * posix/glob: Remove directory.
11861 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
11863         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11865 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
11867         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11868         of the non-standard EPFNOSUPPORT.
11870 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11872         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11873         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11874         ANYWHERE set to 1 only on KERN_NO_SPACE error.
11876 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
11878         * wcsmbs/uchar.h: Test __STDC_VERSION__.
11880 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
11882         * nscd/aicache.c (addhstaiX): Do not cache negative results of
11883         transient errors.
11884         * nscd/grpcache.c (cache_addgr): Likewise.
11885         * nscd/hstcache.c (cache_addhst): Likewise.
11886         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11887         * nscd/pwdcache.c (cache_addpw): Likewise.
11888         * nscd/servicescache.c (cache_addserv): Likewise.
11890 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
11892         * malloc/malloc.c: Various cleanups.
11893         * malloc/hooks.c: Likewise.
11895         * stdlib/Makefile (tests): Add bug-fmtmsg1.
11896         * stdlib/bug-fmtmsg1.c: New file.
11898         * stdlib/fmtmsg.c (init): Add missing unlock.
11899         Patch by Peng Haitao <penght@cn.fujitsu.com>.
11901 2012-01-12  Marek Polacek  <polacek@redhat.com>
11903         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11904         and _GNU_SOURCE.
11906 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
11908         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11909         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11910         macro to ensure uniqueness of label name.
11911         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11912         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11914 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
11916         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11918         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11919         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11920         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11921         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11923 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
11925         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11927         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11928         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11929         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11931         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11933         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11934         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11935         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11936         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11938         * math/bits/math-finite.h: Add ldexp support.
11940 2012-01-10  Marek Polacek  <polacek@redhat.com>
11942         * locale/programs/localedef.h (show_archive_content): Add noreturn
11943         attribute.
11945 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
11947         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11949 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11951         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11953         * io/Makefile (headers): Add bits/poll2.h.
11955 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
11957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11958         typo #include statement.
11960 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11962         * include/sys/cdefs.h: Define __attribute_alloc_size.
11963         * catgets/gencat.c: Add alloc_size attribute and apply consistently
11964         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11965         * elf/pldd.c: Likewise.
11966         * iconv/iconv_charmap.c: Likewise.
11967         * iconv/iconvconfig.c: Likewise.
11968         * iconv/strtab.c: Likewise.
11969         * locale/programs/locale.c: Likewise.
11970         * locale/programs/localedef.h: Likewise.
11971         * locale/programs/simple-hash.c: Likewise.
11972         * nscd/nscd.h: Likewise.
11973         * nss/makedb.c: Likewise.
11974         * sysdeps/generic/ldconfig.h: Likewise.
11975         * locale/programs/localedef.c: Remove xmalloc prototype.
11976         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11978 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11980         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11981         appropriate.
11983 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11985         * math/Makefile (tests): Add tst-CMPLX.
11986         * math/tst-CMPLX.c: New file.
11988         * math/complex.h (CMPLXL): Fix typo.
11990         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11991         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11992         GLIBC_2.16.
11993         * debug/tst-chk1.c: Add poll and ppoll tests.
11994         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11995         * include/sys/poll.h: Add hidden proto for ppoll.
11996         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11997         * sysdeps/mach/hurd/ppoll.c: Likewise.
11998         * io/ppoll.c: Likewise.
11999         * debug/poll_chk.c: New file.
12000         * debug/ppoll_chk.c: New file.
12001         * include/bits/poll2.h: New file.
12002         * io/bits/poll2.h: New file.
12004         [BZ #1350]
12005         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12007         * configure.in: static is always set to yes.  Remove.
12008         * config.make.in: Don't set build-static.
12009         * Makeconfig: Remove use of build-static.
12010         * dlfcn/Makefile: Likewise.
12011         * elf/Makefile: Likewise.
12012         * math/Makefile: Likewise.
12013         * misc/Makefile: Likewise.
12014         * nptl/Makefile: Likewise.
12015         * sysdeps/mach/hurd/Makefile: Likewise.
12017         * configure.in: PWD_P is not used anymore.
12018         * config.make.in: Remove PWD_P entry.
12020         * configure.in: Remove last remnants of RANLIB.
12021         No need to check for signed size_t anymore.
12022         Don't set libc_commonpagesize and libc_relro_required here for Alpha
12023         and IA-64.
12024         Remove __builtin_expect test because we require at least gcc 3.4.
12025         * aclocal.m4: Likewise.
12027         * wcsmbs/mbrtoc16.c: Implement using towc function.
12028         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12029         * wcsmbs/wcsmbsload.c: Likewise.
12030         * iconv/gconv_simple.c: Likewise.
12031         * iconv/gconv_int.h: Likewise.
12032         * iconv/gconv_builtin.h: Likewise.
12033         * iconv/iconv_prog.c: Remove CHAR16 handling.
12035         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12037         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12039         * configure.in: Remove --with-elf and --enable-bounded options.
12040         Dont set base_machine for ia64.  More non-ELF conditions removed.
12041         Remove testing and setting of leading underscore information.
12042         * config.make.in (build-bounded): Set to no.
12043         * config.h.in: Remove NO_UNDERSCORES entry.
12044         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
12045         them.
12046         * csu/start.c: Remove !NO_UNDERSCORE code.
12047         * locale/localeinfo.h: Likewise.
12048         * sysdeps/generic/machine-gmon.h: Likewise.
12049         * sysdeps/generic/sysdep.h: Likewise.
12050         * sysdeps/i386/sysdep.h: Likewise.
12051         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12052         * sysdeps/mach/sysdep.h: Likewise.
12053         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12054         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12055         * sysdeps/sh/sysdep.h: Likewise.
12056         * sysdeps/sparc/sparc32/alloca.S: Likewise.
12057         * sysdeps/unix/i386/sysdep.S: Likewise.
12058         * sysdeps/unix/sparc/start.c: Likewise.
12059         * sysdeps/unix/sparc/sysdep.S: Likewise.
12060         * sysdeps/unix/sparc/sysdep.h: Likewise.
12061         * sysdeps/unix/start.c: Likewise.
12062         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12063         * sysdeps/x86_64/sysdep.h: Likewise.
12065 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
12067         [BZ #13553]
12068         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12069         for non-gcc.
12070         * argp/argp-fmtstream.h: Use const instead __const.
12071         * argp/argp.h: Likewise.
12072         * assert/assert.h: Likewise.
12073         * bits/fenv.h: Likewise.
12074         * bits/sched.h: Likewise.
12075         * bits/sigset.h: Likewise.
12076         * bits/sigthread.h: Likewise.
12077         * catgets/nl_types.h: Likewise.
12078         * conform/data/pthread.h-data: Likewise.
12079         * crypt/crypt-private.h: Likewise.
12080         * crypt/crypt.h: Likewise.
12081         * crypt/crypt_util.c: Likewise.
12082         * ctype/ctype.h: Likewise.
12083         * debug/execinfo.h: Likewise.
12084         * debug/mbsnrtowcs_chk.c: Likewise.
12085         * debug/mbsrtowcs_chk.c: Likewise.
12086         * debug/wcsnrtombs_chk.c: Likewise.
12087         * debug/wcsrtombs_chk.c: Likewise.
12088         * debug/wcstombs_chk.c: Likewise.
12089         * dirent/dirent.h: Likewise.
12090         * dlfcn/dlfcn.h: Likewise.
12091         * elf/neededtest4.c: Likewise.
12092         * grp/grp.h: Likewise.
12093         * gshadow/gshadow.h: Likewise.
12094         * iconv/gconv.h: Likewise.
12095         * iconv/gconv_int.h: Likewise.
12096         * iconv/gconv_simple.c: Likewise.
12097         * iconv/iconv.h: Likewise.
12098         * iconv/loop.c: Likewise.
12099         * iconv/skeleton.c: Likewise.
12100         * include/aio.h: Likewise.
12101         * include/aliases.h: Likewise.
12102         * include/argz.h: Likewise.
12103         * include/arpa/inet.h: Likewise.
12104         * include/assert.h: Likewise.
12105         * include/dirent.h: Likewise.
12106         * include/dlfcn.h: Likewise.
12107         * include/execinfo.h: Likewise.
12108         * include/fcntl.h: Likewise.
12109         * include/fenv.h: Likewise.
12110         * include/glob.h: Likewise.
12111         * include/grp.h: Likewise.
12112         * include/libintl.h: Likewise.
12113         * include/mntent.h: Likewise.
12114         * include/netdb.h: Likewise.
12115         * include/pwd.h: Likewise.
12116         * include/rpc/netdb.h: Likewise.
12117         * include/sched.h: Likewise.
12118         * include/search.h: Likewise.
12119         * include/shadow.h: Likewise.
12120         * include/signal.h: Likewise.
12121         * include/stdio.h: Likewise.
12122         * include/stdlib.h: Likewise.
12123         * include/string.h: Likewise.
12124         * include/sys/socket.h: Likewise.
12125         * include/sys/stat.h: Likewise.
12126         * include/sys/statfs.h: Likewise.
12127         * include/sys/statvfs.h: Likewise.
12128         * include/sys/syslog.h: Likewise.
12129         * include/sys/time.h: Likewise.
12130         * include/sys/uio.h: Likewise.
12131         * include/time.h: Likewise.
12132         * include/unistd.h: Likewise.
12133         * include/utmp.h: Likewise.
12134         * include/wchar.h: Likewise.
12135         * include/wctype.h: Likewise.
12136         * inet/aliases.h: Likewise.
12137         * inet/arpa/inet.h: Likewise.
12138         * inet/netinet/ether.h: Likewise.
12139         * inet/netinet/in.h: Likewise.
12140         * intl/libintl.h: Likewise.
12141         * io/bits/fcntl2.h: Likewise.
12142         * io/fcntl.h: Likewise.
12143         * io/ftw.h: Likewise.
12144         * io/sys/poll.h: Likewise.
12145         * io/sys/stat.h: Likewise.
12146         * io/sys/statfs.h: Likewise.
12147         * io/sys/statvfs.h: Likewise.
12148         * io/utime.h: Likewise.
12149         * libio/bits/stdio.h: Likewise.
12150         * libio/bits/stdio2.h: Likewise.
12151         * libio/libio.h: Likewise.
12152         * libio/libioP.h: Likewise.
12153         * libio/stdio.h: Likewise.
12154         * locale/lc-ctype.c: Likewise.
12155         * locale/locale.h: Likewise.
12156         * login/utmp.h: Likewise.
12157         * malloc/arena.c: Likewise.
12158         * malloc/malloc.c: Likewise.
12159         * malloc/malloc.h: Likewise.
12160         * malloc/mcheck.c: Likewise.
12161         * malloc/mtrace.c: Likewise.
12162         * math/bits/mathcalls.h: Likewise.
12163         * math/fenv.h: Likewise.
12164         * math/math_private.h: Likewise.
12165         * misc/bits/error.h: Likewise.
12166         * misc/bits/syslog.h: Likewise.
12167         * misc/err.h: Likewise.
12168         * misc/error.h: Likewise.
12169         * misc/fstab.h: Likewise.
12170         * misc/mntent.h: Likewise.
12171         * misc/regexp.h: Likewise.
12172         * misc/search.h: Likewise.
12173         * misc/sgtty.h: Likewise.
12174         * misc/sys/mman.h: Likewise.
12175         * misc/sys/syslog.h: Likewise.
12176         * misc/sys/uio.h: Likewise.
12177         * misc/sys/xattr.h: Likewise.
12178         * misc/ttyent.h: Likewise.
12179         * nis/rpcsvc/ypclnt.h: Likewise.
12180         * nss/nss.h: Likewise.
12181         * posix/bits/unistd.h: Likewise.
12182         * posix/fnmatch.h: Likewise.
12183         * posix/glob.h: Likewise.
12184         * posix/sched.h: Likewise.
12185         * posix/spawn.h: Likewise.
12186         * posix/sys/wait.h: Likewise.
12187         * posix/unistd.h: Likewise.
12188         * posix/wordexp.h: Likewise.
12189         * pwd/pwd.h: Likewise.
12190         * resolv/netdb.h: Likewise.
12191         * resource/sys/resource.h: Likewise.
12192         * rt/aio.h: Likewise.
12193         * rt/bits/mqueue2.h: Likewise.
12194         * rt/mqueue.h: Likewise.
12195         * shadow/shadow.h: Likewise.
12196         * signal/signal.h: Likewise.
12197         * socket/send.c: Likewise.
12198         * socket/sendto.c: Likewise.
12199         * socket/sys/socket.h: Likewise.
12200         * stdio-common/printf.h: Likewise.
12201         * stdlib/bits/stdlib.h: Likewise.
12202         * stdlib/fmtmsg.h: Likewise.
12203         * stdlib/monetary.h: Likewise.
12204         * stdlib/stdlib.h: Likewise.
12205         * stdlib/ucontext.h: Likewise.
12206         * streams/stropts.h: Likewise.
12207         * string/argz.h: Likewise.
12208         * string/bits/string2.h: Likewise.
12209         * string/string.h: Likewise.
12210         * string/strings.h: Likewise.
12211         * sunrpc/rpc/auth.h: Likewise.
12212         * sunrpc/rpc/auth_des.h: Likewise.
12213         * sunrpc/rpc/clnt.h: Likewise.
12214         * sunrpc/rpc/netdb.h: Likewise.
12215         * sunrpc/rpc/pmap_clnt.h: Likewise.
12216         * sunrpc/rpc/xdr.h: Likewise.
12217         * sysdeps/generic/inttypes.h: Likewise.
12218         * sysdeps/generic/net/if.h: Likewise.
12219         * sysdeps/generic/sys/swap.h: Likewise.
12220         * sysdeps/gnu/net/if.h: Likewise.
12221         * sysdeps/gnu/utmpx.h: Likewise.
12222         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12223         * sysdeps/i386/i486/bits/string.h: Likewise.
12224         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12225         * sysdeps/s390/bits/string.h: Likewise.
12226         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12227         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12228         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12229         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12230         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12231         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12232         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12233         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12234         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12235         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12236         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12237         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12238         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12239         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12240         * sysdeps/unix/sysv/linux/readv.c: Likewise.
12241         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12242         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12243         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12244         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12245         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12246         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12247         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12248         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12249         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12250         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12251         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12252         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12253         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12254         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12255         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12256         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12257         * sysvipc/sys/ipc.h: Likewise.
12258         * sysvipc/sys/msg.h: Likewise.
12259         * sysvipc/sys/sem.h: Likewise.
12260         * sysvipc/sys/shm.h: Likewise.
12261         * termios/termios.h: Likewise.
12262         * time/sys/time.h: Likewise.
12263         * time/time.h: Likewise.
12264         * wcsmbs/bits/wchar2.h: Likewise.
12265         * wcsmbs/uchar.h: Likewise.
12266         * wcsmbs/wchar.h: Likewise.
12267         * wctype/wctype.h: Likewise.
12269         [BZ #13551]
12270         * Makeconfig: Remove all but ELF support including AIX support.
12271         * Makerules: Likewise.
12272         * config.h.in: Likewise.
12273         * config.make.in: Likewise.
12274         * configure: Likewise.
12275         * configure.in: Likewise.
12276         * csu/Makefile: Likewise.
12277         * csu/version.c: Likewise.
12278         * debug/Makefile: Likewise.
12279         * dlfcn/Makefile: Likewise.
12280         * elf/Makefile: Likewise.
12281         * extra-lib.mk: Likewise.
12282         * iconv/Makefile: Likewise.
12283         * include/libc-symbols.h: Likewise.
12284         * include/shlib-compat.h: Likewise.
12285         * resolv/Makefile: Likewise.
12286         * resolv/res_libc.c: Likewise.
12287         * rt/Makefile: Likewise.
12288         * sysdeps/i386/asm-syntax.h: Likewise.
12289         * sysdeps/i386/sysdep.h: Likewise.
12290         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12291         * sysdeps/mach/sysdep.h: Likewise.
12292         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12293         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12294         * sysdeps/s390/asm-syntax.h: Likewise.
12295         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12296         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12297         * sysdeps/sh/sysdep.h: Likewise.
12298         * sysdeps/unix/sparc/sysdep.h: Likewise.
12299         * sysdeps/wordsize-32/divdi3.c: Likewise.
12300         * sysdeps/x86_64/sysdep.h: Likewise.
12302         * argp/Versions: Remove _argp_unlock_xxx.
12304         [BZ #13559]
12305         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
12306         * abilist/libBrokenLocale.abilist: Likewise.
12307         * abilist/libanl.abilist: Likewise.
12308         * abilist/libc.abilist: Likewise.
12309         * abilist/libcrypt.abilist: Likewise.
12310         * abilist/libdl.abilist: Likewise.
12311         * abilist/libm.abilist: Likewise.
12312         * abilist/libnsl.abilist: Likewise.
12313         * abilist/libpthread.abilist: Likewise.
12314         * abilist/libresolv.abilist: Likewise.
12315         * abilist/librt.abilist: Likewise.
12316         * abilist/libthread_db.abilist: Likewise.
12317         * abilist/libutil.abilist: Likewise.
12318         * abilist/libnss_db.abilist: New file.
12320         * scripts/abilist.awk: Add support for indirect functions.
12322         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12324         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12326         * shlib-versions: Remove entries for ports architectures.
12328         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
12329         files in ports.
12330         * elf/stackguard-macros.h: Remove support for IA-64.
12331         * elf/tst-auditmod1.c: Likewise.
12332         * sysdeps/generic/ldsodefs.h: Likewise.
12334         * sysdeps/unix/sysv/linux/configure.in: Ports should define
12335         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12336         configure files.
12338         [BZ #13552]
12339         * configure.in: Remove --enable-omitfp support.
12340         * FAQ.in: Adjust.
12341         * config.make.in: Likewise.
12342         * Makeconfig: Likewise.
12343         * manual/install.texi: Likewise.
12345         In case anyone cares, the IA-64 architecture could move to ports.
12346         * sysdeps/ia64/*: Removed.
12347         * sysdeps/unix/sysv/linux/ia64/*: Removed.
12348         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12350         [BZ #13555]
12351         * configure.in: Remove entries for unsupported architectures.
12353         [BZ #13533]
12354         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12355         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
12356         routines.
12357         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12358         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12359         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
12360         fall back to using wcrtomb.
12361         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12362         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
12363         renaming.
12364         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12365         * wcsmbs/tst-c16c32-1.c: New file.
12367         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12368         local variable.
12370         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12372         * elf/tst-unique3.cc: Add explicit declaration of gets.
12373         * elf/tst-unique3lib.cc: Likewise.
12374         * elf/tst-unique3lib2.cc: Likewise.
12375         * elf/tst-unique4.cc: Likewise.
12377         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12379 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
12381         [BZ #13566]
12382         * assert/assert.h (static_assert): Don't define for C++.
12383         * libio/stdio.h (gets): Do declare for C++ <= C++11.
12384         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12386 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
12388         * iconv/loop.c (single loop): Fix assertion in storing of
12389         remaining bytes.
12391         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12393 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
12395         * posix/getconf.c: Update copyright year.
12396         * nss/getent.c: Likewise.
12397         * nss/makedb.c: Likewise.
12398         * iconv/iconvconfig.c: Likewise.
12399         * iconv/iconv_prog.c: Likewise.
12400         * elf/ldconfig.c: Likewise.
12401         * elf/pldd.c: Likewise.
12402         * elf/sotruss.ksh: Likewise.
12403         * catgets/gencat.c: Likewise.
12404         * csu/version.c: Likewise.
12405         * elf/ldd.bash.in: Likewise.
12406         * elf/sprof.c (print_version): Likewise.
12407         * locale/programs/locale.c: Likewise.
12408         * locale/programs/localedef.c: Likewise.
12409         * login/programs/pt_chown.c: Likewise.
12410         * nscd/nscd.c (print_version): Likewise.
12411         * debug/xtrace.sh: Likewise.
12412         * malloc/memusage.sh: Likewise.
12413         * malloc/mtrace.pl: Likewise.
12414         * debug/catchsegv.sh: Likewise.
12416 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
12418         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12419         pure attribute.
12421 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
12423         [BZ #13533]
12424         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12425         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12426         transformations.
12427         * iconv/gconv_int.h: Likewise.
12428         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12429         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12430         from libc for GLIBC_2.16.
12431         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12432         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12433         * wcsmbs/uchar.h: Really define mbstate_t.
12434         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12435         * wcsmbs/c16rtomb.c: New file.
12436         * wcsmbs/mbrtoc16.c: New file.
12437         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12438         for C/POSIX locale.
12439         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12440         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12442         * wcsmbs/wchar.h: Add missing __restrict.
12444 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12446         [BZ #13532]
12447         * time/Makefile (routines): Add timespec_get.
12448         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12449         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
12450         timespec for ISO C11.
12451         * time/timespec_get.c: New file.
12452         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12453         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12455         [BZ #13531]
12456         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12457         * stdlib/stdlib.h: Declare aligned_alloc.
12458         * Versions.def: Add GLIBC_2.16 for libc.
12459         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12461         [BZ 13527]
12462         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12463         ISO C11.
12465         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12466         code.
12468         [BZ #13528]
12469         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12471         [BZ #13529]
12472         * assert/assert.h (static_assert): Define.
12474         * version.h: Update for 2.16 development version.
12476         [BZ #13526]
12477         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12478         _ISOC11_SOURCE.
12480         * version.h (RELEASE): Bump for 2.15 release.
12481         * include/features.h (__GLIBC_MINOR__): Bump to 15.
12483         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12484         Patch by Marek Polacek <mpolacek@redhat.com>.
12486         * bits/byteswap.h: Protect long long constants with __extension__.
12487         * sysdeps/i386/bits/byteswap.h: Likewise.
12488         * sysdeps/ia64/bits/byteswap.h: Likewise.
12489         * sysdeps/s390/bits/byteswap.h: Likewise.
12490         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12492 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12494         [BZ #13540]
12495         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12496         destination buffer.
12497         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12499 2011-12-23  Marek Polacek  <polacek@redhat.com>
12501         * elf/dl-addr.c (determine_info): Add inline keyword.
12502         * elf/tst-auditmod4b.c (check_avx): Likewise.
12503         * elf/tst-auditmod6b.c (check_avx): Likewise.
12504         * elf/tst-auditmod6c.c (check_avx): Likewise.
12505         * elf/tst-auditmod7b.c (check_avx): Likewise.
12507 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12509         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12510         !__SSE_MATH__.
12512 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12514         [BZ #13540]
12515         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12516         processing for last bytes.
12518 2011-08-06  Bruno Haible  <bruno@clisp.org>
12520         [BZ #13061]
12521         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12522         U+0385, not to U+1FEE.
12524         [BZ #13062]
12525         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12526         entry for U+00A5 U+0301.
12528 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
12530         [BZ #13166]
12531         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12532         buffer for the output is too small.
12534         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12535         optimization.
12537         [BZ #13185]
12538         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12539         SSE flags if possible.
12541 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12543         [BZ #13540]
12544         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12545         processing for last bytes.
12547 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
12549         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12550         (syscall-list-default-options, syscall-list-default-condition)
12551         (syscall-list-includes): Define.
12552         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12553         list of ABIs and options and #if conditions for each ABI.  Do not
12554         handle common syscalls between ABIs specially.
12555         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12556         Remove.
12557         (syscall-list-variants, syscall-list-32bit-options)
12558         (syscall-list-32bit-condition, syscall-list-64bit-options)
12559         (syscall-list-64bit-condition): Define.
12560         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12561         (syscall-list-variants, syscall-list-32bit-options)
12562         (syscall-list-32bit-condition, syscall-list-64bit-options)
12563         (syscall-list-64bit-condition): Define.
12564         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12565         Remove.
12566         (syscall-list-variants, syscall-list-32bit-options)
12567         (syscall-list-32bit-condition, syscall-list-64bit-options)
12568         (syscall-list-64bit-condition): Define.
12569         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12570         Remove.
12571         (syscall-list-variants, syscall-list-32bit-options)
12572         (syscall-list-32bit-condition, syscall-list-64bit-options)
12573         (syscall-list-64bit-condition): Define.
12575 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
12577         * locale/iso-639.def: Add brx entry.
12579         [BZ #13328]
12580         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12581         Proposed by Mariusz_Cukr <marcukr@op.pl>.
12583         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12584         __feraiseexcept_renamed.
12586 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
12588         [BZ #13538]
12589         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12590         EPOLLET with unsigned values.
12591         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12592         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12594         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12595         to large cancellation.
12596         * math/s_cacoshf.c: Likewise.
12597         * math/s_cacoshl.c: Likewise.
12599 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
12601         [BZ #13305]
12602         [BZ #12786]
12603         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12604         * math/s_cacoshf.c: Likewise.
12605         * math/s_cacoshl.c: Likewise.
12607 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
12609         [BZ #13439]
12610         * iconv/gconv.h: Define __GCONV_SWAP.
12611         * iconvdata/unicode.c: The swap bit must be stored in __flags.
12612         * iconvdata/utf-16.c: Likewise.
12613         * iconvdata/utf-32.c: Likewise.
12615 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
12617         [BZ #13524]
12618         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12619         numerator after shifting it by one limb.
12621 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
12623         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12624         under [__USE_EXTERN_INLINES].
12626 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
12628         [BZ #13446]
12629         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12631 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12633         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12634         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12635         optimized code.
12636         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12637         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12638         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12639         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12640         for strncasecmp/strncasecmp_l compilation.
12641         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12642         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12644 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
12646         [BZ #13484]
12647         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12648         of __asm__.
12650 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
12652         [BZ #13506]
12653         * time/tzfile.c (__tzfile_read): Check values from file header.
12655 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
12657         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12658         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12659         * powerpc/powerpc32/dl-start.S: Likewise.
12660         * powerpc/powerpc32/elf/start.S: Likewise.
12661         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12662         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12663         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12664         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12665         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12666         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12667         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12668         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12669         * powerpc/powerpc32/fpu/s_round.S: Likewise.
12670         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12671         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12672         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12673         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12674         * powerpc/powerpc32/memset.S: Likewise.
12675         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12676         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12677         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12678         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12679         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12680         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12681         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12682         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12683         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12684         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12685         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12686         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12687         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12689 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12691         * math/libm-test.inc: Added more nearbyint tests.
12692         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12693         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12694         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12695         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12697 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
12699         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12700         FD_CLOEXEC.
12702 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12704         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12705         Add wcscpy-ssse3 wcscpy-c.
12706         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12707         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12708         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12709         * sysdeps/x86_64/wcschr.S: New file.
12710         * sysdeps/x86_64/wcsrchr.S: New file.
12711         * string/test-strcmp.c: Remove checking of wcscmp function for
12712         wrong alignments.
12713         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12714         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12715         wcsrchr-sse2 wcsrchr-c.
12716         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12717         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12718         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12719         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12720         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12721         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12722         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12723         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12724         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12725         * wcsmbc/wcschr.c (WCSCHR): New macro.
12727 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12729         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12730         * wcsmbs/test-wcsrchr.c: New file.
12731         * string/test-strrchr.c: Add wcsrchr support.
12732         (WIDE): New macro.
12733         * wcsmbs/test-wcscpy.c: New file.
12734         * string/test-strcpy.c: Add wcscpy support.
12735         (WIDE): New macro.
12737 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
12739         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12740         the inner loop.
12742 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
12744         [BZ #13472]
12745         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12747 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
12749         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12750         Minor optimizations.
12752         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12753         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12754         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12756 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
12758         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12759         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12760         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12761         for gcc to avoid warnings.
12762         * inet/Makefile (tests): Add tst-checks.
12763         * inet/tst-checks.c: New file.
12765         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12766         warning.
12768         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12769         __wmemcmp_sse2.
12771         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12772         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12774         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12776 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
12778         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12779         problem.
12781         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12783 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
12785         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12786         conditional on GCC version.
12787         (__arch_compare_and_exchange_val_8_acq)
12788         (__arch_compare_and_exchange_val_16_acq)
12789         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12790         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12791         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12793 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
12795         * sysdeps/sh/backtrace.c: New file.
12797 2011-12-02  Andreas Schwab  <schwab@redhat.com>
12799         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
12800         parenthesis.
12802 2011-12-01  Andreas Schwab  <schwab@redhat.com>
12804         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12805         falling back to utime.
12807 2011-11-30  Andreas Schwab  <schwab@redhat.com>
12809         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12810         expectations for float.
12812 2011-11-29  Andreas Schwab  <schwab@redhat.com>
12814         * locale/weight.h (findidx): Add parameter len.
12815         * locale/weightwc.h (findidx): Likewise.
12816         * posix/fnmatch_loop.c (FCT): Adjust caller.
12817         * posix/regcomp.c (build_equiv_class): Likewise.
12818         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12819         * posix/regexec.c (check_node_accept_bytes): Likewise.
12820         * string/strcoll_l.c (STRCOLL): Likewise.
12821         * string/strxfrm_l.c (STRXFRM): Likewise.
12823 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
12825         * Makefile.in: Remove CVSOPT handling.
12826         * configure.in: Remove use of AC_REVISION.
12827         * iconvdata/Makefile (distribute): No need to filter out CVS.
12828         * scripts/list-sources.sh: Remove CVS, subversion and monotone
12829         handling.
12831 2011-11-16  Andreas Schwab  <schwab@redhat.com>
12833         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12834         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12835         [USE_AS_STRNCASECMP_L]: Likewise.
12836         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12837         NO_TLS_DIRECT_SEG_REFS.
12838         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12839         Fix argument offsets for non-PIC.
12840         [USE_AS_STRNCASECMP_L]: Likewise.
12841         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12842         NO_TLS_DIRECT_SEG_REFS.
12844 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
12846         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12847         O_CLOEXEC.
12848         * locale/loadlocale.c (_nl_load_locale): Likewise.
12850 2011-11-15  Andreas Schwab  <schwab@redhat.com>
12852         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12853         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12854         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12855         (SYSCALL_GETTIME): Set errno on error.
12857         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12858         count references to noai6ai_cached.
12860 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
12862         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12864         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12865         FD_CLOEXEC for /proc/self/maps.
12867         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12868         FD_CLOEXEC for /proc/meminfo.
12870         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12871         gai.conf.
12873         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
12874         FD_CLOEXEC for given file.
12876         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12878         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12879         FD_CLOEXEC for /etc/hosts.
12880         (_gethtent): Likewise.
12882         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12884         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12885         cancellation and set FD_CLOEXEC for /etc/netgroup.
12887         * nss/nss_files/files-key.c (search): Don't allow cancellation when
12888         reading /etc/publickey.
12890         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12891         allow cancellation when reading /etc/group.
12893         * nss/nss_files/files-alias.c (internal_setent): Don't allow
12894         cancellation.
12895         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
12897         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12898         when using data file.
12900         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12902         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12903         (write_nis_obj): Use "c" and "e" in fopen.
12905         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12907         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12909         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12911         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12913         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12914         locale.alias.
12916         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12918         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12920         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12922         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12923         file parsing and set FD_CLOEXEC.
12925 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
12927         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12929 2011-11-14  Andreas Schwab  <schwab@redhat.com>
12931         * malloc/arena.c (arena_get2): Don't call reused_arena when
12932         _int_new_arena failed.
12934 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
12936         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12937         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12938         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12939         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12940         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12941         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12942         to compile strcasecmp and strncasecmp.
12943         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12944         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12946         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12948 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
12950         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12951         locale-defines.sym to gen-as-const-headers.
12952         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12953         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12954         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12955         to compile strcasecmp and strncasecmp.
12956         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12957         strcasecmp_l and strncasecmp_l.
12958         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12959         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12960         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12961         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12962         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12963         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12964         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12965         * sysdeps/i386/i686/multiarch/strncase.S: New file.
12966         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12967         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12968         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12970 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
12972         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12973         result of SYSDEP_GETTIME_CPU to retval.
12974         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12975         parameter list to macro.  Remove trailing semicolon.  Adjust users.
12977         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12978         variable.
12980         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12981         mantissa words.
12982         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12984         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12985         from unused variable.
12987         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12988         DWARF definitions.
12989         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12990         for assembling.
12992         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12993         over namespaces.
12995         * sunrpc/rpc_prot.c (rejected): Fix case value.
12997         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12998         unsigned long long int to avoid warnings in shift.
13000         * posix/regex_internal.c (re_string_reconstruct): Actually use result
13001         of use of trans.
13002         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13003         variable tmp.
13005         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13006         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13007         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13009         * nis/nis_table.c (nis_list): Use variable of correct type for
13010         result of __follow_path call.
13012 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13014         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13015         of math functions ceil, trunc, floor, round, and sqrt, when
13016         avaliable on the platform.
13017         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13018         name clash.
13019         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13020         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13021         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13023 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
13025         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13026         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13028 2011-11-11  Roland McGrath  <roland@hack.frob.com>
13030         * include/unistd.h: Fix __readlink return type.
13031         Reported by Chris Metcalf <cmetcalf@tilera.com>.
13033 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
13035         * stdlib/ucontext.h: Undo last change for makecontext.
13037 2011-11-11  Andreas Schwab  <schwab@redhat.com>
13039         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13041         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13042         * setjmp/setjmp.h: Mark functions as non-leaf.
13043         * setjmp/bits/setjmp2.h: Likewise.
13044         * stdlib/ucontext.h: Likewise.
13046 2011-11-10  Andreas Schwab  <schwab@redhat.com>
13048         * malloc/arena.c (_int_new_arena): Don't increment narenas.
13049         (reused_arena): Don't check arena limit.
13050         (arena_get2): Atomically check arena limit.
13052 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
13054         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13055         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13057         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13058         instructions.
13060 2011-11-07  Andreas Schwab  <schwab@redhat.com>
13062         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13063         handler when locking.
13065         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13066         Fix size of allocated buffer.
13068 2011-11-04  Andreas Schwab  <schwab@redhat.com>
13070         [BZ #10103]
13071         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13072         declarations for long double functions.
13073         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13075         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13077 2011-11-03  Andreas Schwab  <schwab@redhat.com>
13079         * nscd/nscd.c (main): Don't start AVC thread until credentials are
13080         installed.
13082         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13083         is disabled.
13085 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13087         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13089 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13091         * include/alloca.h (stackinfo_alloca_round): Define.
13092         (extend_alloca): Use it.
13093         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13094         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13095         here.
13097         * scripts/check-local-headers.sh: Ignore libaudit.h.
13099         * nscd/Makefile (extra-objs): Make recursively expanded.
13101 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
13103         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13104         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13106         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13107         * posix/tst-rfc3484-2.c: Likewise.
13108         * posix/tst-rfc3484-3.c: Likewise.
13110         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13111         process_vm_writev.
13112         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13113         process_vm_writev.
13114         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13115         process_vm_writev from libc using GLIBC_2.15 version.
13117         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13119 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
13121         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13122         stack usage.
13124 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
13126         [BZ #13367]
13127         * nss/getent.c (initgroups_keys): Show error message in case no group
13128         names are given.
13130         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13131         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13132         __bump_nl_timestamp.
13133         * nscd/connections (nscd_init): When host database is served open
13134         netlink socket and request notification about configuration changes.
13135         (main_loop_poll): Track netlink file descriptor and bump timestamp
13136         in case data becomes available.
13137         (main_loop_epoll): Likewise.
13138         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13139         (database_pers_head): Add extra_data fileds.
13140         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13141         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13142         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13143         Adjust caller.
13144         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13145         in6ai data, call __free_in6ai.
13146         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13147         Add -DHAVE_NETLINK.
13148         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
13149         interface information.  Reuse previous data if netlink timestamp
13150         is not changed.
13151         (__bump_nl_timestamp): New function.
13152         (__free_in6ai): New function.
13154 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
13156         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13157         close_not_cancel_no_status here.
13158         (__check_pf): Reorganize code a bit to not call close twice if OOM.
13160 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13162         [BZ #13276]
13163         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13164         return value.
13166         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13167         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13168         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13170 2011-07-03  Andreas Jaeger  <aj@suse.de>
13172         [BZ #10709]
13173         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13174         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13175         * math/libm-test.inc (sin_test): Add test case.
13177 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13179         [BZ #13337]
13180         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13181         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13183         * elf/chroot_canon.c (chroot_canon): Cleanups.
13185         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13187         [BZ #13335]
13188         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13189         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13191         * string/test-strchr.c: Make usable for strchrnul testing.
13192         * string/test-strchrnul.c: New file.
13193         * string/Makefile (strop-tests): Add strchrnul.
13195         * po/it.po: Update from translation team.
13196         * po/es.po: Likewise.
13198 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
13200         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13201         the three constants needed as parameters.  Drop the others.
13202         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13203         __m128i_strloadu_tolower.
13204         Create and initialize variable zero and use it in all the places
13205         where _mm_setzero_si128 was used.
13207         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13208         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13209         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13210         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13211         anymore.
13212         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13213         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13214         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13215         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13216         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13217         __mpranred, __mptan.
13218         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13219         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13220         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13221         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13222         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13223         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13224         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13225         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13226         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13228 2011-10-28  Andreas Schwab  <schwab@redhat.com>
13230         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13231         redefine if SHARED.
13232         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13234         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13235         wide char related routines to wcsmbs subdir.
13237 2011-10-27  Andreas Schwab  <schwab@redhat.com>
13239         [BZ #13344]
13240         * misc/sys/cdefs.h (__THROWNL): Define.
13241         * posix/unistd.h: Use __THREADNL instead of __THREAD
13242         for memory synchronization functions.
13244 2011-10-26  Roland McGrath  <roland@hack.frob.com>
13246         [BZ #13349]
13247         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13248         doesn't exist.
13249         * manual/stdio.texi (Obstack Streams): Node removed.
13251 2011-10-26  Andreas Schwab  <schwab@redhat.com>
13253         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13254         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13255         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13257         * math/math_private.h (math_force_eval): Allow non-addressable
13258         arguments.
13259         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13261 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13263         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13264         file is not needed.
13266         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13267         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13268         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13269         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13270         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13271         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13272         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13273         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13274         Add AVX variants.
13275         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13276         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13277         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13278         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13279         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13280         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13281         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13282         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13283         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13284         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13285         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13286         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13287         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13288         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13289         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13290         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13291         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13292         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13293         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13295         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13296         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
13298         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13299         place.  Use VEX encoding when compiling for AVX.
13301 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13303         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13304         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13306         * string/test-strchr.c (do_test): Don't generate NUL bytes.
13308 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13310         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13311         useless if() expression.
13312         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13313         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13314         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13315         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13316         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13317         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13318         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13319         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13320         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13321         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13322         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13323         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13324         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13325         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13326         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13327         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13328         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13329         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13330         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13332         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13334 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13336         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13337         condition.
13338         * elf/dl-fini.c (_dl_sort_fini): Likewise.
13340 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13342         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13343         .text section.  Avoid duplicate constants.
13344         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13345         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13346         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13347         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13348         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13349         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13350         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13351         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13352         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13353         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13354         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13355         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13356         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13357         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13358         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13359         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13360         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13361         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13362         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13363         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13364         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13365         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13366         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13367         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13368         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13369         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13370         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13371         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13372         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13373         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13374         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13375         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13376         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13377         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13378         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13379         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13380         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13381         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13382         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13383         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13384         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13385         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13386         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13387         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13388         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13390 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
13392         * sysdeps/x86_64/dla.h: Move to ...
13393         * sysdeps/x86_64/fpu/dla.h: ...here.
13394         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13395         situations.  Use __builtin_fma only for gcc 4.6 and up.
13397         * config.make.in: Add have-mfma4 entry.
13398         * configure.in: Substitute libc_cv_cc_fma4.
13399         * math/Makefile (dbl-only-routines): Add sincostab.
13400         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13401         Use __sincostab not sincos.
13402         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13403         name is a macro.
13404         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13405         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13406         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13407         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
13408         using __copysign.
13409         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
13410         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
13411         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13412         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13413         and __inv.
13414         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13415         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13416         __copysign.
13417         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
13418         define aliases when function name is a macro.
13419         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13420         sysdeps/ieee754/dbl-64/sincos.tbl.
13421         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13422         fma4-enabled routines.
13423         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13424         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13425         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13426         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13427         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13428         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13429         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13430         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13431         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13432         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13433         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13434         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13435         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13436         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13437         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13438         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13439         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13440         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13441         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13442         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13443         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13444         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13445         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13446         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13447         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13448         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13449         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13450         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13451         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13452         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13454         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13455         rename.
13456         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13457         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13458         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13459         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13460         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13461         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13462         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13463         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13465 2011-10-24  Andreas Schwab  <schwab@redhat.com>
13467         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13469 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13471         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13473         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13474         prediction.
13475         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13477         * string/strnlen.c: Don't define STRNLEN, reverse logic.
13478         Remove unused variable magic_bits.
13479         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13481         * string/strnlen.c: Define and use STRNLEN macro.
13482         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13483         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13484         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13485         * wcsmbs/wcslen.c: Define and use WCSLEN.
13486         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13487         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13488         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13489         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13490         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13491         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13492         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13494 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13497         strnlen-sse2-no-bsf.
13498         Rename strlen-no-bsf to strlen-sse2-no-bsf.
13499         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13500         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13501         Add strnlen support.
13502         (USE_AS_STRNLEN): New macro.
13503         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13504         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13505         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13506         * sysdeps/x86_64/wcslen.S: New file.
13508 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
13510         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13511         XMM-moves are used for copying on small sizes.
13513 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13515         * wcsmbs/Makefile (strop-tests): Add wcschr.
13516         * wcsmbs/test-wcschr.c: New file.
13517         * string/test-strchr.c: Update.
13518         Add wcschr support.
13519         (WIDE): New macro.
13521 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13523         * wcsmbs/Makefile (strop-tests): Add wcslen.
13524         * wcsmbs/test-wcslen.c: New file.
13525         * string/test-strlen.c: Update.
13526         Add wcslen support.
13527         (WIDE): New macro.
13529 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13531         * po/it.po: Update from translation team.
13533 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13535         * sysdeps/x86_64/wcscmp.S: Update.
13536         Fix wrong comparison semantics.
13537         wcscmp shall use signed comparison not unsigned.
13538         Don't use substraction to avoid overflow bug.
13539         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13540         * wcsmbc/wcscmp.c: Likewise.
13541         * string/test-strcmp.c: Likewise.
13542         Add new tests to check cases with negative values.
13544 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13546         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13547         * sysdeps/x86_64/dla.h: ...here.  New file.
13548         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13549         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13550         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13551         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13552         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13553         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13554         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13555         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13556         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13558 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
13560         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13561         __ynl_finite aliases.
13563 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
13565         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13567         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13568         define DLA_FMA.
13569         [DLA_FMA] (EMULV): Use DLA_FMA.
13570         [DLA_FMA] (MUL12): Use EMULV.
13571         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13572         that are not needed.
13573         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13574         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13575         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13576         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13577         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13578         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13579         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13581 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
13583         * math/s_nan.c: Undef __nan.
13584         * math/s_nanf.c: Undef __nanf.
13585         * math/s_nanl.c: Undef __nanl.
13586         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13587         "math_private.h".
13589 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
13591         * math/s_catan.c: Add branch predictions.
13592         * math/s_catanf.c: Likewise.
13593         * math/s_catanh.c: Likewise.
13594         * math/s_catanhf.c: Likewise.
13595         * math/s_catanhl.c: Likewise.
13596         * math/s_catanl.c: Likewise.
13597         * math/s_cexp.c: Likewise.
13598         * math/s_cexpf.c: Likewise.
13599         * math/s_cexpl.c: Likewise.
13600         * math/s_clog.c: Likewise.
13601         * math/s_clog10.c: Likewise.
13602         * math/s_clog10f.c: Likewise.
13603         * math/s_clog10l.c: Likewise.
13604         * math/s_clogf.c: Likewise.
13605         * math/s_clogl.c: Likewise.
13606         * math/s_csqrt.c: Likewise.
13607         * math/s_csqrtf.c: Likewise.
13608         * math/s_csqrtl.c: Likewise.
13609         * math/s_ctanf.c: Likewise.
13610         * math/s_ctanh.c: Likewise.
13611         * math/s_ctanhf.c: Likewise.
13612         * math/s_ctanhl.c: Likewise.
13613         * math/s_ctanl.c: Likewise.
13615         * math/math_private.h: Define __nan, __nanf, __nanl.
13616         * math/s_cacosh.c: Include <math_private.h>.
13617         * math/s_cacoshl.c: Likewise.
13618         * math/s_casinh.c: Likewise.
13619         * math/s_casinhf.c: Likewise.
13620         * math/s_casinhl.c: Likewise.
13621         * math/s_ccos.c: Rely entire on ccosh.
13622         * math/s_ccosf.c: Rely entire on ccoshf.
13623         * math/s_ccosl.c: Rely entirely on ccoshl.
13624         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
13625         Remove tests for FE_INVALID.
13626         * math/s_ccoshf.c: Likewise.
13627         * math/s_ccoshl.c: Likewise.
13628         * math/s_csin.c: Likewise.
13629         * math/s_csinf.c: Likewise.
13630         * math/s_csinh.c Likewise.
13631         * math/s_csinhf.c: Likewise.
13632         * math/s_csinhl.c: Likewise.
13633         * math/s_csinl.c: Likewise.
13634         * math/s_ctan.c: Likewise.
13635         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13636         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13637         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13639 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
13641         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13642         compilation problems.
13644         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13645         __builtin_expect.
13647 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
13649         * sysdeps/i386/configure.in: Test for -mfma4 option.
13650         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13651         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13652         COMMON_CPUID_INDEX_80000001.
13653         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13654         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13655         use it if FMA3 is not supported.
13656         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13658         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13659         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13661 2011-10-20  Andreas Schwab  <schwab@redhat.com>
13663         [BZ #12892]
13664         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13665         it would create a cycle with a link time dependency.
13667 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
13669         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13670         instruction.
13671         * string/Makefile (strop-tests): Add rawmemchr.
13672         * string/test-rawmemchr.c: New file.
13674         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13675         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
13676         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
13677         when compiling str{,n}casecmp and when AVX is available.  Hook up
13678         new optimized code in initializers.
13680 2011-10-19  Andreas Schwab  <schwab@redhat.com>
13682         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13683         __feraiseexcept instead of feraiseexcept.
13685 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
13687         * math/math_private.h: Define defaults for libc_fetestexcept and
13688         libc_feupdateenv.
13689         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13690         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13691         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13692         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13693         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13694         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13695         libc_fetestexcept and libc_feupdateenv.
13697         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13698         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13699         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13700         * sysdeps/x86_64/fpu/math_private.h: Define special version of
13701         libc_feholdexcept_setround.
13703         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13704         Add s_nearbyint-c and s_nearbyintf-c.
13705         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13706         nearbyintf inlines.
13707         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13708         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13709         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13710         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13712         * math/math_private.h: Define defaults for libc_fegetround,
13713         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13714         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13715         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13716         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13717         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13718         standard functions.
13719         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13720         Remove comments and hacks for old compiler versions.
13721         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13722         libc_fegetround, libc_fesetround, libc_feholdexcept, and
13723         libc_feholdexceptl.
13725 2011-10-18  Andreas Schwab  <schwab@redhat.com>
13727         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13728         (__feraiseexcept_renamed): Add __NTH.
13729         (feraiseexcept): Add __NTH.  Rename local variables to fix
13730         namespace violations.
13732 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
13734         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13736         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13738         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13739         recently added interfaces.
13740         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13742         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13743         about macro parameter expansion.
13745         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13746         __NO_MATH_INLINES is defined.  Cleanups.
13748         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13749         and __floorf is target has SSE4.1.
13750         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13751         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13752         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13753         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13755         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13756         name.
13757         (floorf): Likewise.
13759         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13761 2011-10-17  Andreas Schwab  <schwab@redhat.com>
13763         * misc/sys/cdefs.h: Fix last change.
13765         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13766         database lookup.
13768 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
13770         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13772         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13773         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13774         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13775         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13776         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13777         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13778         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13779         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13780         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13781         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13782         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13783         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13784         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13785         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13786         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13787         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13788         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13789         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13790         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13791         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13792         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13793         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13795         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13796         ceil, ceilf, floor, floorf.
13798         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13799         Perform IRELATIVE relocations last.
13801         * elf/do-rel.h: Add another parameter nrelative, replacing the
13802         local variable with the same name.  Change name of the function
13803         to end in Rel or Rela (uppercase).
13804         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13805         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
13806         elf_dynamic_do_##reloc function.
13808 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
13810         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13811         is sufficient, at least on modern CPUs.
13813         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13815         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13816         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13818         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13819         __expl_finite.
13820         * math/bits/math-finite.h: Add entries for exp.
13821         * math/e_expl.c: Add __*_finite alias.
13822         * sysdeps/i386/fpu/e_exp.S: Likewise.
13823         * sysdeps/i386/fpu/e_expf.S: Likewise.
13824         * sysdeps/i386/fpu/e_expl.c: Likewise.
13825         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13826         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13827         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13828         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13829         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13830         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13831         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13833         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13834         is sufficient, at least on modern CPUs.
13836         * ctype/ctype-info.c (__ctype_init): Define.
13837         * include/ctype.h (__ctype_init): Declare.
13838         (__ctype_b_loc): The variable is always initialized.
13839         (__ctype_toupper_loc): Likewise.
13840         (__ctype_tolower_loc): Likewise.
13841         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13842         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13844 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
13846         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13848         * configure.in: Also look in $cxxmachine/include for C++ system
13849         headers.
13851 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13853         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13854         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13855         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13856         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
13857         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13858         (USE_AS_WMEMCMP): New macro.
13859         Fixing indents.
13860         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13861         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13862         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13863         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13864         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13865         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13866         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13867         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13868         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13869         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13870         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13871         (USE_AS_WMEMCMP): New macro.
13872         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13873         * sysdeps/string/test-memcmp.c: Update.
13874         Fix simple_wmemcmp.
13875         Add new tests.
13876         * wcsmbs/wmemcmp.c: Update.
13877         (WMEMCMP): New macro.
13878         Fix overflow bug.
13880 2011-10-12  Andreas Jaeger  <aj@suse.de>
13882         [BZ #13268]
13883         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13885 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
13887         * libio/iofwide.c (do_length): Avoid warning.
13889         * ctype/ctype.h (__isctype_f): Add missing __THROW.
13891 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
13893         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13895         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13896         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13897         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13898         * sysdeps/i386/i686/fpu/e_log.S: New file.
13899         * sysdeps/i386/i686/fpu/e_logf.S: New file.
13900         * sysdeps/i386/i686/fpu/e_logl.S: New file.
13902         * ctype/ctype.h: Add support for inlined isXXX functions when
13903         compiling C++ code.
13905 2011-10-14  Andreas Schwab  <schwab@redhat.com>
13907         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13909         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13911 2011-10-13  Roland McGrath  <roland@hack.frob.com>
13913         [BZ #13291]
13914         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13916 2011-10-13  Andreas Schwab  <schwab@redhat.com>
13918         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13919         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13920         feraiseexcept.
13922         * sysdeps/x86_64/memrchr.S: Check for zero size.
13924         * string/stratcliff.c: Add memrchr tests.
13926 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13928         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13929         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13930         rawmemchr-sse2 rawmemchr-sse2-bsf.
13931         * sysdeps/i386/i686/multiarch/memchr.S: New file.
13932         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13933         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13934         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13935         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13936         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13937         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13938         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13939         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13940         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13941         * string/memrchr.c (MEMRCHR): New macro.
13943 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
13945         Add integration with gcc's -ffinite-math-only and optimize wrapper
13946         functions in libm.
13947         * Versions.def: Define GLIBC_2.15 version for libm.
13948         * math/Makefile (headers): Add bits/math-finite.h.
13949         * math/bits/math-finite.h: New file.
13950         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13951         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13952         * math/e_acoshl.c: Add __*_finite alias.
13953         * math/e_acosl.c: Likewise.
13954         * math/e_asinl.c: Likewise.
13955         * math/e_atan2l.c: Likewise.
13956         * math/e_atanhl.c: Likewise.
13957         * math/e_coshl.c: Likewise.
13958         * math/e_exp10.c: Likewise.
13959         * math/e_exp10f.c: Likewise.
13960         * math/e_exp10l.c: Likewise.
13961         * math/e_exp2l.c: Likewise.
13962         * math/e_fmodl.c: Likewise.
13963         * math/e_gammal_r.c: Likewise.
13964         * math/e_hypotl.c: Likewise.
13965         * math/e_j0l.c: Likewise.
13966         * math/e_j1l.c: Likewise.
13967         * math/e_jnl.c: Likewise.
13968         * math/e_lgammal_r.c: Likewise.
13969         * math/e_log10l.c: Likewise.
13970         * math/e_log2l.c: Likewise.
13971         * math/e_logl.c: Likewise.
13972         * math/e_powl.c: Likewise.
13973         * math/e_sinhl.c: Likewise.
13974         * math/e_sqrtl.c: Likewise.
13975         * math/e_scalb.c: Completely rewritten and optimized.
13976         * math/e_scalbf.c: Likewise.
13977         * math/e_scalbl.c: Likewise.
13978         * math/w_acos.c: Likewise.
13979         * math/w_acosf.c: Likewise.
13980         * math/w_acosl.c: Likewise.
13981         * math/w_acosh.c: Likewise.
13982         * math/w_acoshf.c: Likewise.
13983         * math/w_acoshl.c: Likewise.
13984         * math/w_asin.c: Likewise.
13985         * math/w_asinf.c: Likewise.
13986         * math/w_asinl.c: Likewise.
13987         * math/w_atan2.c: Likewise.
13988         * math/w_atan2f.c: Likewise.
13989         * math/w_atan2l.c: Likewise.
13990         * math/w_atanh.c: Likewise.
13991         * math/w_atanhf.c: Likewise.
13992         * math/w_atanhl.c: Likewise.
13993         * math/w_exp10.c: Likewise.
13994         * math/w_exp10f.c: Likewise.
13995         * math/w_exp10l.c: Likewise.
13996         * math/w_fmod.c: Likewise.
13997         * math/w_fmodf.c: Likewise.
13998         * math/w_fmodl.c: Likewise.
13999         * math/w_j0.c: Likewise.
14000         * math/w_j0f.c: Likewise.
14001         * math/w_j0l.c: Likewise.
14002         * math/w_j1.c: Likewise.
14003         * math/w_j1f.c: Likewise.
14004         * math/w_j1l.c: Likewise.
14005         * math/w_jn.c: Likewise.
14006         * math/w_jnf.c: Likewise.
14007         * math/w_log.c: Likewise.
14008         * math/w_logf.c: Likewise.
14009         * math/w_logl.c: Likewise.
14010         * math/w_log10.c: Likewise.
14011         * math/w_log10f.c: Likewise.
14012         * math/w_log10l.c: Likewise.
14013         * math/w_log2.c: Likewise.
14014         * math/w_log2f.c: Likewise.
14015         * math/w_log2l.c: Likewise.
14016         * math/w_pow.c: Likewise.
14017         * math/w_powf.c: Likewise.
14018         * math/w_powl.c: Likewise.
14019         * math/w_remainder.c: Likewise.
14020         * math/w_remainderf.c: Likewise.
14021         * math/w_remainderl.c: Likewise.
14022         * math/w_scalb.c: Likewise.
14023         * math/w_scalbf.c: Likewise.
14024         * math/w_scalbl.c: Likewise.
14025         * math/w_sqrt.c: Likewise.
14026         * math/w_sqrtf.c: Likewise.
14027         * math/w_sqrtl.c: Likewise.
14028         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14029         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
14030         used.
14031         * math/math_private.h: Declare __kernel_standard_f.
14032         * math/w_cosh.c: Remove cruft and optimize a bit.
14033         * math/w_coshf.c: Likewise.
14034         * math/w_coshl.c: Likewise.
14035         * math/w_exp2.c: Likewise.
14036         * math/w_exp2f.c: Likewise.
14037         * math/w_exp2l.c: Likewise.
14038         * math/w_hypot.c: Likewise.
14039         * math/w_hypotf.c: Likewise.
14040         * math/w_hypotl.c: Likewise.
14041         * math/w_lgamma.c: Likewise.
14042         * math/w_lgamma_r.c: Likewise.
14043         * math/w_lgammaf.c: Likewise.
14044         * math/w_lgammaf_r.c: Likewise.
14045         * math/w_lgammal.c: Likewise.
14046         * math/w_lgammal_r.c: Likewise.
14047         * math/w_sinh.c: Likewise.
14048         * math/w_sinhf.c: Likewise.
14049         * math/w_sinhl.c: Likewise.
14050         * math/w_tgamma.c: Likewise.
14051         * math/w_tgammaf.c: Likewise.
14052         * math/w_tgammal.c: Likewise.
14053         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14054         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14055         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14056         Minor optimizations.  Pretty printing.  Remove cruft.
14057         * sysdeps/i386/fpu/e_acosf.S: Likewise.
14058         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14059         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14060         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14061         * sysdeps/i386/fpu/e_acosl.c: Likewise.
14062         * sysdeps/i386/fpu/e_asin.S: Likewise.
14063         * sysdeps/i386/fpu/e_asinf.S: Likewise.
14064         * sysdeps/i386/fpu/e_atan2.S: Likewise.
14065         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14066         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14067         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14068         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14069         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14070         * sysdeps/i386/fpu/e_exp10.S: Likewise.
14071         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14072         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14073         * sysdeps/i386/fpu/e_exp2.S: Likewise.
14074         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14075         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14076         * sysdeps/i386/fpu/e_fmod.S: Likewise.
14077         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14078         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14079         * sysdeps/i386/fpu/e_hypot.S: Likewise.
14080         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14081         * sysdeps/i386/fpu/e_log.S: Likewise.
14082         * sysdeps/i386/fpu/e_log10.S: Likewise.
14083         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14084         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14085         * sysdeps/i386/fpu/e_log2.S: Likewise.
14086         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14087         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14088         * sysdeps/i386/fpu/e_logf.S: Likewise.
14089         * sysdeps/i386/fpu/e_logl.S: Likewise.
14090         * sysdeps/i386/fpu/e_pow.S: Likewise.
14091         * sysdeps/i386/fpu/e_powf.S: Likewise.
14092         * sysdeps/i386/fpu/e_powl.S: Likewise.
14093         * sysdeps/i386/fpu/e_remainder.S: Likewise.
14094         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14095         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14096         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14097         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14098         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14099         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14100         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14101         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14102         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14103         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14104         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14105         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14106         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14107         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14108         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14109         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14110         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14111         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14112         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14113         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14114         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14115         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14116         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14117         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14118         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14119         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14120         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14121         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14122         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14123         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14124         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14125         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14126         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14127         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14128         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14129         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14130         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14131         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14132         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14133         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14134         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14135         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14136         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14137         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14138         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14139         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14140         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14141         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14142         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14143         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14144         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14145         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14146         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14147         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14148         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14149         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14150         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14151         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14152         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14153         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14154         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14155         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14156         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14157         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14158         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14159         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14160         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14161         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14162         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14163         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14164         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14165         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14166         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14167         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14168         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14169         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14170         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14171         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14172         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14173         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14174         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14175         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14176         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14177         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14178         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14179         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14180         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14181         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14182         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14183         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14184         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14185         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14186         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14187         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14188         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14189         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14190         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14191         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14192         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14193         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14194         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14195         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14196         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14197         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14198         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14199         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14200         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14201         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14202         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14203         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14204         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14205         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14206         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14207         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14208         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14209         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14210         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14211         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14212         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
14213         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14214         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14215         (__isnanf): Likewise.
14216         (__isinf_ns): Likewise.
14217         (__isinf_nsf): Likewise.
14218         (__finite): Likewise.
14219         (__finitef): Likewise.
14220         (__ieee754_sqrt): Define as macro.
14221         (__ieee754_sqrtf): Define as macro.
14222         (__ieee754_sqrtl): Define as macro.
14223         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14224         inlined copy.
14225         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14226         __FINITE_MATH_ONLY__ consistent.
14227         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14229 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
14231         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14232         of rawmemchr.
14234         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14236 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
14238         * po/ja.po: Update from translation team.
14240 2011-10-08  Roland McGrath  <roland@hack.frob.com>
14242         * locale/programs/locarchive.c (prepare_address_space): New function.
14243         (create_archive, enlarge_archive, open_archive): Use it.
14245         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14246         inside [SHARED], where it is used.
14248         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14250         * nss/getent.c (netgroup_keys): Remove unused variable.
14251         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14253 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
14255         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14256         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14257         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14258         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14259         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14260         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14261         * math/Makefile (libm-calls): Add s_isinf_ns.
14262         * math/divtc3.c: Use __isinf_nsl instead of isinf.
14263         * math/multc3.c: Likewise.
14264         * math/s_casin.c: Likewise.
14265         * math/s_casinf.c: Likewise.
14266         * math/s_casinl.c: Likewise.
14267         * math/s_ccos.c: Likewise.
14268         * math/s_ccosf.c: Likewise.
14269         * math/s_ccosl.c: Likewise.
14270         * math/s_ctan.c: Likewise.
14271         * math/s_ctanf.c: Likewise.
14272         * math/s_ctanh.c: Likewise.
14273         * math/s_ctanhf.c: Likewise.
14274         * math/s_ctanhl.c: Likewise.
14275         * math/s_ctanl.c: Likewise.
14276         * math/w_fmod.c: Likewise.
14277         * math/w_fmodf.c: Likewise.
14278         * math/w_fmodl.c: Likewise.
14279         * math/w_remainder.c: Likewise.
14280         * math/w_remainderf.c: Likewise.
14281         * math/w_remainderl.c: Likewise.
14282         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14283         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14284         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14285         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14286         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14287         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14288         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14289         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14291         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14292         of the number.
14293         * stdio-common/printf_fphex.c: Likewise.
14294         * stdio-common/printf_size.c: Likewise.
14296         * math/e_exp10.c: Include math_private.h using <...> not "...".
14297         * math/e_exp10f.c: Likewise.
14298         * math/e_exp10l.c: Likewise.
14299         * math/e_exp2l.c: Likewise.
14300         * math/e_j0l.c: Likewise.
14301         * math/e_j1l.c: Likewise.
14302         * math/e_jnl.c: Likewise.
14303         * math/e_lgammal_r.c: Likewise.
14304         * math/e_rem_pio2l.c: Likewise.
14305         * math/e_scalb.c: Likewise.
14306         * math/e_scalbf.c: Likewise.
14307         * math/e_scalbl.c: Likewise.
14308         * math/k_cosl.c: Likewise.
14309         * math/k_sinl.c: Likewise.
14310         * math/k_tanl.c: Likewise.
14311         * math/s_cacoshf.c: Likewise.
14312         * math/s_catan.c: Likewise.
14313         * math/s_catanf.c: Likewise.
14314         * math/s_catanh.c: Likewise.
14315         * math/s_catanhf.c: Likewise.
14316         * math/s_catanhl.c: Likewise.
14317         * math/s_catanl.c: Likewise.
14318         * math/s_ccosh.c: Likewise.
14319         * math/s_ccoshf.c: Likewise.
14320         * math/s_ccoshl.c: Likewise.
14321         * math/s_cexp.c: Likewise.
14322         * math/s_cexpf.c: Likewise.
14323         * math/s_cexpl.c: Likewise.
14324         * math/s_clog.c: Likewise.
14325         * math/s_clog10.c: Likewise.
14326         * math/s_clog10f.c: Likewise.
14327         * math/s_clog10l.c: Likewise.
14328         * math/s_clogf.c: Likewise.
14329         * math/s_clogl.c: Likewise.
14330         * math/s_csin.c: Likewise.
14331         * math/s_csinf.c: Likewise.
14332         * math/s_csinh.c: Likewise.
14333         * math/s_csinhf.c: Likewise.
14334         * math/s_csinhl.c: Likewise.
14335         * math/s_csinl.c: Likewise.
14336         * math/s_csqrt.c: Likewise.
14337         * math/s_csqrtf.c: Likewise.
14338         * math/s_csqrtl.c: Likewise.
14339         * math/s_ctan.c: Likewise.
14340         * math/s_ctanf.c: Likewise.
14341         * math/s_ctanh.c: Likewise.
14342         * math/s_ctanhf.c: Likewise.
14343         * math/s_ctanhl.c: Likewise.
14344         * math/s_ctanl.c: Likewise.
14345         * math/s_ldexp.c: Likewise.
14346         * math/s_ldexpf.c: Likewise.
14347         * math/s_ldexpl.c: Likewise.
14348         * math/s_significand.c: Likewise.
14349         * math/s_significandf.c: Likewise.
14350         * math/s_significandl.c: Likewise.
14351         * math/w_acos.c: Likewise.
14352         * math/w_acosf.c: Likewise.
14353         * math/w_acosh.c: Likewise.
14354         * math/w_acoshf.c: Likewise.
14355         * math/w_acoshl.c: Likewise.
14356         * math/w_acosl.c: Likewise.
14357         * math/w_asin.c: Likewise.
14358         * math/w_asinf.c: Likewise.
14359         * math/w_asinl.c: Likewise.
14360         * math/w_atan2.c: Likewise.
14361         * math/w_atan2f.c: Likewise.
14362         * math/w_atan2l.c: Likewise.
14363         * math/w_atanh.c: Likewise.
14364         * math/w_atanhf.c: Likewise.
14365         * math/w_atanhl.c: Likewise.
14366         * math/w_cosh.c: Likewise.
14367         * math/w_coshf.c: Likewise.
14368         * math/w_coshl.c: Likewise.
14369         * math/w_dremf.c: Likewise.
14370         * math/w_exp10.c: Likewise.
14371         * math/w_exp10f.c: Likewise.
14372         * math/w_exp10l.c: Likewise.
14373         * math/w_exp2.c: Likewise.
14374         * math/w_exp2f.c: Likewise.
14375         * math/w_fmod.c: Likewise.
14376         * math/w_fmodf.c: Likewise.
14377         * math/w_fmodl.c: Likewise.
14378         * math/w_hypot.c: Likewise.
14379         * math/w_hypotf.c: Likewise.
14380         * math/w_hypotl.c: Likewise.
14381         * math/w_j0.c: Likewise.
14382         * math/w_j0f.c: Likewise.
14383         * math/w_j0l.c: Likewise.
14384         * math/w_j1.c: Likewise.
14385         * math/w_j1f.c: Likewise.
14386         * math/w_j1l.c: Likewise.
14387         * math/w_jn.c: Likewise.
14388         * math/w_jnf.c: Likewise.
14389         * math/w_jnl.c: Likewise.
14390         * math/w_lgamma.c: Likewise.
14391         * math/w_lgamma_r.c: Likewise.
14392         * math/w_lgammaf.c: Likewise.
14393         * math/w_lgammaf_r.c: Likewise.
14394         * math/w_lgammal.c: Likewise.
14395         * math/w_lgammal_r.c: Likewise.
14396         * math/w_log.c: Likewise.
14397         * math/w_log10.c: Likewise.
14398         * math/w_log10f.c: Likewise.
14399         * math/w_log10l.c: Likewise.
14400         * math/w_log2.c: Likewise.
14401         * math/w_log2f.c: Likewise.
14402         * math/w_log2l.c: Likewise.
14403         * math/w_logf.c: Likewise.
14404         * math/w_logl.c: Likewise.
14405         * math/w_pow.c: Likewise.
14406         * math/w_powf.c: Likewise.
14407         * math/w_powl.c: Likewise.
14408         * math/w_remainder.c: Likewise.
14409         * math/w_remainderf.c: Likewise.
14410         * math/w_remainderl.c: Likewise.
14411         * math/w_scalb.c: Likewise.
14412         * math/w_scalbf.c: Likewise.
14413         * math/w_scalbl.c: Likewise.
14414         * math/w_sinh.c: Likewise.
14415         * math/w_sinhf.c: Likewise.
14416         * math/w_sinhl.c: Likewise.
14417         * math/w_sqrt.c: Likewise.
14418         * math/w_sqrtf.c: Likewise.
14419         * math/w_sqrtl.c: Likewise.
14420         * math/w_tgamma.c: Likewise.
14421         * math/w_tgammaf.c: Likewise.
14422         * math/w_tgammal.c: Likewise.
14424         * po/ja.po: Update from translation team.
14426 2011-09-29  Andreas Jaeger  <aj@suse.de>
14428         [BZ #13179]
14429         * sunrpc/netname.c (netname2host): Fix logic.
14431         [BZ #6779]
14432         [BZ #6783]
14433         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14434         correctly.
14435         * math/w_remainder.c (__remainder): Likewise.
14436         * math/w_remainderf.c (__remainderf): Likewise.
14437         * math/libm-test.inc (remainder_test): Add test cases.
14439 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14441         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
14442         sdiv_qrnnd.
14444 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14446         * string/test-memcmp.c: Avoid unncessary #defines.
14447         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14449 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14451         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14452         Use new sse2 version for core i3 - i7 as it's faster
14453         than sse42 version.
14454         (bit_Prefer_PMINUB_for_stringop): New.
14455         * sysdeps/x86_64/rawmemchr.S: Update.
14456         Replace with faster SSE2 version.
14457         * sysdeps/x86_64/memrchr.S: New file.
14458         * sysdeps/x86_64/memchr.S: Update.
14459         Replace with faster SSE2 version.
14461 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
14463         * elf/dl-load.c (lose): Add cast to avoid warning.
14465 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14467         * po/ca.po: Update from translation team.
14469         * inet/getnetgrent_r.c: Hook up nscd.
14470         * nscd/Makefile (routines): Add nscd_netgroup.
14471         (nscd-modules): Add netgroupcache.
14472         (CFLAGS-netgroupcache.c): Define.
14473         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14474         (cache_search): Add const to second parameter.
14475         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14476         INNETGR.
14477         (dbs): Add netgrdb entry.
14478         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14479         (verify_persistent_db): Handle netgrdb.
14480         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14481         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14482         GETFDNETGR.
14483         (netgroup_response_header): Define.
14484         (innetgroup_response_header): Define.
14485         (datahead): Add netgroup_response_header and innetgroup_response_header
14486         elements.
14487         * nscd/nscd.conf: Add entries for netgroup cache.
14488         * nscd/nscd.h (dbtype): Add netgrdb.
14489         (_PATH_NSCD_NETGROUP_DB): Define.
14490         (netgroup_iov_disabled): Declare.
14491         (xmalloc, xcalloc, xrealloc): Move declarations here.
14492         (cache_search): Adjust prototype.
14493         Add netgroup-related prototypes.
14494         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14495         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14496         (__nscd_innetgr): Declare.
14497         * nscd/selinux.c (perms): Use access_vector_t as element type and
14498         add netgroup-related initializers.
14499         * nscd/netgroupcache.c: New file.
14500         * nscd/nscd_netgroup.c: New file.
14501         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14502         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14503         For four parameters use innetgr.
14504         * nss/nss_files/files-init.c: Add definition and callback for netgr.
14505         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14506         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14507         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14509         * nscd/connections.c (register_traced_file): Don't register file
14510         for disabled databases.
14512 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
14514         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14516         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14517         from tree and freeing node.
14519 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
14521         * nss/nsswitch.c (__nss_database_lookup): Handle
14522         nss_parse_service_list out of memory case.
14524 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
14526         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14527         out of memory case.
14529 2011-10-04  Andreas Schwab  <schwab@redhat.com>
14531         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14532         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14533         pass it down.
14534         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14535         elf_machine_rela, elf_machine_lazy_rel.
14536         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14537         (ELF_DYNAMIC_DO_REL): Likewise.
14538         (ELF_DYNAMIC_DO_RELA): Likewise.
14539         (ELF_DYNAMIC_RELOCATE): Likewise.
14540         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14541         to ELF_DYNAMIC_DO_REL.
14542         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14543         (dl_main): In trace mode always set __RTLD_NOIFUNC.
14544         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14545         elf_machine_rela.
14546         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14547         skip_ifunc, don't call ifunc function if non-zero.
14548         (elf_machine_rela): Likewise.
14549         (elf_machine_lazy_rel): Likewise.
14550         (elf_machine_lazy_rela): Likewise.
14551         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14552         (elf_machine_lazy_rel): Likewise.
14553         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14554         Likewise.
14555         (elf_machine_lazy_rel): Likewise.
14556         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14557         Likewise.
14558         (elf_machine_lazy_rel): Likewise.
14559         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14560         (elf_machine_lazy_rel): Likewise.
14561         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14562         (elf_machine_lazy_rel): Likewise.
14563         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14564         (elf_machine_lazy_rel): Likewise.
14565         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14566         (elf_machine_lazy_rel): Likewise.
14567         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14568         (elf_machine_lazy_rel): Likewise.
14569         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14570         (elf_machine_lazy_rel): Likewise.
14572 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
14574         * nss/nss_files/files-init.c (_nss_files_init): Use static
14575         initialization for all the *_traced_file variables.
14577 2011-09-28  Andreas Schwab  <schwab@redhat.com>
14579         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14581 2011-09-27  Roland McGrath  <roland@hack.frob.com>
14583         [BZ #13226]
14584         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14586 2011-09-27  Andreas Schwab  <schwab@redhat.com>
14588         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14589         Reread the line before reparsing it.
14591 2011-09-26  Andreas Schwab  <schwab@redhat.com>
14593         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14595 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
14596             Maxim Kuvyrkov  <maxim@codesourcery.com>
14597             Joseph Myers  <joseph@codesourcery.com>
14599         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14600         if needed for __stack_chk_guard.
14602 2011-09-19  Roland McGrath  <roland@hack.frob.com>
14604         * sysdeps/posix/spawni.c (script_execute): Always define it.
14605         It will be optimized away if unused.
14606         (maybe_script_execute): New function.
14607         (__spawni): Call it.
14609         * Makerules: Don't include tls.make.
14610         (config-tls): Always set to thread.
14611         * tls.make.c: File removed.
14613 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
14615         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14616         * config.make.in (CPPFLAGS-config): New substituted variable.
14618 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
14620         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14622         [BZ #13192]
14623         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14624         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14626 2011-09-15  Roland McGrath  <roland@hack.frob.com>
14628         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14629         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14630         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14631         (CALL_FAIL): Likewise.
14632         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14633         (CALL_FAIL): Macro removed.
14634         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14636 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
14638         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14639         for __FINITE_MATH_ONLY__ == 1.
14641 2011-09-15  Andreas Schwab  <schwab@redhat.com>
14643         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14644         __ieee754_sqrt instead of sqrt.
14645         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14646         __ieee754_sqrtf instead of sqrtf.
14647         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14648         __floorf instead of floorf.
14649         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14650         __floorf, __truncf instead of floorf, truncf.
14652 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
14654         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14656         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14657         __extern_always_inline.
14658         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14659         32-bit.
14661 2011-09-14  Andreas Schwab  <schwab@redhat.com>
14663         * elf/rtld.c (dl_main): Also relocate in dependency order when
14664         doing symbol dependency testing.
14666 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
14668         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14669         Always define `refsym'.
14671 2011-09-13  Andreas Schwab  <schwab@redhat.com>
14673         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14674         (__FD_ELT): Renamed from __FDELT.
14675         * misc/bits/select2.h (__FD_ELT): Likewise.
14676         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14677         __FD_MASK instead of __FDELT, __FDMASK.
14678         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14679         Likewise.
14680         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14681         Likewise.
14683         * elf/Makefile (gen-ldd): Fix pattern.
14685         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14686         (init_tls): Likewise.
14688 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
14690         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14692 2011-09-12  Andreas Schwab  <schwab@redhat.com>
14694         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14695         `struct cmsghdr *' instead of `void *'.
14696         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14697         Likewise.
14699 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
14701         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14702         if non-absolute.
14703         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14704         ldd_rewrite_script.
14706 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
14708         * configure.in: Remove --with-tls option.
14709         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14710         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14711         out in case it is missing.
14712         * sysdeps/ia64/elf/configure.in: Likewise.
14713         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14714         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14715         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14716         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14717         * sysdeps/sh/elf/configure.in: Likewise.
14718         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14719         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14720         * sysdeps/x86_64/elf/configure.in: Likewise.
14721         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14722         * sysdeps/mach/hurd/tls.h: Likewise.
14724         [BZ #13067]
14725         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14727         [BZ #13090]
14728         * configure.in: Fix use of AC_INIT.
14730         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14732 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
14734         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14735         __set_errno.
14736         * malloc/hooks.c: Likewise.
14738         [BZ #11929]
14739         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
14740         variables statically.
14741         (narenas): Initialize.
14742         (list_lock): Initialize.
14743         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
14744         initializtion of main_arena and list_lock.  Small cleanups.
14745         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14746         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
14747         Add initializers to main_arena and mp_.
14748         (malloc_state): Remove pagesize member.  Change all users to use
14749         GLRO(dl_pagesize).
14751         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14752         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
14753         is always initialized.
14755         * malloc/malloc.c: Removed unused configurations and dead code.
14756         * malloc/arena.c: Likewise.
14757         * malloc/hooks.c: Likewise.
14758         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14760         * include/tls.h: Removed.  USE___THREAD must always be defined.
14761         * bits/libc-tsd.h: Don't handle !USE___THREAD.
14762         * elf/dl-libc.c: Likewise.
14763         * elf/dl-tsd.c: Likewise.
14764         * include/errno.h: Likewise.
14765         * include/netdb.h: Likewise.
14766         * include/resolv.h: Likewise.
14767         * inet/herrno-loc.c: Likewise.
14768         * inet/herrno.c: Likewise.
14769         * malloc/arena.c: Likewise.
14770         * malloc/hooks.c: Likewise.
14771         * malloc/malloc.c: Likewise.
14772         * resolv/res-state.c: Likewise.
14773         * resolv/res_libc.c: Likewise.
14774         * sysdeps/i386/dl-machine.h: Likewise.
14775         * sysdeps/ia64/dl-machine.h: Likewise.
14776         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14777         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14778         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14779         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14780         * sysdeps/sh/dl-machine.h: Likewise.
14781         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14782         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14783         * sysdeps/unix/i386/sysdep.S: Likewise.
14784         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14785         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14786         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14787         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14788         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14789         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14790         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14791         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14792         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14793         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14794         * sysdeps/unix/x86_64/sysdep.S: Likewise.
14795         * sysdeps/x86_64/dl-machine.h: Likewise.
14796         * tls.make.c: Likewise.
14798         * configure.in: Remove --with-__thread option.  Make tests for
14799         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14800         tls_model attribute fail if no support is available.  Remove
14801         USE_IN_LIBIO.
14802         * Makeconfig: Adjust for dropped configure option.  All features are
14803         now mandatory.
14804         * Makerules: Likewise.
14805         * Versions.def: Likewise.
14806         * argp/argp-fmtstream.c: Likewise.
14807         * argp/argp-fmtstream.h: Likewise.
14808         * argp/argp-help.c: Likewise.
14809         * assert/assert.c: Likewise.
14810         * config.h.in: Likewise.
14811         * config.make.in: Likewise.
14812         * configure: Likewise.
14813         * configure.in: Likewise.
14814         * csu/Versions: Likewise.
14815         * csu/init.c: Likewise.
14816         * elf/tst-audit2.c: Likewise.
14817         * elf/tst-tls10.c: Likewise.
14818         * elf/tst-tls10.h: Likewise.
14819         * elf/tst-tls11.c: Likewise.
14820         * elf/tst-tls12.c: Likewise.
14821         * elf/tst-tls14.c: Likewise.
14822         * elf/tst-tlsmod11.c: Likewise.
14823         * elf/tst-tlsmod12.c: Likewise.
14824         * elf/tst-tlsmod13.c: Likewise.
14825         * elf/tst-tlsmod13a.c: Likewise.
14826         * elf/tst-tlsmod14a.c: Likewise.
14827         * elf/tst-tlsmod15b.c: Likewise.
14828         * elf/tst-tlsmod16a.c: Likewise.
14829         * elf/tst-tlsmod16b.c: Likewise.
14830         * elf/tst-tlsmod7.c: Likewise.
14831         * elf/tst-tlsmod8.c: Likewise.
14832         * elf/tst-tlsmod9.c: Likewise.
14833         * gmon/gmon.c: Likewise.
14834         * grp/fgetgrent_r.c: Likewise.
14835         * grp/putgrent.c: Likewise.
14836         * hurd/fopenport.c: Likewise.
14837         * include/libc-symbols.h: Likewise.
14838         * include/tls.h: Likewise.
14839         * intl/gettextP.h: Likewise.
14840         * intl/loadinfo.h: Likewise.
14841         * locale/global-locale.c: Likewise.
14842         * locale/localeinfo.h: Likewise.
14843         * mach/devstream.c: Likewise.
14844         * malloc/arena.c: Likewise.
14845         * malloc/set-freeres.c: Likewise.
14846         * misc/err.c: Likewise.
14847         * misc/getttyent.c: Likewise.
14848         * misc/mntent_r.c: Likewise.
14849         * posix/getopt.c: Likewise.
14850         * posix/wordexp.c: Likewise.
14851         * pwd/fgetpwent_r.c: Likewise.
14852         * resolv/Versions: Likewise.
14853         * resolv/res_hconf.c: Likewise.
14854         * shadow/fgetspent_r.c: Likewise.
14855         * shadow/putspent.c: Likewise.
14856         * stdio-common/printf_fphex.c: Likewise.
14857         * stdio-common/tmpfile.c: Likewise.
14858         * stdlib/abort.c: Likewise.
14859         * stdlib/fmtmsg.c: Likewise.
14860         * sunrpc/auth_unix.c: Likewise.
14861         * sunrpc/clnt_perr.c: Likewise.
14862         * sunrpc/clnt_tcp.c: Likewise.
14863         * sunrpc/clnt_udp.c: Likewise.
14864         * sunrpc/clnt_unix.c: Likewise.
14865         * sunrpc/openchild.c: Likewise.
14866         * sunrpc/svc_simple.c: Likewise.
14867         * sunrpc/svc_tcp.c: Likewise.
14868         * sunrpc/svc_udp.c: Likewise.
14869         * sunrpc/svc_unix.c: Likewise.
14870         * sunrpc/xdr.c: Likewise.
14871         * sunrpc/xdr_array.c: Likewise.
14872         * sunrpc/xdr_rec.c: Likewise.
14873         * sunrpc/xdr_ref.c: Likewise.
14874         * sunrpc/xdr_stdio.c: Likewise.
14876 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
14878         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14880 2011-07-03  Andreas Jaeger  <aj@suse.de>
14882         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14883         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14884         regenerate with gen-libm-tests.pl.
14886 2010-05-12  Petr Baudis  <pasky@suse.cz>
14888         [BZ #11589]
14889         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14890         around j0() zero points by switching to j1().
14891         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14892         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14893         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14894         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14896 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
14898         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14899         instead of 0.
14900         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14901         instead of 0.                              .
14902         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14903         Patch in part by Pavel Roskin <proski@gnu.org>.
14905         [BZ #13138]
14906         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14907         realloc.
14908         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
14909         Free memory block if necessary.
14911         [BZ #12847]
14912         * libio/genops.c (INTDEF): For string streams the _lock pointer can
14913         be NULL.  Don't lock in this case.
14915 2011-09-09  Roland McGrath  <roland@hack.frob.com>
14917         * elf/elf.h (ELFOSABI_GNU): New macro.
14918         (ELFOSABI_LINUX): Define to that.
14920 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
14922         * string/strncat.c (strncat): Undef the symbol in case it has been
14923         defined in bits/string.h.
14925 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
14927         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14929         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14930         link map.
14932 2011-08-17  Andreas Jaeger  <aj@suse.de>
14934         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14936 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14937             Ian Lance Taylor  <iant@google.com>
14939         * math/libm-test.inc (lround_test): New testcase.
14940         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14942 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
14944         * Makefile: Remove support for automatic cvs check-ins.
14945         * Makerules: Likewise.
14946         * config.make.in: Likewise.
14947         * configure.in: Likewise.
14948         * intl/Makefile: Likewise.
14949         * locale/Makefile: Likewise.
14950         * po/Makefile: Likewise.
14951         * posix/Makefile: Likewise.
14952         * sysdeps/gnu/Makefile: Likewise.
14953         * sysdeps/mach/hurd/Makefile: Likewise.
14954         * sysdeps/sparc/sparc32/Makefile: Likewise.
14956         [BZ #13118]
14957         * posix/Makefile (bug-regex32-ENV): Define.
14958         Patch by John Stanley <jpsinthemix@verizon.net>.
14960         * misc/Makefile (headers): Add bits/select2.h.
14961         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14962         * misc/bits/select2.h: New file.
14963         * include/bits/select2.h: New file.
14964         * debug/Makefile (routines): Add fdelt_chk.
14965         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14966         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14967         FD_ISSET.
14968         * debug/fdelt_chk.c: New file.
14970         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
14971         * wcsmbs/test-wmemcmp.c: Likewise.
14972         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14973         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14975 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14977         * string/Makefile (strop-tests): Add memcmp.
14978         * string/test-wmemcmp.c: New file.
14979         * string/test-memcmp.c: Add wmemcmp support.
14981 2011-09-08  Roland McGrath  <roland@hack.frob.com>
14983         [BZ #13153]
14984         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14985         2011-07-19 change.
14987         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14988         garbage value in a __mach_port_mod_refs call in the cases of the
14989         task-self and thread-self ports.
14991 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14993         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14995 2011-09-08  Andreas Schwab  <schwab@redhat.com>
14997         * elf/dl-load.c (lose): Check for non-null L.
14999 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
15001         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15003         * elf/dl-libc.c (dlerror_run): Pass back error code from
15004         dl_catch_error.
15006         [BZ #13123]
15007         * elf/dl-load.c (lose): Free l_origin if it is valid.
15009         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15010         names.
15011         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15012         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15013         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15014         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15015         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15016         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15018 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15020         * sysdeps/powerpc/fpu/e_hypot.c: New file.
15021         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15022         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15023         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15024         * sysdeps/powerpc/fpu/k_cosf.c: New file.
15025         * sysdeps/powerpc/fpu/k_sinf.c: New file.
15026         * sysdeps/powerpc/fpu/s_cosf.c: New file.
15027         * sysdeps/powerpc/fpu/s_sinf.c: New file.
15028         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15029         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15031 2011-08-15  Alan Modra  <amodra@gmail.com>
15033         [BZ #13092]
15034         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15035         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15036         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
15037         ppc_mcount to static-only-routines.
15038         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15039         __mcount_internal.
15040         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15041         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
15043 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
15045         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15046         for finite and infinity parameters.
15048 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
15050         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15051         and add nop instructions for throughput optimization.
15052         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15054 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
15056         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15057         aligned copy for power7 with vector-scalar instructions.
15058         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15060 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
15062         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15063         AVX check.
15065 2011-09-07  Andreas Schwab  <schwab@redhat.com>
15067         [BZ #13144]
15068         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15069         last change.
15071 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
15073         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15074         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15075         syscall wrapper around clock_gettime in __vdso_clock_gettime.
15076         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15077         clock_gettime.
15079 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
15081         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15082         Forgot to demangle the pointer.
15084         * sysdeps/i386/sysdep.h: Define atom_text_section.
15085         * sysdeps/x86_64/sysdep.h: Likewise.
15086         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15087         section with atom_text_section.
15088         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15089         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15090         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15091         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15092         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15094         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15095         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15096         already be defined.  Change to take two parameters and don't assign
15097         result to variable.  Adjust all users.
15098         Define INTERNAL_GETTIME if not already defined.
15099         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15100         call.
15101         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15102         HAVE_CLOCK_GETTIME_VSYSCALL.
15103         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15105         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15106         gettimeofday vsyscall, just use time.
15108 2011-09-06  Andreas Schwab  <schwab@redhat.com>
15110         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15111         <errno.h>.
15113 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
15115         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15116         syscall on x86-64.
15117         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15118         syscall.
15119         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15120         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15121         syscall if possible.
15123 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15125         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15126         e_ident.  Don't pass to find_mapsXX.
15127         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15129 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15131         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15132         strchr-sse2-no-bsf strrchr-sse2-no-bsf
15133         * sysdeps/x86_64/multiarch/strchr.S: Update.
15134         Check bit_slow_BSF bit.
15135         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15136         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15137         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15139 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15141         [BZ #13134]
15142         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15143         before glibc 2.15.
15144         (tryshell): Define.
15145         (__spawni): Change last parameter to be flag.  Test
15146         SPAWN_XFLAGS_USE_PATH flag to use path or not.
15147         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15148         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15149         * posix/spawni.c: Likewise.
15150         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15151         * posix/spawnp.c: Likewise.  Change normal version to use
15152         SPAWN_XFLAGS_USE_PATH.
15153         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15154         SPAWN_XFLAGS_TRY_SHELL.
15156         [BZ #13150]
15157         * posix/glob.h: Remove gcc 1.x support.
15159         [BZ #13068]
15160         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15162 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15164         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15165         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15166         strrchr-sse2-bsf
15167         * sysdeps/i386/i686/multiarch/strchr.S: New file.
15168         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15169         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15170         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15171         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15172         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15174 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15176         * sysdeps/x86_64/wcscmp.S: New file.
15178         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15179         wcscmp-c wcscmp-sse2
15180         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15181         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15182         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15183         * wcsmbs/wcscmp.c: Allow renaming.
15185 2011-09-05  David S. Miller  <davem@davemloft.net>
15187         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15188         stack slot, rather than the struct return pointer slot.
15189         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15190         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15192         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15194 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15196         * po/ja.po: Update from translation team.
15198         [BZ #13144]
15199         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15200         kernel in 64-bit binaries.
15202 2011-09-01  David S. Miller  <davem@davemloft.net>
15204         * elf/elf.h (HWCAP_SPARC_*): Move to..
15205         * sysdeps/sparc/sysdep.h: this new file and add new values.
15206         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15207         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15208         _DL_HWCAP_COUNT to 24.
15209         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15210         entries.
15211         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15212         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15213         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15214         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15215         instead of magic constants.
15216         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15218 2011-08-31  David S. Miller  <davem@davemloft.net>
15220         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15221         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15222         Reimplement to do errno handling inline.
15223         (SYSCALL_ERROR_HANDLER): New macro.
15224         (__SYSCALL_STRING): Do not do errno handling in asm.
15225         (__CLONE_SYSCALL_STRING): Delete.
15226         (__INTERNAL_SYSCALL_STRING): Delete.
15227         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15228         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15229         (PSEUDO): Reimplement to do errno handling inline.
15230         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15231         (SYSCALL_ERROR_HANDLER): New macro.
15232         (__SYSCALL_STRING): Do not do errno handling in asm.
15233         (__CLONE_SYSCALL_STRING): Delete.
15234         (__INTERNAL_SYSCALL_STRING): Delete.
15235         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15236         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15237         i386.
15238         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15239         (inline_syscall*): Add 'err' argument.
15240         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15241         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15242         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15243         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15245         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15246         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15248 2011-08-30  Andreas Schwab  <schwab@redhat.com>
15250         * elf/rtld.c (dl_main): Relocate objects in dependency order.
15252 2011-08-29  Jiri Olsa <jolsa@redhat.com>
15254         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15255         directive.
15257 2011-08-24  David S. Miller  <davem@davemloft.net>
15259         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15261 2011-08-24  Andreas Schwab  <schwab@redhat.com>
15263         * elf/Makefile: Add rules to build and run unload8 test.
15264         * elf/unload8.c: New file.
15265         * elf/unload8mod1.c: New file.
15266         * elf/unload8mod1x.c: New file.
15267         * elf/unload8mod2.c: New file.
15268         * elf/unload8mod3.c: New file.
15270         * elf/dl-close.c (_dl_close_worker): Reset private search list if
15271         it wasn't used.
15273 2011-08-23  David S. Miller  <davem@davemloft.net>
15275         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15276         subtract stack bias.
15277         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15278         %sp not %fp in calculations.
15279         (_JMPBUF_UNWINDS_ADJ): Likewise.
15281         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15282         (aio_suspend): Call it to force an exception region around the
15283         AIO_MISC_WAIT() invocation.
15285 2011-08-23  Andreas Schwab  <schwab@redhat.com>
15287         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15288         backslash.
15290 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
15292         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15293         protection macro.
15294         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15295         and <dl-machine.h>.
15296         (Elf64_FuncDesc): Remove.
15298 2011-08-22  David S. Miller  <davem@davemloft.net>
15300         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15301         sigaltstack check, add missing cfi directives.
15302         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15303         missing cfi directives, and sigaltstack handling.
15305 2011-08-16  Andreas Schwab  <schwab@redhat.com>
15307         [BZ #11724]
15308         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15309         object is seen twice.
15310         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15312         * elf/Makefile (distribute): Add tst-initorder2.c.
15313         (tests): Add tst-initorder2.
15314         (modules-names): Add tst-initorder2a tst-initorder2b
15315         tst-initorder2c tst-initorder2d.  Add rules to build them.
15316         ($(objpfx)tst-initorder2.out): New rule.
15317         * elf/tst-initorder2.c: New file.
15318         * elf/tst-initorder2.exp: New file.
15320 2011-08-22  Andreas Schwab  <schwab@redhat.com>
15322         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15324         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15325         dependencies back to end of function.
15327         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15328         $(elfobjdir)/ld.so.
15330 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
15332         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15333         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15334         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15335         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15336         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15337         of __vdso_gettimeofday.
15338         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15339         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
15340         attribute_hidden.
15341         (_libc_vdso_platform_setup): Remove initialization of
15342         __vdso_gettimeofday and __vdso_time.
15344 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15346         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15347         and fgetc_unlocked.
15348         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15349         getc_unlocked.
15351         * elf/dl-open.c (add_to_global): Report additions to the global scope
15352         for LD_DEBUG=scopes.
15353         (dl_open_worker): Also print scope of newly loaded dependencies.
15354         (_dl_show_scope): Indicate if there is no scope.
15356         [BZ #13114]
15357         * stdio-common/Makefile (tests): Add bug24.
15358         * stdio-common/bug24.c: New file.
15360 2011-08-19  Andreas Jaeger  <aj@suse.de>
15362         [BZ #13114]
15363         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15364         non-existant file when using close-on-exec mode.
15366 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15368         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15369         the very first instruction.
15371         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15372         the CFI state in the end.
15373         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15374         inclusion of dl-trampoline.h.
15375         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15377 2011-08-19  Andreas Schwab  <schwab@redhat.com>
15379         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15380         expectations for long double.
15382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15383         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15385 2011-08-14  David S. Miller  <davem@davemloft.net>
15387         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15388         artificual limit depends upon the system page size.
15390 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15392         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15393         * resolv/Makefile: Define CFLAGS-libresolv.
15395 2011-08-17  Andreas Schwab  <schwab@redhat.com>
15397         * nss/makedb.c (compute_tables): Make variables used in nested
15398         function static.
15400 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15402         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15403         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15404         if buffer was too small.
15406         * elf/pldd.c (main): Attach to all threads in the process.
15407         Rewrite /proc handling to use *at functions.
15409 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
15411         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15412         specifies first scope to show.
15413         (dl_open_worker): Update callers.  Move printing scope of new
15414         object to before the relocation.
15415         * elf/rtld.c (dl_main): Update _dl_show_scope call.
15416         * sysdeps/generic/ldsodefs.h: Update declaration.
15418         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15419         string for the scope number.
15421 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
15423         * nscd/servicescache.c (cache_addserv): Make sure written is always
15424         initialized.
15426 2011-08-14  Roland McGrath  <roland@hack.frob.com>
15428         * sysdeps/i386/i486/bits/atomic.h
15429         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15430         statement expression, so as to suppress "set but not used" warning.
15431         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15433         * string/strncat.c (STRNCAT): Use prototype definition.
15435         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15436         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15437         -Iprograms here.
15438         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15439         (localedef-modules): Add localedef.
15440         (locale-modules): Add locale.
15442         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15443         * elf/rtld.c (dl_main): Invert order of assignment in last change,
15444         to avoid a warning.
15446 2011-08-14  David S. Miller  <davem@davemloft.net>
15448         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15449         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15451 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
15453         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15454         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15455         * elf/rtld.c (dl_main): Set l_name of vDSO.
15456         Call _dl_show_scope when DL_DEBUG_SCOPES.
15457         (process_dl_debug): Recognize scopes flag and also set it for all.
15458         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15459         Declare _dl_show_scope.
15461         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15462         (do_dlopen): Pass caller_dlopen to dl_open.
15463         (__libc_dlopen_mode): Initialize caller_dlopen.
15465         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15466         of libc.  Make tolower call locale-independent.  Optimize a bit by
15467         using isdigit instead of isalnum.
15468         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15470 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
15472         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15473         was a dependency or dynamically loaded.
15475 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
15477         * intl/l10nflist.c: Allow architecture-specific pop function.
15478         * sysdeps/x86_64/l10nflist.c: New file.
15480         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15481         classification.
15483 2011-08-10  Andreas Schwab  <schwab@redhat.com>
15485         * include/dirent.h: Add libc_hidden_proto for scandirat and
15486         scandirat64.  Don't declare __scandirat64.
15487         * dirent/scandirat.c: Add libc_hidden_def.
15488         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15489         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15491 2011-08-10  David S. Miller  <davem@davemloft.net>
15493         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15494         enum.
15495         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15496         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15497         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15499 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
15501         * Versions.def [libc]: Add GLIBC_2.15.
15502         * dirent/Makefile (routines): Add scandirat and scandirat64.
15503         * dirent/Versions [libc]: Export scandirat and scandirat64 for
15504         GLIBC_2.15.
15505         * dirent/dirent.h: Declare scandirat and scandirat64.
15506         * dirent/scandirat.c: New file.
15507         * dirent/scandirat64.c: New file.
15508         * sysdeps/wordsize-64/scandirat.c: New file.
15509         * sysdeps/wordsize-64/scandirat64.c: New file.
15510         * dirent/opendir.c: Define opendirat.
15511         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
15512         using scandirat.
15513         * dirent/scandir64.c: Adjust for scandir.c change.
15514         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
15515         __scandirat64, and __scandir_cancel_handler.
15516         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
15517         additional parameter and use openat instead of open (outside of ld.so).
15518         Add new __opendir as wrapper around __opendirat.
15519         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15520         here without requiring old scandirat implementation.
15522 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
15524         * dirent/scandir.c (cancel_handler): Renamed to
15525         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
15526         defined.  Adjust users.
15527         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15528         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15530 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
15532         * string/test-string.h (IMPL): Use __STRING to expand name and then
15533         stringify it.
15535         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
15536         of cleanups.
15538 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15540         * string/Makefile: Update.
15541         (strop-tests): Append strncat.
15542         * string/test-wcscmp.c: New file.
15543         New comprehensive test for wcscmp.
15544         * string/test-strcmp.c: Update.
15545         (WIDE): New define.
15547 2011-07-22  Andreas Schwab  <schwab@redhat.com>
15549         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15550         line.
15552 2011-07-26  Andreas Schwab  <schwab@redhat.com>
15554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15555         encoding to ACE if AI_IDN.
15557 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
15559         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15560         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15562 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15564         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15565         Fix overflow bug in strncat.
15566         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15568         * string/test-strncat.c: Update.
15569         Add new tests for checking overflow bugs.
15571 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15573         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15574         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15575         * sysdeps/i386/i686/multiarch/strcat.S: New file.
15576         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15577         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15578         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15579         * sysdeps/i386/i686/multiarch/strncat.S: New file.
15580         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15581         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15583         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15584         (USE_AS_STRCAT): Define.
15585         Add strcat and strncat support.
15586         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15588 2011-07-25  Andreas Schwab  <schwab@redhat.com>
15590         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15591         __n bigger than INT_MAX+1.
15592         (__strncmp_g): Likewise.
15594 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
15596         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15597         * libio/stido.h: Likewise.
15599         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15600         (AF_NFC): Define.
15601         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15602         (AF_NFC): Define.
15604         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15605         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15606         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15607         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15608         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15610         [BZ #13021]
15611         * scripts/test-installation.pl: Don't expect libnss_test1 to be
15612         installed.
15614         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15615         typo.
15616         (_dl_x86_64_save_sse): Likewise.
15618 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
15620         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15621         OSXSAVE.
15622         (_dl_x86_64_save_sse): Likewise.
15624         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15626         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15628 2011-07-21  Andreas Schwab  <schwab@redhat.com>
15630         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15631         change.
15632         (_dl_x86_64_save_sse): Use correct AVX check.
15634 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15636         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15637         bug in strncpy/strncat.
15638         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15640 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
15642         * string/tester.c (test_strcat): Add tests for different alignments
15643         of source and destination.
15644         (test_strncat): Likewise.
15646 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
15648         [BZ #12852]
15649         * posix/glob.c (glob): Check passed in values before using them in
15650         expressions to avoid some overflows.
15651         (glob_in_dir): Likewise.
15653         [BZ #13007]
15654         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15655         check for AVX enablement so that we don't crash with old kernels and
15656         new hardware.
15657         * elf/tst-audit4.c: Add same checks here.
15658         * elf/tst-audit6.c: Likewise.
15660         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15662 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
15664         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15666 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
15668         * po/cs.po: Update from translation team.
15669         * po/bg.po: Likewise.
15671 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
15673         * misc/sys/cdefs.h: Add support for const attribute.
15674         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15675         to gnu_dev_{major,minor,makedev} functions.
15677 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
15679         * intl/dcigettext.c (get_output_charset): Add missing bracket.
15681 2011-07-20  Andreas Schwab  <schwab@redhat.com>
15683         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15684         strlen results.
15686 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15688         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15689         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15690         register in order to avoid conflicts with the soft frame pointer
15691         being held in r11 when necessary.
15692         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15693         (INTERNAL_VSYSCALL_NCS): Likewise.
15695 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
15697         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15698         * elf/dl-fini.c (_dl_fini): Adjust caller.
15699         * elf/dl-close.c (_dl_close_worker): Likewise.
15700         * sysdeps/generic/ldsodefs.h: Adjust declaration.
15702 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
15704         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15705         "aux_cache->nlibs < 0".
15707         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15708         in the reload-count case.
15710 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15713         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15714         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15715         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15716         * sysdeps/x86_64/multiarch/strcat.S: New file.
15717         * sysdeps/x86_64/multiarch/strncat.S: New file.
15718         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15719         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15720         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15721         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15722         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15723         (USE_AS_STRCAT): Define.
15724         Add strcat and strncat support.
15725         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15726         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15727         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15728         * string/strncat.c: Update.
15729         (USE_AS_STRNCAT): Define.
15730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15731         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15732         and i7.
15733         * sysdeps/x86_64/multiarch/init-arch.h
15734         (bit_Prefer_PMINUB_for_stringop): New.
15735         (index_Prefer_PMINUB_for_stringop): Likewise.
15736         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15737         bit_Prefer_PMINUB_for_stringop.
15739 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
15741         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15742         buffer64.
15743         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15744         of casting of buffer.
15745         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15746         buffer32 and buffer64.
15747         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15748         writes instead of casting of buffer.
15749         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15750         buffer32.
15751         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15752         casting of buffer.
15754 2011-07-19  Andreas Schwab  <schwab@redhat.com>
15756         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15758 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
15760         * nscd/nscd.c (termination_handler): Don't do anything for a database
15761         if it has not yet been initialized.
15763 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
15765         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15767 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
15769         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15771 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
15773         * po/nl.po: Update from translation team.
15774         * po/sv.po: Likewise.
15776 2011-07-16  Roland McGrath  <roland@hack.frob.com>
15778         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15779         now disallowed by GCC.
15781         * configure.in (use-default-link): Default to yes if a test -shared
15782         link meets our qualifications.
15783         * configure: Regenerated.
15785         * config.make.in (output-format): New variable.
15786         * configure.in: Check for ld --print-output-format support.
15787         * configure: Regenerated.
15788         * Makerules ($(common-objpfx)format.lds)
15789         [$(output-format) != unknown]: Just use $(output-format),
15790         instead of the linker-script munging.
15792 2011-07-14  Roland McGrath  <roland@hack.frob.com>
15794         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15795         of $(common-objpfx)shlib.lds.
15796         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15798         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15799         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15801         * configure.in (-z relro check): Adjust test code to add a large
15802         writable data section after it.
15803         * configure: Regenerated.
15805 2011-07-11  Roland McGrath  <roland@hack.frob.com>
15807         * configure.in (-z relro check): Fix test code to make the variable
15808         truly const.
15809         * configure: Regenerated.
15811 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
15813         * nscd/nscd.h (struct traced_file): Define.
15814         (struct database_dyn): Remove inotify_descr, reset_res, and filename
15815         elements.  Add traced_files.
15816         (inotify_fd): Declare.
15817         (register_traced_file): Declare.
15818         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15819         (inotify_fd): Export.
15820         (resolv_conf_descr): Remove.
15821         (nscd_init): Move inotify descriptor creation to main.
15822         Don't register files for notification here.
15823         (register_traced_file): New function.
15824         (invalidate_cache): Don't use reset_res to determine whether to call
15825         res_init, go through the list of registered files.
15826         (main_loop_poll): The inotify descriptors are now stored in the
15827         structures for the traced files.
15828         (main_loop_epoll): Likewise
15829         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
15830         to __nss_disable_nscd.
15831         * nscd/cache.c (prune_cache): There is no single inotify descriptor
15832         for a database anymore.  Check the records for all the registered
15833         files instead.
15834         * nss/Makefile (libnss_files-routines): Add files-init.
15835         (libnss_db-routines): Add db-init.
15836         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15837         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15838         * nss/nss_db/db-init.c: New file.
15839         * nss/nss_files/files-init.c: New file.
15840         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
15841         __nss_lookup_function.
15842         (__nss_lookup_function): Call nss_load_library.
15843         (nss_load_all_libraries): New function.
15844         (__nss_disable_nscd): Take parameter with callback function for files
15845         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
15846         used for the cached services.
15847         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15848         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15849         options for features to all the files in nscd.
15851         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15853 2011-07-10  Roland McGrath  <roland@hack.frob.com>
15855         * csu/elf-init.c (__libc_csu_init): Comment typo.
15857 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
15859         * po/pl.po: Update from translation team.
15860         * po/ja.po: Likewise.
15861         * po/ru.po: Likewise.
15862         * po/ko.po: Likewise.
15863         * po/fr.po: Likewise.
15865 2011-07-09  Roland McGrath  <roland@hack.frob.com>
15867         * configure.in (.ctors/.dtors header and trailer check):
15868         Use an empirical test on a built program.
15869         * configure: Regenerated.
15871         * configure.in (-z relro check): Use an empirical test on a built DSO.
15872         Detect, but do not require, on ia64.
15873         * configure: Regenerated.
15875         * configure.in (READELF): Find it with AC_CHECK_TOOL.
15876         Update tests that use readelf to use $READELF instead.
15877         * configure: Regenerated.
15879 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
15881         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15882         if the result is not used.
15884 2011-07-05  Andreas Jaeger  <aj@suse.de>
15886         [BZ#9696]
15887         * stdlib/tst-strtod.c: Add testcase.
15889 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
15891         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15892         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15893         The latter has a higher limit.  Take additional parameter to pass to
15894         the new function.
15895         (__pathconf): Pass file to __statfs_link_max.
15896         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15897         __statfs_link_max.
15898         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15899         __statfs_link_max.
15901         [BZ #12868]
15902         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15903         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15904         Handle Lustre.
15905         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15906         (__statfs_filesize_max): Likewise.
15907         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15909 2011-07-05  Andreas Jaeger  <aj@suse.de>
15911         * resolv/res_comp.c (dn_skipname): Remove unused variable.
15913 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
15915         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15916         `status' variable.
15917         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15918         Likewise.
15920 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
15922         * Makefile (strop-tests): Add strncat.
15923         * string/test-strncat.c: New file.
15925 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
15927         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15929 2011-06-21  Andreas Jaeger  <aj@suse.de>
15931         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15932         Copy rule from iconvdata/Makefile.
15934 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
15936         [BZ #12922]
15937         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15938         but no long options are defined, just return 'W'.
15940 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
15942         [BZ #9696]
15943         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15945 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
15947         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15948         netgroups to read.
15949         (innetgr): Likewise.
15951 2011-07-05  Roland McGrath  <roland@hack.frob.com>
15953         * config.make.in (install_root): Default to $(DESTDIR).
15955 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
15957         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15959 2011-07-02  Roland McGrath  <roland@hack.frob.com>
15961         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15963         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15964         containing directory rather than embedding absolute directory names.
15966         * scripts/check-local-headers.sh: Rewritten using awk.
15967         Match by word, not by line.  Print error messages for matches.
15968         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15970         * Makerules [shlib-lds-flags empty]:
15971         ($(common-objpfx)libc_pic.opts): New target.
15972         ($(common-objpfx)libc_pic.os.clean): New target.
15973         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15975         * config.make.in (OBJCOPY): New variable.
15976         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15977         * configure: Regenerated.
15979         * config.make.in (use-default-link): New variable.
15980         * configure.in (use_default_link): Grok --with-default-link to set it.
15981         * configure: Regenerated.
15982         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15983         (shlib-lds, shlib-lds-flags): Define to empty.
15985         * Makerules (shlib-lds): New variable.
15986         (shlib-lds-flags): New variable.
15987         (build-shlib, build-moduile, build-module-asneeded): Use it.
15988         ($(common-objpfx)libc.so): Use $(shlib-lds).
15989         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15990         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15992         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15993         DT_FLAGS/DT_FLAGS_1 with zero flags.
15995         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15996         linker script munging.
15998 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
16000         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16001         as 128-bit value.
16002         * crypt/sha512.c (sha512_process_block): Perform total addition using
16003         128-bit if possible.
16004         (__sha512_finish_ctx): Likewise.
16005         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16006         as 64-bit value.
16007         * crypt/sha256.c (SWAP64): Define.
16008         (sha256_process_block): Perform total addition using 64-bit if
16009         possible.
16010         (__sha256_finish_ctx): Likewise.
16012 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
16014         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
16015         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16016         * nscd/hstcache.c (cache_addhst): Likewise.
16017         * nscd/grpcache.c (cache_addgr): Likewise.
16018         * nscd/aicache.c (addhstaiX): Likewise
16019         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16021 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
16023         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16024         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16025         * nscd/hstcache.c (cache_addhst): Likewise.
16026         * nscd/grpcache.c (cache_addgr): Likewise.
16027         * nscd/aicache.c (addhstaiX): Likewise
16029 2011-07-01  Andreas Schwab  <schwab@redhat.com>
16031         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16032         domain only when needed.
16034 2011-06-30  Andreas Schwab  <schwab@redhat.com>
16036         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16037         is always restored.
16039 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
16041         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16042         are re-adding the entry.
16043         * nscd/servicescache.c (cache_addserv): Likewise.
16045 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16047         * sysdeps/generic/dl-irel.h: fix protection against multiple
16048         inclusions.
16049         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16051 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
16053         [BZ #12935]
16054         * malloc/memusage.sh: Fix quoting in message.
16055         * debug/xtrace.sh: Likewise.
16057         * configure.in: Remove support for --experimental-malloc option, make
16058         it the default.
16059         * config.make.in: Likewise.
16060         * malloc/Makefile: Likewise.
16062 2011-06-27  Andreas Schwab  <schwab@redhat.com>
16064         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16065         two-byte characters.
16067 2011-06-27  Roland McGrath  <roland@hack.frob.com>
16069         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16070         AC_CACHE_CHECK invocation.
16071         * configure: Regenerated.
16073         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16075 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
16077         [BZ #12350]
16078         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
16079         bit from old_res_options.
16081         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16083         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16084         value type for setfct.
16086 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
16088         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16089         __gettimeofday instead of gettimeofday.
16091 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
16093         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16095 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16097         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16099         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16100         info.
16102 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
16104         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16105         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16106         strcpy-sse2-unaligned strncpy-sse2-unaligned
16107         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16108         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16109         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16110         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16111         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16112         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16113         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16114         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16115         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16116         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16117         (STRCPY): Support SSE2 and SSSE3 versions.
16119 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
16121         [BZ #12874]
16122         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16123         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16124         kernels which artificially limit size of requests.
16126 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
16128         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16129         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16130         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16131         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16132         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16133         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16134         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16135         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16136         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16137         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16138         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16139         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16140         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16141         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16142         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16143         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16144         Enable unaligned load optimization for Intel Core i3, i5 and i7
16145         processors.
16146         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16147         Define.
16148         (index_Fast_Unaligned_Load): Define.
16149         (HAS_FAST_UNALIGNED_LOAD): Define.
16151 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
16153         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16155 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
16157         [BZ #12907]
16158         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16159         until it is clear that the information is realy needed.
16160         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16162 2011-06-22  Andreas Schwab  <schwab@redhat.com>
16164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16166 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
16168         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16169         /sys/devices/system/cpu/online if it is usable.
16171         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16172         reading the information from the /proc filesystem to once a second.
16174 2011-06-21  Andreas Jaeger  <aj@suse.de>
16176         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16177         NULL after inclusion of kernel headers.
16179 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
16181         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16182         calls to internal_setent.
16184         [BZ #12885]
16185         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16186         addresses using gethostbyname4_r ignore IPv4 addresses.
16188         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16189         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
16191         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16193 2011-06-20  David S. Miller  <davem@davemloft.net>
16195         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16196         inclusions.
16197         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16199         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16200         (elf_irel): Use it.
16201         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16202         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16203         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16204         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16205         * sysdeps/x86_64/dl-irel.h: Likewise.
16207         * elf/dl-runtime.c: Use elf_ifunc_invoke.
16208         * elf/dl-sym.c: Likewise.
16210 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16212         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
16213         need to dereference resplen2.
16215 2011-06-14  Andreas Schwab  <schwab@redhat.com>
16217         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16219 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16221         * Makeconfig: Define vardbdir and inst_vardbdir.
16222         * nss/Makefile: Add rules to install db-Makefile.
16224         * nss/nss_db/db-XXX.c: Cleanup.
16226         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16227         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16228         GLIBC_PRIVATE.
16229         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16230         * nss/makedb.c: Implement -g option to specify that value strings
16231         are generated and should not be added to table iterated over for
16232         get*ent calls.
16233         * nss/nss_db/db-initgroups.c: New file.
16235         * nss/getent.c: Add support for initgroups lookups through getgrouplist
16236         interface.
16238         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16239         (internal_getgrouplist): Adjust to name change.
16240         Update use_initgroups_entry if this is not the first call.
16241         * nss/databases.def: Add initgroups entry.
16243         * nss/makedb.c (compute_tables): Check result of multiple hash table
16244         sizes to minimize maximum chain length.
16246 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
16248         * Versions.def: Add entry for libnss_db.
16249         * shlib-versions: Likewise.
16250         * nss/Makefile: Add rules to build libnss_db.
16251         * nss/Versions: Add libnss_db information.  Organize libnss_files
16252         entries better.
16253         * nss/db-Makefile: Add gshadow support.  Change rules for the new
16254         makedb progra.  Some minor improvements to generate smaller files.
16255         * nss/nss_db/nss_db.h: Move NSS database header data structures to
16256         here from...
16257         * nss/makedb.c: ...here.
16258         Improve database format to be smaller and require less memory at
16259         runtime.
16260         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
16261         db anymore.
16262         * nss/nss_db/db-netgrp.c: Likewise.
16263         * nss/nss_db/db-open.c: Likewise.
16264         * nss/nss_files/flies-XXX.x: Adjust comments.
16265         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16266         * nss/nss_files/files-grp.c: Likewise.
16267         * nss/nss_files/files-hosts.c: Likewise.
16268         * nss/nss_files/files-network.c: Likewise.
16269         * nss/nss_files/files-proto.c: Likewise.
16270         * nss/nss_files/files-pwd.c: Likewise.
16271         * nss/nss_files/files-rpc.c: Likewise.
16272         * nss/nss_files/files-service.c: Likewise.
16273         * nss/nss_files/files-sgrp.c: Likewise.
16274         * nss/nss_files/files-spwd.c: Likewise.
16275         * nss/nss_db/db-alias.c: Removed.
16276         * nss/nss_db/dummy-db.h: Removed.
16278 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
16280         * nss/makedb.c: Rewritten to not use database library.
16281         * nss/Makefile: Update to build new makedb program.
16283 2011-06-14  Andreas Jaeger  <aj@suse.de>
16285         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16286         memset declaration.
16288 2011-06-10  Andreas Schwab  <schwab@redhat.com>
16290         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16291         tmpbuf.
16293 2011-06-10  Roland McGrath  <roland@hack.frob.com>
16295         * Makerules (shlib.lds): Fail if the linker script comes out empty.
16296         * elf/Makefile ($(objpfx)ld.so): Likewise.
16298         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16299         Don't list ld.so twice in dependencies.
16301         * posix/bug-regex31.c: Include <stdlib.h>.
16303         * nscd/hstcache.c (cache_addhst): Remove unused variable.
16305         * nis/nss_compat/compat-spwd.c
16306         (getspent_next_nss_netgr): Remove unused variable.
16307         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16309         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16310         nonmembers" output to use the right array.
16312         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16314         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16316         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16317         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16318         * catgets/gencat.c (read_input_file): Likewise.
16319         * locale/programs/locarchive.c (enlarge_archive): Likewise.
16321         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16322         variable definition inside #if's controlling its use.
16324         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16326         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16328         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16330         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16331         unreachable code.
16333         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16335         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16336         * configure: Regenerated.
16338         * Makerules: Revert last change.
16339         * elf/Makefile: Likewise.
16341 2011-06-09  Roland McGrath  <roland@hack.frob.com>
16343         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16344         * elf/Makefile ($(objpfx)librtld.os): Likewise.
16345         (reloc-link): Likewise.
16347 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
16349         * elf/Makefile: Add rules to build pldd.
16350         * elf/pldd.c: New file.
16351         * elf/pldd-xx.c: New file.
16353 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
16355         * version.h: Update for 2.15 development version.
16357 2011-06-07  David S. Miller  <davem@davemloft.net>
16359         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16360         ifuncs.
16361         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16362         elf_machine_lazy_rel): Likewise.
16363         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16364         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16365         elf_machine_lazy_rel): Likewise.
16366         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16367         dl_hwcap via passed in argument.
16368         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16369         Likewise.
16371 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16373         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
16375 2011-06-06  Roland McGrath  <roland@hack.frob.com>
16377         [BZ #12849]
16378         * manual/fdl-1.1.texi: New file, verbatim from:
16379         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16380         * manual/lgpl-2.1.texi: New file, verbatim from:
16381         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16382         * manual/Makefile (licenses): New variable, list those new file names.
16383         (texis): Use it.
16384         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16386         * manual/fdl.texi: File removed.
16387         * manual/lesser.texi: File removed.
16388         * manual/libc.texinfo (Copying, Documentation License):
16389         Use new @include file names, put @appendix directive before @include.
16391 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
16393         [BZ #12841]
16394         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16395         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16396         (mq_open): Add __NTH.
16398 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
16400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16401         Assume Intel Core i3/i5/i7 processor if AVX is available.
16403 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16405         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16406         typo.
16408 2011-05-31  Andreas Schwab  <schwab@redhat.com>
16410         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16411         memory.  Use alloca_account.  Fix memory leak when retrying.
16413 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16415         * version.h (RELEASE): Bump for 2.14 release.
16416         * include/features.h (__GLIBC_MINOR__): Bump to 14.
16418         * config.make.in (RANLIB): Remove entry.
16420 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
16422         * po/Makefile (po-sed-cmd): Add ksh to extensions.
16423         (libc.pot): Work around missing support for .ksh extension in xgettext.
16425         [BZ #12684]
16426         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16427         if both request failed.
16428         (send_dg): In case of server errors clear resplen or *resplen2.
16430         [BZ #12454]
16431         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16432         when there are multiple maps.
16433         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16434         (_dl_fini): Remove test here.
16436         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16438 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
16440         [BZ #12350]
16441         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16442         bit from old_res_options.
16443         (gaih_inet): Likewise.
16445         [BZ #11099]
16446         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16447         as signed.
16449         * resolv/res_init.c (res_setoptions): Make the code more compact.
16451         [BZ #11558]
16452         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16453         set RES_USEVC.
16455         [BZ #11634]
16456         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16458         * malloc/malloc.h: Mark malloc hook variables as deprecated.
16460         [BZ #11781]
16461         * malloc/malloc.h: Declare malloc hook variables as volatile.
16463         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16464         in last patch.
16466         [BZ #11799]
16467         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16468         raise in the comment.
16469         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16470         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16471         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16473 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
16475         [BZ #12811]
16476         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16477         grow the buffers more if it already has to be sufficient.
16478         (build_wcs_upper_buffer): Likewise.
16479         * posix/regexec.c (check_matching): Likewise.
16480         (clean_state_log_if_needed): Likewise.
16481         (extend_buffers): Don't enlarge buffers beyond size of the input
16482         buffer.
16483         Patches mostly by Emil Wojak <emil@wojak.eu>.
16484         * posix/bug-regex32.c: New file.
16485         * posix/Makefile (tests): Add bug-regex32.
16487         * locale/findlocale.c (_nl_find_locale): Return right away if
16488         _nl_explode_name failed.
16489         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16491         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16493         * debug/xtrace.sh: Unify messages.
16494         * malloc/memusage.sh: Likewise.
16496         [BZ #12813]
16497         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16498         time symbol from vDSO.  Substitute with vsyscall if not available.
16499         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16500         __vdso_time.
16502         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16503         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16504         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16505         Add sendmmsg and internal_sendmmsg.
16506         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16507         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16508         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16510         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16511         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16512         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16514 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
16516         [BZ #12813]
16517         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16518         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
16519         available.
16520         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16521         __vdso_getcpu.
16523         [BZ #12814]
16524         * iconvdata/Makefile (tests): Add bug-iconv9.
16525         * iconvdata/bug-iconv9.c: New file.
16527 2011-05-27  Andreas Schwab  <schwab@redhat.com>
16529         [BZ #12814]
16530         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16532 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
16534         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16535         (struct user_regs_struct): Change intcs field back to cs.
16537 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
16539         * po/ja.po: Update from translation team.
16541 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
16543         [BZ #12795]
16544         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16545         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16547 2011-05-20  Andreas Schwab  <schwab@redhat.com>
16549         * stdlib/longlong.h: Update from GCC.
16551 2011-05-23  Andreas Schwab  <schwab@redhat.com>
16553         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16554         parameter name.
16555         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16556         Add parameter name.
16557         (__sysconf): Pass it down.
16559 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
16561         [BZ #12671]
16562         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16563         some situations.
16564         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16565         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16566         add in in __libc_use_alloca calls.  Adjust callers.
16567         (glob): Use malloc in some situations.
16569         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16570         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16571         pltexit.
16573 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
16575         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16576         and CLOCK_BOOTTIME_ALARM.
16578         [BZ #12782]
16579         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16580         is returned.
16582         * string/_strerror.c (__strerror_r): Print negative errors as signed
16583         numbers.
16585         [BZ #12777]
16586         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16587         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16588         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16590         * configure.in: Fix typo in redirection and correct removal of test
16591         files in two cases.
16593         [BZ #12788]
16594         * locale/setlocale.c (new_composite_name): Fix test to check for
16595         identical name of all categories.
16597         [BZ #12792]
16598         * libio/filedoalloc.c (local_isatty): New function.
16599         (_IO_file_doallocate): Use local_isatty.
16600         * stdio-common/perror.c (perror): In case a new stream is used
16601         forward the stream error.
16602         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16603         error flag.
16605 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
16607         [BZ #11869]
16608         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16609         alloca.
16610         * include/alloca.h (extend_alloca_account): Define.
16612         [BZ #11857]
16613         * posix/regex.h: Fix comments with documentation of user-accessible
16614         fields after compilation and describe correct free'ing of pattern
16615         after re_compile_pattern.
16616         Patch by Reuben Thomas <rrt@sc3d.org>.
16618 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
16620         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16621         and -mno-altivec to prevent the compiler from using Altivec and/or
16622         VSX instructions when the corresponding registers are not available.
16624 2011-05-19  Andreas Schwab  <schwab@redhat.com>
16626         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16628 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
16630         * libio/freopen.c (freopen): Use __dup2, not dup2.
16631         * libio/freopen64.c (freopen64): Likewise.
16633 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16635         [BZ #12775]
16636         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16637         * math/Makefile (tests): Add test-powl.
16638         (CFLAGS-test-powl.c): Define.
16639         * math/test-powl.c: New file.
16641 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16643         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16645 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
16647         [BZ #11837]
16648         * iconvdata/gb18030.c: Update to GB18020-2005.
16650 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
16652         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16653         RE_SYNTAX_POSIX_AWK): Update to match recent development.
16654         Patch by Aharon Robbins <arnold@skeeve.com>.
16656         [BZ #11892]
16657         * stdlib/putenv.c (putenv): Don't always create copy of the variable
16658         on the stack.
16660         [BZ #11895]
16661         * misc/pselect.c (__pselect): Handle timeout value errors hidden
16662         through underflows.
16664         [BZ #12766]
16665         * misc/error.c (error_at_line): Ensure file_name and old_file_name
16666         point to strings before performing equality test for error_one_per_line
16667         mode.
16669         [BZ #11697]
16670         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16672         [BZ #11820]
16673         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16674         (struct user_fpregs_struct): Avoid __uint*_t types.
16676         [BZ #6420]
16677         * malloc/mtrace.c (tr_where): Add additional parameter to point to
16678         symbol info.  Use it instead of calling _dl_addr locally.
16679         (lock_and_info): New function.
16680         (tr_freehook): Call lock_and_info and pass symbol info as additional
16681         parameter to tr_where.
16682         (tr_mallochook): Likewise.
16683         (tr_reallochook): Likewise.
16684         (tr_memalignhook): Likewise.
16686         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
16687         used and couldn't be at all thread-safe.
16689 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
16691         * libio/freopen.c (freopen): Don't close old file descriptor
16692         before the new one is opened.  Instead dup the new file descriptor
16693         to the old one after the new stream is created.
16694         * libio/freopen64.c (freopen64): Likewise.
16695         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16696         * libio/fileops.c (_IO_new_file_close_it): Handle new
16697         _IO_FLAGS2_NOCLOSE flag.
16698         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16699         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16700         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16701         _IO_FLAGS2_NOCLOSE flag.
16702         * include/unistd.h: Add hidden_proto for dup3.
16703         Define __have_dup3.
16704         * io/dup3.c: Define hidden symbol.
16705         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16707         [BZ #7101]
16708         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16709         when an incomplete long option is used.
16710         * posix/tst-getopt_long1.c: New file.
16711         * posix/Makefile (tests): Add tst-getopt_long1.
16713         [BZ #10138]
16714         * scripts/config.guess: Update from autoconf-2.68.
16715         * scripts/config.sub: Likewise.
16717         [BZ #10157]
16718         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16719         tests into ...
16720         (has_cpuclock): ...this.  New function.
16721         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16722         macro here based on has_cpuclock code.
16724         [BZ #10149]
16725         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16726         First byte (not low byte) is now always NUL.
16727         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16729         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16730         Use non-cancelable interfaces.
16732         [BZ #9809]
16733         * locale/iso-639.def: Add entry for Sorani.
16735         [BZ #11901]
16736         * include/stdlib.h: Move include protection to the right place.
16737         Define abort_msg_s.  Declare __abort_msg with it.
16738         * stdlib/abort.c (__abort_msg): Adjust type.
16739         * assert/assert.c (__assert_fail_base): New function.  Majority
16740         of code from __assert_fail.  Allocate memory for __abort_msg with
16741         mmap.
16742         (__assert_fail): Now call __assert_fail_base.
16743         * assert/assert-perr.c: Remove bulk of implementation.  Use
16744         __assert_fail_base.
16745         * include/assert.hL Declare __assert_fail_base.
16746         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16747         mmap.
16748         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16750 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
16752         [BZ #11952]
16753         [BZ #12453]
16754         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16755         until all modules are registered in the DTV.
16756         * elf/Makefile: Add rules to build and run tst-tls19.
16757         * elf/tst-tls19.c: New file.
16758         * elf/tst-tls19mod1.c: New file.
16759         * elf/tst-tls19mod2.c: New file.
16760         * elf/tst-tls19mod3.c: New file.
16761         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16763         [BZ #12083]
16764         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16765         correctly.
16767         [BZ #12601]
16768         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16769         two-byte sequence errors.
16770         * iconvdata/Makefile (tests): Add bug-iconv8.
16771         * iconvdata/bug-iconv8.c: New file.
16773         [BZ #12626]
16774         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16775         buf2 definition.
16777         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16779         [BZ #12432]
16780         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16781         (dummy_getcfa): New function.
16782         (init): Get _Unwind_GetCFA address, use dummy if not found.
16783         (backtrace_helper): In recursion check, also check whether CFA changes.
16784         (__backtrace): Completely initialize arg.
16786         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16787         storing incomplete byte sequence in state object.  Avoid testing for
16788         guaranteed too small input if we know there is enough data available.
16790 2011-05-11  Andreas Schwab  <schwab@redhat.com>
16792         * Makeconfig (+link-pie): Indent.
16793         * Rules (binaries-pie): Define if $(have-fpie) and
16794         $(build-shared).
16795         (binaries-shared): Also filter out $(binaries-pie).
16796         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16797         * nscd/Makefile (others-pie): Add nscd.
16798         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16799         ($(objpfx)nscd): Remove command override.
16800         * login/Makefile (others-pie): Add pt_chown.
16801         ($(objpfx)pt_chown): Remove command override.
16802         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16803         remove command overrides.
16805 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
16807         * libio/tst_putwc.c: Fix error messages.
16809         [BZ #12724]
16810         * libio/fileops.c (_IO_new_file_close_it): Always flush when
16811         currently writing and seek to current position when not.
16812         * libio/Makefile (tests): Add bug-fclose1.
16813         * libio/bug-fclose1.c: New file.
16815 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
16817         [BZ #12511]
16818         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16819         don't set DF_1_NODELETE here.
16820         (do_lookup_x): When entering new entry test for copy relocation
16821         and if necessary set DF_1_NODELETE flag.
16822         * elf/tst-unique4.cc: New file.
16823         * elf/tst-unique4.h: New file.
16824         * elf/tst-unique4lib.cc: New file.
16825         * elf/Makefile: Add rules to build and run tst-unique4.
16826         Patch by Piotr Bury <pbury@goahead.com>.
16828 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
16830         [BZ #12052]
16831         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16833         [BZ #12625]
16834         * misc/mntent_r.c (addmntent): Flush the stream after the output
16836         [BZ #12393]
16837         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16838         (is_trusted_path_normalize): Skip initial colon.  Append slash
16839         to empty buffer.  Duplicate is_trusted_path code but allow
16840         constructed patch to be prefix.
16841         (is_dst): Allow $ORIGIN followed by /.
16842         (_dl_dst_substitute): Correct clearing of check_for_trusted.
16843         Correct testing of result of is_trusted_path_normalize
16844         (decompose_rpath): Fix warning.
16846 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
16848         [BZ #11257]
16849         * grp/initgroups.c (internal_getgrouplist): When we found the service
16850         list through the initgroups entry in nsswitch.conf do not always
16851         continue on a successful lookup.  Don't always use the
16852         __nss_group_database value if it is set.
16853         * nss/nsswitch.conf (initgroups): Change action for successful db
16854         lookup to continue for compatibility.
16856 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
16858         [BZ #11532]
16859         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16860         and CP774 modules.
16861         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16862         and CP774 modules.
16863         * iconvdata/tst-tables.sh: Likewise.
16864         * iconvdata/cp770.c: New file.
16865         * iconvdata/cp771.c: New file.
16866         * iconvdata/cp772.c: New file.
16867         * iconvdata/cp773.c: New file.
16868         * iconvdata/cp774.c: New file.
16869         * iconvdata/testdata/CP770: New file.
16870         * iconvdata/testdata/CP770..UTF8: New file.
16871         * iconvdata/testdata/CP771: New file.
16872         * iconvdata/testdata/CP771..UTF8: New file.
16873         * iconvdata/testdata/CP772: New file.
16874         * iconvdata/testdata/CP772..UTF8: New file.
16875         * iconvdata/testdata/CP773: New file.
16876         * iconvdata/testdata/CP773..UTF8: New file.
16877         * iconvdata/testdata/CP774: New file.
16878         * iconvdata/testdata/CP774..UTF8: New file.
16880         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16881         END CHARMAP line.
16882         * iconvdata/gen-8bit-gap.sh: Likewise.
16883         * iconvdata/gen-8bit.sh: Likewise.
16885         * locale/iso-639.def: Add ary entry.
16887         [BZ #11258]
16888         * locale/C-translit.h.in: Add U20A1 transliteration.
16890         [BZ #12178]
16891         * locale/iso-639.def: Add wae entry.
16892         Patch by Kevin Bortis <bortis@translate-wae.ch>.
16894         [BZ #12545]
16895         * locale/programs/localedef.c (construct_output_path): Use ssize_t
16896         for n.
16898         [BZ #12711]
16899         * locale/C-translit.h.in: Add entry for U20B9.
16900         Patch by pravin.d.s@gmail.com.
16902 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
16904         [BZ #12713]
16905         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16906         ENAMETOOLONG use generic getcwd.
16907         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
16908         in rtld.  Use *stat64.
16909         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16910         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16911         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16912         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16913         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16914         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16915         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16916         __fstatat64 macros.
16917         * include/dirent.h: Add libc_hidden_proto for rewinddir.
16918         * dirent/rewinddir.c: Add libc_hidden_def.
16919         * sysdeps/mach/hurd/rewinddir.c: Likewise.
16920         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
16922         * include/dirent.h (__alloc_dir): Add flags parameter.
16923         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16924         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16925         __alloc_dir.
16926         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
16927         from fdopendir if O_CLOEXEC is already set.
16929 2011-03-15  Alan Modra  <amodra@gmail.com>
16931         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16932         l_tls_firstbyte_offset non-zero.  Save padding offset in
16933         l_tls_firstbyte_offset for later use.
16934         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16935         freeing static tls block.
16937 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
16939         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16940         where #ifdef was intended.  The intent is to prevent ARG_MAX from
16941         being defined by the kernel headers.
16943 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
16945         [BZ #12734]
16946         * resolv/resolv.h: Define RES_NOTLDQUERY.
16947         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16948         no-tld-query and set RES_NOTLDQUERY.
16949         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16950         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16951         modern BIND to search name as TLD unless forbidden.
16953 2011-05-07  Petr Baudis  <pasky@suse.cz>
16954             Ulrich Drepper  <drepper@gmail.com>
16956         [BZ #12393]
16957         * elf/dl-load.c (fillin_rpath): Move trusted path check...
16958         (is_trusted_path): ...to here.
16959         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16960         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16961         using is_trusted_path_normalize() in setuid scripts.
16963 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16965         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16966         __BEGIN/__END_DECLS.
16968 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
16970         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16971         NSS_STATUS_NOTFOUND if no record was found.
16973 2011-05-05  Andreas Schwab  <schwab@redhat.com>
16975         * sunrpc/Makefile (headers): Add rpc/netdb.h.
16976         (headers-not-in-tirpc): Remove rpc/netdb.h
16977         * resolv/netdb.h: Revert last change.
16979 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16981         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16982         circular dependency between libgcc.a and libc.a.
16984 2011-05-05  Andreas Schwab  <schwab@redhat.com>
16986         * resolv/netdb.h: Don't include <rpc/netdb.h>.
16987         * nis/Makefile: Don't install rpcsvc/*.
16988         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16989         instead of <rpc/types.h>.
16990         (MAXHOSTNAMELEN): Define.
16992 2011-05-03  Andreas Schwab  <schwab@redhat.com>
16994         * elf/ldconfig.c (add_dir): Don't crash on empty path.
16996 2011-04-28  Maciej Babinski  <mbabinski@google.com>
16998         [BZ #12714]
16999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17000         gethostbyname4_r when IPv6 results are possible.
17002 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
17004         [BZ #12723]
17005         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17006         _PC_PIPE_BUF handling.
17008 2011-04-30  Bruno Haible  <bruno@clisp.org>
17010         [BZ #12717]
17011         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17012         * resolv/netdb.h (getnameinfo): Change type of flags parameter
17013         to 'int'.
17014         * inet/getnameinfo.c (getnameinfo): Likewise.
17016 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
17018         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17019         to groups setting in database lookup.
17020         * nss/nsswitch.conf: Add initgroups entry.
17022 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
17024         [BZ #12685]
17025         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17026         mode string.
17027         Patch by Eric Blake <eblake@redhat.com>.
17029 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
17031         * sunrpc/Makefile (need-export-routines): Add svc_run.
17032         (routines): Remove svc_run.
17033         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17034         * sunrpc/clnt_perr.c (clnt_perrno): Export.
17035         * sunrpc/svc_run.c (svc_run): Likewise.
17036         * sunrpc/svc_udp.c (svcudp_create): Likewise.
17038 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
17040         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17041         problem in reallocation in last patch.
17043 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
17045         * sunrpc/Makefile: Move inclusion of Rules.
17047 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
17049         * nss/nss_files/files-initgroups.c: New file.
17050         * nss/Makefile (libnss_files-routines): Add files-initgroups.
17051         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17052         _nss_files_initgroups_dyn.
17054 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
17056         * elf/elf.h (R_ARM_IRELATIVE): Define.
17058 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
17060         * po/ru.po: Update from translation team.
17062 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
17064         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17065         dependencies.
17067 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
17069         [BZ #12653]
17070         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17071         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17072         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17073         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17074         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17076 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
17078         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17079         differing bytes.
17080         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17081         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17082         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17084 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
17086         [BZ #12420]
17087         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17088         storing it.
17089         * stdlib/bug-getcontext.c: New file.
17090         * stdlib/Makefile: Add rules to build and run bug-getcontext.
17092 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17094         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17095         instructions into .machine "z9-109".
17096         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17097         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17099 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17101         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17102         between environment variables and auxiliary vector.
17104 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
17106         * Makefile: Add rules to build linkobj/libc.so.
17107         * include/libc-symbols.h: Define libc_hidden_nolink.
17108         * include/rpc/auth.h: Mark functions which are to be hidden.
17109         * include/rpc/auth_des.h: Likewise.
17110         * include/rpc/auth_unix.h: Likewise.
17111         * include/rpc/clnt.h: Likewise.
17112         * include/rpc/des_crypt.h: Likewise.
17113         * include/rpc/key_prot.h: Likewise.
17114         * include/rpc/pmap_clnt.h: Likewise.
17115         * include/rpc/pmap_prot.h: Likewise.
17116         * include/rpc/pmap_rmt.h: Likewise.
17117         * include/rpc/rpc_msg.h: Likewise.
17118         * include/rpc/svc.h: Likewise.
17119         * include/rpc/svc_auth.h: Likewise.
17120         * include/rpc/xdr.h: Likewise.
17121         * nis/Makefile: Link all DSOs against linkobj/libc.so.
17122         * nss/Makefile: Likewise.
17123         * sunrpc/Makefile: Don't install headers.  Build library with normal
17124         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
17125         * sunrpc/auth_des.c: Hide exported symbols by default, export some
17126         for the compat linking library.  Remove use of INTDEF/INTUSE.
17127         * sunrpc/auth_none.c: Likewise.
17128         * sunrpc/auth_unix.c: Likewise.
17129         * sunrpc/authdes_prot.c: Likewise.
17130         * sunrpc/authuxprot.c: Likewise.
17131         * sunrpc/clnt_gen.c: Likewise.
17132         * sunrpc/clnt_perr.c: Likewise.
17133         * sunrpc/clnt_raw.c: Likewise.
17134         * sunrpc/clnt_simp.c: Likewise.
17135         * sunrpc/clnt_tcp.c: Likewise.
17136         * sunrpc/clnt_udp.c: Likewise.
17137         * sunrpc/clnt_unix.c: Likewise.
17138         * sunrpc/des_crypt.c: Likewise.
17139         * sunrpc/des_soft.c: Likewise.
17140         * sunrpc/get_myaddr.c: Likewise.
17141         * sunrpc/key_call.c: Likewise.
17142         * sunrpc/key_prot.c: Likewise.
17143         * sunrpc/netname.c: Likewise.
17144         * sunrpc/pm_getmaps.c: Likewise.
17145         * sunrpc/pm_getport.c: Likewise.
17146         * sunrpc/pmap_clnt.c: Likewise.
17147         * sunrpc/pmap_prot.c: Likewise.
17148         * sunrpc/pmap_prot2.c: Likewise.
17149         * sunrpc/pmap_rmt.c: Likewise.
17150         * sunrpc/publickey.c: Likewise.
17151         * sunrpc/rpc_cmsg.c: Likewise.
17152         * sunrpc/rpc_common.c: Likewise.
17153         * sunrpc/rpc_dtable.c: Likewise.
17154         * sunrpc/rpc_prot.c: Likewise.
17155         * sunrpc/rpc_thread.c: Likewise.
17156         * sunrpc/rtime.c: Likewise.
17157         * sunrpc/svc.c: Likewise.
17158         * sunrpc/svc_auth.c: Likewise.
17159         * sunrpc/svc_authux.c: Likewise.
17160         * sunrpc/svc_raw.c: Likewise.
17161         * sunrpc/svc_run.c: Likewise.
17162         * sunrpc/svc_simple.c: Likewise.
17163         * sunrpc/svc_tcp.c: Likewise.
17164         * sunrpc/svc_udp.c: Likewise.
17165         * sunrpc/svc_unix.c: Likewise.
17166         * sunrpc/svcauth_des.c: Likewise.
17167         * sunrpc/xcrypt.c: Likewise.
17168         * sunrpc/xdr.c: Likewise.
17169         * sunrpc/xdr_array.c: Likewise.
17170         * sunrpc/xdr_float.c: Likewise.
17171         * sunrpc/xdr_intXX_t.c: Likewise.
17172         * sunrpc/xdr_mem.c: Likewise.
17173         * sunrpc/xdr_rec.c: Likewise.
17174         * sunrpc/xdr_ref.c: Likewise.
17175         * sunrpc/xdr_sizeof.c: Likewise.
17176         * sunrpc/xdr_stdio.c: Likewise.
17178 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
17180         [BZ #12650]
17181         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17182         * sysdeps/ia64/dl-tls.h: Likewise.
17183         * sysdeps/powerpc/dl-tls.h: Likewise.
17184         * sysdeps/s390/dl-tls.h: Likewise.
17185         * sysdeps/sh/dl-tls.h: Likewise.
17186         * sysdeps/sparc/dl-tls.h: Likewise.
17187         * sysdeps/x86_64/dl-tls.h: Likewise.
17188         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17190 2011-03-14  Andreas Schwab  <schwab@redhat.com>
17192         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17193         rpath element also skip the following colon.
17194         (expand_dynamic_string_token): Add is_path parameter and pass
17195         down to DL_DST_REQUIRED and _dl_dst_substitute.
17196         (decompose_rpath): Call expand_dynamic_string_token with
17197         non-zero is_path.  Ignore empty rpaths.
17198         (_dl_map_object_from_fd): Call expand_dynamic_string_token
17199         with zero is_path.
17201 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
17203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17204         Make cancelable.
17206 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
17208         [BZ #12655]
17209         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17210         Patch by Filipe David Manana <fdmanana@apache.org>.
17212 2011-04-07  Andreas Schwab  <schwab@redhat.com>
17214         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17215         Maintain aligned stack.
17216         (CHECK_RSP): Remove unused macro.
17218 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
17220         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17221         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17223 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
17225         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17227         * include/features.h: Mention __USE_XOPEN2K8 in comment.
17229 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
17231         [BZ #12518]
17232         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17233         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17234         * sysdeps/x86_64/memmove.c: New file.
17235         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17236         (memcpy): Renamed to ...
17237         (__new_memcpy): This.
17238         (memcpy): Provide GLIBC_2_14 memcpy.
17239         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17240         (memcpy): Provide GLIBC_2_2_5 memcpy.
17242 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17244         [BZ #12631]
17245         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17247 2011-03-30  Andreas Schwab  <schwab@redhat.com>
17249         * misc/syncfs.c: New file.
17250         * misc/Makefile (routines): Add syncfs.
17251         * posix/unistd.h: Declare syncfs.
17252         * sysdeps/unix/syscalls.list: Add syncfs.
17254 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17256         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17257         open_by_handle_at.
17258         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17259         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17260         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17261         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17262         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17263         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17264         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17266 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17268         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17269         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17270         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17271         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17272         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17274         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17276         * io/Makefile: Compile fallocate.c, fallocate64.c, and
17277         sync_file_range.c with -fexceptions.
17278         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17279         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17280         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17281         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17282         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17283         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17284         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17285         sync_file_range as cancellation point
17286         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
17287         now a wrapper around __call_sync_file_range with cancellation handling.
17288         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17289         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
17290         function name to __call_sync_file_range.
17291         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17292         Add call_sync_file_range.
17294 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17296         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17297         bits/timex.h.
17299 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17301         * iconv/iconv.h: Fix typo in comment.
17302         * io/fcntl.h: Likewise.
17303         * libio/stdio.h: Likewise.
17304         * posix/spawn.h: Likewise.
17305         * posix/unistd.h: Likewise.
17306         * stdlib/stdlib.h: Likewise.
17307         * time/time.h: Likewise.
17308         * wcsmbs/wchar.h: Likewise.
17310         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17311         open_by_handle): Add.
17312         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17313         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
17314         Augment a few comments.
17315         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17316         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17317         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17318         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17319         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17320         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17321         open_by_handle.
17323         * io/fcntl.h (AT_EMPTY_PATH): Define.
17325 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
17327         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17328         * sysdeps/unix/sysv/linux/bits/time.h: New file.
17329         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17330         to...
17331         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
17332         * Versions.def: Add GLIBC_2.14.
17333         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17334         Export.
17336 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
17338         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17339         round counter.
17340         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17342 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17344         [BZ #12597]
17345         * string/test-strncmp.c (do_page_test): New function.
17346         (check2): Likewise.
17347         (test_main): Call check2.
17348         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17350 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
17352         [BZ #12587]
17353         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17354         Handle cache information in CPU leaf 4.
17355         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17357 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
17359         [BZ #12583]
17360         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17361         character representation.
17362         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17364 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
17366         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17367         END(__isnan) to END(__isnanf) to match function entry point/label
17368         EALIGN(__isnanf,...).
17370 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
17372         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17374 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
17376         [BZ #12510]
17377         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17378         copy from the symbol referenced in the relocation to initialize the
17379         used variable.
17380         Patch by Piotr Bury <pbury@goahead.com>.
17381         * elf/Makefile: Add rules to build and tst-unique3.
17382         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17383         * elf/tst-unique3.cc: New file.
17384         * elf/tst-unique3.h: New file.
17385         * elf/tst-unique3lib.cc: New file.
17386         * elf/tst-unique3lib2.cc: New file.
17388         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17390 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
17392         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17393         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
17394         to _start.
17396 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
17398         * elf/dl-load.c (_dl_map_object): If we are looking for the first
17399         to-be-loaded object along a path to loader is ld.so.
17401 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17402             Ulrich Drepper  <drepper@gmail.com>
17404         * sysdeps/x86_64/memset.S: After aligning destination, code
17405         branches to different locations depending on the value of
17406         misalignment, when multiarch is enabled. Fix this.
17408 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17410         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17411         Set _x86_64_preferred_memory_instruction for AMD processsors.
17412         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17413         Set bit_Prefer_SSE_for_memop for AMD processors.
17415 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
17417         * libio/fmemopen.c (fmemopen): Optimize a bit.
17419 2011-03-03  Andreas Schwab  <schwab@redhat.com>
17421         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17423 2011-03-03  Roland McGrath  <roland@redhat.com>
17425         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17427 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
17429         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17430         __bzero_ultra1 instead of __memset_ultra1.
17432 2011-02-23  Andreas Schwab  <schwab@redhat.com>
17433             Ulrich Drepper  <drepper@gmail.com>
17435         [BZ #12509]
17436         * include/link.h (struct link_map): Add l_orig_initfini.
17437         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17438         returning unsuccessfully.
17439         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17440         close of a file loaded at startup, restore the original l_initfini
17441         list.
17442         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17443         list, store the pointer.
17444         * elf/Makefile ($(objpfx)noload-mem): New rule.
17445         (noload-ENV): Define.
17446         (tests): Add $(objpfx)noload-mem.
17447         * elf/noload.c: Include <memcheck.h>.
17448         (main): Call mtrace.  Close all opened handles.
17450 2011-02-17  Andreas Schwab  <schwab@redhat.com>
17452         [BZ #12454]
17453         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17454         dependencies are missing.
17456 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17458         Fix __if_freereq crash: Unlike the generic version which uses free,
17459         Hurd needs munmap.
17460         * sysdeps/mach/hurd/ifreq.h: New file.
17462 2011-01-27  Petr Baudis  <pasky@suse.cz>
17463             Ulrich Drepper  <drepper@gmail.com>
17465         [BZ 12445]#
17466         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17467         to extend_alloca().
17468         * stdio-common/bug23.c: New file.
17469         * stdio-common/Makefile (tests): Add bug23.
17471 2010-09-28  Andreas Schwab  <schwab@redhat.com>
17472             Ulrich Drepper  <drepper@gmail.com>
17474         [BZ #12489]
17475         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17476         before performing relro protection.  At old place add assertion
17477         to make sure nothing changed.
17479 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
17480             Glauber de Oliveira Costa  <glommer@gmail.com>
17482         * elf/elf.h: Add new ARM TLS relocs.
17484 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
17486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17487         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17488         cast from r3.
17489         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
17490         'tests' variable.
17491         * sysdeps/wordsize-64/tst-writev.c: New file.
17493 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
17495         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17496         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17497         insns in _dl_start to prevent a TOC reference before relocs are
17498         resolved.
17500 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
17502         [BZ #12469]
17503         * Makeconfig: Remove RANLIB definition.
17504         * Makerules: Don't use RANLIB.
17505         * aclocal.m4: Remove ranlib test.
17506         * configure.in: No need to check for ranlib.
17507         * elf/rtld-Rules: Don't use RANLIB.
17509 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17511         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17512         protection macro.
17513         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17514         inclusion protection macro.
17516         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17517         SIGRTMIN and SIGRTMAX and print information in that case only when
17518         SIGRTMIN is defined.
17520 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
17522         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17523         arginfo fn returning -1.
17525         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17526         and thousands string is zero terminated.
17528 2011-02-03  Andreas Schwab  <schwab@redhat.com>
17530         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17531         sysdeps/unix/sysv/linux/bits/socket.h.
17533 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17535         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17536         (__CPU_COUNT): Remove old macros.
17537         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17538         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17539         (__CPU_ALLOC, __CPU_FREE): Add macros.
17540         (__sched_cpualloc, __sched_cpufree): Add declarations.
17542 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
17544         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17545         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17546         * nscd/aicache.c (addhstaiX): Return timeout of added value.
17547         (readdhstai): Return value of addhstaiX call.
17548         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17549         (addgrbyX): Return value returned by cache_addgr.
17550         (readdgrbyname): Return value returned by addgrbyX.
17551         (readdgrbygid): Likewise.
17552         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17553         (addpwbyX): Return value returned by cache_addpw.
17554         (readdpwbyname): Return value returned by addhstbyX.
17555         (readdpwbyuid): Likewise.
17556         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17557         (addservbyX): Return value returned by cache_addserv.
17558         (readdservbyname): Return value returned by addservbyX:
17559         (readdservbyport): Likewise.
17560         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17561         (addhstbyX): Return value returned by cache_addhst.
17562         (readdhstbyname): Return value returned by addhstbyX.
17563         (readdhstbyaddr): Likewise.
17564         (readdhstbynamev6): Likewise.
17565         (readdhstbyaddrv6): Likewise.
17566         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17567         (readdinitgroups): Return value returned by addinitgroupsX.
17568         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17569         (prune_cache): Keep track of timeout value of re-added entries.
17570         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17571         * nscd/nscd.h: Adjust prototypes of readd* functions.
17573 2011-02-04  Roland McGrath  <roland@redhat.com>
17575         * nis/nis_server.c (nis_servstate): Use the right name for 0.
17576         (nis_stats): Likewise.
17577         * nis/nis_modify.c (nis_modify): Likewise.
17578         * nis/nis_remove.c (nis_remove): Likewise.
17579         * nis/nis_add.c (nis_add): Likewise.
17581         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17583         * posix/fnmatch_loop.c: Add some consts.
17585         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17587 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
17589         [BZ #12460]
17590         * config.make.in (config-cflags-novzeroupper): Define.
17591         * configure.in: Substitute libc_cv_cc_novzeroupper.
17592         * elf/Makefile (AVX-CFLAGS): Define.
17593         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17594         (CFLAGS-tst-auditmod4a.c): Likewise.
17595         (CFLAGS-tst-auditmod4b.c): Likewise.
17596         (CFLAGS-tst-auditmod6b.c): Likewise.
17597         (CFLAGS-tst-auditmod6c.c): Likewise.
17598         (CFLAGS-tst-auditmod7b.c): Likewise.
17599         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17601 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
17603         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17604         function to the callback.
17605         Patch partly by Jiri Olsa <jolsa@redhat.com>.
17607 2011-02-02  Andreas Schwab  <schwab@redhat.com>
17609         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17610         of errno.
17612 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
17614         [BZ #11724]
17615         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17616         of constructors.
17617         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17618         of destructors.
17619         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17621         [BZ #11724]
17622         * elf/Makefile: Add rules to build and run new test.
17623         * elf/tst-initorder.c: New file.
17624         * elf/tst-initorder.exp: New file.
17625         * elf/tst-initordera1.c: New file.
17626         * elf/tst-initordera2.c: New file.
17627         * elf/tst-initordera3.c: New file.
17628         * elf/tst-initordera4.c: New file.
17629         * elf/tst-initorderb1.c: New file.
17630         * elf/tst-initorderb2.c: New file.
17631         * elf/tst-order-a1.c: New file.
17632         * elf/tst-order-a2.c: New file.
17633         * elf/tst-order-a3.c: New file.
17634         * elf/tst-order-a4.c: New file.
17635         * elf/tst-order-b1.c: New file.
17636         * elf/tst-order-b2.c: New file.
17637         * elf/tst-order-main.c: New file.
17638         New test case by George Gensure <werkt0@gmail.com>.
17640 2010-10-01  Andreas Schwab  <schwab@redhat.com>
17642         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17643         decoding ACE if AI_CANONIDN.
17645 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
17647         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17649 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
17651         * version.h (RELEASE): Bump for 2.13 release.
17652         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17654         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17656         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17657         MADV_NOHUGEPAGE.
17658         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17659         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17660         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17661         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17662         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17663         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17665         * posix/getconf.c: Update copyright year.
17666         * catgets/gencat.c: Likewise.
17667         * csu/version.c: Likewise.
17668         * debug/catchsegv.sh: Likewise.
17669         * debug/xtrace.sh: Likewise.
17670         * elf/ldconfig.c: Likewise.
17671         * elf/ldd.bash.in: Likewise.
17672         * elf/sprof.c (print_version): Likewise.
17673         * iconv/iconv_prog.c: Likewise.
17674         * iconv/iconvconfig.c: Likewise.
17675         * locale/programs/locale.c: Likewise.
17676         * locale/programs/localedef.c: Likewise.
17677         * malloc/memusage.sh: Likewise.
17678         * malloc/mtrace.pl: Likewise.
17679         * nscd/nscd.c (print_version): Likewise.
17680         * nss/getent.c: Likewise.
17682         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17683         PF_CAIF, and PF_ALG.
17684         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17686 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
17688         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17689         (modules-names): Use them.
17690         (ifunc-test-modules, ifunc-pie-tests): Define.
17691         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17692         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17693         (test-extras): Likewise.
17694         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17695         $(compile-command.c).
17696         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17697         (all-built-dso): Define.
17698         (check-textrel.out, check-execstack.out): Depend on it.
17700         * configure.in: Don't override --enable-multi-arch.
17702 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
17704         [BZ #6812]
17705         * nscd/hstcache.c (tryagain): Define.
17706         (cache_addhst): Return tryagain not notfound for temporary errors.
17707         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17708         failed.
17710 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
17712         [BZ #10563]
17713         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17714         to make the syscall.
17715         * sysdeps/unix/sysv/linux/setgroups.c: New file.
17717         [BZ #12378]
17718         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17719         and fall back to matching as normal character if the string ends before
17720         the matching ']' is found.  This is what POSIX requires.
17721         * posix/testfnm.c: Adjust test result.
17722         * posix/globtest.sh: Adjust test result.  Add new test.
17723         * posix/tst-fnmatch.input: Likewise.
17724         * posix/tst-fnmatch2.c: Add new test.
17726 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
17728         * elf/Makefile (check-execstack): Revert last change.  Depend on
17729         check-execstack.h.
17730         (check-execstack.h): New target.
17731         (generated): Add check-execstack.h.
17732         * elf/check-execstack.c: Include "check-execstack.h".
17733         (main): Revert last change.
17734         (handle_file): Return zero if GNU_STACK is absent and
17735         DEFAULT_STACK_PERMS doesn't include PF_X.
17737 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
17739         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17740         in child fails because the descriptor is already closed.
17741         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17742         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17743         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17745         [BZ #12397]
17746         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17747         syscall.
17749         [BZ #10484]
17750         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17751         temporary buffer used to handle multi lookups locally.
17752         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17754 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
17756         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17757         loader is ld.so.
17759 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
17761         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17762         alignment for SSE2.
17764 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
17766         [BZ #12394]
17767         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17768         characters.  When rounding increased number of integer digits recompute
17769         number of groups.
17770         * stdio-common/tst-grouping.c: New file.
17771         * stdio-common/Makefile: Add rules to build and run tst-grouping.
17773 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
17775         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17776         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
17778         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17779         void.
17780         * bits/select.h: Likewise.
17782 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
17784         * po/ja.po: Update from translation team.
17786 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
17788         [BZ #11155]
17789         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17790         implementation just like for lxstat, fxstatat, et al.
17792 2010-12-27  Jim Meyering  <meyering@redhat.com>
17794         [BZ #12348]
17795         * posix/regexec.c (build_trtable): Return failure indication upon
17796         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
17798 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
17800         [BZ #12201]
17801         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17802         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17803         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17804         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17806         [BZ #12207]
17807         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17809         [BZ #12204]
17810         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17811         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17813 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17815         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17816         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17817         script has SORT_BY_INIT_PRIORITY.
17818         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17819         NO_CTORS_DTORS_SECTIONS is defined.
17820         * elf/soinit.c: Likewise.
17821         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17822         NO_CTORS_DTORS_SECTIONS is defined.
17823         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17824         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17825         * sysdeps/sh/init-first.c: Likewise.
17826         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17828 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
17830         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17831         always use the slow path.
17833 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
17835         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17836         similar rule which adds the sysdep directories to the header search in
17837         order to pick up the correct platform stackinfo.h.
17838         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17839         perform test if it is, otherwise return successfully without testing.
17840         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17841         DEFAULT_STACK_PERMS define in stackinfo.h.
17842         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17843         defined in stackinfo.h.
17844         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17845         DEFAULT_STACK_PERMS defined in stackinfo.h.
17846         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17847         * sysdeps/ia64/stackinfo.h: Likewise.
17848         * sysdeps/s390/stackinfo.h: Likewise.
17849         * sysdeps/sh/stackinfo.h: Likewise.
17850         * sysdeps/sparc/stackinfo.h: Likewise.
17851         * sysdeps/x86_64/stackinfo.h: Likewise.
17852         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17853         PF_X for powerpc64.  Retain PF_X for powerpc32.
17855 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
17857         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17858         accurately.
17859         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17860         GETDENTS_64BIT_ALIGNED.
17862 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
17864         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17866 2010-12-10  Andreas Schwab  <schwab@redhat.com>
17868         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17869         _GNU_SOURCE.
17871         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17872         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17873         Remove __restrict.
17874         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17875         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17877 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
17879         [BZ #11655]
17880         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17881         are initialized.
17883 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
17885         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17887 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
17889         * po/it.po: Update from translation team.
17891 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
17893         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17894         unused codes.
17896 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
17898         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17900 2010-11-24  Andreas Schwab  <schwab@redhat.com>
17902         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17903         specially.
17904         (gaih_getanswer_slice): Likewise.
17906 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
17908         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17910 2010-05-31  Petr Baudis  <pasky@suse.cz>
17912         [BZ #11149]
17913         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17914         silently even in the chroot mode.
17916 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
17918         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17919         last patch a bit.  Pretty printing
17921 2010-05-31  Petr Baudis <pasky@suse.cz>
17923         [BZ #10085]
17924         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17925         initialization of skip_initgroups_dyn.
17927 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
17929         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17930         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17932 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
17934         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17936 2010-11-11  Andreas Schwab  <schwab@redhat.com>
17938         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17939         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17940         (tst-fnmatch-ENV): Set MALLOC_TRACE.
17941         ($(objpfx)tst-fnmatch-mem): New rule.
17942         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17943         * posix/tst-fnmatch.c (main): Call mtrace.
17945 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
17947         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17948         Support Intel processor model 6 and model 0x2c.
17950 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
17952         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17953           signed comparison.
17955 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
17957         [BZ #12205]
17958         * string/test-strncasecmp.c (check_result): New function.
17959         (do_one_test): Use it.
17960         (check1): New function.
17961         (test_main): Use it.
17962         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17963         Support strcasecmp and strncasecmp.
17965 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
17967         [BZ #12194]
17968         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17969         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17971 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17973         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17974         IFUNC support.
17975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17976         memset-x86-64.
17977         * sysdeps/x86_64/multiarch/bzero.S: New file.
17978         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17979         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17980         * sysdeps/x86_64/multiarch/memset.S: New file.
17981         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17982         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17983         Set bit_Prefer_SSE_for_memop for Intel processors.
17984         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17985         Define.
17986         (index_Prefer_SSE_for_memop): Define.
17987         (HAS_PREFER_SSE_FOR_MEMOP): Define.
17989 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
17991         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17992         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17994 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
17996         [BZ #12191]
17997         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17998         (__x86_64_raw_data_cache_size_half): Likewise.
17999         (__x86_64_raw_shared_cache_size): Likewise.
18000         (__x86_64_raw_shared_cache_size_half): Likewise.
18002         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18003         (__x86_64_raw_data_cache_size_half): Likewise.
18004         (__x86_64_raw_shared_cache_size): Likewise.
18005         (__x86_64_raw_shared_cache_size_half): Likewise.
18006         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18007         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18008         and __x86_64_raw_shared_cache_size_half.  Round
18009         __x86_64_data_cache_size_half, __x86_64_data_cache_size
18010         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18011         to multiple of 256 bytes.
18013 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
18015         [BZ #12167]
18016         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18017         of inacessible symlinks.  Verify result of symlink before returning it.
18018         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18019         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18021 2010-10-28  Erich Ritz  <erichritz@gmail.com>
18023         * math/math.h (isinf): Fix typo in comment.
18025 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
18027         * po/da.po: Update from translation team.
18029 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
18031         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18032         is added to the list.
18034 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18035             Ulrich Drepper  <drepper@gmail.com>
18037         * elf/dl-object.c (_dl_new_object): Don't append the new object to
18038         the global list here.  Move code to...
18039         (_dl_add_to_namespace_list): ...here.  New function.
18040         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18041         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18042         * elf/dl-load.c (lose): Don't remove the element from the list.
18043         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18044         (_dl_map_object): Likewise.
18046 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
18048         [BZ #12159]
18049         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18050         into all bytes of SSE register.
18051         Patch by Richard Li <richardpku@gmail.com>.
18053 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
18055         [BZ #12140]
18056         * malloc/malloc.c (_int_free): Fill correct number of bytes when
18057         perturbing.
18059 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
18061         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18062         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18063         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18064         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18066         submachine.
18067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18069 2010-10-22  Andreas Schwab  <schwab@redhat.com>
18071         * include/dlfcn.h (__RTLD_SECURE): Define.
18072         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
18073         mode & __RTLD_SECURE instead.
18074         (open_path): Rename preloaded parameter to secure.
18075         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18076         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18077         * elf/dl-deps.c (openaux): Likewise.
18078         * elf/rtld.c (struct map_args): Remove is_preloaded.
18079         (map_doit): Don't use it.
18080         (dl_main): Likewise.
18081         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18082         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18084 2010-09-09  Andreas Schwab  <schwab@redhat.com>
18086         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18087         (sysd-rules-targets): Remove duplicates.
18088         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18089         rtld-%.$o dependency.
18091 2010-10-18  Andreas Schwab  <schwab@redhat.com>
18093         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18094         _dl_map_object do it.
18096 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
18098         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18099         fast fma builtins, define the macros in the C99 standard.
18100         (FP_FAST_FMAF): Likewise.
18101         (FP_FAST_FMAL): Likewise.
18102         * sysdeps/x86_64/bits/mathdef.h: Likewise.
18104         * bits/mathdef.h: Update copyright year.
18105         * sysdeps/powerpc/bits/mathdef.h: Likewise.
18107 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
18109         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18110         builtins, define the macros in the C99 standard.
18111         (FP_FAST_FMAF): Likewise.
18112         (FP_FAST_FMAL): Likewise.
18113         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18114         multiply/add.
18115         (FP_FAST_FMAF): Likewise.
18117 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
18119         [BZ #3268]
18120         * math/libm-test.inc (fma_test): Some new testcases.
18121         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18122         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18123         y and infinite z.  Do multiplication by C already in long double.
18124         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18126         y and infinite z.  Do bitwise or of inexact bit into u.d.
18127         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18128         * sysdeps/i386/fpu/s_fmaf.S: Removed.
18129         * sysdeps/i386/fpu/s_fma.S: Removed.
18130         * sysdeps/i386/fpu/s_fmal.S: Removed.
18132 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
18134         [BZ #3268]
18135         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18136         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18137         computation is not scheduled after fetestexcept.  Fix value
18138         of minimum denormal long double.
18140 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
18142         [BZ #3268]
18143         * math/libm-test.inc (fma_test): Add some more tests.
18144         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18145         correctly.
18147 2010-10-15  Andreas Schwab  <schwab@redhat.com>
18149         * scripts/data/localplt-s390-linux-gnu.data: New file.
18150         * scripts/data/localplt-s390x-linux-gnu.data: New file.
18152 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
18154         [BZ #3268]
18155         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18156         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18157         instead of dbl-64.
18158         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18159         inlines.
18160         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18161         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18162         if one of x and y is very large and the other is subnormal.
18163         * sysdeps/s390/fpu/s_fmaf.c: New file.
18164         * sysdeps/s390/fpu/s_fma.c: New file.
18165         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18166         * sysdeps/powerpc/fpu/s_fma.S: New file.
18167         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18168         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18169         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18171 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
18173         [BZ #3268]
18174         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18175         fma tests.
18176         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18177         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18178         * sysdeps/i386/i686/multiarch/s_fma.c: Include
18179         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18180         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18181         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18182         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18184 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
18186         [BZ #12078]
18187         * posix/regcomp.c (parse_branch): One more memory leak plugged.
18188         * posix/bug-regex31.input: Add test case.
18190 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18192         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18193         * posix/bug-regex31.input: New file.
18195         [BZ #12078]
18196         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18197         (parse_sub_exp): Fix last change, use postorder.
18199         * posix/bug-regex31.c: New file.
18200         * posix/Makefile: Add rules to build and run bug-regex31.
18202         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18204         [BZ #12078]
18205         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18207         [BZ #12108]
18208         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18209         to have entries in sys_siglist.
18211         [BZ #12093]
18212         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18213         be NULL.
18215 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
18217         [BZ #3268]
18218         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18219         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18220         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18221         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18222         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18223         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18224         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18225         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18226         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18227         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18228         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18229         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18230         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18231         * math/ftestexcept.c (fetestexcept): Likewise.
18232         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18233         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18234         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18235         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18236         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18237         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18238         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18240 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18242         [BZ #12107]
18243         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18244         newline.
18246 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
18248         * string/bug-strstr1.c: New file.
18249         * string/Makefile: Add rules to build and run bug-strstr1.
18251 2010-10-05  Eric Blake  <eblake@redhat.com>
18253         [BZ #12092]
18254         * string/str-two-way.h (two_way_long_needle): Always clear memory
18255         when skipping input due to the shift table.
18257 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
18259         [BZ #12005]
18260         * malloc/mcheck.c: Handle large requests.
18262         [BZ #12077]
18263         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18264         for strncmp and strncasecmp.
18265         * string/stratcliff.c: Add tests for strcmp and strncmp.
18266         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18268 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18270         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18271         __set_fpscr.
18273 2010-09-30  Andreas Jaeger  <aj@suse.de>
18275         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18276         (CGROUP_SUPER_MAGIC): Define.
18277         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18278         Handle btrfs and cgroup file systems.
18279         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18280         Likewise.
18282 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
18284         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18285         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18287 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18289         [BZ #12067]
18290         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18291         trying to locate the ELF header.
18293 2010-09-27  Andreas Schwab  <schwab@redhat.com>
18295         [BZ #11611]
18296         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18297         Mask out sign-bit copies when constructing f_fsid.
18299 2010-09-24  Petr Baudis <pasky@suse.cz>
18301         * debug/stack_chk_fail_local.c: Add missing licence exception.
18302         * debug/warning-nop.c: Likewise.
18304 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
18306         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18307         implementing getdents64 using getdents syscall, set d_type if
18308         __ASSUME_GETDENTS32_D_TYPE.
18310 2010-09-16  Andreas Schwab  <schwab@redhat.com>
18312         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18313         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18315 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
18317         [BZ #12037]
18318         * posix/unistd.h: Undo change of feature selection for ftruncate from
18319         2010-01-11.
18321 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
18323         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18324         detection.
18326 2010-09-20  Andreas Schwab  <schwab@redhat.com>
18328         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18329         fanotify_mark.
18330         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18332 2010-09-14  Andreas Schwab  <schwab@redhat.com>
18334         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18335         variables after CHECK_SP call.
18336         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18338 2010-09-13  Andreas Schwab  <schwab@redhat.com>
18339             Ulrich Drepper  <drepper@redhat.com>
18341         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18342         re-relocationg ld.so.
18343         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18344         _dl_init_paths call.
18345         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
18346         here anymore.
18348 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
18350         * resolv/res_init.c (__res_vinit): Count the default server we added.
18352 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
18353             Ulrich Drepper  <drepper@redhat.com>
18355         [BZ #11968]
18356         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18357         (____longjmp_chk): Use %ebx for saving value across system call.
18358         Add unwind info.
18360 2010-09-06  Andreas Schwab  <schwab@redhat.com>
18362         * manual/Makefile: Don't mix pattern rules with normal rules.
18364 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18366         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18367         operation.
18368         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18369         * libio/iofopncook.c (_IO_cookie_init): Likewise.
18370         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18371         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18372         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18373         Likewise.
18375 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
18377         [BZ #11979]
18378         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18379         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18381 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
18383         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18384         * sysdeps/x86_64/addmul_1.S: Likewise.
18385         * sysdeps/x86_64/lshift.S: Likewise.
18386         * sysdeps/x86_64/mul_1.S: Likewise.
18387         * sysdeps/x86_64/rshift.S: Likewise.
18388         * sysdeps/x86_64/sub_n.S: Likewise.
18389         * sysdeps/x86_64/submul_1.S: Likewise.
18391 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18393         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18394         Define __sched_param instead of SCHED_* and sched_param when
18395         <bits/sched.h> is included with __need_schedparam defined.
18396         * bits/sched.h [__need_schedparam]
18397         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18398         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18399         (__defined_schedparam): Define to 1.
18400         (__sched_param): New structure, identical to sched_param.
18401         (__need_schedparam): Undefine.
18403 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
18405         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18406         (epoll_create1): Declare.
18408         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18410 2010-08-31  Andreas Schwab  <schwab@redhat.com>
18412         [BZ #7066]
18413         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18414         shifting retval into place.
18416 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
18418         * nis/rpcsvc/nis.h: Update copyright notice.
18419         * nis/rpcsvc/nis.x: Likewise.
18420         * nis/rpcsvc/nis_callback.h: Likewise.
18421         * nis/rpcsvc/nis_callback.x: Likewise.
18422         * nis/rpcsvc/nis_object.x: Likewise.
18423         * nis/rpcsvc/nis_tags.h: Likewise.
18424         * nis/rpcsvc/yp.h: Likewise.
18425         * nis/rpcsvc/yp.x: Likewise.
18426         * nis/rpcsvc/ypupd.h: Likewise.
18427         * nis/yp_xdr.c: Likewise.
18428         * nis/ypupdate_xdr.c: Likewise.
18430         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
18431         mainly the body of pmap_getport.  Add parameters to specify timeouts.
18432         (pmap_getport): Use __libc_rpc_getport.
18433         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18434         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18435         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18437 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
18439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18440         fanotify_mark.
18442 2010-08-27  Roland McGrath  <roland@redhat.com>
18444         * sysdeps/i386/i686/multiarch/Makefile
18445         (CFLAGS-varshift.c): New variable.
18447 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
18449         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18450         * sysdeps/i386/i686/multiarch/varshift.c: New file.
18452         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18454         * sysdeps/x86_64/strlen.S: Minimal code improvement.
18456 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18458         * sysdeps/x86_64/strlen.S: Unroll the loop.
18459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18460         strlen-sse2 strlen-sse2-bsf.
18461         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18462         __strlen_no_bsf if bit_Slow_BSF is set.
18463         (__strlen_sse42): Removed.
18464         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18465         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18467 2010-08-25  Roland McGrath  <roland@redhat.com>
18469         * sysdeps/x86_64/multiarch/varshift.S: File removed.
18470         * sysdeps/x86_64/multiarch/varshift.c: New file.
18471         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18472         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18473         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18474         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18476 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18478         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18479         strlen-sse2 strlen-sse2-bsf.
18480         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18481         __strlen_sse2_bsf if bit_Slow_BSF is unset.
18482         (__strlen_sse2): Removed.
18483         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18484         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18485         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18486         bit_Slow_BSF for Atom.
18487         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18488         (index_Slow_BSF): Define.
18489         (HAS_SLOW_BSF): Define.
18491 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
18493         [BZ #10851]
18494         * resolv/res_init.c (__res_vinit): When no server address at all
18495         is given default to loopback.
18497 2010-08-24  Roland McGrath  <roland@redhat.com>
18499         * configure.in: Remove config-name.h generation.
18500         * configure: Regenerated.
18501         * config-name.in: File removed.
18502         * scripts/config-uname.sh: New file.
18503         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18504         ($(objdir)config-name.h): New target.
18506         * sunrpc/rpc_parse.h: Avoid nested comment.
18508 2010-08-24  Richard Henderson  <rth@redhat.com>
18509             Ulrich Drepper  <drepper@redhat.com>
18510             H.J. Lu  <hongjiu.lu@intel.com>
18512         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18513         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18514         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18515         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
18516         _mm_alignr_epi8 with _mm_loadu_si128.
18517         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18518         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18519         (__m128i_shift_right): Removed.
18520         * sysdeps/i386/i686/multiarch/varshift.h: New file.
18521         * sysdeps/i386/i686/multiarch/varshift.S: New file.
18522         * sysdeps/x86_64/multiarch/varshift.h: New file.
18523         * sysdeps/x86_64/multiarch/varshift.S: New file.
18525 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
18527         * configure.in: Move assembler checks to before sysdep dir checking.
18529 2010-08-20  Petr Baudis  <pasky@suse.cz>
18531         * LICENSES: Sync the sunrpc license.
18533 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
18535         * sunrpc/auth_des.c: Update copyright notice once again.
18536         * sunrpc/auth_none.c: Likewise.
18537         * sunrpc/auth_unix.c: Likewise.
18538         * sunrpc/authdes_prot.c: Likewise.
18539         * sunrpc/authuxprot.c: Likewise.
18540         * sunrpc/bindrsvprt.c: Likewise.
18541         * sunrpc/clnt_gen.c: Likewise.
18542         * sunrpc/clnt_perr.c: Likewise.
18543         * sunrpc/clnt_raw.c: Likewise.
18544         * sunrpc/clnt_simp.c: Likewise.
18545         * sunrpc/clnt_tcp.c: Likewise.
18546         * sunrpc/clnt_udp.c: Likewise.
18547         * sunrpc/clnt_unix.c: Likewise.
18548         * sunrpc/des_crypt.c: Likewise.
18549         * sunrpc/des_soft.c: Likewise.
18550         * sunrpc/get_myaddr.c: Likewise.
18551         * sunrpc/getrpcport.c: Likewise.
18552         * sunrpc/key_call.c: Likewise.
18553         * sunrpc/key_prot.c: Likewise.
18554         * sunrpc/openchild.c: Likewise.
18555         * sunrpc/pm_getmaps.c: Likewise.
18556         * sunrpc/pm_getport.c: Likewise.
18557         * sunrpc/pmap_clnt.c: Likewise.
18558         * sunrpc/pmap_prot.c: Likewise.
18559         * sunrpc/pmap_prot2.c: Likewise.
18560         * sunrpc/pmap_rmt.c: Likewise.
18561         * sunrpc/rpc/auth.h: Likewise.
18562         * sunrpc/rpc/auth_unix.h: Likewise.
18563         * sunrpc/rpc/clnt.h: Likewise.
18564         * sunrpc/rpc/des_crypt.h: Likewise.
18565         * sunrpc/rpc/key_prot.h: Likewise.
18566         * sunrpc/rpc/netdb.h: Likewise.
18567         * sunrpc/rpc/pmap_clnt.h: Likewise.
18568         * sunrpc/rpc/pmap_prot.h: Likewise.
18569         * sunrpc/rpc/pmap_rmt.h: Likewise.
18570         * sunrpc/rpc/rpc.h: Likewise.
18571         * sunrpc/rpc/rpc_des.h: Likewise.
18572         * sunrpc/rpc/rpc_msg.h: Likewise.
18573         * sunrpc/rpc/svc.h: Likewise.
18574         * sunrpc/rpc/svc_auth.h: Likewise.
18575         * sunrpc/rpc/types.h: Likewise.
18576         * sunrpc/rpc/xdr.h: Likewise.
18577         * sunrpc/rpc_clntout.c: Likewise.
18578         * sunrpc/rpc_cmsg.c: Likewise.
18579         * sunrpc/rpc_common.c: Likewise.
18580         * sunrpc/rpc_cout.c: Likewise.
18581         * sunrpc/rpc_dtable.c: Likewise.
18582         * sunrpc/rpc_hout.c: Likewise.
18583         * sunrpc/rpc_main.c: Likewise.
18584         * sunrpc/rpc_parse.c: Likewise.
18585         * sunrpc/rpc_parse.h: Likewise.
18586         * sunrpc/rpc_prot.c: Likewise.
18587         * sunrpc/rpc_sample.c: Likewise.
18588         * sunrpc/rpc_scan.c: Likewise.
18589         * sunrpc/rpc_scan.h: Likewise.
18590         * sunrpc/rpc_svcout.c: Likewise.
18591         * sunrpc/rpc_tblout.c: Likewise.
18592         * sunrpc/rpc_util.c: Likewise.
18593         * sunrpc/rpc_util.h: Likewise.
18594         * sunrpc/rpcinfo.c: Likewise.
18595         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18596         * sunrpc/rpcsvc/key_prot.x: Likewise.
18597         * sunrpc/rpcsvc/klm_prot.x: Likewise.
18598         * sunrpc/rpcsvc/mount.x: Likewise.
18599         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18600         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18601         * sunrpc/rpcsvc/rex.x: Likewise.
18602         * sunrpc/rpcsvc/rstat.x: Likewise.
18603         * sunrpc/rpcsvc/rusers.x: Likewise.
18604         * sunrpc/rpcsvc/sm_inter.x: Likewise.
18605         * sunrpc/rpcsvc/spray.x: Likewise.
18606         * sunrpc/rpcsvc/yppasswd.x: Likewise.
18607         * sunrpc/rtime.c: Likewise.
18608         * sunrpc/svc.c: Likewise.
18609         * sunrpc/svc_auth.c: Likewise.
18610         * sunrpc/svc_authux.c: Likewise.
18611         * sunrpc/svc_raw.c: Likewise.
18612         * sunrpc/svc_run.c: Likewise.
18613         * sunrpc/svc_simple.c: Likewise.
18614         * sunrpc/svc_tcp.c: Likewise.
18615         * sunrpc/svc_udp.c: Likewise.
18616         * sunrpc/svc_unix.c: Likewise.
18617         * sunrpc/svcauth_des.c: Likewise.
18618         * sunrpc/xcrypt.c: Likewise.
18619         * sunrpc/xdr.c: Likewise.
18620         * sunrpc/xdr_array.c: Likewise.
18621         * sunrpc/xdr_float.c: Likewise.
18622         * sunrpc/xdr_mem.c: Likewise.
18623         * sunrpc/xdr_rec.c: Likewise.
18624         * sunrpc/xdr_ref.c: Likewise.
18625         * sunrpc/xdr_sizeof.c: Likewise.
18626         * sunrpc/xdr_stdio.c: Likewise.
18628         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18629         handling.
18631 2010-08-19  Andreas Schwab  <schwab@redhat.com>
18633         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18635 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
18637         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18638         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18639         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18640         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18641         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18642         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18643         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18644         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18645         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18646         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18647         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18648         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18649         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18650         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18652 2010-07-26  Anton Blanchard  <anton@samba.org>
18654         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18655         * malloc/arena.c (heap_trim): Likewise.
18657 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
18659         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18660         here.  Not...
18661         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18662         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18664 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
18666         * sysdeps/i386/elf/Makefile: New file.
18668 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
18670         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18671         from fanotify_init.
18672         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18673         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18675 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
18677         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18678         of strncasecmp_l.
18679         * sysdeps/multiarch/strcmp.S: Likewise.
18681 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
18683         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18684         strncase_l-nonascii.
18685         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18686         Add strncase_l-ssse3.
18687         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18688         * sysdeps/x86_64/strcmp.S: Likewise.
18689         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18690         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18691         * sysdeps/x86_64/strncase.S: New file.
18692         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18693         * sysdeps/x86_64/strncase_l.S: New file.
18694         * string/Makefile (strop-tests): Add strncasecmp.
18695         * string/test-strncasecmp.c: New file.
18697         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18698         warning.
18700         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18701         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18703 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
18705         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18707 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
18709         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18710         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18711         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18713 2010-05-01  Alan Modra  <amodra@gmail.com>
18715         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18716         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18717         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18718         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18719         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18720         tidying.  Don't tail-call __sigjmp_save for static lib.
18721         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18722         save location.
18723         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18724         (CALL_MCOUNT): Add eh info, and nop after bl.
18725         (TAIL_CALL_SYSCALL_ERROR): New macro.
18726         (PSEUDO_RET): Use it.
18727         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18728         Correct save location of integer regs and cr.
18729         (_dl_profile_resolve): Correct cr save location.  Delete nops
18730         after bl when SHARED.  Reduce cfi size a little by better
18731         placement of cfi directives.
18732         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18733         make a stack frame.  Instead use parm save area as a temp.
18734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18735         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
18736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18737         Don't make a stack frame for parent, use parm save area.
18738         Increase child stack frame to 112 bytes.  Don't save unused reg,
18739         and adjust reg usage.  Set up cfi on error recovery and
18740         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18742         (__makecontext): Add dummy nop after jump to exit.
18743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18744         Use correct parm save area and cr save, reduce stack frame.
18745         Correct cfi for possible PSEUDO_RET frame setup.
18746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18747         Branch to local label emitted by PSEUDO_RET rather than
18748         __syscall_error.
18750 2010-08-12  Andreas Schwab  <schwab@redhat.com>
18752         [BZ #11904]
18753         * locale/programs/locale.c (print_assignment): New function.
18754         (show_locale_vars): Use it.
18756 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
18758         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18759         field.
18760         (struct statfs64): Likewise.
18761         (_STATFS_F_FLAGS): Define.
18762         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18763         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18764         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18765         (ST_VALID): Define locally.
18766         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18767         __statvfs_getflags, use the provided value.
18768         * sysdeps/unix/sysv/linux/kernel-features.h: Define
18769         __ASSUME_STATFS_F_FLAGS.
18771         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18773         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18774         Add sys/fanotify.h.
18775         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18776         fanotify_mask for GLIBC_2.13.
18777         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18778         fanotify_init and fanotify_mark.
18779         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18780         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18782         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18783         Add prlimit.
18784         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18785         prlimit64 for GLIBC_2.13.
18786         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18787         prlimit64.
18788         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18789         syscall.
18790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18791         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18792         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18793         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18794         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
18795         add prlimit alias.
18796         * sysdeps/unix/sysv/linux/prlimit.c: New file.
18798         [BZ #11903]
18799         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18800         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18802         * nss/Makefile: Add rules to build and run tst-nss-test1.
18803         * shlib-versions: Add entry for libnss_test1.
18804         * nss/nss_test1.c: New file.
18805         * nss/tst-nss-test1.c: New file.
18807         * nss/nsswitch.c (__nss_database_custom): Define new variable.
18808         (__nss_configure_lookup): Set appropriate entry in
18809         __nss_configure_lookup to true.
18810         * nss/nsswitch.h: Define enum with indeces of databases in
18811         databases and __nss_database_custom arrays.  Declare
18812         __nss_database_custom.
18813         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18814         to avoid using nscd when custom rules are installed.
18815         * nss/getXXbyYY_r.c: Likewise.
18816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18818         * nss/nss_files/files-parse.c: Whitespace fixes.
18820 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
18822         [BZ #11883]
18823         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18824         * posix/fnmatch_loop.c: Likewise.
18826 2010-07-17  Andi Kleen  <ak@linux.intel.com>
18828         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18829         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18830         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18831         * Versions.def [GLIBC_2.13]: Add.
18833 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
18835         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18836         Also fail if tpwd after pwuid call is NULL.
18838 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18840         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18841         when converting to ms.
18843 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18845         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18846         EOPNOTSUPP errors with ENOTTY.
18847         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18848         EOPNOTSUPP errors with ENOTTY.
18850 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
18852         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18853         Add strcasecmp_l-ssse3.
18854         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18855         strcasecmp.
18856         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18857         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18858         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18860 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
18862         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18864         * string/Makefile (strop-tests): Add strcasecmp.
18865         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18866         strcasecmp_l-nonascii.
18867         (gen-as-const-headers): Add locale-defines.sym.
18868         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18869         * sysdeps/x86_64/strcasecmp.S: New file.
18870         * sysdeps/x86_64/strcasecmp_l.S: New file.
18871         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18872         * sysdeps/x86_64/locale-defines.sym: New file.
18873         * string/test-strcasecmp.c: New file.
18875         * string/test-strcasestr.c: Test both ends of the range of characters.
18876         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18878 2010-07-29  Roland McGrath  <roland@redhat.com>
18880         [BZ #11856]
18881         * manual/locale.texi (Yes-or-No Questions): Fix example code.
18883 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
18885         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18886         for ld.so.
18888 2010-07-27  Andreas Schwab  <schwab@redhat.com>
18890         * manual/memory.texi (Malloc Tunable Parameters): Document
18891         M_PERTURB.
18893 2010-07-26  Roland McGrath  <roland@redhat.com>
18895         [BZ #11840]
18896         * configure.in (-fgnu89-inline check): Set and substitute
18897         gnu89_inline, not libc_cv_gnu89_inline.
18898         * configure: Regenerated.
18899         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18901 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
18903         * string/test-strnlen.c: New file.
18904         * string/Makefile (strop-tests): Add strnlen.
18905         * string/tester.c (test_strnlen): Add a few more test cases.
18906         * string/tst-strlen.c: Better error reporting.
18908         * sysdeps/x86_64/strnlen.S: New file.
18910 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
18912         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18913         lower-latency instructions.
18915 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
18917         * string/test-strcasestr.c: New file.
18918         * string/test-strstr.c: New file.
18919         * string/Makefile (strop-tests): Add strstr and strcasestr.
18920         * string/str-two-way.h: Don't undefine MAX.
18921         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18923 2010-07-21  Andreas Schwab  <schwab@redhat.com>
18925         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18926         strcasestr-nonascii.
18927         (CFLAGS-strcasestr-nonascii.c): Define.
18928         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18929         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18930         Remove unused attribute.
18932 2010-07-20  Roland McGrath  <roland@redhat.com>
18934         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18935         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
18936         ld.so.cache was broken.  With it, there is no way to disable dsocaps
18937         like LD_HWCAP_MASK can disable hwcaps.
18939 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
18941         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18943 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
18945         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18946         call in strcasestr.
18947         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18948         __strcasestr_sse42_nonascii.
18949         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18950         strcasestr-nonascii.c.
18951         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18953 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
18955         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18956         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18957         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18958         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18960 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
18962         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18963         fcntl.
18965 2010-07-06  Andreas Schwab  <schwab@redhat.com>
18967         [BZ #11577]
18968         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18969         dl_signal_cerror.
18971 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
18973         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18974         _PC_PIPE_BUF using F_GETPIPE_SZ.
18976 2010-07-05  Roland McGrath  <roland@redhat.com>
18978         * manual/arith.texi (Rounding Functions): Fix rint description
18979         implicit in round description.
18981 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
18983         * elf/Makefile: Fix linking for a few tests to make recent linker
18984         happy.
18986 2010-06-30  Andreas Schwab  <schwab@redhat.com>
18988         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18989         $(common-objpfx)libc_nonshared.a.
18991 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
18993         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18994         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18995         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18996         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18997         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18998         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18999         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19000         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19015         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19016         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19017         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19018         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19019         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19020         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19021         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19022         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19023         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19024         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19025         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19026         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19042 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19044         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19045         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
19046         * string/memmove.c (memmove): Renamed to ...
19047         (MEMMOVE): ...this.  Default to memmove.
19048         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19049         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19050         (END_CHK): Define.
19051         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19052         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19053         mempcpy-ssse3-back memmove-ssse3-back.
19054         * sysdeps/x86_64/multiarch/bcopy.S: New file .
19055         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19056         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19057         * sysdeps/x86_64/multiarch/memcpy.S: New file.
19058         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19059         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19060         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19061         * sysdeps/x86_64/multiarch/memmove.c: New file.
19062         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19063         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19064         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19065         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19066         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19067         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19068         Define.
19069         (index_Fast_Copy_Backward): Define.
19070         (HAS_ARCH_FEATURE): Define.
19071         (HAS_FAST_REP_STRING): Define.
19072         (HAS_FAST_COPY_BACKWARD): Define.
19074 2010-06-21  Andreas Schwab  <schwab@redhat.com>
19076         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19077         Restore proper fallback handling.
19079 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
19081         [BZ #11701]
19082         * posix/group_member.c (__group_member): Correct checking loop.
19084         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19085         OOM in getpwuid_r correctly.  Return error number when the caller
19086         should return, otherwise -1.
19087         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19088         call returning > 0 value.
19089         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19091 2010-06-07  Andreas Schwab  <schwab@redhat.com>
19093         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19094         libc_nonshared.a from targets in modules-names.
19096 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
19098         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19099         requires it.
19101 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
19103         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19104         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19105         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19106         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19108 2010-06-02  Andreas Schwab  <schwab@redhat.com>
19110         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19112 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
19114         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19115         and F_GETPIPE_SZ.
19116         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19117         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19118         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19119         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19120         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19121         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19123 2010-06-14  Roland McGrath  <roland@redhat.com>
19125         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19127 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
19129         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19130         __REDIRECT followed by __THROW.
19131         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19132         * posix/getopt.h (getopt): Likewise.
19134 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
19136         * hurd/lookup-at.c (__file_name_lookup_at): Accept
19137         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
19138         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19139         in AT_FLAGS.
19140         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19141         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19143 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
19145         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19147 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
19149         [BZ #11640]
19150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19151         Properly check family and model.
19153 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
19155         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19157 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
19159         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19161 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
19163         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19164         symbol reference.
19166 2010-05-19  Andreas Schwab  <schwab@redhat.com>
19168         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19169         symbol reference.
19171 2010-05-21  Andreas Schwab  <schwab@redhat.com>
19173         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19174         and internal_recvmmsg.
19175         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19176         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19177         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19178         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19180         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19181         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19182         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19184 2010-05-20  Andreas Schwab  <schwab@redhat.com>
19186         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19188 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
19190         POWER7 optimizations.
19191         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19192         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19194 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
19196         * version.h: Update for 2.13 development version.
19198 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
19200         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19201         exceptions.  Return 0.
19203 2010-05-07  Roland McGrath  <roland@redhat.com>
19205         * elf/ldconfig.c (main): Add a const.
19207 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
19209         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19210         (args_options): Add no-idn option.
19211         (ahosts_keys_int): Add idn_flags to ai_flags.
19212         (parse_option): Handle 'i' option to clear idn_flags.
19214         * malloc/malloc.c (_int_free): Possible race in the most recently
19215         added check.  Only act on the data if no current modification
19216         happened.
19218 See ChangeLog.17 for earlier changes.