Update powerpc-fpu ULPs.
[glibc.git] / ChangeLog
blob62ebe4b58467ccea684ff7fef2f7de4e02eefc2e
1 2013-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
7         [BZ #16408]
8         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9         for large positive arguments.
11 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
13         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15         * math/auto-libm-test-in: Mark various tests with
16         xfail-rounding:ldbl-128ibm.
17         * math/auto-libm-test-out: Regenerated.
19         [BZ #16407]
20         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21         Increase overflow threshold.
23 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25         [BZ #14286]
26         * stdio-common/vfprintf.c: Check for integer overflow.
28 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
31         the first argument and return value of __tls_get_addr_internal.
33 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
36         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
38 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41         * sysdeps/s390/rtld-global-offsets.sym: New file.
42         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
43         GLIBC_2.19 symbol.
44         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
45         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
46         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47         ... this.
48         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
49         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
50         ... this.
51         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52         Regenerate.
53         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54         Regenerate.
55         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
56         halfs of GPRs for high_gprs contexts.
57         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
59         field.
60         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
61         uc_flags field.
62         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
63         64 bit versions:
64         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
65         for high GPRs (uc_high_gprs) and for future extensions
66         (__reserved).
67         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
68         for future extensions (__reserved).
69         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
70         64 bit versions:
71         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
72         SC_HIGHGPRS offset definition.
73         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
74         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
76 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78         * Versions.def: Add GLIBC_2.19 for libpthread.
79         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
80         siglongjmp for libpthread with GLIBC_2.19 symver.
81         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
82         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
83         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
84         * sysdeps/s390/__longjmp.c: New file.
85         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
86         * sysdeps/s390/longjmp.c: New file.
87         * sysdeps/s390/setjmp.S: New file.
88         * sysdeps/s390/sigjmp.S: New file.
89         * sysdeps/s390/v1-longjmp.c: New file.
90         * sysdeps/s390/v1-setjmp.h: New file.
91         * sysdeps/s390/v1-sigjmp.c: New file.
92         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
93         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
94         GLIBC_2.19 version.
95         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
96         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
97         versioned symbols for ____longjmp_chk.
98         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
99         Likewise.
100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
101         Regenerate.
102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
103         Regenerate.
104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
105         Regenerate.
106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
107         Regenerate.
108         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
109         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
110         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
111         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
112         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
113         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
114         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
115         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
116         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
117         * sysdeps/s390/rtld-__longjmp.c: New file.
118         * sysdeps/s390/rtld-setjmp.S: New file.
120 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
122         [BZ #16400]
123         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
124         Return -__logl (x) for small positive arguments without evaluating
125         a polynomial.
127 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
129         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
130         Rename to ...
131         (__ptrace_peeksiginfo_args): ... this.
132         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
133         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
134         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
136 2014-01-06  Allan McRae  <allan@archlinux.org>
138         * inet/netinet/in.h: Fix typo in comment.
140 2014-01-05  Andreas Jaeger  <aj@suse.de>
142         * sysdeps/i386/fpu/libm-test-ulps: Update.
144 2014-01-05  Allan McRae  <allan@archlinux.org>
146         * po/libc.pot: Regenerated.
148         * malloc/memusagestat.c: Fix gettext call formatting.
150 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
152         * nscd/nscd.c: Improve usage() output.
154 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
156         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
157         * sysdeps/unix/sysv/linux/configure: Regenerated.
158         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
159         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
161 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
163         [BZ #16390]
164         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
165         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
167 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
169         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
170         extra tokens at end of #undef directive.
171         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
172         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
173         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
175 2014-01-03  Andrew Hunter  <ahh@google.com>
177         * elf/dl-open.c (dl_open_worker): New comment.
178         * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
179         atomic_compare_and_exchange_bool_acq
180         (_dl_allocate_static_tls): Block signals.
181         * elf/dl-tls.c (allocate_and_init): Return void.
182         (_dl_update_slotinfo): Block signals, use atomic update.
184 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
186         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
188         * math/auto-libm-test-in: Mark various tests with
189         xfail-rounding:ldbl-128ibm.
190         * math/auto-libm-test-out: Regenerated.
192 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
194         [BZ #16386]
195         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
196         numbers with subnormal high part when calculating exponent.
198         [BZ #16385]
199         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
200         fabs.
202         [BZ #16384]
203         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
204         M_LN2l.
205         (__ieee754_acoshl): Use __log1pl not __log1p.
207 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
209         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
210         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
211         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
212         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
213         Convert to GNU style.
214         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
215         mem2mem_check, mem2chunk_check, top_check, realloc_check,
216         memalign_check, __malloc_set_state): Likewise.
217         * malloc/mallocbug.c (main): Likewise.
218         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
219         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
220         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
221         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
222         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
223         * malloc/malloc.h: Likewise.
224         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
225         memalignhook, reallochook, mabort): Likewise.
226         * malloc/mcheck.h: Likewise.
227         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
228         mmap64, mremap, munmap, dest): Likewise.
229         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
230         * malloc/morecore.c (__default_morecore): Likewise.
231         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
232         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
233         _obstack_allocated_p, obstack_free, _obstack_memory_used,
234         print_and_abort): Likewise.
235         * malloc/obstack.h: Likewise.
236         * malloc/set-freeres.c (__libc_freeres): Likewise.
237         * malloc/tst-mallocstate.c (main): Likewise.
238         * malloc/tst-mtrace.c (main): Likewise.
239         * malloc/tst-realloc.c (do_test): Likewise.
241 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
243         [BZ #16366]
244         * nscd/netgroupcache.c (do_notfound): New function.
245         (addgetnetgrentX): Use it.
247         [BZ # 16365]
248         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
249         NSS_STATUS_NOTFOUND.
251 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
253         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
256 2014-01-01  Allan McRae  <allan@archlinux.org>
258         * scripts/update-copyrights: Update configure input file suffix.
260         * NEWS: Update copyright year.
261         * catgets/gencat.c: Likewise.
262         * csu/version.c: Likewise.
263         * debug/catchsegv.sh: Likewise.
264         * debug/pcprofiledump.c: Likewise.
265         * debug/xtrace.sh: Likewise.
266         * elf/ldconfig.c: Likewise.
267         * elf/ldd.bash.in: Likewise.
268         * elf/pldd.c: Likewise.
269         * elf/sotruss.ksh: Likewise.
270         * elf/sprof.c: Likewise.
271         * iconv/iconv_prog.c: Likewise.
272         * iconv/iconvconfig.c: Likewise.
273         * locale/programs/locale.c: Likewise.
274         * locale/programs/localedef.c: Likewise.
275         * login/programs/pt_chown.c: Likewise.
276         * malloc/memusage.sh: Likewise.
277         * malloc/memusagestat.c: Likewise.
278         * malloc/mtrace.pl: Likewise.
279         * manual/libc.texinfo: Likewise.
280         * nscd/nscd.c: Likewise.
281         * nss/getent.c: Likewise.
282         * nss/makedb.c: Likewise.
283         * posix/getconf.c: Likewise.
284         * scripts/test-installation.pl: Likewise.
286         * All files with FSF copyright notices: Update copyright dates
287         using scripts/update-copyrights.
288         * intl/plural.c: Regenerated.
289         * locale/programs/charmap-kw.h: Likewise.
290         * locale/programs/locfile-kw.h: Likewise.
292 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
294         * sysdeps/unix/sysv/linux/configure: Regenerated.
295         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
296         the linux/fanotify.h header.
297         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
298         HAVE_LINUX_FANOTIFY_H is defined.
300 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
302         * benchtests/cos-inputs: New inputs.
303         * benchtests/sin-inputs: Likewise.
305         * benchtests/atan-inputs: New inputs. Fix name of multiple
306         precision fallback inputs.
308         * benchtests/atanh-inputs: New inputs.
309         * benchtests/tanh-inputs: Likewise.
311         * benchtests/acosh-inputs: New inputs.
312         * benchtests/asinh-inputs: Likewise.
314         * benchtests/cosh-inputs: New inputs.
315         * benchtests/sinh-inputs: Likewise.
317         * benchtests/acos-inputs: Add more inputs.
318         * benchtests/asin-inputs: Likewise.
320 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
322         [BZ #16375]
323         * manual/arith.texi: Fix spelling.
324         * manual/charset.texi: Likewise.
325         * manual/errno.texi: Likewise.
326         * manual/filesys.texi: Likewise.
327         * manual/lang.texi: Likewise.
328         * manual/llio.texi: Likewise.
329         * manual/locale.texi: Likewise.
330         * manual/message.texi: Likewise.
331         * manual/resource.texi: Likewise.
332         * manual/search.texi: Likewise.
333         * manual/setjmp.texi: Likewise.
334         * manual/stdio.texi: Likewise.
335         * manual/string.texi: Likewise.
336         * manual/sysinfo.texi: Likewise.
337         * manual/time.texi: Likewise.
339 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
341         * po/sl.po: New file.
343 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
345         * .gitignore: Add core/.gdbinit/.gdb_history.
347 2013-12-27  Allan McRae  <allan@archlinux.org>
349         [BZ #16369]
350         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
351         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
353 2013-12-24  Brooks Moses  <bmoses@google.com>
355         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
356         all compilers that claim C++98 compliance, not just GCC.
357         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
358         Likewise.
360 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
362         * NEWS: Restore accidentally deleted bug-fix entries.
364 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
365             Ondřej Bílka  <neleai@seznam.cz>
367         [BZ #15073]
368         * malloc/malloc.c (_int_free): Perform sanity check only if we
369         have_lock.
371 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
373         [BZ #12986]
374         * manual/stdio.texi (String Input Conversions): Clarify that character
375         classes are not supported.
377 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
381 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
383         [BZ #16337]
384         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
385         Calculate results for small negative arguments directly rather
386         than using reflection formula with special underflow handling.
388         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
389         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
390         sysdeps/unix/bsd/bsd4.4/syscalls.list.
391         (fchflags): Likewise.
392         (revoke): Likewise.
393         (setlogin): Likewise.
394         (sigaltstack): Likewise.
395         (wait4): Likewise.
396         (sigblock): Remove.
397         (sigsetmask): Likewise.
398         (wait3): Likewise.
399         (waitpid): Likewise.
400         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
401         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
402         file.
403         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
404         * sysdeps/unix/bsd/Makefile: ... here.
405         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
406         * sysdeps/unix/bsd/Versions: ... here.
407         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
408         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
409         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
410         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
411         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
412         * sysdeps/unix/bsd/sigblock.c: ... here.
413         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
414         * sysdeps/unix/bsd/sigsetmask.c: ... here.
415         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
416         * sysdeps/unix/bsd/sigvec.c: ... here.
417         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
418         * sysdeps/unix/bsd/tcdrain.c: ... here.
419         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
420         * sysdeps/unix/bsd/tcgetattr.c: ... here.
421         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
422         * sysdeps/unix/bsd/tcsetattr.c: ... here.
423         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
424         * sysdeps/unix/bsd/wait.c: ... here.
425         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
426         * sysdeps/unix/bsd/wait3.c: ... here.
427         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
428         * sysdeps/unix/bsd/waitpid.c: ... here.
430 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
432         [BZ #16356]
433         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
434         round-to-nearest for [!USE_AS_EXPM1L].
435         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
436         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
437         more tests of exp and exp10.  Expect some exp10 tests to miss
438         exceptions or fail in directed rounding modes.
439         * math/auto-libm-test-out: Regenerated.
440         * math/libm-test.inc (exp10_tonearest_test_data): New array.
441         (exp10_test_tonearest): New function.
442         (exp10_towardzero_test_data): New array.
443         (exp10_test_towardzero): New function.
444         (exp10_downward_test_data): New array.
445         (exp10_test_downward): New function.
446         (exp10_upward_test_data): New array.
447         (exp10_test_upward): New function.
448         (main): Call the new functions.
449         * sysdeps/i386/fpu/libm-test-ulps: Update.
450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
452 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
454         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
455         asinh, atan, atan2, atanh, cbrt, cos and cosh.
456         * math/auto-libm-test-out: Regenerated.
457         * math/libm-test.inc (acosh_test_data): Add more tests.
458         (atanh_test_data): Likewise.
459         (ceil_test_data): Likewise.
460         (copysign_test_data): Likewise.
461         * sysdeps/i386/fpu/libm-test-ulps: Update.
462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
464         * timezone/checktab.awk: Update from tzcode 2013i.
465         * timezone/private.h: Likewise.
466         * timezone/scheck.c: Likewise.
467         * timezone/tzfile.h: Likewise.
468         * timezone/tzselect.ksh: Likewise.
469         * timezone/zdump.c: Likewise.
470         * timezone/zic.c: Likewise.
472         * math/auto-libm-test-in: Add tests of cpow.
473         * math/auto-libm-test-out: Regenerated.
474         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
475         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
476         mpc_cc_c.
477         (func_calc_desc): Add mpc_cc_c union field.
478         (test_functions): Add cpow.
479         (special_fill_2pi): New function.
480         (special_real_inputs): Add 2pi.
481         (calc_generic_results): Handle mpc_cc_c.
482         * sysdeps/i386/fpu/libm-test-ulps: Update.
483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
485         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
486         csqrt, ctan and ctanh.
487         * math/auto-libm-test-out: Regenerated.
488         * math/libm-test.inc (TEST_COND_x86_64): New macro.
489         (TEST_COND_x86): Likewise.
490         (ccos_test_data): Use AUTO_TESTS_c_c.
491         (ccosh_test_data): Likewise.
492         (cexp_test_data): Likewise.
493         (clog_test_data): Likewise.
494         (csqrt_test_data): Likewise.
495         (ctan_test_data): Likewise.
496         (ctan_tonearest_test_data): Likewise.
497         (ctan_towardzero_test_data): Likewise.
498         (ctan_downward_test_data): Likewise.
499         (ctan_upward_test_data): Likewise.
500         (ctanh_test_data): Likewise.
501         (ctanh_tonearest_test_data): Likewise.
502         (ctanh_towardzero_test_data): Likewise.
503         (ctanh_downward_test_data): Likewise.
504         (ctanh_upward_test_data): Likewise.
505         * math/gen-auto-libm-tests.c (func_calc_method): Add value
506         mpc_c_c.
507         (func_calc_desc): Add mpc_c_c union field.
508         (FUNC_mpc_c_c): New macro.
509         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
510         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
511         ctanh.
512         (special_fill_min_subnorm_p120): New function.
513         (special_real_inputs): Add min_subnorm_p120.
514         (calc_generic_results): Handle mpc_c_c.
515         * sysdeps/i386/fpu/libm-test-ulps: Update.
516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
518 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
520         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
521         do_sin_slow): New functions.
522         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
523         cslow2, csloww1, csloww2): Use the new functions.
525         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
526         Use M to change sign of result instead of X.  Assume X is
527         positive.
528         (csloww1): Likewise.
529         (__sin): Adjust.
530         (__cos): Adjust.
532         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
533         arguments A and DA.
534         (__sin): Adjust.
535         (__cos): Likewise.
537         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
538         (__cos): Likewise.
539         (sloww1): Don't adjust sign of DX.
540         (csloww1): Likewise.
541         (sloww2): Use X directly and don't adjust sign of DX.
542         (csloww2): Likewise.
544 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
546         * math/auto-libm-test-in: Add tests of cabs and carg.
547         * math/auto-libm-test-out: Regenerated.
548         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
549         (carg_test_data): Likewise.
550         * math/gen-auto-libm-tests.c (func_calc_method): Add value
551         mpc_c_f.
552         (func_calc_desc): Add mpc_c_f union field.
553         (test_functions): Add cabs and carg.
554         (calc_generic_results): Handle mpc_c_f.
556         * sysdeps/powerpc/powerpc32/libgcc-compat.S
557         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
558         as a macro and a compat symbol.
559         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
560         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
561         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
562         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
563         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
564         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
565         not use .hidden.
566         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
567         Likewise.
568         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
569         Likewise.
570         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
571         Likewise.
572         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
573         Likewise.
574         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
575         Likewise.
576         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
577         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
578         from GLIBC_2.3.2.
580 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
584 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
586         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
587         (__signal_safe_memalign, __signal_safe_free): Use it.
588         (__signal_safe_realloc): Likewise.
590 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
592         * manual/texinfo.tex: Update to version 2013-11-26.10 with
593         trailing whitespace removed.
594         * scripts/config.guess: Update to version 2013-11-29.
595         * scripts/config.sub: Update to version 2013-10-01.
597         * math/auto-libm-test-in: Add tests of sincos.
598         * math/auto-libm-test-out: Regenerated.
599         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
600         * math/gen-auto-libm-tests.c (func_calc_method): Add value
601         mpfr_f_11.
602         (func_calc_desc): Add mpfr_f_11 union field.
603         (test_functions): Add sincos.
604         (calc_generic_results): Handle mpfr_f_11.
605         * sysdeps/i386/fpu/libm-test-ulps: Update.
606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
608 2013-12-19  Andreas Schwab  <schwab@suse.de>
610         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
611         CALL_MCOUNT.
612         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
613         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
614         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
616 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
618         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
619         * sysdeps/i386/fpu/libm-test-ulps: Update.
620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
622         [BZ #16293]
623         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
624         round-to-nearest mode when using frndint.
625         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
626         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
627         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
628         Likewise.
629         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
630         sinh test to fail.
631         * math/auto-libm-test-out: Regenerated.
632         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
633         (TEST_COND_x86): Likewise.
634         (expm1_tonearest_test_data): New array.
635         (expm1_test_tonearest): New function.
636         (expm1_towardzero_test_data): New array.
637         (expm1_test_towardzero): New function.
638         (expm1_downward_test_data): New array.
639         (expm1_test_downward): New function.
640         (expm1_upward_test_data): New array.
641         (expm1_test_upward): New function.
642         (main): Run the new test functions.
643         * sysdeps/i386/fpu/libm-test-ulps: Update.
644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
646         * include/features.h: Update comment documenting feature test
647         macros.  Mention _DEFAULT_SOURCE in comment.
648         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
649         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
650         _BSD_SOURCE and _SVID_SOURCE.
651         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
652         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
653         !_SVID_SOURCE]: Likewise.
654         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
655         (__USE_POSIX_IMPLICITLY): Define.
656         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
657         (_POSIX_SOURCE): Undefine and redefine.
658         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
659         (_POSIX_C_SOURCE): Likewise.
660         * manual/creature.texi (_DEFAULT_SOURCE): Document.
661         (Feature Test Macros): Update documentation of default features.
663 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
665         * benchtests/Makefile: Add bench-strtok.
666         * benchtests/bench-strtok.c: New file: strtok benchtest.
668 2013-12-19  Allan McRae  <allan@archlinux.org>
670         * manual/install.texi: Suppress menu for plain text output.
671         * INSTALL: Regenerated.
673 2013-12-18  Andrew Hunter  <ahh@google.com>
675         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
676         (__signal_safe_malloc, __signal_safe_free): Likewise.
677         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
678         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
679         (__signal_safe_memalign, __signal_safe_malloc): New function.
680         (__signal_safe_free, __signal_safe_realloc): Likewise.
681         (__signal_safe_calloc): Likewise.
682         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
683         functions.
684         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
686 2013-12-18  Andrew Hunter  <ahh@google.com>
688         * elf/Versions (ld): Add _dl_clear_dtv.
689         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
690         * elf/dl-tls.c (_dl_clear_dtv): New function.
691         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
693 2013-12-18  Andrew Hunter  <ahh@google.com>
695         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
696         (_dl_unmask_signals): Likewise.
697         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
698         (_dl_unmask_all_signals): Likewise.
699         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
700         (_dl_unmask_all_signals): Likewise.
701         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
702         (_dl_unmask_signals): Likewise.
704 2013-12-18  Brooks Moses  <bmoses@google.com>
706         [BZ #15846]
707         * misc/getauxval.c: Include errno.h.
708         (__getauxval): Set errno to ENOENT if the requested type is not
709         found.
710         * misc/sys/auxv.h (getauxval): Document that it may set errno;
711         don't declare with __attribute_const__.
712         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
713         * manual/startup.texi: Document that getauxval sets errno.
715 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
717         * math/auto-libm-test-in: Add tests of jn and yn.
718         * math/auto-libm-test-out: Regenerated.
719         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
720         (yn_test_data): Likewise.
721         * math/gen-auto-libm-tests.c (func_calc_method): Add value
722         mpfr_if_f.
723         (func_calc_desc): Add mpfr_if_f union field.
724         (FUNC_mpfr_if_f): New macro.
725         (test_functions): Add jn and yn.
726         (calc_generic_results): Assert type of second input for
727         mpfr_ff_f.  Handle mpfr_if_f.
728         (output_for_one_input_case): Disable all checking for arguments
729         fitting floating-point types in case of an integer argument.
730         * sysdeps/i386/fpu/libm-test-ulps: Update.
731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
734         Don't expect fegetround reference in libm.so.
736 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
738         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
739         $(config-cflags-nofma).
741 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
743         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
744         * math/auto-libm-test-out: Regenerated.
746         [BZ #16338]
747         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
748         to determine exponent and adjust argument to have exponent of -1.
749         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
750         log2.
751         * math/auto-libm-test-out: Regenerated.
752         * sysdeps/i386/fpu/libm-test-ulps: Update.
753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
755 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
757         * manual/probes.texi: Remove cases when per-thread arenas are
758         disabled.
760 2013-12-18  Andreas Schwab  <schwab@suse.de>
762         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
763         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
764         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
765         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
766         * sysdeps/i386/i686/multiarch/Makefile: Update.
767         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
769 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
771         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
772         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
774 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
776         Support TZ transition times < 00:00:00.
777         This is needed for version-3 tz-format files; it supports time
778         stamps past 2037 for America/Godthab (the only entry in the tz
779         database for which this change is relevant).
780         * manual/time.texi (TZ Variable): Document transition times
781         from -167:59:59 through -00:00:01.
782         * time/tzset.c (tz_rule): Time of day is now signed.
783         (__tzset_parse_tz): Parse negative time of day.
785         Document TZ transition times >= 25:00:00.
786         * manual/time.texi (TZ Variable): Document transition times from
787         25:00:00 through 167:59:59.  These are already supported, and this
788         support will help with version-3 tz-format files.
790         * manual/time.texi (TZ Variable): Modernize North America example
791         to reflect current (i.e., 2007-and-later) daylight saving rules.
793         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
795 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
797         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
798         * sysdeps/unix/bsd/bits/stat.h: Likewise.
799         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
800         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
801         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
802         * sysdeps/unix/bsd/bsdstat.h: Likewise.
803         * sysdeps/unix/bsd/clock.c: Likewise.
804         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
805         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
806         * sysdeps/unix/bsd/init-posix.c: Likewise.
807         * sysdeps/unix/bsd/poll.c: Likewise.
808         * sysdeps/unix/bsd/ptsname.c: Likewise.
809         * sysdeps/unix/bsd/seekdir.c: Likewise.
810         * sysdeps/unix/bsd/setegid.c: Likewise.
811         * sysdeps/unix/bsd/seteuid.c: Likewise.
812         * sysdeps/unix/bsd/setgid.c: Likewise.
813         * sysdeps/unix/bsd/setrgid.c: Likewise.
814         * sysdeps/unix/bsd/setruid.c: Likewise.
815         * sysdeps/unix/bsd/setsid.c: Likewise.
816         * sysdeps/unix/bsd/setuid.c: Likewise.
817         * sysdeps/unix/bsd/sigaction.c: Likewise.
818         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
819         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
820         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
821         * sysdeps/unix/bsd/telldir.c: Likewise.
822         * sysdeps/unix/bsd/times.c: Likewise.
823         * sysdeps/unix/bsd/usleep.c: Likewise.
825         * misc/Makefile (install-lib): Remove libbsd-compat.a.
826         ($(objpfx)libbsd-compat.a): Remove rule.
828         * include/features.h (__FAVOR_BSD): Do not define.
829         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
830         features conflicting with POSIX.
831         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
832         (_BSD_SOURCE): Remove description of not being a subset of other
833         feature test macros.
834         * manual/job.texi (getpgrp): Do not document BSD version.
835         (getpgid): Do not document by reference to BSD getpgrp.
836         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
837         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
838         * signal/signal.h [__FAVOR_BSD]: Likewise.
839         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
840         instead of making contents conditional on [__FAVOR_BSD].
841         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
843 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
847 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
849         [BZ #16314]
850         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
851         values below 2**-450, not 2**-500.
852         * math/auto-libm-test-in: Don't allow spurious underflow from
853         hypot.
854         * math/auto-libm-test-out: Regenerated.
856         [BZ #16316]
857         [BZ #16330]
858         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
859         values of ha and hb and sort them after adjusting subnormal
860         arguments.
861         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
862         Likewise.
863         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
864         values of ea and eb and sort them after adjusting subnormal
865         arguments.
866         * math/auto-libm-test-in: Do not expect some hypot tests of
867         subnormals to fail.  Add more hypot tests.
868         * math/auto-libm-test-out: Regenerated.
870 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
872         [BZ #13304]
873         * sysdeps/sh/s_fma.c: New file.
874         * sysdeps/sh/s_fmaf.c: New file.
875         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
876         version.
877         * sysdeps/sh/Implies: Add sh/soft-fp.
879 2013-12-16  Roland McGrath  <roland@hack.frob.com>
881         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
882         level of indirection to members `objname', `errstring', `malloced'.
883         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
884         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
885         it as the __longjmp argument (just pass 1 instead).
886         (_dl_catch_error): Initialize C with argument pointers and address of
887         volatile local ERRCODE rather than copying values out of C at return.
889 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
891         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
892         * math/auto-libm-test-out: Regenerated.
893         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
894         (hypot_test_data): Likewise.
895         (pow_test_data): Likewise.
896         (pow_tonearest_test_data): Likewise.
897         * math/gen-auto-libm-tests.c (func_calc_method): Add value
898         mpfr_ff_f.
899         (func_calc_desc): Add mpfr_ff_f union field.
900         (FUNC_mpfr_ff_f): New macro.
901         (test_functions): Add atan2, hypot and pow.
902         (special_fill_min): New function.
903         (special_fill_minus_min): Likewise.
904         (special_fill_min_subnorm): Likewise.
905         (special_fill_minus_min_subnorm): Likewise.
906         (special_real_inputs): Add min, -min, min_subnorm and
907         -min_subnorm.
908         (calc_generic_results): Handle mpfr_ff_f.
909         * sysdeps/i386/fpu/libm-test-ulps: Update.
910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
912 2013-12-16  Will Newton  <will.newton@linaro.org>
914         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
915         (Aligned Memory Blocks): Add documentation for aligned_alloc
916         and suggest it as an alternative to posix_memalign.
917         (Hooks for Malloc): Document __memalign_hook is also called
918         for aligned_alloc.  (Summary of Malloc): Add summary for
919         aligned alloc.  Document __memalign_hook is also called
920         for aligned_alloc.
922 2013-12-16  Will Newton  <will.newton@linaro.org>
924         * manual/memory.texi (Malloc Examples): Clarify default
925         alignment documentation.  Suggest posix_memalign rather
926         than memalign or valloc.
927         (Aligned Memory Blocks): Remove suggestion to use memalign
928         or valloc.  Remove obsolete comment about BSD.
929         Document memalign errno values and mark the function obsolete.
930         Document posix_memalign returned error codes.  Mark valloc
931         as obsolete.  (Hooks for Malloc): __memalign_hook is also
932         called for posix_memalign and valloc.
933         (Summary of Malloc): Add posix_memalign to function summary.
934         __memalign_hook is also called for posix_memalign and valloc.
936 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
938         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
939         TAYLOR_SIN.
940         (__sin): Adjust.
941         (__cos): Likewise.
942         (sloww): Use mynumber union.  Expand ternary operator into
943         if-else statements.
944         (cslow): use mynumber union.
946 2013-12-16  Allan McRae  <allan@archlinux.org>
948         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
949         * configure: Regenerated.
951         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
953         [BZ #14120]
954         * configure.ac: Added --enable-maintainer-mode. Check for
955         autoconf when enabled.
956         * configure: Regenerated.
958         * nscd/nscd.service: New file.
959         * nscd/nscd.tmpfiles: New file.
961 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
963         [BZ #12100]
964         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
965         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
966         * sysdeps/x86_64/multiarch/strstr.c: ... here.
967         (strstr): Add __strstr_sse2_unaligned ifunc.
968         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
969         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
970         (strcasestr): Remove __strcasestr_sse42 ifunc.
971         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
972         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
973         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
975 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
977         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
978         * sysdeps/sh/bits/fenv.h: ... here.
979         * sysdeps/sh/sh4/fpu/bits: Remove directory.
981 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
983         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
985 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
988         hypotf multiarch implementations.
989         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
990         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
991         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
992         multiarch hypot for PPC64.
993         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
994         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
995         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
996         multiarch hypotf for PPC64.
998 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1000         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1001         modff multiarch implementations.
1002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1005         multiarch modf for PPC64.
1006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1009         multiarch modff for PPC64.
1011 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1013         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1014         and logl multiarch implementations.
1015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1018         multiarch logb for PPC64.
1019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1022         multiarch logb for PPC64.
1023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1026         multiarch logb for PPC64.
1028 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1031         isinff multiarch implementation.
1032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1033         file.
1034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1036         multiarch isinf for PPC64.
1037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1038         file.
1039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1040         multiarch isinff for PPC64.
1042 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1044         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1045         finitef multiarch implementation.
1046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1047         file.
1048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1050         multiarch finite for PPC64.
1051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1052         file.
1053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1054         multiarch finitef for PPC64.
1056 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1059         lrint multiarch implementation.
1060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1061         file.
1062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1064         multiarch llrint for PPC64.
1065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1066         multiarch lrint for PPC64.
1068 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1071         copysignf multiarch implementation.
1072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1073         file.
1074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1075         file.
1076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1077         multiarch copysign for PPC64.
1078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1079         multiarch copysignf for PPC64.
1081 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1083         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1084         multiarch implementation.
1085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1086         file.
1087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1088         file.
1089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1090         file.
1091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1092         file.
1093         multiarch llround for PPC64.
1094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1095         multiarch trunc for PPC64.
1096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1097         multiarch truncf for PPC64.
1099 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1101         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1102         multiarch implementation.
1103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1104         file.
1105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1106         file.
1107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1108         file.
1109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1110         file.
1111         multiarch llround for PPC64.
1112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1113         multiarch round for PPC64.
1114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1115         multiarch roundf for PPC64.
1117 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1119         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1120         multiarch implementation.
1121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1122         file.
1123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1124         file.
1125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1126         file.
1127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1128         file.
1129         multiarch llround for PPC64.
1130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1131         multiarch floor for PPC64.
1132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1133         multiarch floorf for PPC64.
1135 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1138         multiarch implementation.
1139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1140         file.
1141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1142         file.
1143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1144         file.
1145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1146         file.
1147         multiarch llround for PPC64.
1148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1149         multiarch ceil for PPC64.
1150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1151         multiarch ceilf for PPC64.
1153 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1156         multiarch implementation.
1157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1158         file.
1159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1160         file.
1161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1162         file.
1163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1164         multiarch llround for PPC64.
1165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1166         multiarch lround for PPC64.
1168 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1170         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1171         multiarch implementation.
1172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1175         file.
1176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1179         multiarch isnan for PPC64.
1180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1181         multiarch isnanf for PPC64.
1183 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1185         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1186         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1187         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1188         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1189         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1192 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1194         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1195         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1196         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1197         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1199 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1202         multiarch implementations.
1203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1204         (__libc_ifunc_impl_list): Likewise.
1205         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1206         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1207         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1208         multiarch stpcpy for PPC64.
1210 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1213         multiarch implementations.
1214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1215         (__libc_ifunc_impl_list): Likewise.
1216         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1217         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1218         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1219         multiarch strcpy for PPC64.
1221 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1223         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1224         redefine function name.
1225         (_wordcopy_fwd_dest_aligned): Likewise.
1226         (_wordcopy_bwd_aligned): Likewise.
1227         (_wordcopy_bwd_dest_aligned): Likewise.
1228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1229         multiarch implementations.
1230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1231         (__libc_ifunc_impl_list): Likewise.
1232         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1233         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1234         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1235         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1236         multiarch wcscpy for PPC64.
1238 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1241         multiarch implementations.
1242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1243         (__libc_ifunc_impl_list): Likewise.
1244         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1245         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1246         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1247         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1248         multiarch wcscpy for PPC64.
1250 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1253         multiarch implementations.
1254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1255         (__libc_ifunc_impl_list): Likewise.
1256         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1257         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1258         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1259         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1260         multiarch wcsrchr for PPC64.
1262 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1265         multiarch implementations.
1266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1267         (__libc_ifunc_impl_list): Likewise.
1268         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1269         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1270         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1271         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1272         multiarch wcschr for PPC64.
1274 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1276         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1277         multiarch implementations.
1278         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1279         (__libc_ifunc_impl_list): Likewise.
1280         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1281         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1282         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1283         multiarch strchrnul for PPC64.
1285 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1288         implementations.
1289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1290         (__libc_ifunc_impl_list): Likewise.
1291         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1292         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1293         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1294         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1295         strchr for PPC64.
1297 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1300         implementations.
1301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1302         (__libc_ifunc_impl_list): Likewise.
1303         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1304         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1305         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1306         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1307         strncmp for PPC64.
1309 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1312         multiarch implementations.
1313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1314         (__libc_ifunc_impl_list): Likewise.
1315         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1316         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1317         strncasecmp for PPC64.
1318         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1319         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1320         multiarch strncasecmp_l for PPC64.
1322 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1325         multiarch implementations.
1326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1327         (__libc_ifunc_impl_list): Likewise.
1328         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1329         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1330         multiarch strcasecmp for PPC64.
1331         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1332         file.
1333         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1334         multiarch strcasecmp_l for PPC64.
1336 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1338         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1339         implementations.
1340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1341         (__libc_ifunc_impl_list): Likewise.
1342         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1343         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1344         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1345         strnlen for PPC64.
1347 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1350         implementations.
1351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1352         (__libc_ifunc_impl_list): Likewise.
1353         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1354         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1355         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1356         strlen for PPC64.
1358 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1361         implementations.
1362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1363         (__libc_ifunc_impl_list): Likewise.
1364         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1365         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1366         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1367         rawmemrchr for PPC64.
1369 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1372         implementation.
1373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1374         (__libc_ifunc_impl_list): Likewise.
1375         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1376         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1377         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1378         memrchr for PPC64.
1380 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1382         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1383         implementation.
1384         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1385         (__libc_ifunc_impl_list): Likewise.
1386         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1387         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1388         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1389         memchr for PPC64.
1391 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1394         implementation.
1395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1396         (__libc_ifunc_impl_list): Likewise.
1397         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1398         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1399         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1400         mempcpy for PPC64.
1402 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1404         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1405         avoid cretion of __bzero symbol.
1406         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1407         Likewise.
1408         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1409         Likewise.
1410         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1411         Likewise.
1412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1413         multiarch implementations.
1414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1415         (__libc_ifunc_impl_list): Likewise.
1416         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1417         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1418         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1419         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1420         bzero for PPC32.
1421         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1422         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1423         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1424         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1425         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1426         memset for PPC64.
1427         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1429 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1431         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1433         implementations.
1434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1435         (__libc_ifunc_impl_list): Likewise.
1436         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1437         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1438         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1439         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1440         memcmp for PPC64.
1442 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1445         multiarch for POWER/PPC64.
1446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1447         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1448         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1449         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1450         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1451         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1452         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1453         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1454         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1455         memcpy for PPC64.
1457 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1459         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1460         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1461         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1462         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1463         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1464         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1465         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1466         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1467         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1468         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1469         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1470         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1471         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1472         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1473         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1482 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1484         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1486 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1488         * benchtests/Makefile (bench): Add exp2 and log2.
1489         (LDLIBS-bench-exp2): Add -lm.
1490         (LDLIBS-bench-log2): Likewise.
1491         * benchtests/exp2-inputs: New inputs file.
1492         * benchtests/log2-inputs: New inputs file.
1493         * benchtests/log-inputs: Add new inputs.
1494         * benchtests/tan-inputs: Likewise.
1496 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1498         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1499         definition...
1500         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1501         csloww1, csloww2): ... from here.
1503         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1504         instead of structures.
1505         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1506         (POLYNOMIAL): Likewise.
1507         (TAYLOR_SLOW): Likewise.
1508         (__sin): Likewise.
1509         (__cos): Likewise.
1510         (slow1): Likewise.
1511         (slow2): Likewise.
1512         (sloww): Likewise.
1513         (sloww1); Likewise.
1514         (sloww2): Likewise.
1515         (bsloww1): Likewise.
1516         (bsloww2): Likewise.
1517         (cslow2): Likewise.
1518         (csloww): Likewise.
1519         (csloww1): Likewise.
1520         (csloww2): Likewise.
1522 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1524         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1525         (__malloc_assert, __libc_realloc, __libc_calloc,
1526         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1527         memcpy and memset.
1528         * malloc/hooks.c (realloc_check): Likewise.
1530 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1532         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1533         * malloc/arena.c: Remove PER_THREAD conditional.
1534         [!PER_THREAD]: Remove code.
1535         (ptmalloc_unlock_all2): Likewise.
1536         (ptmalloc_init): Likewise.
1537         (_int_new_arena): Likewise.
1538         (arena_get2): Likewise.
1539         * malloc/hooks.c (__malloc_get_state): Likewise.
1540         (__malloc_set_state): Likewise.
1541         * malloc/malloc.c: Likewise.
1542         (struct malloc_state): Likewise.
1543         (struct malloc_par): Likewise.
1544         (__libc_realloc): Likewise.
1545         (__libc_mallopt): Likewise.
1547 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1549         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1551 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1553         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1554         macro to a function.  Check for zero perturb_byte.
1555         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1557 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1559         * malloc/malloc.c: (force_reg): Remove.
1560         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1561         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1562         force_reg by atomic_forced_read.
1563         * malloc/arena.c (ptmalloc_init): Likewise.
1564         * malloc/hooks.c (top_check): Likewise.
1566 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1570 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1574 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1576         * math/auto-libm-test-in: Add tests of lgamma.
1577         * math/auto-libm-test-out: Regenerated.
1578         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1579         (M_LOG_2_SQRT_PIl): Likewise.
1580         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1581         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1582         mpfr_f_f1.
1583         (func_calc_desc): Add mpfr_f_f1 union field.
1584         (ARGS1): New macro.
1585         (ARGS2): Likewise.
1586         (ARGS3): Likewise.
1587         (ARGS4): Likewise.
1588         (RET1): Likewise.
1589         (RET2): Likewise.
1590         (CALC): Likewise.
1591         (FUNC): Likewise.
1592         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1593         (test_functions): Add lgamma.
1594         (calc_generic_results): Handle mpfr_f_f1.
1595         * sysdeps/i386/fpu/libm-test-ulps: Update.
1596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1598 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1600         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1601         __mpn_add_n for PowerPC64/POWER7.
1602         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1603         __mpn_sub_n for PowerPC64/POWER7.
1605 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1607         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1608         __mpn_addmul_1 for PowerPC64.
1609         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1610         __mpn_submul_1 for PowerPC64.
1611         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1612         for PowerPC64.
1613         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1614         for PowerPC64.
1616 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1618         [BZ #15089]
1619         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1621 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1623         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1625 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1627         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1628         add multiarch folders.
1629         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1630         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1631         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1632         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1633         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1634         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1635         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1636         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1637         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1638         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1639         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1647 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1650         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1652         New file.
1653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1654         New file.
1655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1656         multiarch __ieee754_hypot for PowerPC32.
1657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1658         New file.
1659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1660         New file.
1661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1662         multiarch __ieee754_hypotf for PowerPC32.
1664 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1666         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1667         long_double_symbol only if __logbl is defined.
1668         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1669         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1670         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1671         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1672         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1673         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1674         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1675         path for implementation.
1676         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1677         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1679         logb, and logbl multiarch implementations for PowerPC32.
1680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1681         file.
1682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1683         file.
1684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1685         multiarch logb for PowerPC32.
1686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1687         file.
1688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1689         file.
1690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1691         multiarch logbf for PowerPC32.
1692         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1694         file.
1695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1696         multiarch logbl implementation for PowerPC32.
1698 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1701         and modff multiarch implementations.
1702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1703         New file.
1704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1705         New file.
1706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1707         multiarch modf for PowerPC32.
1708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1709         New file.
1710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1711         New file.
1712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1713         multiarch modff for PowerPC32.
1715 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1718         and lrintf multiarch implementations.
1719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1720         New file.
1721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1722         New file.
1723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1724         multiarch lrint for PowerPC32.
1725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1726         file: multiarch lrintf for PowerPC32.
1728 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1731         and lroundf multiarch implementations.
1732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1733         New file.
1734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1735         New file.
1736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1737         New file.
1738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1739         multiarch lround for PowerPC32.
1740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1741         file: multiarch lroundf for PowerPC32.
1743 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1746         copysign and copysignf multiarch implementations.
1747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1748         New file.
1749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1750         New file.
1751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1752         file: multiarch copysign for PowerPC32.
1753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1754         file: multiarch copysignf for PowerPC32.
1756 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1759         and truncf multiarch implementations.
1760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1761         New file.
1762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1763         file.
1764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1765         multiarch trunc for PowerPC32.
1766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1767         New file.
1768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1769         New file.
1770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1771         multiarch truncf for PowerPC32.
1773 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1776         and roundf multiarch implementations.
1777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1778         New file.
1779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1780         file.
1781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1782         multiarch round for PowerPC32.
1783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1784         New file.
1785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1786         New file.
1787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1788         multiarch roundf for PowerPC32.
1790 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1793         and floorf multiarch implementations.
1794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1795         New file.
1796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1797         file.
1798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1799         multiarch floor for PowerPC32.
1800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1801         New file.
1802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1803         New file.
1804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1805         multiarch floorf for PowerPC32.
1807 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1810         and ceilf multiarch implementations.
1811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1812         New file.
1813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1814         file.
1815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1816         multiarch ceil for PowerPC32.
1817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1818         New file.
1819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1820         file.
1821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1822         multiarch ceilf for PowerPC32.
1824 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1826         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1827         is defined.
1828         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1829         FINITEF is defined.
1830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1831         and finitef multiarch implementations.
1832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1833         New file.
1834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1835         file.
1836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1837         multiarch finite for PowerPC32.
1838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1839         New file.
1840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1841         file: multiarch finitef for PowerPC32.
1843 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1846         and isinff multiarch implementations.
1847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1848         file.
1849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1850         file.
1851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1852         multiarch isinf for PowerPC32.
1853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1854         New file.
1855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1856         multiarch isinff for PowerPC32.
1858 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1860         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1861         alias when __isnan is defined.
1862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1863         and isnanf multiarch implementations.
1864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1865         file.
1866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1867         file.
1868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1869         file.
1870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1871         file.
1872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1873         multiarch isnan for PowerPC32.
1874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1875         New file.
1876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1877         New file.
1878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1879         multiarch isnanf for PowerPC32.
1881 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1884         and sqrtf multiarch implementations.
1885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1886         file.
1887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1888         file.
1889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1890         multiarch sqrt for PowerPC32.
1891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1892         file.
1893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1894         file.
1895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1896         multiarch sqrtf for PowerPC32.
1898 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1901         and llroundf multiarch implementations.
1902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1903         New file.
1904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1905         New file.
1906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1907         New file.
1908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1909         file: multiarch llround for PowerPC32.
1910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1911         file: multiarch llroundf for PowerPC32.
1913 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1916         multiarch PowerPC32 fpu implementations.
1917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1918         New file.
1919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1920         New file.
1921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1922         multiarch llrint for PowerPC32.
1923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1924         New file.
1925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1926         New file.
1927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1928         file.
1930 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1934 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1936         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1937         file.
1938         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1939         file.
1940         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1941         file.
1942         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1943         multiarch wordcopy for PPC32.
1944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1945         wordcopy objects.
1946         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1947         (__libc_ifunc_impl_list): Likewise.
1948         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1949         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1950         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1951         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1952         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1953         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1955 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1957         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1959         file.
1960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1961         file.
1962         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1963         file.
1964         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1965         multiarch wcscpy for PPC32.
1966         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1967         multiarch objects.
1968         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1969         (__libc_ifunc_impl_list): Likewise.
1970         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1971         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1972         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1973         sysdeps/powerpc/power6/wcscpy.c.
1975 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1977         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1979         file.
1980         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1981         file.
1982         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1983         file.
1984         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1985         multiarch wcsrchr for PPC32.
1986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1987         multiarch objects.
1988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1989         (__libc_ifunc_impl_list): Likewise.
1990         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1991         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1992         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1993         sysdeps/powerpc/power6/wcsrchr.c.
1995 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1997         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1998         file.
1999         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2000         file.
2001         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2002         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2003         multiarch wcschr for PPc32.
2004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2005         multiarch objects.
2006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2007         (__libc_ifunc_impl_list): Likewise.
2008         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2009         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2010         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2011         sysdeps/powerpc/power6/wcschr.c.
2013 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2015         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2016         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2017         file.
2018         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2019         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2020         file: multiarch strchr for PPC32.
2021         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2022         multiarch objects.
2023         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2024         (__libc_ifunc_impl_list): Likewise.
2026 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2028         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2029         name.
2030         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2031         file.
2032         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2033         file.
2034         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2035         multiarch strchrnul for PPC32.
2036         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2037         multiarch objects.
2038         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2039         (__libc_ifunc_impl_list): Likewise.
2041 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2043         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2044         file.
2045         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2046         multiarch strncasecmp for PPC32.
2047         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2048         file.
2049         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2050         multiarch strncasecmp_l for PPC32.
2051         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2052         strncasecmp multiarch objects.
2053         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2054         (__libc_ifunc_impl_list): Likewise.
2056 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2058         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2059         file.
2060         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2061         multiarch strncasecmp for PPC32.
2062         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2063         New file.
2064         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2065         multiarch strcasecmp_l for PPC32.
2066         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2067         multiarch objects.
2068         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2069         (__libc_ifunc_impl_list): Likewise.
2071 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2073         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2074         file.
2075         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2076         file.
2077         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2078         multiarch strncmp for PPC32.
2079         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2080         multiarch objects.
2081         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2082         (__libc_ifunc_impl_list): Likewise.
2084 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2086         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2087         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2088         file.
2089         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2090         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2091         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2092         multiarch objects.
2093         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2094         (__libc_ifunc_impl_list): Likewise.
2096 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2098         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2099         file.
2100         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2101         file.
2102         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2104         multiarch objects.
2105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2106         (__libc_ifunc_impl_list): Likewise.
2108 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2110         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2111         file.
2112         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2113         file.
2114         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2115         multiarch rawmemchr for PPC32.
2116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2117         multiarch objects.
2118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2119         (__libc_ifunc_impl_list): Likewise.
2121 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2123         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2124         file.
2125         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2126         file.
2127         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2128         file: memrchr multiarch for PPC32.
2129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2130         multiarch objects.
2131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2132         (__libc_ifunc_impl_list): Likewise.
2134 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2136         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2137         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2138         file.
2139         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2140         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2141         multiarch memchr for PPC32.
2142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2143         multiarch objects.
2144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2145         (__libc_ifunc_impl_list): Likewise.
2147 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2149         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2150         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2151         file.
2152         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2153         file.
2154         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2155         file: multiarch mempcpy for PPC32.
2156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2157         multiarch objects.
2158         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2159         (__libc_ifunc_impl_list): Likewise.
2161 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2163         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2164         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2165         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2166         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2167         multiarch bzero for PPC32.
2168         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2169         file.
2170         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2171         file.
2172         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2173         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2174         file: multiarch memset for PPC32.
2175         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2176         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2177         memset multiarch objects.
2178         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2179         (__libc_ifunc_impl_list): Likewise.
2181 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2183         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2184         file.
2185         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2186         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2187         memcmp for PPC32.
2188         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2189         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2190         multiarch objects.
2191         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2192         (__libc_ifunc_impl_list): Likewise.
2194 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2196         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2197         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2198         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2199         file.
2200         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2201         file.
2202         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2203         file.
2204         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2205         multiarch memcpy for PPC32.
2206         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2207         multiarch objects.
2208         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2209         (__libc_ifunc_impl_list): Likewise.
2211 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2214         support multiarch for POWER/PPC32.
2215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2216         Likewise.
2217         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2219         Implies file to make multiarch folder appers before the fpu and
2220         default folder for power4 configuration.
2222 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2224         * scripts/bench.pl: Append volatile keyword to type.
2226 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2228         * sysdeps/sh/sotruss-lib.c: New file.
2229         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2231 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2235 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2237         [BZ #6810]
2238         * math/w_tgamma.c: Include <errno.h>.
2239         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2240         * math/w_tgammaf.c: Include <errno.h>.
2241         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2242         * math/w_tgammal.c: Include <errno.h>.
2243         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2244         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2245         underflow.  Add more tgamma tests.
2246         * math/auto-libm-test-out: Regenerated.
2247         * sysdeps/i386/fpu/libm-test-ulps: Update.
2248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2250         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2251         sin, sinh, tan, tanh, tgamma, y0 and y1.
2252         * math/auto-libm-test-out: Regenerated.
2253         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2254         (TEST_COND_x86): Likewise.
2255         (M_E2l): Remove macro.
2256         (M_E3l): Likewise.
2257         (M_2_SQRT_PIl): Likewise.
2258         (M_SQRT_PIl): Likewise.
2259         (M_1_DIV_El): Likewise.
2260         (log_test_data): Use AUTO_TESTS_f_f.
2261         (log10_test_data): Likewise.
2262         (log1p_test_data): Likewise.
2263         (log2_test_data): Likewise.
2264         (sin_test_data): Likewise.
2265         (sin_tonearest_test_data): Likewise.
2266         (sin_towardzero_test_data): Likewise.
2267         (sin_downward_test_data): Likewise.
2268         (sin_upward_test_data): Likewise.
2269         (sinh_test_data): Likewise.
2270         (sinh_tonearest_test_data): Likewise.
2271         (sinh_towardzero_test_data): Likewise.
2272         (sinh_downward_test_data): Likewise.
2273         (sinh_upward_test_data): Likewise.
2274         (tan_test_data): Likewise.
2275         (tan_tonearest_test_data): Likewise.
2276         (tan_towardzero_test_data): Likewise.
2277         (tan_downward_test_data): Likewise.
2278         (tan_upward_test_data): Likewise.
2279         (tanh_test_data): Likewise.
2280         (tgamma_test_data): Likewise.
2281         (y0_test_data): Likewise.
2282         (y1_test_data): Likewise.
2283         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2284         (special_real_inputs): Add pi/4.
2285         * sysdeps/i386/fpu/libm-test-ulps: Update.
2286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2288 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2290         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2291         "longjmp_target" static probes.
2292         (__longjmp): Rename to __longjmp_symbol.
2293         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2294         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2295         on which longjmp to generate.
2296         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2297         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2298         probe.
2299         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2300         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2301         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2302         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2303         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2304         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2306         __longjmp_symbol based on which __longjmp to generate.
2307         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2308         probe.
2309         (setjmp): Rename to setjmp_symbol.
2310         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2311         (_setjmp): Rename to _setjmp_symbol.
2312         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2313         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2314         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2315         which setjmp to generate.
2316         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2317         "longjmp_target" static probes.
2319 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2321         * benchtests/README: Add note about output arguments.
2322         * benchtests/bench-sincos.c: Remove file.
2323         * benchtests/sincos-inputs: New file.
2324         * scripts/bench.pl: Identify output arguments and define
2325         static variables for them.
2327         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2329         [BZ #15941]
2330         * Makefile (INSTALL): Add install-plain.texi as the primary
2331         dependency.
2332         * manual/install-plain.texi: New file.
2333         * manual/install.texi: Include node directive only for
2334         non-plaintext output.
2336 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2338         * stdlib/longlong.h: Update from GCC.
2340         [BZ #6807]
2341         [BZ #15901]
2342         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2343         * math/w_j0f.c (y0f): Likewise.
2344         * math/w_j0l.c (__y0l): Likewise.
2345         * math/w_j1.c (y1): Likewise.
2346         * math/w_j1f.c (y1f): Likewise.
2347         * math/w_j1l.c (__y1l): Likewise
2348         * math/w_jn.c (yn): Likewise.
2349         * math/w_jnf.c (ynf): Likewise.
2350         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2351         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2352         value for Bessel function domain errors outside _SVID_ mode.
2353         Adjust sign of return value for yn (negative integer, 0).
2354         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2355         by zero in return for negative x and set sign appropriately for
2356         negative n.
2357         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2358         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2359         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2360         expectations in error cases.
2361         (y1_test_data): Likewise.
2362         (yn_test_data): Likewise.
2363         * sysdeps/i386/fpu/libm-test-ulps: Update.
2364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2366 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2368         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2369         "64" to "64-v1".  Add "64-v2".
2370         (abi-64-options): Rename to ...
2371         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2372         (abi-64-condition): Rename to ...
2373         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2374         (abi-64-ld-soname): Rename to ...
2375         (abi-64-v1-ld-soname): ... this.
2376         (abi-64-v2-options): Define.
2377         (abi-64-v2-condition): Likewise.
2378         (abi-64-v2-ld-soname): Likewise.
2379         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2380         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2385 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2386             Alan Modra  <amodra@gmail.com>
2388         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2389         New versions for use with the ELFv2 ABI.
2390         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2391         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2392         declaration.
2393         (struct La_ppc64v2_retval): Likewise.
2394         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2395         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2396         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2397         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2398         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2399         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2400         Do not save or restore CR.
2401         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2402         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2403         return values for ELFv2 ABI.  Fix location of FPR return registers.
2404         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2405         updated values for _CALL_ELF == 2.
2406         (La_regs, La_retval, int_retval): Likewise.
2408 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2410         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2411         (FRAME_MIN_SIZE_PARM): Likewise.
2412         (FRAME_BACKCHAIN): Likewise.
2413         (FRAME_CR_SAVE): Likewise.
2414         (FRAME_LR_SAVE): Likewise.
2415         (FRAME_TOC_SAVE): Likewise.
2416         (FRAME_PARM_SAVE): Likewise.
2417         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2418         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2419         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2420         (call_mcount_parm_offset): New macro.
2421         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2422         (PROF): Use symbolic stack frame offsets.
2423         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2424         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2425         Redefine in terms of FRAME_MIN_SIZE.
2426         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2427         (_dl_profile_resolve): Likewise.  Update comment.
2428         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2429         symbols stack frame offsets.
2430         (__sigsetjmp): Likewise.
2431         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2432         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2433         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2434         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2437         (FRAME_BACKCHAIN): Remove.
2438         (FRAME_CR_SAVE): Likewise.
2439         (FRAME_LR_SAVE): Likewise.
2440         (FRAME_COMPILER_DW): Likewise.
2441         (FRAME_LINKER_DW): Likewise.
2442         (FRAME_TOC_SAVE): Likewise.
2443         (FRAME_PARM_SAVE): Likewise.
2444         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2445         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2446         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2448         (CHECK_SP): Use symbolic stack frame offsets.
2449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2450         zone" instead of caller's parameter save area for temp storage.
2451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2452         Likewise.  Also, use symbolic stack frame offsets.
2453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2454         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2455         our own stack frame instead of the caller's.
2456         (__socket): Use symbolic stack frame offsets.
2458 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2459             Alan Modra  <amodra@gmail.com>
2461         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2462         Define.
2463         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2464         PPC64_LOCAL_ENTRY_OFFSET): Define.
2465         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2466         New function.
2467         (elf_machine_fixup_plt): Call it.
2468         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2469         reloc arguments.
2470         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2471         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2472         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2473         r2 before calling target.
2475 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2476             Alan Modra  <amodra@gmail.com>
2478         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2479         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2480         versions of macros to support ELFv2 ABI.
2481         (LOCALENTRY): New macro.
2482         (ENTRY, EALIGN): Use it.
2483         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2484         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2485         fall through into ENTRY entry point.
2486         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2487         Only define if _CALL_ELF != 2.
2489         (elf_machine_matches_host): Verify ABI version matches.
2490         (RTLD_START): Use LOCALENTRY.
2491         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2492         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2493         (PLT_ENTRY_WORDS): New macro.
2494         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2495         (elf_machine_runtime_setup): Support ELFv2 ABI.
2496         (elf_machine_fixup_plt): Likewise.
2497         (elf_machine_plt_conflict): Likewise.
2498         (resolve_ifunc): Likewise.
2499         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2500         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2501         Likewise.
2502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2503         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2505         (makecontext): Support ELFv2 ABI.
2506         * elf/elf.h (EF_PPC64_ABI): Define.
2508 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2510         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2511         New assembler macro.
2512         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2513         [ASSEMBLER] (ENTRY): ... but instead here ...
2514         [ASSEMBLER] (EALIGN): ... and here.
2515         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2516         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2517         [!ASSEMBLER] (ENTRY_2): Use it.
2518         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2519         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2520         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2521         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2522         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2524         Use PPC64_LOAD_FUNCPTR.
2526 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2528         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2530 2013-12-04  Alan Modra  <amodra@gmail.com>
2532         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2533         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2534         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2535         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2537         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2538         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2539         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2540         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2541         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2542         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2544 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2547         (__makecontext): Fix incorrect CFI when backtracing out of
2548         context created via makecontext.
2549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2550         (__setcontext): Fix incorrect CFI during switch to new context.
2551         (__novec_setcontext): Likewise.
2553 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2555         [BZ #4772]
2556         * time/strptime_l.c (__strptime_internal): Allow modifiers
2557         in strptime.
2558         * time/tst-strptime.c (day_tests): Add testcase.
2561 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2563         * scripts/bench.pl: Skip over blank lines.
2565 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2567         [BZ #926]
2568         * manual/time.texi (Calendar Time): Clarify what timezone functions
2569         use.
2571 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2575 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2577         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2578         implementation.
2579         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2580         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2581         * debug/memset_chk.c (__memset_chk): Likewise.
2582         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2583         * debug/strncpy_chk.c: Likewise.
2585 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2587         [BZ #15268]
2588         [BZ #15425]
2589         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2590         (__ieee754_exp): For possibly underflowing results, check size of
2591         result and force underflow exception if required.
2592         * math/auto-libm-test-in: Add more tests of exp.
2593         * math/auto-libm-test-out: Regenerated.
2594         * sysdeps/i386/fpu/libm-test-ulps: Update.
2595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2597         [BZ #16283]
2598         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2599         * math/w_exp2f.c (__exp2f): Likewise.
2600         * math/w_exp2l.c (__exp2l): Likewise.
2601         * math/auto-libm-test-in: Do not allow missing errno on exp2
2602         underflow.
2603         * math/auto-libm-test-out: Regenerated.
2605 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2607         [BZ #16274]
2608         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2609         handle filename validation.
2610         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2611         (do_open): Delete.
2613 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2615         [BZ #6786]
2616         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2617         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2618         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2619         <float.h>.
2620         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2621         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2622         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2623         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2624         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2625         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2626         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2627         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2628         Add more erfc tests.
2629         * math/auto-libm-test-out: Regenerated.
2630         * sysdeps/i386/fpu/libm-test-ulps: Update.
2631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2633         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2634         exp2, expm1, j0 and j1.
2635         * math/auto-libm-test-out: Regenerated.
2636         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2637         (erfc_test_data): Likewise.
2638         (exp_test_data): Likewise.
2639         (exp_tonearest_test_data): Likewise.
2640         (exp_towardzero_test_data): Likewise.
2641         (exp_downward_test_data): Likewise.
2642         (exp_upward_test_data): Likewise.
2643         (exp10_test_data): Likewise.
2644         (exp2_test_data): Likewise.
2645         (expm1_test_data): Likewise.
2646         (j0_test_data): Likewise.
2647         (j1_test_data): Likewise.
2648         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2649         (input_flag_type): Add flag_xfail_rounding.
2650         (input_flags): Add xfail-rounding.
2651         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2652         (output_for_one_input_case): Handle flag_xfail_rounding.
2653         * sysdeps/i386/fpu/libm-test-ulps: Update.
2654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2656 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2658         [BZ #16289]
2659         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2660         division by 0.
2662 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2664         [BZ #16195]
2665         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2666         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2667         (STAP_PROBE0): New macro.
2668         (STAP_PROBE1): Likewise.
2669         (STAP_PROBE2): Likewise.
2670         (STAP_PROBE3): Likewise.
2671         (STAP_PROBE4): Likewise.
2673 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2675         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2677 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2679         * benchtests/Makefile (bench): Add sqrt.
2680         (LDLIBS-bench-sqrt): New.
2681         * benchtests/sqrt-input: New.
2683 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2685         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2686         (GAIH_EAI): Likewise.
2687         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2688         (gaih_inet): Likewise.
2689         (getaddrinfo): Don't use GAIH_EAI.
2691         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2692         (struct gaih): Remove definition.
2694 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2696         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2697         Use HERRNOP directly.
2699 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2703 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2705         * math/gen-auto-libm-tests.c (test_functions): Add more
2706         single-argument functions.
2707         (special_fill_pi_2): New function.
2708         (special_fill_minus_pi_2): Likewise.
2709         (special_fill_pi_6): Likewise.
2710         (special_fill_minus_pi_6): Likewise.
2711         (special_fill_pi_3): Likewise.
2712         (special_fill_2pi_3): Likewise.
2713         (special_fill_e): Likewise.
2714         (special_fill_1_e): Likewise.
2715         (special_fill_e_minus_1): Likewise.
2716         (special_real_inputs): Add more special inputs.
2717         (output_for_one_input_case): Do not require ERANGE on underflow to
2718         zero if round-to-nearest result does not underflow to zero, unless
2719         exact results required.
2720         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2721         atan, atanh, cbrt, cos and cosh.
2722         * math/auto-libm-test-out: Regenerated.
2723         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2724         (acos_tonearest_test_data): Likewise.
2725         (acos_towardzero_test_data): Likewise.
2726         (acos_downward_test_data): Likewise.
2727         (acos_upward_test_data): Likewise.
2728         (acosh_test_data): Likewise.
2729         (asin_test_data): Likewise.
2730         (asin_tonearest_test_data): Likewise.
2731         (asin_towardzero_test_data): Likewise.
2732         (asin_upward_test_data): Likewise.
2733         (asinh_test_data): Likewise.
2734         (atan_test_data): Likewise.
2735         (atanh_test_data): Likewise.
2736         (cbrt_test_data): Likewise.
2737         (cos_test_data): Likewise.
2738         (cos_tonearest_test_data): Likewise.
2739         (cos_towardzero_test_data): Likewise.
2740         (cos_downward_test_data): Likewise.
2741         (cos_upward_test_data): Likewise.
2742         (cosh_test_data): Likewise.
2743         (cosh_tonearest_test_data): Likewise.
2744         (cosh_towardzero_test_data): Likewise.
2745         (cosh_downward_test_data): Likewise.
2746         (cosh_upward_test_data): Likewise.
2747         * sysdeps/i386/fpu/libm-test-ulps: Update.
2748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2750 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2752         [BZ #6787]
2753         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2754         * math/w_exp10f.c (__exp10f): Likewise.
2755         * math/w_exp10l.c (__exp10l): Likewise.
2756         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2757         errno settings in existing tests.
2759         [BZ #14032]
2760         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2761         precision control set to double precision.
2762         * sysdeps/i386/fpu/w_sqrt.c: New file.
2763         * math/auto-libm-test-in: Add more tests.
2764         * math/auto-libm-test-out: Update.
2766         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2767         (sqrt_test_tonearest): New function.
2768         (sqrt_towardzero_test_data): New variable.
2769         (sqrt_test_towardzero): New function.
2770         (sqrt_downward_test_data): New variable.
2771         (sqrt_test_downward): New function.
2772         (sqrt_upward_test_data): New variable.
2773         (sqrt_test_upward): New function.
2774         (main): Call the new functions.
2776         * math/gen-auto-libm-tests.c: New file.
2777         * math/auto-libm-test-in: Likewise.
2778         * math/auto-libm-test-out: New generated file.
2779         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2780         variables.
2781         (%beautify): Add generated representations of zero.
2782         (top level): Set $auto_input and call parse_auto_input.
2783         (beautify): Remove trailing "f" from hex float constants.
2784         (parse_args): Handle XFAIL_TEST.
2785         (convert_condition): New function.
2786         (or_value): Likewise.
2787         (or_cond_value): Likewise.
2788         (generate_testfile): Handle AUTO_TESTS_* lines.
2789         (parse_auto_input): New function.
2790         * math/libm-test.inc (XFAIL_TEST): New macro.
2791         (ERRNO_UNCHANGED): Update value.
2792         (ERRNO_EDOM): Likewise.
2793         (ERRNO_ERANGE): Likewise.
2794         (IGNORE_RESULT): Likewise.
2795         (TEST_COND_flt_32): New macro.
2796         (TEST_COND_dbl_64): Likewise.
2797         (TEST_COND_ldbl_96_intel): Likewise.
2798         (TEST_COND_ldbl_96_m68k): Likewise.
2799         (TEST_COND_ldbl_128): Likewise.
2800         (TEST_COND_ldbl_128ibm): Likewise.
2801         (TEST_COND_long32): Likewise.
2802         (TEST_COND_long64): Likewise.
2803         (TEST_COND_before_rounding): Likewise.
2804         (TEST_COND_after_rounding): Likewise.
2805         (enable_test): Handle XFAIL_TEST flag.
2806         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2807         with finite results.
2808         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2809         auto-libm-test-out.
2811 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2812             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2814         [BZ #16214]
2815         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2816         __tls_get_addr_internal instead of __tls_get_offset in order to
2817         avoid GOT pointer dependency.  Make rtld export
2818         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2819         __tls_get_addr since we are a __tls_get_offset platform.
2820         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2821         GOT pointer being set up before.
2822         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2824 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2826         * manual/math.texi (Errors in Math Functions): Document accuracy
2827         goals.
2829         [BZ #15004]
2830         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2831         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2832         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2833         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2834         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2835         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2836         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2837         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2838         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2839         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2840         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2841         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2842         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2843         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2844         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2845         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2847         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2848         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2849         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2850         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2851         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2852         Likewise.
2853         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2854         Likewise.
2855         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2856         Likewise.
2857         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2858         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2859         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2860         atomic-feupdateenv and flt-rounds.
2861         * sysdeps/powerpc/nofpu/Versions (libc): Add
2862         __atomic_feholdexcept, __atomic_feclearexcept,
2863         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2864         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2865         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2866         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2867         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2868         here.
2869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2870         Update.
2872         * manual/arith.texi (FP Exceptions): Document that exceptions may
2873         not be raised when matherr is used.
2874         (Math Error Reporting): Document overflow in directed rounding
2875         modes.  Document that errno may not be set when finite values are
2876         returned on overflow.  Document intent to set errno on underflow
2877         only for underflow to zero.
2879         [BZ #16271]
2880         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2881         round-to-nearest then adjust result for other rounding modes.
2882         * include/fenv.h (fegetround): Use libm_hidden_proto.
2883         * math/fegetround.c (fegetround): Use libm_hidden_def.
2884         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2885         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2886         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2887         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2888         Likewise.
2889         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2890         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2891         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2892         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2894 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2896         [BZ #16077]
2897         * nss/Versions (libnss_files): Add
2898         _nss_files_gethostbyname3_r.
2899         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2900         New function.
2901         (HOST_DB_LOOKUP): Remove macro.
2902         (_nss_files_gethostbyname_r): Implement function without the
2903         HOST_DB_LOOKUP macro.
2904         (_nss_files_gethostbyname2_r): Likewise.
2906 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2908         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2910 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2912         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2913         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2914         warning.
2916 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2918         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2919         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2920         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2921         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2922         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2923         __fe_nomask_env_priv and attribute_hidden.
2924         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2925         (libc_feupdateenv_test_ppc): Likewise.
2926         (libc_feresetround_ppc): Likewise.
2927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2928         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2929         compat_symbol macro.
2930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2931         (__fe_nomask_env): Likewise.
2932         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2934 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2936         * string/Makefile: Remove ifunc tests.
2937         * string/test-string.h: Define TEST_IFUNC.
2938         * string/test-bcopy-ifunc.c: Remove.
2939         * string/test-bzero-ifunc.c: Likewise.
2940         * string/test-memccpy-ifunc.c: Likewise.
2941         * string/test-memchr-ifunc.c: Likewise.
2942         * string/test-memcmp-ifunc.c: Likewise.
2943         * string/test-memcpy-ifunc.c: Likewise.
2944         * string/test-memmem-ifunc.c: Likewise.
2945         * string/test-memmove-ifunc.c: Likewise.
2946         * string/test-mempcpy-ifunc.c: Likewise.
2947         * string/test-memrchr-ifunc.c: Likewise.
2948         * string/test-memset-ifunc.c: Likewise.
2949         * string/test-rawmemchr-ifunc.c: Likewise.
2950         * string/test-stpcpy-ifunc.c: Likewise.
2951         * string/test-stpncpy-ifunc.c: Likewise.
2952         * string/test-strcasecmp-ifunc.c: Likewise.
2953         * string/test-strcasestr-ifunc.c: Likewise.
2954         * string/test-strcat-ifunc.c: Likewise.
2955         * string/test-strchr-ifunc.c: Likewise.
2956         * string/test-strchrnul-ifunc.c: Likewise.
2957         * string/test-strcmp-ifunc.c: Likewise.
2958         * string/test-strcpy-ifunc.c: Likewise.
2959         * string/test-strcspn-ifunc.c: Likewise.
2960         * string/test-strlen-ifunc.c: Likewise.
2961         * string/test-strncasecmp-ifunc.c: Likewise.
2962         * string/test-strncat-ifunc.c: Likewise.
2963         * string/test-strncmp-ifunc.c: Likewise.
2964         * string/test-strncpy-ifunc.c: Likewise.
2965         * string/test-strnlen-ifunc.c: Likewise.
2966         * string/test-strpbrk-ifunc.c: Likewise.
2967         * string/test-strrchr-ifunc.c: Likewise.
2968         * string/test-strspn-ifunc.c: Likewise.
2969         * string/test-strstr-ifunc.c: Likewise.
2971 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2973         * benchtests/Makefile: Remove ifunc tests.
2974         * benchtests/bench-string.h: Define TEST_IFUNC.
2975         * benchtests/bench-bcopy-ifunc.c: Remove.
2976         * benchtests/bench-bzero-ifunc.c: Likewise.
2977         * benchtests/bench-memccpy-ifunc.c: Likewise.
2978         * benchtests/bench-memchr-ifunc.c: Likewise.
2979         * benchtests/bench-memcmp-ifunc.c: Likewise.
2980         * benchtests/bench-memcpy-ifunc.c: Likewise.
2981         * benchtests/bench-memmem-ifunc.c: Likewise.
2982         * benchtests/bench-memmove-ifunc.c: Likewise.
2983         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2984         * benchtests/bench-memrchr-ifunc.c: Likewise.
2985         * benchtests/bench-memset-ifunc.c: Likewise.
2986         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2987         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2988         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2989         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2990         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2991         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2992         * benchtests/bench-strcat-ifunc.c: Likewise.
2993         * benchtests/bench-strchr-ifunc.c: Likewise.
2994         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2995         * benchtests/bench-strcmp-ifunc.c: Likewise.
2996         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2997         * benchtests/bench-strcpy-ifunc.c: Likewise.
2998         * benchtests/bench-strcspn-ifunc.c: Likewise.
2999         * benchtests/bench-strlen-ifunc.c: Likewise.
3000         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3001         * benchtests/bench-strncat-ifunc.c: Likewise.
3002         * benchtests/bench-strncmp-ifunc.c: Likewise.
3003         * benchtests/bench-strncpy-ifunc.c: Likewise.
3004         * benchtests/bench-strnlen-ifunc.c: Likewise.
3005         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3006         * benchtests/bench-strrchr-ifunc.c: Likewise.
3007         * benchtests/bench-strsep-ifunc.c: Likewise.
3008         * benchtests/bench-strspn-ifunc.c: Likewise.
3009         * benchtests/bench-strstr-ifunc.c: Likewise.
3011 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3013         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3015 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3017         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3018         * rt/aio.h: Likewise.
3019         * sysdeps/gnu/bits/utmp.h: Likewise.
3020         * sysdeps/gnu/bits/utmpx.h: Likewise.
3021         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3022         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3023         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3024         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3025         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3026         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3027         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3028         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3029         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3030         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3031         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3032         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3033         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3035         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3036         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3037         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3038         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3039         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3040         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3041         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3042         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3043         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3044         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3045         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3046         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3047         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3048         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3049         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3050         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3051         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3052         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3053         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3054         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3055         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3056         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3057         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3058         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3059         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3060         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3061         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3062         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3064 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3066         [BZ #16245]
3067         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3068         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3070 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3072         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3073         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3074         Likewise.
3076 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3078         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3079         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3080         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3081         (__fesetround): Remove define.
3082         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3083         rounding and exceptions handling.
3084         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3085         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3086         (__fe_nomask_env): Likewise.
3087         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3088         __fegetround instead of fegetround.
3089         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3090         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3092 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3094         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3095         it's there.
3097         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3099 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3101         [BZ #11157]
3102         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3103         (encrypt_r): Likewise.
3104         * malloc/obstack.h (obstack_free): Likewise.
3105         * posix/unistd.h (encrypt): Likewise.
3107 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3109         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3110         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3111         DL_CALL_DT_FINI() that call the functions directly.
3112         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3113         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3114         * elf/dl-fini.c: Likewise.
3116 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3118         * malloc/hooks.c (memalign_check): Add alignment rounding.
3119         * malloc/malloc.c (_mid_memalign): New function.
3120         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3121         Implement by calling _mid_memalign.
3122         * manual/probes.texi (Memory Allocation Probes): Remove
3123         memory_valloc_retry and memory_pvalloc_retry.
3125 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3127         * locale/programs/locarchive.c (open_archive): Add const
3128         qualifier to ARCHIVEFNAME and copy default fname to
3129         DEFAULT_FNAME.
3131         [BZ #15601]
3132         * libio/tst-widetext.input: Rename Oriya to Odia.
3133         * locale/iso-639.def: Likewise.
3135         * manual/probes.texi (Mathematical Function Probes): Add
3136         documentation for sin, cos, asin and acos probes.
3137         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3138         (__sin32): Add slowasin probe.
3139         (__cos32): Add slowacos probe.
3140         (__mpsin): Add slowsin probe.
3141         (__mpcos): Add slowcos probe.
3143 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3145         [BZ #15483]
3146         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3147         thread-local __sim_exceptions_thread and global
3148         __sim_exceptions_global.
3149         (__sim_disabled_exceptions): Change to thread-local
3150         __sim_disabled_exceptions_thread and global
3151         __sim_disabled_exceptions_global.
3152         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3153         and global __sim_round_mode_global.
3154         (__simulate_exceptions): Use thread-local floating-point state and
3155         set global state from it as needed.
3156         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3157         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3158         __sim_round_mode_thread.
3159         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3160         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3161         and global __sim_exceptions_global.
3162         (__sim_disabled_exceptions): Change to thread-local
3163         __sim_disabled_exceptions_thread and global
3164         __sim_disabled_exceptions_global.
3165         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3166         and global __sim_round_mode_global.
3167         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3168         (SIM_SET_GLOBAL): Likewise.
3169         * sysdeps/powerpc/soft-fp/sfp-machine.h
3170         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3171         __sim_round_mode_thread.
3172         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3173         __sim_disabled_exceptions_thread.
3174         (__sim_exceptions): Change to __sim_exceptions_thread.
3175         (__sim_disabled_exceptions): Change to
3176         __sim_disabled_exceptions_thread.
3177         (__sim_round_mode): Change to __sim_round_mode_thread.
3178         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3179         thread-local floating-point state and set global state from it as
3180         needed.
3181         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3182         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3183         (__sim_disabled_exceptions): Remove extern declaration.
3184         (feenableexcept): Use thread-local floating-point state and set
3185         global state from it as needed.
3186         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3187         extern declaration.
3188         (__sim_disabled_exceptions): Likewise.
3189         (__sim_round_mode): Likewise.
3190         (__fegetenv): Use thread-local floating-point state.
3191         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3192         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3193         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3194         floating-point state and set global state from it as needed.
3195         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3196         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3197         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3198         Likewise.
3199         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3200         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3201         Likewise.
3202         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3203         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3204         Use __sim_round_mode_thread.
3205         * math/test-fenv-tls.c: New file.
3206         * math/Makefile (tests): Add test-fenv-tls.
3207         ($(objpfx)test-fenv-tls): Depend on
3208         $(common-objpfx)nptl/libpthread.so.
3210 2013-11-19  Andreas Schwab  <schwab@suse.de>
3212         * locale/programs/locale.c (show_info): Decode wordarray elements.
3213         * locale/categories.def (LC_MONETARY): Add element for
3214         _NL_MONETARY_CRNCYSTR.
3215         * locale/C-monetary.c (conversion_rate): New variable.
3216         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3217         element.
3219 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3221         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3222         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3224 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3226         * elf/Makefile (tst-auxv): New test.
3227         * elf/tst-auxv.c: New
3228         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3230 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3232         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3233         (hidden_proto): Caller changed.
3234         (hidden_tls_proto): New macro.
3235         (libc_hidden_tls_proto): Likewise.
3236         (rtld_hidden_tls_proto): Likewise.
3237         (libm_hidden_tls_proto): Likewise.
3238         (libresolv_hidden_tls_proto): Likewise.
3239         (librt_hidden_tls_proto): Likewise.
3240         (libdl_hidden_tls_proto): Likewise.
3241         (libnss_files_hidden_tls_proto): Likewise.
3242         (libnsl_hidden_tls_proto): Likewise.
3243         (libnss_nisplus_hidden_tls_proto): Likewise.
3244         (libutil_hidden_tls_proto): Likewise.
3246 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3248         [BZ #10253]
3249         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3250         (decompose_rpath): Defer expansion to fillin_rpath.
3251         (_dl_init_paths): Pass linkmap to fillin_rpath.
3253 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3255         * benchtests/Makefile: Add strsep.
3256         * benchtests/bench-strsep.c: New file: strsep benchtest.
3257         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3259 2013-11-18  Andreas Schwab  <schwab@suse.de>
3261         * locale/programs/locale.c (show_info) [case byte]: Check for
3262         '\377' instead of '\177'.
3263         * locale/C-monetary.c (not_available): Always use "\377".
3264         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3265         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3266         detect unavailable sign_posn locale elements.
3267         * locale/localeconv.c (__localeconv): For grouping and
3268         mon_grouping handle "\177" and "\377" like no grouping.
3269         (INT_ELEM): New macro.  Use it to set all numeric members.
3270         * locale/programs/ld-monetary.c (monetary_read)
3271         <tok_mon_grouping>: Normalize single -1 to the empty string.
3272         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3273         Likewise.
3275 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3277         [BZ #16055]
3278         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3279         when we match (nil).
3280         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3282 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3284         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3285         (NO_TEST_INLINE): Update value.
3286         (ERRNO_UNCHANGED): Likewise.
3287         (ERRNO_EDOM): Likewise.
3288         (ERRNO_ERANGE): Likewise.
3289         (IGNORE_RESULT): Likewise.
3290         (check_float_internal): Check signs of NaN results if
3291         TEST_NAN_SIGN used.
3292         (check_complex): Pass TEST_NAN_SIGN flag through to second
3293         check_float_internal call.
3294         (copysign_test_data): Add tests with quiet NaNs as second
3295         argument.  Use TEST_NAN_SIGN.
3296         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3297         TEST_NAN_SIGN.
3298         (signbit_test_data): Add tests of quiet NaN argument.
3299         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3301         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3302         $ignore_result.
3303         (parse_args): Handle function results specified as IGNORE.
3304         * math/libm-test.inc (IGNORE_RESULT): New macro.
3305         (check_float_internal): Do not check numerical result if flag
3306         IGNORE_RESULT set.
3307         (check_complex): Pass through IGNORE_RESULT to second
3308         check_float_internal call.
3309         (check_int): Do not check numerical result if flag IGNORE_RESULT
3310         set.
3311         (check_long): Likewise.
3312         (check_bool): Likewise.
3313         (check_longlong): Likewise.
3314         (lrint_test_data): Add tests of infinite and NaN arguments.
3315         (lrint_tonearest_test_data): Likewise.
3316         (lrint_towardzero_test_data): Likewise.
3317         (lrint_downward_test_data): Likewise.
3318         (lrint_upward_test_data): Likewise.
3319         (llrint_test_data): Likewise.
3320         (llrint_tonearest_test_data): Likewise.
3321         (llrint_towardzero_test_data): Likewise.
3322         (llrint_downward_test_data): Likewise.
3323         (llrint_upward_test_data): Likewise.
3324         (lround_test_data): Likewise.
3325         (llround_test_data): Likewise.
3327         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3328         (ERRNO_UNCHANGED): Update value.
3329         (ERRNO_EDOM): Likewise.
3330         (ERRNO_ERANGE): Likewise.
3331         (NO_TEST_INLINE_FLOAT): New macro.
3332         (NO_TEST_INLINE_DOUBLE): Likewise.
3333         (enable_test): New function.
3334         (RUN_TEST_f_f): Check enable_test before running test.
3335         (RUN_TEST_2_f): Likewise.
3336         (RUN_TEST_fff_f): Likewise.
3337         (RUN_TEST_c_f): Likewise.
3338         (RUN_TEST_f_f1): Likewise.
3339         (RUN_TEST_fF_f1): Likewise.
3340         (RUN_TEST_fI_f1): Likewise.
3341         (RUN_TEST_ffI_f1): Likewise.
3342         (RUN_TEST_c_c): Likewise.
3343         (RUN_TEST_cc_c): Likewise.
3344         (RUN_TEST_f_i): Likewise.
3345         (RUN_TEST_f_i_tg): Likewise.
3346         (RUN_TEST_ff_i_tg): Likewise.
3347         (RUN_TEST_f_b): Likewise.
3348         (RUN_TEST_f_b_tg): Likewise.
3349         (RUN_TEST_f_l): Likewise.
3350         (RUN_TEST_f_L): Likewise.
3351         (RUN_TEST_fFF_11): Likewise.
3352         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3353         conditionals.
3354         (cosh_test_data): Likewise.
3355         (exp_test_data): Likewise.
3356         (expm1_test_data): Likewise.
3357         (hypot_test_data): Likewise.
3358         (pow_test_data): Likewise.
3359         (sinh_test_data): Likewise.
3360         (tanh_test_data): Likewise.
3361         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3362         flags argument.
3364         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3365         tests with quiet NaN input and output.
3366         (acosh_test_data): Likewise.
3367         (asin_test_data): Likewise.
3368         (asinh_test_data): Likewise.
3369         (atan_test_data): Likewise.
3370         (atanh_test_data): Likewise.
3371         (atan2_test_data): Likewise.
3372         (cbrt_test_data): Likewise.
3373         (cos_test_data): Likewise.
3374         (cosh_test_data): Likewise.
3375         (erf_test_data): Likewise.
3376         (erfc_test_data): Likewise.
3377         (exp_test_data): Likewise.
3378         (exp10_test_data): Likewise.
3379         (exp2_test_data): Likewise.
3380         (expm1_test_data): Likewise.
3381         (hypot_test_data): Likewise.
3382         (j0_test_data): Likewise.
3383         (j1_test_data): Likewise.
3384         (jn_test_data): Likewise.
3385         (lgamma_test_data): Likewise.
3386         (log_test_data): Likewise.
3387         (log10_test_data): Likewise.
3388         (log1p_test_data): Likewise.
3389         (log2_test_data): Likewise.
3390         (pow_test_data): Likewise.
3391         (scalb_test_data): Likewise.
3392         (sin_test_data): Likewise.
3393         (sincos_test_data): Likewise.
3394         (sinh_test_data): Likewise.
3395         (tan_test_data): Likewise.
3396         (tanh_test_data): Likewise.
3397         (tgamma_test_data): Likewise.
3398         (y0_test_data): Likewise.
3399         (y1_test_data): Likewise.
3400         (yn_test_data): Likewise.
3402         [BZ #16167]
3403         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3404         argument being NaN and avoid computations with second argument in
3405         that case.
3406         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3407         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3408         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3410 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3412         * locale/iso-639.def: Add Chitwani Tharu (the).
3414 2013-11-14  Andreas Schwab  <schwab@suse.de>
3416         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3417         word instead of empty string.
3419 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3422         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3424         (__fe_nomask_env): Likewise.
3426 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3428         * benchtests/bench-timing.h: Include time.h.
3430 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3432         [BZ #15997]
3433         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3434         to 3.4.0 for x32.
3435         * sysdeps/unix/sysv/linux/configure: Regenerated.
3437 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3439         [BZ #16151]
3440         * stdlib/strtod_l.c (round_and_return): Do not consider
3441         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3442         exponent one less than half the least subnormal exponent.
3443         * stdlib/test-strtod-round-data: Add more tests.
3444         * stdlib/tst-strtod-round.c (tests): Regenerated.
3446 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3448         [BZ #14143]
3449         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3450         (__fe_mask_env): Likewise.
3451         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3452         libm_hidden_proto and add function prototype.
3453         (__fe_mask_env): Add function prototype.
3454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3455         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3457         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3459         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3461 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3463         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3464         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3466 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3468         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3469         of htab_find_slot().
3471 2013-11-11  David S. Miller  <davem@davemloft.net>
3473         [BZ #16150]
3474         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3475         symbol in the non-vis3 case in static builds.
3476         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3477         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3478         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3479         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3481 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3483         [BZ #387]
3484         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3485         it is empty.
3487 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3489         * benchtests/Makefile: Add bench-strtod.
3490         * benchtests/bench-strtod.c: New file: strtod benchtest
3492 2013-11-11  Andreas Schwab  <schwab@suse.de>
3494         [BZ #16153]
3495         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3496         terminating NUL in key length.
3498 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3500         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3501         Add artificial ODP entry for vDSO symbol for PPC64.
3502         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3503         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3505 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3507         [BZ #15374]
3508         * nss/getent.c (services_keys): Recognize services starting with digit.
3510 2013-11-06  David S. Miller  <davem@davemloft.net>
3512         [BZ #15985]
3513         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3514         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3516 2013-11-06  Will Newton  <will.newton@linaro.org>
3518         * manual/memory.texi (Malloc Examples): Remove register
3519         keyword from examples.
3521 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3523         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3525 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3527         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3528         depending on [__GCC_IEC_559 > 0].
3529         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3530         depending on [__GCC_IEC_559_COMPLEX > 0].
3532 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3534         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3535         to iso-639.def.
3537 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3539         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3541 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3543         [BZ #16112]
3544         * malloc/malloc (malloc_info): Do not handle first bin as
3545         special case.
3547 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3549         * locale/iso-639.def: Add Central Nahuatl (nhn).
3551 2013-11-01  Bruno Haible  <bruno@clisp.org>
3553         [BZ #7003]
3554         * manual/math.texi (BSD Random): Specify range upper bound as
3555         in POSIX.
3557 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3559         * locale/iso-639.def: Add Meadow Mari (mhr).
3561 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3563         [BZ #14752], [BZ #15763]
3564         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3565         Validate name.
3566         * rt/tst_shm.c: Add test for escaping directory.
3568 2013-10-31  Andreas Schwab  <schwab@suse.de>
3570         [BZ #15917]
3571         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3572         followed by 'x' as part of digit sequence.
3573         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3575 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3577         [BZ #16037]
3578         * configure.ac: allow GNU Make 4.0 and greater.
3579         * configure: Regenerated.
3581 2013-10-30  Will Newton  <will.newton@linaro.org>
3583         [BZ #16038]
3584         * malloc/hooks.c (memalign_check): Limit alignment to the
3585         maximum representable power of two.
3586         * malloc/malloc.c (__libc_memalign): Likewise.
3587         * malloc/tst-memalign.c (do_test): Add test for very
3588         large alignment values.
3589         * malloc/tst-posix_memalign.c (do_test): Likewise.
3591 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3593         [BZ #11087]
3594         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3595         (munmap_chunk): Likewise.
3596         (mremap_chunk): Likewise.
3598 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3600         [BZ #15799]
3601         * stdlib/div.c (div): Remove obsolete code.
3602         * stdlib/ldiv.c (ldiv): Likewise.
3603         * stdlib/lldiv.c (lldiv): Likewise.
3605 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3607         [BZ #16071]
3608         * nss/nss_files/files-XXX.c (get_contents_ret): New
3609         enumerator.
3610         (get_contents): New function.
3611         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3613 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3615         * configure.in: Moved to ...
3616         * configure.ac: ... here. Change reference to configure.in
3617         to configure.ac.
3618         * sysdeps/arm/preconfigure.ac: ... here.
3619         configure.in to configure.ac.
3620         * sysdeps/gnu/configure.in: Moved to ...
3621         * sysdeps/gnu/configure.ac: ... here.
3622         * sysdeps/i386/configure.in: Moved to ...
3623         * sysdeps/i386/configure.ac: ... here.
3624         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3625         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3626         * sysdeps/mach/configure.in: Moved to ...
3627         * sysdeps/mach/configure.ac: ... here.
3628         * sysdeps/mach/hurd/configure.in: Moved to ...
3629         * sysdeps/mach/hurd/configure.ac: ... here.
3630         * sysdeps/powerpc/configure.in: Moved to ...
3631         * sysdeps/powerpc/configure.ac: ... here.
3632         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3633         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3634         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3635         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3636         * sysdeps/s390/s390-32/configure.in: Moved to ...
3637         * sysdeps/s390/s390-32/configure.ac: ... here.
3638         * sysdeps/s390/s390-64/configure.in: Moved to ...
3639         * sysdeps/s390/s390-64/configure.ac: ... here.
3640         * sysdeps/sh/configure.in: Moved to ...
3641         * sysdeps/sh/configure.ac: ... here.
3642         * sysdeps/sparc/configure.in: Moved to ...
3643         * sysdeps/sparc/configure.ac: ... here.
3644         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3645         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3646         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3647         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3648         * sysdeps/x86_64/configure.in: Moved to ...
3649         * sysdeps/x86_64/configure.ac: ... here.
3650         * sysdeps/x86_64/preconfigure.in: Moved to ...
3651         * sysdeps/x86_64/preconfigure.ac: ... here.
3652         * aclocal.m4: Change reference to configure.in to configure.ac.
3653         * config.h.in: Likewise.
3654         * manual/install.texi: Likewise.
3655         * manual/maint.texi: Likewise.
3656         * Makefile: Likewise.
3657         * malloc/Makefile: Likewise.
3658         * nscd/Makefile: Likewise.
3659         * Makeconfig: Change reference to configure.in and
3660         preconfigure.in to configure.ac and preconfigure.ac
3661         respectively.
3662         * INSTALL: Regenerated.
3663         * configure: Likewise.
3664         * sysdeps/gnu/configure: Likewise.
3665         * sysdeps/i386/configure: Likewise.
3666         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3667         * sysdeps/mach/configure: Likewise.
3668         * sysdeps/mach/hurd/configure: Likewise.
3669         * sysdeps/powerpc/configure: Likewise.
3670         * sysdeps/powerpc/powerpc32/configure: Likewise.
3671         * sysdeps/powerpc/powerpc64/configure: Likewise.
3672         * sysdeps/s390/s390-32/configure: Likewise.
3673         * sysdeps/s390/s390-64/configure: Likewise.
3674         * sysdeps/sh/configure: Likewise.
3675         * sysdeps/sparc/configure: Likewise.
3676         * sysdeps/unix/sysv/linux/configure: Likewise.
3677         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3678         * sysdeps/x86_64/configure: Likewise.
3679         * sysdeps/x86_64/preconfigure: Likewise.
3681 2013-10-29  Andreas Schwab  <schwab@suse.de>
3683         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3685 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3687         * benchtests/pow-inputs: Add new inputs.
3689         * benchtests/exp-inputs: Add new inputs.
3691         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3692         conditional check for return value.
3693         (__cos32): Likewise.
3695 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3697         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3698         to provide a boost for large inputs with word alignment.
3699         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3700         implementation based on optimized PPC64 strcpy.
3701         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3702         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3703         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3704         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3706 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3708         [BZ #2801]
3709         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3711 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3713         [BZ #14876]
3714         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3715         * time/tst-strptime.c (day_tests): Add testcase.
3717 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3719         [BZ #14029]
3720         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3722 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3724         [BZ #16074]
3725         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3726         MAP_FAILED on error.
3728 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3730         [BZ #16072]
3731         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3732         heap for large requests.
3734 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3736         [BZ #9954]
3737         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3738         result if the result has no associated interface.
3739         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3740         interface for all 127.X.Y.Z addresses.
3742 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3744         * locale/iso-639.def: Add Ligurian (lij)
3746 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3748         [BZ #15825]
3749         * sunrpc/rpc_main.c: Document rpcgen -5.
3751 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3753         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3755 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3757         [BZ #10278]
3758         * posix/glob.c: Match only directories when trailing slash is present.
3759         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3760         (main): Add testcase.
3762 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3764         [BZ #15670]
3765         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3767 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3769         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3770         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3771         AUTH_DES and cindex for FIPS 140-2.
3772         (DES Encryption): Add cindex FIPS 46-3.
3774         * locale/locarchive.h (struct locarhandle): Add fname.
3775         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3776         if an optional argument was specified to --list-archive,
3777         otherwise NULL.
3778         * locale/programs/locarchive.c (show_archive_content): Take new
3779         argument fname and pass it via ah.fname to open_archive.
3780         * locale/programs/localedef.h: Update decl.
3781         (open_archive): If AH->fname is non-null, open that file
3782         rather than the default file name, and don't ignore ENOENT.
3783         (create_archive): Set AH.fname to NULL.
3784         (delete_locales_from_archive): Likewise.
3785         (add_locales_to_archive): Likewise.
3786         * locale/programs/locfile.c (write_all_categories): Likewise.
3788 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3789             Aldy Hernandez  <aldyh@redhat.com>
3791         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3792         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3793         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3794         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3795         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3796         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3797         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3798         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3799         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3800         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3801         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3802         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3803         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3804         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3805         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3806         Likewise.
3807         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3808         Likewise.
3809         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3810         Likewise.
3811         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3812         Likewise.
3813         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3814         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3815         Likewise.
3816         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3817         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3818         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3819         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3820         Likewise.
3821         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3822         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3823         * sysdeps/powerpc/preconfigure: Likewise.
3824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3825         Likewise.
3826         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3827         Replace contents of file by #include of <fenv_libc.h>.
3828         * sysdeps/powerpc/soft-fp/sfp-machine.h
3829         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3830         and <sys/prctl.h>.
3831         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3832         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3833         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3834         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3835         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3836         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3837         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3838         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3839         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3840         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3841         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3842         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3844         Allow copysignl PLT reference to be missing.
3846 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3847             Joseph Myers  <joseph@codesourcery.com
3849         [BZ #15948]
3850         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3851         single character.
3852         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3854 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3856         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3857         * elf/tst-tls1.c: Likewise.
3858         * elf/tst-tls10.h: Likewise.
3859         * elf/tst-tls14.c: Likewise.
3860         * elf/tst-tls2.c: Likewise.
3861         * elf/tst-tls3.c: Likewise.
3862         * elf/tst-tls4.c: Likewise.
3863         * elf/tst-tls5.c: Likewise.
3864         * elf/tst-tls6.c: Likewise.
3865         * elf/tst-tls7.c: Likewise.
3866         * elf/tst-tls8.c: Likewise.
3867         * elf/tst-tls9.c: Likewise.
3868         * elf/tst-tlsmod1.c: Likewise.
3869         * elf/tst-tlsmod13.c: Likewise.
3870         * elf/tst-tlsmod13a.c: Likewise.
3871         * elf/tst-tlsmod14a.c: Likewise.
3872         * elf/tst-tlsmod16a.c: Likewise.
3873         * elf/tst-tlsmod16b.c: Likewise.
3874         * elf/tst-tlsmod2.c: Likewise.
3875         * elf/tst-tlsmod3.c: Likewise.
3876         * elf/tst-tlsmod4.c: Likewise.
3877         * elf/tst-tlsmod5.c: Likewise.
3878         * elf/tst-tlsmod6.c: Likewise.
3880 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3882         [BZ #12486]
3883         * malloc/malloc.c: remove checks for statistics.
3885 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3887         [BZ #15277]
3888         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3889         * inet/tst-network.c: Add testcase.
3891 2013-10-17  Andreas Schwab  <schwab@suse.de>
3893         [BZ #15218]
3894         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3895         to determine canonical name.
3897 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3899         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3900         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3901         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3902         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3903         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3904         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3905         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3906         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3907         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3908         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3909         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3910         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3911         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3912         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3913         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3914         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3915         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3916         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3917         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3918         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3919         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3920         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3921         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3922         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3923         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3924         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3925         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3926         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3927         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3928         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3929         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3930         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3931         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3932         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3933         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3934         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3935         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3936         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3937         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3938         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3939         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3940         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3941         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3942         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3943         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3944         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3945         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3946         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3947         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3948         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3949         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3950         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3951         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3952         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3953         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3954         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3955         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3956         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3958 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3960         [BZ #16041]
3961         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3962         make result into a quiet NaN.
3964 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3966         * soft-fp/adddf3.c: Fix horizontal whitespace.
3967         * soft-fp/addsf3.c: Likewise.
3968         * soft-fp/addtf3.c: Likewise.
3969         * soft-fp/divdf3.c: Likewise.
3970         * soft-fp/divsf3.c: Likewise.
3971         * soft-fp/divtf3.c: Likewise.
3972         * soft-fp/double.h: Likewise.
3973         * soft-fp/eqdf2.c: Likewise.
3974         * soft-fp/eqsf2.c: Likewise.
3975         * soft-fp/eqtf2.c: Likewise.
3976         * soft-fp/extenddftf2.c: Likewise.
3977         * soft-fp/extended.h: Likewise.
3978         * soft-fp/extendsfdf2.c: Likewise.
3979         * soft-fp/extendsftf2.c: Likewise.
3980         * soft-fp/extendxftf2.c: Likewise.
3981         * soft-fp/fixdfdi.c: Likewise.
3982         * soft-fp/fixdfsi.c: Likewise.
3983         * soft-fp/fixdfti.c: Likewise.
3984         * soft-fp/fixsfdi.c: Likewise.
3985         * soft-fp/fixsfsi.c: Likewise.
3986         * soft-fp/fixsfti.c: Likewise.
3987         * soft-fp/fixtfdi.c: Likewise.
3988         * soft-fp/fixtfsi.c: Likewise.
3989         * soft-fp/fixtfti.c: Likewise.
3990         * soft-fp/fixunsdfdi.c: Likewise.
3991         * soft-fp/fixunsdfsi.c: Likewise.
3992         * soft-fp/fixunsdfti.c: Likewise.
3993         * soft-fp/fixunssfdi.c: Likewise.
3994         * soft-fp/fixunssfsi.c: Likewise.
3995         * soft-fp/fixunssfti.c: Likewise.
3996         * soft-fp/fixunstfdi.c: Likewise.
3997         * soft-fp/fixunstfsi.c: Likewise.
3998         * soft-fp/fixunstfti.c: Likewise.
3999         * soft-fp/floatdidf.c: Likewise.
4000         * soft-fp/floatdisf.c: Likewise.
4001         * soft-fp/floatditf.c: Likewise.
4002         * soft-fp/floatsidf.c: Likewise.
4003         * soft-fp/floatsisf.c: Likewise.
4004         * soft-fp/floatsitf.c: Likewise.
4005         * soft-fp/floattidf.c: Likewise.
4006         * soft-fp/floattisf.c: Likewise.
4007         * soft-fp/floattitf.c: Likewise.
4008         * soft-fp/floatundidf.c: Likewise.
4009         * soft-fp/floatundisf.c: Likewise.
4010         * soft-fp/floatunditf.c: Likewise.
4011         * soft-fp/floatunsidf.c: Likewise.
4012         * soft-fp/floatunsisf.c: Likewise.
4013         * soft-fp/floatunsitf.c: Likewise.
4014         * soft-fp/floatuntidf.c: Likewise.
4015         * soft-fp/floatuntisf.c: Likewise.
4016         * soft-fp/floatuntitf.c: Likewise.
4017         * soft-fp/fmadf4.c: Likewise.
4018         * soft-fp/fmasf4.c: Likewise.
4019         * soft-fp/fmatf4.c: Likewise.
4020         * soft-fp/gedf2.c: Likewise.
4021         * soft-fp/gesf2.c: Likewise.
4022         * soft-fp/getf2.c: Likewise.
4023         * soft-fp/ledf2.c: Likewise.
4024         * soft-fp/lesf2.c: Likewise.
4025         * soft-fp/letf2.c: Likewise.
4026         * soft-fp/muldf3.c: Likewise.
4027         * soft-fp/mulsf3.c: Likewise.
4028         * soft-fp/multf3.c: Likewise.
4029         * soft-fp/negdf2.c: Likewise.
4030         * soft-fp/negsf2.c: Likewise.
4031         * soft-fp/negtf2.c: Likewise.
4032         * soft-fp/op-1.h: Likewise.
4033         * soft-fp/op-2.h: Likewise.
4034         * soft-fp/op-4.h: Likewise.
4035         * soft-fp/op-8.h: Likewise.
4036         * soft-fp/op-common.h: Likewise.
4037         * soft-fp/quad.h: Likewise.
4038         * soft-fp/single.h: Likewise.
4039         * soft-fp/soft-fp.h: Likewise.
4040         * soft-fp/sqrtdf2.c: Likewise.
4041         * soft-fp/sqrtsf2.c: Likewise.
4042         * soft-fp/sqrttf2.c: Likewise.
4043         * soft-fp/subdf3.c: Likewise.
4044         * soft-fp/subsf3.c: Likewise.
4045         * soft-fp/subtf3.c: Likewise.
4046         * soft-fp/truncdfsf2.c: Likewise.
4047         * soft-fp/trunctfdf2.c: Likewise.
4048         * soft-fp/trunctfsf2.c: Likewise.
4049         * soft-fp/trunctfxf2.c: Likewise.
4050         * soft-fp/unorddf2.c: Likewise.
4051         * soft-fp/unordsf2.c: Likewise.
4052         * soft-fp/unordtf2.c: Likewise.
4054 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4056         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4057         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4059 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4061         * elf/dl-libc.c: Clear initfini list after freeing.
4063 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4065         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4066         * soft-fp/addsf3.c: Likewise.
4067         * soft-fp/addtf3.c: Likewise.
4068         * soft-fp/divdf3.c: Likewise.
4069         * soft-fp/divsf3.c: Likewise.
4070         * soft-fp/divtf3.c: Likewise.
4071         * soft-fp/double.h: Likewise.
4072         * soft-fp/eqdf2.c: Likewise.
4073         * soft-fp/eqsf2.c: Likewise.
4074         * soft-fp/eqtf2.c: Likewise.
4075         * soft-fp/extenddftf2.c: Likewise.
4076         * soft-fp/extended.h: Likewise.
4077         * soft-fp/extendsfdf2.c: Likewise.
4078         * soft-fp/extendsftf2.c: Likewise.
4079         * soft-fp/extendxftf2.c: Likewise.
4080         * soft-fp/fixdfdi.c: Likewise.
4081         * soft-fp/fixdfsi.c: Likewise.
4082         * soft-fp/fixdfti.c: Likewise.
4083         * soft-fp/fixsfdi.c: Likewise.
4084         * soft-fp/fixsfsi.c: Likewise.
4085         * soft-fp/fixsfti.c: Likewise.
4086         * soft-fp/fixtfdi.c: Likewise.
4087         * soft-fp/fixtfsi.c: Likewise.
4088         * soft-fp/fixtfti.c: Likewise.
4089         * soft-fp/fixunsdfdi.c: Likewise.
4090         * soft-fp/fixunsdfsi.c: Likewise.
4091         * soft-fp/fixunsdfti.c: Likewise.
4092         * soft-fp/fixunssfdi.c: Likewise.
4093         * soft-fp/fixunssfsi.c: Likewise.
4094         * soft-fp/fixunssfti.c: Likewise.
4095         * soft-fp/fixunstfdi.c: Likewise.
4096         * soft-fp/fixunstfsi.c: Likewise.
4097         * soft-fp/fixunstfti.c: Likewise.
4098         * soft-fp/floatdidf.c: Likewise.
4099         * soft-fp/floatdisf.c: Likewise.
4100         * soft-fp/floatditf.c: Likewise.
4101         * soft-fp/floatsidf.c: Likewise.
4102         * soft-fp/floatsisf.c: Likewise.
4103         * soft-fp/floatsitf.c: Likewise.
4104         * soft-fp/floattidf.c: Likewise.
4105         * soft-fp/floattisf.c: Likewise.
4106         * soft-fp/floattitf.c: Likewise.
4107         * soft-fp/floatundidf.c: Likewise.
4108         * soft-fp/floatundisf.c: Likewise.
4109         * soft-fp/floatunsidf.c: Likewise.
4110         * soft-fp/floatunsisf.c: Likewise.
4111         * soft-fp/floatuntidf.c: Likewise.
4112         * soft-fp/floatuntisf.c: Likewise.
4113         * soft-fp/floatuntitf.c: Likewise.
4114         * soft-fp/fmadf4.c: Likewise.
4115         * soft-fp/fmasf4.c: Likewise.
4116         * soft-fp/fmatf4.c: Likewise.
4117         * soft-fp/gedf2.c: Likewise.
4118         * soft-fp/gesf2.c: Likewise.
4119         * soft-fp/getf2.c: Likewise.
4120         * soft-fp/ledf2.c: Likewise.
4121         * soft-fp/lesf2.c: Likewise.
4122         * soft-fp/letf2.c: Likewise.
4123         * soft-fp/muldf3.c: Likewise.
4124         * soft-fp/mulsf3.c: Likewise.
4125         * soft-fp/multf3.c: Likewise.
4126         * soft-fp/negdf2.c: Likewise.
4127         * soft-fp/negsf2.c: Likewise.
4128         * soft-fp/negtf2.c: Likewise.
4129         * soft-fp/op-1.h: Likewise.
4130         * soft-fp/op-2.h: Likewise.
4131         * soft-fp/op-4.h: Likewise.
4132         * soft-fp/op-8.h: Likewise.
4133         * soft-fp/op-common.h: Likewise.
4134         * soft-fp/quad.h: Likewise.
4135         * soft-fp/single.h: Likewise.
4136         * soft-fp/soft-fp.h: Likewise.
4137         * soft-fp/sqrtdf2.c: Likewise.
4138         * soft-fp/sqrtsf2.c: Likewise.
4139         * soft-fp/sqrttf2.c: Likewise.
4140         * soft-fp/subdf3.c: Likewise.
4141         * soft-fp/subsf3.c: Likewise.
4142         * soft-fp/subtf3.c: Likewise.
4143         * soft-fp/truncdfsf2.c: Likewise.
4144         * soft-fp/trunctfdf2.c: Likewise.
4145         * soft-fp/trunctfsf2.c: Likewise.
4146         * soft-fp/trunctfxf2.c: Likewise.
4147         * soft-fp/unorddf2.c: Likewise.
4148         * soft-fp/unordsf2.c: Likewise.
4149         * soft-fp/unordtf2.c: Likewise.
4151 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4153         [BZ #15672]
4154         * misc/error.c (error_tail): Fix possible buffer overflow.
4156 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4158         [BZ #13028]
4159         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4160         address.
4162 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4164         [BZ #832]
4165         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4166         testing pipefail option.
4168 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4170         * soft-fp/double.h: Indent preprocessor directives inside #if.
4171         * soft-fp/extended.h: Likewise.
4172         * soft-fp/op-2.h: Likewise.
4173         * soft-fp/op-4.h: Likewise.
4174         * soft-fp/op-common.h: Likewise.
4175         * soft-fp/quad.h: Likewise.
4176         * soft-fp/single.h: Likewise.
4177         * soft-fp/soft-fp.h: Likewise.
4179 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4181         * iconv/iconv_prog.c: Fix typos.
4182         * stdio-common/psiginfo-data.h: Likewise.
4184 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4186         [BZ #15764]
4187         * locale/setlocale.c: Fix typo.
4189 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4191         [BZ #16036]
4192         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4193         signaling NaN arguments.
4194         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4195         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4197         [BZ #14910]
4198         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4199         unordered operands.
4200         * soft-fp/gesf2.c (__gesf2): Likewise.
4201         * soft-fp/getf2.c (__getf2): Likewise.
4202         * soft-fp/ledf2.c (__ledf2): Likewise.
4203         * soft-fp/lesf2.c (__lesf2): Likewise.
4204         * soft-fp/letf2.c (__letf2): Likewise.
4206         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4207         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4208         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4209         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4210         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4211         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4212         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4213         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4214         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4215         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4216         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4217         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4218         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4219         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4220         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4221         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4222         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4223         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4224         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4225         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4226         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4227         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4228         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4229         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4230         * soft-fp/floattidf.c (__floattidf): Likewise.
4231         * soft-fp/floattisf.c (__floattisf): Likewise.
4232         * soft-fp/floattitf.c (__floattitf): Likewise.
4233         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4234         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4235         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4236         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4237         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4238         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4239         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4240         * soft-fp/gesf2.c (__gesf2): Likewise.
4241         * soft-fp/getf2.c (__getf2): Likewise.
4242         * soft-fp/ledf2.c (__ledf2): Likewise.
4243         * soft-fp/lesf2.c (__lesf2): Likewise.
4244         * soft-fp/letf2.c (__letf2): Likewise.
4246         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4247         Undefine and redefine.
4248         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4249         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4250         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4251         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4252         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4253         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4254         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4255         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4256         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4257         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4258         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4259         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4260         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4261         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4262         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4264         [BZ #16032]
4265         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4266         without decrementing exponent if mantissa >= that for the
4267         denominator, not >.
4268         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4269         denominator, not >.  Decrement exponent in < case instead of
4270         incrementing in >= case.
4271         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4272         without decrementing exponent if mantissa >= that for the
4273         denominator, not >.
4275         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4276         computing saturated result for unsigned overflow.
4278 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4279             Jeff Law  <law@redhat.com>
4281         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4282         (atan2Mp): Add systemtap probe marker.
4283         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4284         (__ieee754_log): Add systemtap probe marker.
4285         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4286         (atanMp): Add systemtap probe marker.
4287         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4288         (tanMp): Add systemtap probe marker.
4289         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4290         (__slowexp): Add systemtap probe marker.
4291         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4292         (__slowpow): Add systemtap probe marker.
4293         * manual/probes.texi: Document probes.
4295 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4297         [BZ #15362]
4298         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4299         written.
4300         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4301         written.
4302         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4303         written to buffer but not flushed.
4304         * libio/iofwrite_u.c:  Likewise.
4305         * libio/iopadn.c:  Return bytes returned even if EOF was
4306         encountered.
4307         * libio/iowpadn.c:  Likewise.
4308         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4309         if _IO_padn does not write the whole buffer.
4310         [!COMPILE_WPRINTF] (PAD): Likewise.
4312 2013-10-10  David S. Miller  <davem@davemloft.net>
4314         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4315         directory block.
4317 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4319         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4320         instead of FSF address.
4321         * soft-fp/fixdfti.c: Likewise.
4322         * soft-fp/fixsfti.c: Likewise.
4323         * soft-fp/fixtfti.c: Likewise.
4324         * soft-fp/fixunsdfti.c: Likewise.
4325         * soft-fp/fixunssfti.c: Likewise.
4326         * soft-fp/fixunstfti.c: Likewise.
4327         * soft-fp/floattidf.c: Likewise.
4328         * soft-fp/floattisf.c: Likewise.
4329         * soft-fp/floattitf.c: Likewise.
4330         * soft-fp/floatuntidf.c: Likewise.
4331         * soft-fp/floatuntisf.c: Likewise.
4332         * soft-fp/floatuntitf.c: Likewise.
4333         * soft-fp/trunctfxf2.c: Likewise.
4335         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4336         * soft-fp/fixdfti.c: Likewise.
4337         * soft-fp/fixsfti.c: Likewise.
4338         * soft-fp/fixtfti.c: Likewise.
4339         * soft-fp/fixunsdfti.c: Likewise.
4340         * soft-fp/fixunssfti.c: Likewise.
4341         * soft-fp/fixunstfti.c: Likewise.
4342         * soft-fp/floattidf.c: Likewise.
4343         * soft-fp/floattisf.c: Likewise.
4344         * soft-fp/floattitf.c: Likewise.
4345         * soft-fp/floatuntidf.c: Likewise.
4346         * soft-fp/floatuntisf.c: Likewise.
4347         * soft-fp/floatuntitf.c: Likewise.
4348         * soft-fp/trunctfxf2.c: Likewise.
4350 2013-10-10  David S. Miller  <davem@davemloft.net>
4352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4354 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4356         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4357         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4358         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4359         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4360         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4361         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4362         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4364         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4365         for NaNs before doing comparisons on argument.
4366         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4367         Likewise.
4369 2013-10-10  Will Newton  <will.newton@linaro.org>
4371         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4372         passed to _int_memalign does not overflow.
4374 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4376         * scripts/bench.pl: Add include-sources directive.
4377         * benchtests/README: Update documentation.
4379 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4381         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4382         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4383         instead of FP_INIT_ROUNDMODE.
4384         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4385         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4387         [BZ #16034]
4388         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4389         copy class of input value.
4390         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4391         not handle exceptions.
4392         * soft-fp/negsf2.c (__negsf2): Likewise.
4393         * soft-fp/negtf2.c (__negtf2): Likewise.
4394         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4396 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4398         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4399         semicolon.  From Linux kernel.
4401 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4403         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4405 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4407         [BZ #156]
4408         * manual/socket.texi: Added statement about buffer
4409         for gethostbyname2_r.
4411 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4413         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4414         Use .p2align directive instead, throughout.
4415         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4416         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4417         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4418         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4419         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4420         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4421         * sysdeps/x86_64/strchr.S: Likewise.
4422         * sysdeps/x86_64/strrchr.S: Likewise.
4424 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4426         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4428         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4430         * sysdeps/generic/math_private.h (__mpsin1): Remove
4431         declaration.
4432         (__mpcos1): Likewise.
4433         (__mpsin): New argument __range_reduce.
4434         (__mpcos): Likewise.
4435         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4436         (slow): Use __mpsin and __mpcos.
4437         (slow1): Likewise.
4438         (slow2): Likewise.
4439         (sloww): Likewise.
4440         (sloww1): Likewise.
4441         (sloww2): Likewise.
4442         (bsloww): Likewise.
4443         (bsloww1): Likewise.
4444         (bsloww2): Likewise.
4445         (cslow2): Likewise.
4446         (csloww): Likewise.
4447         (csloww1): Likewise.
4448         (csloww2): Likewise.
4449         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4450         range_reduce.  Merge in __mpsin1.
4451         (__mpcos): Likewise.
4452         (__mpsin1): Remove.
4453         (__mpcos1): Likewise.
4455 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4457         * locale/loadlocale.c (_nl_intern_locale_data): Use
4458         LOCFILE_ALIGNED_P.
4459         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4460         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4461         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4462         obstack data is appropriately aligned.
4463         (obstack_int32_grow_fast): Likewise.
4464         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4465         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4466         (add_locale_uint32_array): Likewise.
4468 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4470         * benchtests/Makefile: Remove ARGLIST and RET variables.
4471         ($(objpfx)bench-%.c): Pass only function name to the script.
4472         * benchtests/README: Update documentation.
4473         * benchtests/acos-inputs: Add new directives.
4474         * benchtests/acosh-inputs: Likewise.
4475         * benchtests/asin-inputs: Likewise.
4476         * benchtests/asinh-inputs: Likewise.
4477         * benchtests/atan-inputs: Likewise.
4478         * benchtests/atanh-inputs: Likewise.
4479         * benchtests/cos-inputs: Likewise.
4480         * benchtests/cosh-inputs: Likewise.
4481         * benchtests/exp-inputs: Likewise.
4482         * benchtests/log-inputs: Likewise.
4483         * benchtests/pow-inputs: Likewise.
4484         * benchtests/rint-inputs: Likewise.
4485         * benchtests/sin-inputs: Likewise.
4486         * benchtests/sinh-inputs: Likewise.
4487         * benchtests/tan-inputs: Likewise.
4488         * benchtests/tanh-inputs: Likewise.
4489         * scripts/bench.pl: Add support for new directives.
4491 2013-10-07  Alan Modra  <amodra@gmail.com>
4493         * README: Fix careless merge.
4495 2013-10-05  Alan Modra  <amodra@gmail.com>
4497         * NEWS: Mention powerpc64le support and bugs fixed.
4498         * README: Both big-endian and little-endian powerpc64 supported.
4500 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4502         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4503         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4504         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4505         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4507 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4509         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4510         match prototype.
4512 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4514         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4515         Move -mhard-float appending from
4516         ports/sysdeps/powerpc/powerpc32/Makefile.
4517         [$(with-fp) = yes] (ASFLAGS): Likewise.
4518         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4519         * sysdeps/powerpc/nofpu: Move directory from
4520         ports/sysdeps/powerpc/nofpu.
4521         * sysdeps/powerpc/soft-fp: Move directory from
4522         ports/sysdeps/powerpc/soft-fp.
4523         * sysdeps/powerpc/powerpc32/405: Move directory from
4524         ports/sysdeps/powerpc/powerpc32/405.
4525         * sysdeps/powerpc/powerpc32/440: Move directory from
4526         ports/sysdeps/powerpc/powerpc32/440.
4527         * sysdeps/powerpc/powerpc32/464: Move directory from
4528         ports/sysdeps/powerpc/powerpc32/464.
4529         * sysdeps/powerpc/powerpc32/476: Move directory from
4530         ports/sysdeps/powerpc/powerpc32/476.
4531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4532         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4534         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4536         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4538         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4540         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4541         * README: Update for powerpc-*-linux-gnu software floating point
4542         support in libc.
4544         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4545         case to powerpc/powerpc32*.
4546         * sysdeps/unix/sysv/linux/configure: Regenerated.
4548         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4549         (_FPU_MASK_OM): Define as 0x04.
4550         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4552         0x00c10080.
4553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4554         0x0000003c.
4555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4558         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4559         getcontext_e500.
4560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4561         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4562         setcontext_e500.
4563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4564         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4565         and setcontext_e500.
4567 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4569         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4571 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4573         * manual/threads.texi (Default Thread Attributes): Fix typo.
4575 2013-10-04  Will Newton  <will.newton@linaro.org>
4577         * malloc/Makefile: Add tst-memalign.
4578         * malloc/tst-memalign.c: New file.
4580         * malloc/tst-posix_memalign.c: Add comments.
4581         (do_test): Add comments and call free on all potentially
4582         allocated pointers. Add space after cast.
4584         * malloc/tst-pvalloc.c: Add comments.
4585         (do_test): Add comments and call free on all potentially
4586         allocated pointers. Remove duplicate check for NULL pointer.
4587         Add space after cast.
4589         * malloc/tst-valloc.c: Add comments.
4590         (do_test): Add comments and call free on all potentially
4591         allocated pointers. Remove duplicate check for NULL pointer.
4592         Add space after cast.
4594 2013-10-04  Alan Modra  <amodra@gmail.com>
4596         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4597         Use stdint types in rather than __attribute__((mode())).
4598         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4600 2013-10-04  Alan Modra  <amodra@gmail.com>
4602         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4603         Correct handling of unaligned relocs for little-endian.
4604         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4606 2013-10-04  Alan Modra  <amodra@gmail.com>
4608         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4609         * configure: Regenerate.
4610         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4611         * shlib-versions: Likewise.
4613 2013-10-04  Alan Modra  <amodra@gmail.com>
4615         * string/tester.c (test_memrchr): Increment reported test cycle.
4617 2013-10-04  Alan Modra  <amodra@gmail.com>
4619         * string/test-memcpy.c (do_one_test): When reporting errors, print
4620         string address and don't overrun end of string.
4622 2013-10-04  Alan Modra  <amodra@gmail.com>
4624         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4625         insrdi.  Make better use of reg selection to speed exit slightly.
4626         Schedule entry path a little better.  Remove useless "are we done"
4627         checks on entry to main loop.  Handle wrapping around zero address.
4628         Correct main loop count.  Handle single left-over word from main
4629         loop inline rather than by using loop_small.  Remove extra word
4630         case in loop_small caused by wrong loop count.  Add little-endian
4631         support.
4632         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4633         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4634         cache hint.
4635         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4636         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4637         support.  Avoid rlwimi.
4638         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4640 2013-10-04  Alan Modra  <amodra@gmail.com>
4642         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4643         insrdi.  Formatting.
4644         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4645         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4646         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4647         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4648         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4649         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4651 2013-10-04  Alan Modra  <amodra@gmail.com>
4653         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4654         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4655         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4656         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4657         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4658         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4659         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4660         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4661         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4662         use of regs.  Use power7 mtocrf.  Tidy function tails.
4664 2013-10-04  Alan Modra  <amodra@gmail.com>
4666         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4667         Formatting.  Consistently use rXXX register defines or rN defines.
4668         Use early exit labels that avoid restoring unused non-volatile regs.
4669         Make cr field use more consistent with rWORDn compares.  Rename
4670         regs used as shift registers for unaligned loop, using rN defines
4671         for short lifetime/multiple use regs.
4672         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4673         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4674         addi 1,1,64 to pop stack frame.  Simplify return value code.
4675         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4677 2013-10-04  Alan Modra  <amodra@gmail.com>
4679         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4680         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4681         rather than rlwimi.
4682         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4683         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4684         little-endian support.  Correct typos.
4685         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4686         rather than rlwimi.
4687         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4688         in loop and entry code to keep "and." results.
4689         (strchr): Add little-endian support.  Comment.  Move cntlzd
4690         earlier in tail.
4691         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4693 2013-10-04  Alan Modra  <amodra@gmail.com>
4695         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4696         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4697         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4698         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4700 2013-10-04  Alan Modra  <amodra@gmail.com>
4702         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4703         (rTMP): Define as r11.
4704         (strcmp): Add little-endian support.  Optimise tail.
4705         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4706         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4707         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4708         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4709         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4710         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4711         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4713 2013-10-04  Alan Modra  <amodra@gmail.com>
4715         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4716         little-endian support.  Remove unnecessary "are we done" tests.
4717         Handle "s" wrapping around zero and extremely large "size".
4718         Correct main loop count.  Handle single left-over word from main
4719         loop inline rather than by using small_loop.  Correct comments.
4720         Delete "zero" tail, use "end_max" instead.
4721         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4723 2013-10-04  Alan Modra  <amodra@gmail.com>
4725         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4726         support.  Don't branch over align.
4727         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4728         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4729         support.  Rearrange tmp reg use to suit.  Comment.
4730         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4732 2013-10-04  Alan Modra  <amodra@gmail.com>
4734         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4736 2013-10-04  Alan Modra  <amodra@gmail.com>
4738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4739         conditional form of branch and link when obtaining pc.
4740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4742 2013-10-04  Alan Modra  <amodra@gmail.com>
4744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4745         HIWORD/LOWORD.
4746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4749 2013-10-04  Alan Modra  <amodra@gmail.com>
4751         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4752         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4753         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4754         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4755         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4756         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4757         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4758         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4759         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4760         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4762 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4763             Alistair Popple <alistair@ozlabs.au.ibm.com>
4764             Alan Modra <amodra@gmail.com>
4766         [BZ #15723]
4767         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4768         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4769         _dl_hwcap access for little-endian.
4770         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4771         destroy vmx regs when saving unaligned.
4772         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4773         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4774         destroy vmx regs when saving unaligned.
4776 2013-10-04  Alan Modra  <amodra@gmail.com>
4778         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4779         Don't use a union to pack hi/low value.
4781 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4783         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4784         for little-endian.
4785         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4786         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4787         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4788         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4789         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4791 2013-10-04  Alan Modra  <amodra@gmail.com>
4793         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4794         constants to usual value for .cst8 section, and remove redundant
4795         high address load.
4796         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4797         constant for 0x1p52.  Load little-endian words of double from
4798         correct stack offsets.
4800 2013-10-04  Alan Modra  <amodra@gmail.com>
4802         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4803         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4804         words of double from correct stack offsets.
4805         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4806         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4807         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4808         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4809         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4810         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4811         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4812         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4813         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4814         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4815         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4816         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4817         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4818         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4819         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4820         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4821         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4823 2013-10-04  Alan Modra  <amodra@gmail.com>
4825         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4826         64-bit int/double union.
4827         (_FPU_SETCW): Likewise.
4828         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4829         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4831 2013-10-04  Alan Modra  <amodra@gmail.com>
4833         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4834         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4836 2013-10-04  Alan Modra  <amodra@gmail.com>
4838         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4839         use vector int constants.
4840         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4842 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4844         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4845         array with long long.
4846         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4847         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4848         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4849         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4850         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4851         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4852         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4853         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4854         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4855         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4856         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4857         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4858         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4860 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4862         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4863         (__signbit): Likewise.  Correct for little-endian.
4864         (__signbitl): Call __signbit.
4865         (lrint): Correct for little-endian.
4866         (lrintf): Call lrint.
4868 2013-10-04  Alan Modra  <amodra@gmail.com>
4870         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4871         union 32-bit int array member with 64-bit int array.
4872         (t515, tm256): Double rather than long double.
4873         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4875 2013-10-04  Alan Modra  <amodra@gmail.com>
4877         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4878         Delete.
4879         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4880         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4881         version of math_ldbl.h.
4883 2013-10-04  Alan Modra  <amodra@gmail.com>
4885         [BZ #15734], [BZ #15735]
4886         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4887         all uses of ieee875 long double macros and unions.  Simplify test
4888         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4889         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4890         normalize after ldbl_extract_mantissa, and don't add hidden bit
4891         already handled.  Don't treat low word of ieee854 mantissa like
4892         low word of IBM long double and mask off bit when testing for
4893         zero.
4894         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4895         all uses of ieee875 long double macros and unions.  Simplify tests
4896         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4897         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4898         two1022, instead use their values.  Recognise that tests for large
4899         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4900         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4901         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4902         test for 0.0L and nan.  Correct negation.
4903         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4904         ieee875 long double macros and unions.  Correct output for large
4905         magnitude x.  Correct absolute value calculation.
4906         (__erfcl): Likewise.
4907         * math/libm-test.inc: Add tests for errors discovered in IBM long
4908         double versions of fmodl, remainderl, erfl and erfcl.
4910 2013-10-04  Alan Modra  <amodra@gmail.com>
4912         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4913         all uses of ieee854 long double macros and unions.  Simplify tests
4914         for long doubles that are fully specified by the high double.
4915         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4916         Likewise.
4917         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4918         Remove dead code too.
4919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4920         (__ieee754_ynl): Likewise.
4921         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4922         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4923         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4924         Remove dead code too.
4925         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4926         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4927         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4928         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4929         Simplify.
4930         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4931         Simplify.
4932         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4933         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4934         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4935         Comment on variable precision.
4936         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4937         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4938         Likewise.
4939         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4940         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4941         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4942         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4943         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4945 2013-10-04  Alan Modra  <amodra@gmail.com>
4947         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4948         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4949         all uses of ieee854 long double macros and unions.
4950         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4951         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4952         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4953         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4954         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4955         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4956         Likewise.
4957         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4958         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4959         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4960         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4961         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4962         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4963         Simplify sign and nan test too.
4964         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4965         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4966         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4967         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4968         Likewise.
4969         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4970         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4971         Likewise.
4972         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4973         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4974         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4975         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4976         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4977         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4979 2013-10-04  Alan Modra  <amodra@gmail.com>
4981         * stdio-common/printf_size.c (__printf_size): Don't use
4982         union ieee854_long_double in fpnum union.
4983         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4984         signbit macro to retrieve sign from long double.
4985         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4986         retrieve sign from long double.
4987         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4988         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4989         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4990         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4991         * math/test-misc.c (main): Don't use union ieee854_long_double.
4993 2013-10-04  Alan Modra  <amodra@gmail.com>
4995         [BZ #15680]
4996         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4997         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4998         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4999         calculation.  Remove unnecessary test for denormal exponent.
5000         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5001         Correct handling of denormals.  Avoid undefined shift behaviour.
5002         Correct normalisation of low mantissa when low double is denormal.
5003         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5004         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5005         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5006         Correct normalisation of low mantissa.  Test for overflow of high
5007         mantissa and normalise.
5008         (ldbl_nearbyint): Use more readable constant for two52.
5009         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5010         (__mpn_construct_long_double): Fix test for overflow of high
5011         mantissa and correct normalisation.  Avoid undefined shift.
5013 2013-10-04  Alan Modra  <amodra@gmail.com>
5015         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5016         (union ibm_extended_long_double): Define as an array of ieee754_double.
5017         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5018         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5019         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5020         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5021         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5022         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5023         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5024         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5025         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5026         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5027         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5029 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5031         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5032         page size instead of calling getpagesize.
5034         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5035         (LOCFILE_ALIGN_MASK): Likewise.
5036         (LOCFILE_ALIGN_UP): Likewise.
5037         (LOCFILE_ALIGNED_P): Likewise.
5038         * locale/programs/ld-collate.c (collate_output): Use the new
5039         macros instead of __alignof__ (int32_t).
5040         * locale/weight.h (findidx): Likewise.
5042 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5044         [BZ #431]
5045         * manual/string.texi: Fix strncat and wcsncat.
5047 2013-10-03  Brooks Moses  <bmoses@google.com>
5049         [BZ #15915]
5050         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5051         * Makerules: ...here, and adjust associated comments.
5053 2013-10-02  Will Newton  <will.newton@linaro.org>
5055         * malloc/Makefile: Add tst-pvalloc.
5056         * malloc/tst-pvalloc.c: New file.
5058 2013-10-02  Will Newton  <will.newton@linaro.org>
5060         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5061         improve test coverage.
5063 2013-10-02  Will Newton  <will.newton@linaro.org>
5065         * malloc/Makefile: Add tst-posix_memalign.
5066         * malloc/tst-posix_memalign.c: New file.
5068 2013-10-01  Eric Blake  <eblake@redhat.com>
5070         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5071         Use __THROWNL rather than __THROW on static functions.
5073 2013-09-30  Petr Machata  <pmachata@redhat.com>
5075         * elf/elf.h (R_AARCH64_ABS16): New macro.
5076         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5077         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5078         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5079         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5080         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5081         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5082         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5083         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5084         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5085         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5086         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5087         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5088         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5089         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5090         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5091         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5092         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5093         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5094         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5095         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5096         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5097         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5098         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5099         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5100         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5101         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5102         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5103         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5104         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5105         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5106         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5107         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5108         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5109         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5110         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5111         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5112         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5113         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5114         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5115         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5116         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5117         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5118         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5119         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5120         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5121         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5122         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5123         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5124         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5125         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5126         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5127         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5128         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5129         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5130         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5131         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5132         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5133         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5134         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5135         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5136         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5137         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5138         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5139         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5140         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5141         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5142         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5143         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5144         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5145         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5146         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5147         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5148         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5149         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5150         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5151         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5152         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5153         (R_AARCH64_TLSDESC_LDR): Likewise.
5154         (R_AARCH64_TLSDESC_ADD): Likewise.
5155         (R_AARCH64_TLSDESC_CALL): Likewise.
5157 2013-09-30  Andreas Schwab  <schwab@suse.de>
5159         [BZ #15048]
5160         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5161         the nss database lookup.
5162         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5165 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5167         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5169 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5171         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5172         ${Bash-specific parameter/pattern/string} parameter expansion.
5173         * sysdeps/unix/make-syscalls.sh: Likewise.
5175 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5177         * sysdeps/sh/stackguard-macros.h: New file.
5179 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5182         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5183         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5184         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5185         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5186         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5188 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5190         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5191         Fix thread ID register.
5193 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5195         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5196         [POSIX || UNIX98]: Require rather than permitting all symbols from
5197         <time.h>.
5198         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5199         element of struct sched_param.
5200         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5201         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5202         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5203         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5204         constant.
5206 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5208         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5209         argument calculation.
5211 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5213         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5214         Expect macro.
5215         [POSIX] (pthread_attr_t): Do not require type.
5216         [POSIX] (pthread_cond_t): Likewise.
5217         [POSIX] (pthread_condattr_t): Likewise.
5218         [POSIX] (pthread_key_t): Likewise.
5219         [POSIX] (pthread_mutex_t): Likewise.
5220         [POSIX] (pthread_mutexattr_t): Likewise.
5221         [POSIX] (pthread_once_t): Likewise.
5222         [POSIX] (pthread_t): Likewise.
5223         [POSIX-based standards] (pthread_atfork): Expect function.
5225 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5226             Richard Sandiford  <richard@codesourcery.com>
5228         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5229         (swap_endianness_p): New extern variable.
5230         (set_big_endian): New inline function.
5231         (maybe_swap_uint32): Likewise.
5232         (maybe_swap_uint32_array): Likewise.
5233         (maybe_swap_uint32_obstack): Likewise.
5234         * locale/programs/locfile.c: Include <stdbool.h>.
5235         (swap_endianness_p): New variable.
5236         (add_locale_uint32): Call maybe_swap_uint32.
5237         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5238         (write_locale_data): Call maybe_swap_uint32_array.
5239         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5240         maybe_swap_uint32.
5241         (obstack_int32_grow_fast): Likewise.
5242         (output_weightwc): Call maybe_swap_uint32_obstack.
5243         (collate_output): Likewise.
5244         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5245         (OPT_LITTLE_ENDIAN): Likewise.
5246         (options): Add --little-endian and --big-endian options.
5247         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5248         * locale/programs/locarchive.c: Include "locfile.h".
5249         (GET): New macro.
5250         (SET): Likewise.
5251         (INC): Likewise.
5252         (create_archive): Use the new macros to access fields of
5253         structures directly mapped from or written to locale archives.
5254         (oldlocrecentcmp): Likewise.
5255         (enlarge_archive): Likewise.
5256         (insert_name): Likewise.
5257         (add_alias): Likewise.
5258         (add_locale): Likewise.
5259         (delete_locales_from_archive): Likewise.
5260         (show_archive_content): Likewise.
5261         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5262         locale data.
5264 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5266         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5267         http://www.gnu.org/doc/freemanuals.texi.
5268         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5270 2013-09-24  Will Newton  <will.newton@linaro.org>
5272         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5273         macro.
5275 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5277         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5278         unsigned char.
5280 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5282         * manual/threads.texi (POSIX Threads): Fix a typo.
5284 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5286         [BZ #14547]
5287         * string/tst-strcoll-overflow.c: New test case.
5288         * string/Makefile (xtests): Add tst-strcoll-overflow.
5289         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5290         cache if string sizes may cause integer overflow.
5292         [BZ #14547]
5293         * string/strcoll_l.c (coll_seq): New members rule, idx,
5294         save_idx and back_us.
5295         (get_next_seq_nocache): New function.
5296         (do_compare_nocache): New function.
5297         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5298         when malloc fails.
5300 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5302         [BZ #15754]
5303         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5304         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5305         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5307         [BZ #15754]
5308         * elf/Makefile (tests): Add tst-ptrguard1.
5309         (tests-static): Add tst-ptrguard1-static.
5310         (tst-ptrguard1-ARGS): Define.
5311         (tst-ptrguard1-static-ARGS): Define.
5312         * elf/tst-ptrguard1.c: New file.
5313         * elf/tst-ptrguard1-static.c: New file.
5314         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5315         * sysdeps/i386/stackguard-macros.h: Likewise.
5316         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5317         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5318         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5319         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5320         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5321         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5323 2013-09-23  Hector Marco  <hecmargi@upv.es>
5324             Ismael Ripoll  <iripoll@disca.upv.es>
5325             Carlos O'Donell  <carlos@redhat.com>
5327         [BZ #15754]
5328         * sysdeps/generic/stackguard-macros.h: Define
5329         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5330         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5331         Define __pointer_chk_guard_local.
5332         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5333         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5335 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5337         [BZ #15859]
5338         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5340 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5342         * include/string.h (__ffs): Declare as hidden.
5343         * string/ffs.c (__ffs): Define as hidden.
5344         * sysdeps/i386/ffs.c (__ffs): Likewise.
5345         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5346         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5347         * sysdeps/s390/ffs.c (__ffs): Likewise.
5348         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5350 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5352         * NEWS: Mention malloc probes.
5354         * malloc/arena.c (new_heap): New memory_heap_new probe.
5355         (grow_heap): New memory_heap_more probe.
5356         (shrink_heap): New memory_heap_less probe.
5357         (heap_trim): New memory_heap_free probe.
5358         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5359         (systrim): New memory_sbrk_less probe.
5360         * manual/probes.texi: Document them.
5362         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5363         * manual/probes.texi: Document it.
5365         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5366         (__libc_realloc): Add memory_realloc_retry probe.
5367         (__libc_memalign): Add memory_memalign_retry probe.
5368         (__libc_valloc): Add memory_valloc_retry probe.
5369         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5370         (__libc_calloc): Add memory_calloc_retry probe.
5371         * manual/probes.texi: Document them.
5373         * malloc/arena.c (get_free_list): Add probe
5374         memory_arena_reuse_free_list.
5375         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5376         and memory_arena_reuse.
5377         (arena_get2) [!PER_THREAD]: Likewise.
5378         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5379         memory_arena_reuse_realloc.
5380         * manual/probes.texi: Document them.
5382         * malloc/malloc.c (__libc_free): Add
5383         memory_mallopt_free_dyn_thresholds probe.
5384         (__libc_mallopt): Add multiple memory_mallopt probes.
5385         * manual/probes.texi: Document them.
5387         * malloc/malloc.c: Include stap-probe.h.
5388         (__libc_mallopt): Add memory_mallopt probe.
5389         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5390         * manual/probes.texi: New.
5391         * manual/Makefile (chapters): Add probes.
5392         * manual/threads.texi: Set next node.
5394 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5396         [BZ #15963, #13985]
5397         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5398         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5399         Add `Chinese' to `nan' entry name.
5401 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5403         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5404         (POLYNOMIAL): Likewise.
5405         (TAYLOR_SINCOS): Likewise.
5406         (TAYLOR_SLOW): Likewise.
5407         (__sin): Use TAYLOR_SINCOS.
5408         (__cos): Likewise.
5409         (slow): Use TAYLOR_SLOW.
5410         (sloww): Likewise.
5411         (bsloww): Likewise.
5412         (csloww): Likewise.
5414 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5416         * stdlib/strtod_l.c: Fix buffer overrun.
5418 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5420         * benchtests/Makefile (bench): Add sincos.
5421         * benchtests/bench-sincos.c: New file.
5423         * math/libm-test.inc (cos_test_data): New test inputs.
5424         (sin_test_data): Likewise.
5426         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5427         macro.
5428         (__sin): Use it.
5429         (__cos): Likewise.
5430         (slow1): Likewise.
5431         (slow2): Likewise.
5432         (sloww1): Likewise.
5433         (sloww2): Likewise.
5434         (bsloww1): Likewise.
5435         (bsloww2): Likewise.
5436         (cslow2): Likewise.
5437         (csloww1): Likewise.
5438         (csloww2): Likewise.
5440         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5441         function.
5442         (__sin): Use it.
5443         (__cos): Likewise.
5445         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5446         gotos.
5447         (__cos): Likewise.
5449 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5451         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5452         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5453         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5454         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5455         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5456         * elf/cache.c (print_entry): Handle the new cache flags.
5458 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5459             Aldy Hernandez  <aldyh@redhat.com>
5461         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5462         Change condition to [_SOFT_FLOAT].
5463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5475         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5478         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5479         declaration.
5481 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5483         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5484         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5485         (__longjmp): Use LOAD_GP to load saved GPRs.
5486         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5487         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5488         (__sigsetjmp): Use SAVE_GP to save GPRs.
5490         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5491         Do not append -msoft-float.
5492         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5494 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5496         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5498 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5500         [BZ #15966]
5501         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5502         (_FPU_GETCW): Use initial "__" on variable and field names but not
5503         on macro parameter name.
5504         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5505         parentheses around reference to macro parameter.
5507 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5509         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5510         prototype.
5511         (ctype_startup): Use uint32_t in cast and sizeof for
5512         ctype->charnames.
5514 2013-09-11  Jia Liu  <proljc@gmail.com>
5516         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5517         __daddr_t_defined.
5518         [__FreeBSD__]: Likewise.
5520 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5522         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5523         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5524         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5525         (strchr): Remove __strchr_sse42 ifunc selection.
5526         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5527         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5529 2013-09-11  Will Newton  <will.newton@linaro.org>
5531         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5532         parameter to RES. Remove hardcoded 1000 value.
5533         * benchtests/bench-skeleton.c (main): Pass RES parameter
5534         to TIMING_INIT and multiply result by 1000.
5536 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5540 2013-09-11  Andreas Schwab  <schwab@suse.de>
5542         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5543         if not defined.
5544         (O_TMPFILE) [__USE_GNU]: Define.
5545         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5546         Define.
5548 2013-09-11  Will Newton  <will.newton@linaro.org>
5550         [BZ #15857]
5551         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5552         does not overflow.
5554 2013-09-11  Will Newton  <will.newton@linaro.org>
5556         [BZ #15856]
5557         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5558         does not overflow.
5560 2013-09-11  Will Newton  <will.newton@linaro.org>
5562         [BZ #15855]
5563         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5564         does not overflow.
5566 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5568         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5569         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5570         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5571         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5572         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5574 2013-09-10  Allan McRae  <allan@archlinux.org>
5576         [BZ #15748]
5577         * manual/arith.texi (Parsing of Floats): Clarify
5578         cross-reference.
5580         [BZ #15849]
5581         * manual/install.texi (Running make install): Mention
5582         --enable-pt-chown.
5583         * INSTALL: Regenerated.
5585 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5587         * csu/init-first.c (_init): Remove the !SHARED condition around
5588         FPU control word initialization.
5589         * elf/dl-support.c (_dl_fpu_control): New variable.
5590         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5591         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5592         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5593         * math/test-fpucw-static.c: New file.
5594         * math/test-fpucw-ieee.c: New file.
5595         * math/test-fpucw-ieee-static.c: New file.
5596         * math/Makefile (tests): Add `test-fpucw-ieee' and
5597         `$(tests-static)'.
5598         (tests-static): New variable.
5599         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5600         dependency to...
5601         [($(build-shared),yes)]
5602         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5603         ... this.
5604         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5605         New dependency.
5607 2013-09-09  Allan McRae  <allan@archlinux.org>
5609         [BZ #15939]
5610         * manual/string.texi (Collation Functions): Fix typo in
5611         strcoll example.
5612         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5614         [BZ #15893]
5615         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5617         [BZ #15892]
5618         * libio/memstream.c (open_memstream): Fix memory leak.
5619         * libio/wmemstream.c (open_wmemstream): Likewise.
5621         [BZ #15895]
5622         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5624 2013-09-09  Will Newton  <will.newton@linaro.org>
5626         * malloc/Makefile: Add tst-realloc to tests.
5627         * malloc/tst-realloc.c: New file.
5629 2013-09-09  Allan McRae  <allan@archlinux.org>
5631         [BZ #15844]
5632         * COPYING: Update from GNU website to fix FSF address.
5633         * COPYING.LIB: Likewise.
5635 2013-09-06  David S. Miller  <davem@davemloft.net>
5637         * po/zh_TW.po: Update Chinese (traditional) translation from
5638         translation project.
5640 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5641             Joseph Myers  <joseph@codesourcery.com>
5643         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5644         "localeinfo.h".
5645         (obstack_chunk_alloc): New macro.
5646         (obstack_chunk_free): Likewise.
5647         (record_offset): New function.
5648         (init_locale_data): Likewise.
5649         (align_locale_data): Likewise.
5650         (add_locale_empty): Likewise.
5651         (add_locale_raw_data): Likewise.
5652         (add_locale_raw_obstack): Likewise.
5653         (add_locale_string): Likewise.
5654         (add_locale_wstring): Likewise.
5655         (add_locale_uint32): Likewise.
5656         (add_locale_uint32_array): Likewise.
5657         (add_locale_char): Likewise.
5658         (start_locale_structure): Likewise.
5659         (end_locale_structure): Likewise.
5660         (start_locale_prelude): Likewise.
5661         (end_locale_prelude): Likewise.
5662         (write_locale_data): Take locale_file structure rather than an
5663         iovec.
5664         * locale/programs/locfile.h: Include "obstack.h".
5665         (struct locale_file): Change to store locale file contents instead
5666         of header.
5667         (init_locale_data): New prototype.
5668         (align_locale_data): Likewise.
5669         (add_locale_empty): Likewise.
5670         (add_locale_raw_data): Likewise.
5671         (add_locale_raw_obstack): Likewise.
5672         (add_locale_string): Likewise.
5673         (add_locale_wstring): Likewise.
5674         (add_locale_uint32): Likewise.
5675         (add_locale_uint32_array): Likewise.
5676         (add_locale_char): Likewise.
5677         (start_locale_structure): Likewise.
5678         (end_locale_structure): Likewise.
5679         (start_locale_prelude): Likewise.
5680         (end_locale_prelude): Likewise.
5681         (write_locale_data): Update prototype.
5682         * locale/programs/3level.h (struct TABLE): Remove result field.
5683         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5684         Use new locale_file interface.
5685         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5686         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5687         * locale/programs/ld-address.c (address_output): Use new
5688         locale_file interface.
5689         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5690         NO_ADD_LOCALE.
5691         (collate_finish): Don't call collseq_table_finalize.
5692         (collate_output): Use new locale_file interface.
5693         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5694         in file.
5695         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5696         (TABLE): Move defines earlier in file.
5697         (ELEMENT): Likewise.
5698         (DEFAULT): Likewise.
5699         (wctrans_table_add): Move macro and inline function earlier in
5700         file.
5701         (struct wctype_table): Move type earlier in file.
5702         (add_locale_wctype_table): New static prototype.
5703         (struct locale_ctype_t): Use logical types instead of struct iovec
5704         pointers for members.
5705         (ctype_output): Use new locale_file interface.
5706         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5707         new locale_file interface.
5708         (allocate_arrays): Update for use of new locale_file interface.
5709         * locale/programs/ld-identification.c (identification_output): Use
5710         new locale_file interface.
5711         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5712         * locale/programs/ld-messages.c (messages_output): Likewise.
5713         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5714         * locale/programs/ld-name.c (name_output): Likewise.
5715         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5716         * locale/programs/ld-paper.c (paper_output): Likewise.
5717         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5718         * locale/programs/ld-time.c (time_output): Likewise.
5720 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5722         * benchtests/Makefile: Add memrchr benchmark.
5723         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5724         benchmark as memrchr.
5725         * benchtests/bench-memrchr-ifunc.c: New file.
5726         * benchtests/bench-memrchr.c: New file.
5728 2013-09-06   Will Newton  <will.newton@linaro.org>
5730         * benchtests/Makefile (string-bench): Add memcpy.
5732 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5733             Cong Wang  <amwang@redhat.com>
5735         * sysdeps/unix/sysv/linux/bits/in.h
5736         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5737         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5738         before __USE_KERNEL_IPV6_DEFS uses.
5739         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5740         IPPROTO_BEETPH.
5741         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5742         sockaddr_in6, or ipv6_mreq.
5744 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5746         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5747         memory access for final bytes in some large inputs.
5748         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5750 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5752         * string/test-memrchr.c: New file.
5753         * string/test-memrchr-ifunc.c: New file.
5754         * string/Makefile: Add new memrchr testcase.
5756 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5758         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5759         fanotify_init returns EPERM.
5761 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5763         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5764         errors.
5765         (top level): Treat second token from macro or constant entries for
5766         allowed headers as allowed.
5767         * include/complex.h: Condition internal declarations on
5768         [!_ISOMAC].
5769         * include/fenv.h: Condition include of <stdbool.h> and internal
5770         declarations on [!_ISOMAC].
5772 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5774         [BZ #15923]
5775         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5777 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5779         * configure.in (--enable-versioning): Remove configure option.
5780         (libc_cv_asm_symver_directive): Remove configure test.
5781         (libc_cv_ld_version_script_option): Likewise.
5782         (VERSIONING): Remove variable and AC_SUBST.
5783         (DO_VERSIONING): Remove AC_DEFINE.
5784         * configure: Regenerated.
5785         * config.h.in (DO_VERSIONING): Remove macro.
5786         * Makerules [$(versioning) = yes]: Change conditionals to
5787         [$(build-shared) = yes].
5788         * config.make.in (versioning): Remove variable.
5789         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5790         [$(build-shared) = yes].
5791         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5792         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5793         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5794         [$(build-shared) = yes].
5795         * extra-lib.mk [$(versioning) = yes]: Likewise.
5796         * hurd/Makefile [$(versioning) = yes]: Likewise.
5797         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5798         [SHARED].
5799         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5800         [SHARED].
5801         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5802         [SHARED && !NO_HIDDEN].
5803         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5804         [SHARED].
5805         [SHARED && DO_VERSIONING]: Likewise..
5806         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5807         [$(build-shared) = yes].
5808         * manual/install.texi (--disable-versioning): Remove
5809         documentation.
5810         * INSTALL: Regenerated.
5811         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5812         to [SHARED].
5813         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5814         [$(build-shared) = yes].
5815         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5816         * sysdeps/i386/i686/multiarch/strstr-c.c
5817         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5818         [SHARED && !NO_HIDDEN].
5819         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5820         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5821         * sysdeps/powerpc/powerpc32/dl-machine.c
5822         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5823         * sysdeps/powerpc/powerpc32/sysdep.h
5824         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5825         to [SHARED && PIC && !NO_HIDDEN].
5826         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5827         conditional to [SHARED].
5829 2013-09-04   Will Newton  <will.newton@linaro.org>
5831         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5832         * benchtests/bench-string.h: Include bench-timing.h instead
5833         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5834         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5835         call to HP_TIMING_DIFF_INIT.
5836         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5837         instead of hp-timing.h macros.
5838         * benchtests/bench-memchr.c: Likewise.
5839         * benchtests/bench-memcmp.c: Likewise.
5840         * benchtests/bench-memcpy.c: Likewise.
5841         * benchtests/bench-memmem.c: Likewise.
5842         * benchtests/bench-memmove.c: Likewise.
5843         * benchtests/bench-memset.c: Likewise.
5844         * benchtests/bench-rawmemchr.c: Likewise.
5845         * benchtests/bench-strcasecmp.c: Likewise.
5846         * benchtests/bench-strcasestr.c: Likewise.
5847         * benchtests/bench-strcat.c: Likewise.
5848         * benchtests/bench-strchr.c: Likewise.
5849         * benchtests/bench-strcmp.c: Likewise.
5850         * benchtests/bench-strcpy.c: Likewise.
5851         * benchtests/bench-strcpy_chk.c: Likewise.
5852         * benchtests/bench-strlen.c: Likewise.
5853         * benchtests/bench-strncasecmp.c: Likewise.
5854         * benchtests/bench-strncat.c: Likewise.
5855         * benchtests/bench-strncmp.c: Likewise.
5856         * benchtests/bench-strncpy.c: Likewise.
5857         * benchtests/bench-strnlen.c: Likewise.
5858         * benchtests/bench-strpbrk.c: Likewise.
5859         * benchtests/bench-strrchr.c: Likewise.
5860         * benchtests/bench-strspn.c: Likewise.
5861         * benchtests/bench-strstr.c: Likewise.
5863 2013-09-04  Will Newton  <will.newton@linaro.org>
5865         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5867 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5869         [BZ #15427]
5870         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5871         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5872         * math/libm-test.inc (lgamma_test_data): Add more tests.
5873         * sysdeps/i386/fpu/libm-test-ulps: Update.
5874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5876 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5878         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5880         Add ifunc.
5881         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5882         Add strcmp-sse2-unaligned
5883         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5885 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5887         * Versions.def (libc): Add GLIBC_2.19.
5889 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5891         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5892         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5894 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5896         [BZ #14155]
5897         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5898         intermediate calculations in recurrence.
5899         (__ieee754_ynf): Likewise.
5900         * math/libm-test.inc (jn_test_data): Do not allow spurious
5901         underflow exception.  Add more tests.
5902         (yn_test_data): Add more tests.
5903         * sysdeps/i386/fpu/libm-test-ulps: Update.
5904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5906 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5908         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5910 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5912         * csu/init-first.c: Fix then/than typos.
5913         * locale/programs/ld-collate.c: Likewise.
5914         * locale/programs/linereader.h: Likewise.
5915         * manual/charset.texi: Likewise.
5916         * manual/filesys.texi: Likewise.
5917         * manual/stdio.texi: Likewise.
5918         * manual/string.texi: Likewise.
5919         * stdlib/fmtmsg.c: Likewise.
5920         * sysdeps/i386/stpncpy.S: Likewise.
5921         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5922         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5923         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5924         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5926 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5928         * elf/dl-open.c: Fix typos.
5929         * iconvdata/gbbig5.c: Likewise.
5930         * iconvdata/iso-2022-jp.c: Likewise.
5931         * iconv/gconv_int.h: Likewise.
5932         * iconv/loop.c: Likewise.
5933         * nis/rpcsvc/nis.h: Likewise.
5934         * resolv/ns_name.c: Likewise.
5935         * stdio-common/vfscanf.c: Likewise.
5936         * streams/stropts.h: Likewise.
5937         * sunrpc/rpc_thread.c: Likewise.
5938         * sysdeps/i386/strpbrk.S: Likewise.
5939         * sysdeps/ieee754/k_standard.c: Likewise.
5940         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5941         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5942         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5943         * sysdeps/mach/hurd/profil.c: Likewise.
5944         * sysdeps/s390/dl-procinfo.h: Likewise.
5945         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5946         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5947         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5948         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5949         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5951 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5953         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5954         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5956 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5958         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5959         aix specific files.
5960         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5961         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5962         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5963         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5964         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5965         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5966         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5967         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5969 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5970             Roland McGrath  <roland@hack.frob.com>
5972         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5973         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5975 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5977         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5978         __executable_start symbol instead of _start.
5980 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5982         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5983         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5984         Move macros to...
5985         * sysdeps/gnu/ldsodefs.h: ... this new file.
5987         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5988         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5989         instead of ELFOSABI_LINUX.
5991         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5992         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5993         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5994         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5995         Likewise.
5996         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5997         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5998         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5999         Likewise.
6000         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6001         (ibm_extended_long_double): Add ieee_nan member.
6002         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6003         (do_test): New function.
6005         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6006         TEST_TRUNC.
6007         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6008         functions, renamed from truncdfsf_test, trunctfsf_test,
6009         trunctfdf_test.
6010         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6011         functions.
6012         (do_test): Run all these.
6014 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6016         * argp/argp-help.c: Fix typos.
6017         * argp/argp-parse.c: Likewise.
6018         * debug/backtracesyms.c: Likewise.
6019         * elf/elf.h: Likewise.
6020         * malloc/malloc.c: Likewise.
6021         * nis/nis_print.c: Likewise.
6022         * resolv/res_comp.c: Likewise.
6023         * stdlib/stdlib.h: Likewise.
6024         * sunrpc/clnt_tcp.c: Likewise.
6025         * sunrpc/clnt_udp.c: Likewise.
6026         * sunrpc/clnt_unix.c: Likewise.
6027         * sysdeps/unix/bsd/ptsname.c: Likewise.
6028         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6029         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6031         Likewise.
6032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6033         Likewise.
6034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6035         Likewise.
6036         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6038 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6040         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6043 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6045         [BZ #15897]
6046         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6047         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6048         ($(objpfx)bug-dl-leaf): New rule.
6049         ($(objpfx)bug-dl-leaf.so): Likewise.
6050         ($(objpfx)bug-dl-leaf.out): Likewise.
6051         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6052         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6053         * dlfcn/bug-dl-leaf.c: New test.
6054         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6055         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6056         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6057         (dlclose): Likewise.
6058         (dlmopen): Likewise.
6060 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6062         * include/netdb.h [!_ISOMAC]:
6063         Don't include <tls.h>.
6064         (h_errno, __libc_h_errno): Move declaration and macros out of
6065         [_LIBC_REENTRANT].
6067         * include/resolv.h [_RESOLV_H_]:
6068         Don't include <tls.h>.
6069         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6070         * resolv/res_libc.c: Don't include <tls.h>.
6071         (_res): Use __attribute__ ((nocommon)) in place of
6072         __attribute__ ((section (".bss"))).
6074         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6075         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6077         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6079         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6080         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6082         * resolv/res_mkquery.c: Include <sys/time.h>.
6084         * inet/ifreq.c: Moved to ...
6085         * sysdeps/unix/ifreq.c: ... here.
6086         * inet/ifreq.c: New file, true stub version.
6088         * socket/sa_len.c: New file.
6089         * socket/Makefile (aux): Add it.
6090         * sysdeps/unix/sysv/linux/Makefile
6091         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6092         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6093         and #include <socket/sa_len.c>.
6094         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6095         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6097         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6098         * bits/socket.h: ... here.
6100         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6101         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6102         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6104 2013-08-27  Andreas Schwab  <schwab@suse.de>
6106         [BZ #15736]
6107         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6108         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6109         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6110         * string/test-strcasecmp.c (test_main): Run tests in several
6111         locales.
6112         * string/test-strncasecmp.c (test_main): Likewise.
6114         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6115         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6116         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6117         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6118         (__strncasecmp_ssse3) [PIC]: Likewise.
6120 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6122         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6124         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6125         instead of explicitly declaring xdecrypt.
6126         * nis/nss_nis/nis-publickey.c: Likewise.
6128 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6130         [BZ #15890]
6131         * nscd/aicache.c: Include res_hconf.h.
6132         (addhstaiX): Initialize res_hconf.
6134 2013-08-26  Andreas Schwab  <schwab@suse.de>
6136         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6137         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6139 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6141         * nscd/aicache.c (addhstaiX): Fix indentation.
6143 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6145         * configure.ac: Quote $build_pt_chown test.
6146         * configure: Regenerated.
6148 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6150         [BZ #15532]
6151         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6152         * math/s_cexpf.c (__cexpf): Likewise.
6153         * math/s_cexpl.c (__cexpl): Likewise.
6154         * math/libm-test.inc (cexp_test_data): Correct expected return
6155         value for NaN + i0.  Add another test.
6157 2013-08-22  David S. Miller  <davem@davemloft.net>
6159         * po/ca.po: Update Catalan translation from translation project.
6160         * po/uk.po: Add Ukrainian translations from translation project.
6162 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6164         [BZ #15797]
6165         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6166         is infinite, not alongside NaN test.
6167         * math/s_fdimf.c (__fdimf): Likewise.
6168         * math/s_fdiml.c (__fdiml): Likewise.
6169         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6170         errno is unchanged.
6172 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6174         * argp/argp-help.c: Fix typos.
6175         * crypt/speeds.c: Likewise.
6176         * csu/check_fds.c: Likewise.
6177         * elf/dl-load.c: Likewise.
6178         * elf/dl-open.c: Likewise.
6179         * elf/reldep3.c: Likewise.
6180         * elf/reldep.c: Likewise.
6181         * elf/sprof.c: Likewise.
6182         * iconv/iconv_charmap.c: Likewise.
6183         * iconv/skeleton.c: Likewise.
6184         * iconv/strtab.c: Likewise.
6185         * io/lockf64.c: Likewise.
6186         * libio/libioP.h: Likewise.
6187         * resolv/gai_notify.c: Likewise.
6188         * resolv/ns_name.c: Likewise.
6189         * resolv/ns_samedomain.c: Likewise.
6190         * resolv/res_send.c: Likewise.
6191         * stdlib/random.c: Likewise.
6192         * sunrpc/rpc/xdr.h: Likewise.
6193         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6194         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6195         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6196         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6197         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6198         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6199         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6200         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6201         * sysdeps/mach/hurd/check_fds.c: Likewise.
6202         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6203         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6204         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6205         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6206         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6207         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6208         * sysdeps/pthread/aio_notify.c: Likewise.
6209         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6210         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6211         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6212         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6213         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6215 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6217         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6218         version if bit_Slow_SSE4_2 is set.
6219         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6220         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6222 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6224         [BZ #15867]
6225         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6226         trampoline stack frame information.
6227         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6228         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6229         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6230         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6231         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6232         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6233         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6234         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6235         sa_flags value.
6236         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6237         interrupting a syscall and set with option SA_SIGINFO.
6239 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6241         [BZ #15531]
6242         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6243         argument is infinite.
6244         * math/s_cprojf.c (__cprojf): Likewise.
6245         * math/s_cprojl.c (__cprojl): Likewise.
6246         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6247         * math/libm-test.inc (cproj_test_data): Add more tests.
6249         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6251         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6252         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6253         size.  Use __ffs to determine corresponding shift.
6255 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6256             Roland McGrath  <roland@hack.frob.com>
6258         * Makefile (INSTALL): Remove trailing blank lines from output of
6259         makeinfo.
6261 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6263         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6264         Align 32 bit compat elf_greg to 8 bytes.
6266 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6268         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6270 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6272         * string/strcoll_l.c (coll_seq): New structure.
6273         (get_next_seq_cached): New function.
6274         (get_next_seq): New function.
6275         (do_compare): New function.
6276         (STRCOLL): Use GNU style definition.  Simplify implementation
6277         by using get_next_seq, get_next_seq_cached and do_compare.
6279 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6281         [BZ #14699]
6282         CVE-2013-4237
6283         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6284         member.
6285         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6286         member.
6287         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6288         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6289         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6290         conditional.
6291         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6292         GETDENTS_64BIT_ALIGNED.
6293         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6294         * manual/filesys.texi (Reading/Closing Directory): Document
6295         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6296         strongly.
6297         * manual/conf.texi (Limits for Files): Add portability note to
6298         NAME_MAX, PATH_MAX.
6299         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6301 2013-08-13  Andreas Schwab  <schwab@suse.de>
6303         [BZ #15749]
6304         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6305         of fabs.
6306         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6307         LDBL_MAX_EXP >= 16384]: Add tests for it.
6309 2013-08-12  David S. Miller  <davem@davemloft.net>
6311         * version.h (RELEASE): Set to "development".
6312         (VERSION): Set to "2.18.90".
6313         * NEWS: Add 2.19 section.
6315 2013-08-03  David S. Miller  <davem@davemloft.net>
6317         * po/ko.po: Update Korean translation from translation project.
6319 2013-08-01  David S. Miller  <davem@davemloft.net>
6321         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6322         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6323         Bilka.
6325 2013-07-30  David S. Miller  <davem@davemloft.net>
6327         * po/fr.po: Update French translation from translation project.
6329 2013-07-28  David S. Miller  <davem@davemloft.net>
6331         * po/cs.po: Update Czech translation from translation project.
6333         * po/sv.po: Update Swedish translation from translation project.
6335 2013-07-27  David S. Miller  <davem@davemloft.net>
6337         * po/eo.po: Update Esperanto translation from translation project.
6339         * po/vi.po: Update Vietnamese translation from translation project.
6341         * po/de.po: Update German translation from translation project.
6343 2013-07-26  David S. Miller  <davem@davemloft.net>
6345         * po/bg.po: Update Bulgarian translation from translation project.
6347         * po/nl.po: Update Dutch translation from translation project.
6348         * po/pl.po: Update Polish translation from translation project.
6349         * po/ru.po: Update Russian translation from translation project.
6351 2013-07-24  David S. Miller  <davem@davemloft.net>
6353         * po/libc.pot: Update.
6355 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6357         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6358         variable page size.
6359         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6360         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6361         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6363 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6365         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6367 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6368             Andreas Schwab  <schwab@suse.de>
6369             Roland McGrath  <roland@hack.frob.com>
6370             Joseph Myers  <joseph@codesourcery.com>
6371             Carlos O'Donell  <carlos@redhat.com>
6373         [BZ #15755]
6374         * config.h.in: Define HAVE_PT_CHOWN.
6375         * config.make.in (build-pt-chown): New variable.
6376         * configure.in (--enable-pt_chown): New configure option.
6377         * configure: Regenerate.
6378         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6379         build-pt-chown is enabled.
6380         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6381         pt_chown to fix pty ownership.
6382         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6383         CLOSE_ALL_FDS.
6384         * manual/install.texi (Configuring and compiling): Mention
6385         --enable-pt_chown. Add @findex for grantpt.
6386         * INSTALL: Regenerate.
6388 2013-07-20  David S. Miller  <davem@davemloft.net>
6390         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6391         difference between 32-bit and 64-bit.
6393 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6395         [BZ #15711]
6396         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6397         Avoid system header dependency with -ffreestanding.
6398         ($(objpfx)bits/syscall%d): Likewise.
6400 2013-07-13  David S. Miller  <davem@davemloft.net>
6402         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6403         underflows from atanl/atan2l due to bug 15319.
6404         (casinh_test_data): Likewise.
6406 2013-07-07  David S. Miller  <davem@davemloft.net>
6408         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6410 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6412         * sysdeps/i386/fpu/libm-test-ulps: Update.
6413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6415 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6417         * configure.in (--enable-lock-elision): Fix message text.
6418         * INSTALL: Regenerate.
6419         * configure: Regenerate.
6421 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6425 2013-07-03  Andreas Jaeger  <aj@suse.de>
6427         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6428         define.
6429         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6430         (ptrace_peeksiginfo_args): Add.
6431         (__ptrace_peeksiginfo_flags): Add.
6432         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6433         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6434         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6436 2013-07-03  Allan McRae  <allan@archlinux.org>
6438         * sysdeps/i386/fpu/libm-test-ulps: Update.
6440 2013-07-02  David S. Miller  <davem@davemloft.net>
6442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6444 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6446         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6448 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6450         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6453 2013-07-02  Andi Kleen <ak@linux.intel.com>
6455         * config.h.in (ENABLE_LOCK_ELISION): Add.
6456         * configure.in (--enable-lock-elision): Add option.
6457         * manual/install.texi: Document --enable lock elision.
6458         * configure: Regenerate
6459         * INSTALL: Regenerate.
6461 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6463         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6464         SSE4.2 strcasecmp for libc.a.
6465         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6467 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6469         [BZ #13304]
6470         * soft-fp/op-common.h (_FP_FMA): New macro.
6471         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6472         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6473         (_FP_MUL_MEAT_1_imm): ... here.
6474         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6475         (_FP_MUL_MEAT_1_wide): ... here.
6476         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6477         (_FP_MUL_MEAT_1_hard): ... here.
6478         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6479         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6480         (_FP_MUL_MEAT_2_wide): ... here.
6481         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6482         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6483         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6484         (_FP_MUL_MEAT_2_gmp): ... here.
6485         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6486         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6487         (_FP_MUL_MEAT_4_wide): ... here.
6488         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6489         (_FP_MUL_MEAT_4_gmp): ... here.
6490         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6491         (_FP_WFRACBITS_DW_S): Likewise.
6492         (_FP_WFRACXBITS_DW_S): Likewise.
6493         (_FP_HIGHBIT_DW_S): Likewise.
6494         (FP_FMA_S): Likewise.
6495         (_FP_FRAC_HIGH_DW_S): Likewise.
6496         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6497         (_FP_WFRACBITS_DW_D): Likewise.
6498         (_FP_WFRACXBITS_DW_D): Likewise.
6499         (_FP_HIGHBIT_DW_D): Likewise.
6500         (FP_FMA_D): Likewise.
6501         (_FP_FRAC_HIGH_DW_D): Likewise.
6502         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6503         (_FP_WFRACBITS_DW_E): Likewise.
6504         (_FP_WFRACXBITS_DW_E): Likewise.
6505         (_FP_HIGHBIT_DW_E): Likewise.
6506         (FP_FMA_E): Likewise.
6507         (_FP_FRAC_HIGH_DW_E): Likewise.
6508         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6509         (_FP_WFRACBITS_DW_Q): Likewise.
6510         (_FP_WFRACXBITS_DW_Q): Likewise.
6511         (_FP_HIGHBIT_DW_Q): Likewise.
6512         (FP_FMA_Q): Likewise.
6513         (_FP_FRAC_HIGH_DW_Q): Likewise.
6514         * soft-fp/fmasf4.c: New file.
6515         * soft-fp/fmadf4.c: Likewise.
6516         * soft-fp/fmatf4.c: Likewise.
6518 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6520         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6521         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6522         Silvermont.
6523         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6524         macro.
6525         (index_Slow_SSE4_2): Likewise.
6526         (index_Prefer_PMINUB_for_stringop): Likewise.
6527         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6528         bit_Slow_SSE4_2 is set.
6529         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6530         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6532 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6534         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6535         rtld_global._dl_hwcap2.
6536         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6537         POWER8.
6538         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6539         POWER8 feature descriptions defined in _dl_hwcap2.
6540         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6541         string handling for POWER8 feature bits.
6542         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6543         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6544         _dl_powerpc_cap_flags.
6545         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6546         * sysdeps/powerpc/rtld-global-offsets.sym
6547         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6548         _dl_hwcap2 in the rtld_global_ro structure.
6550 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6552         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6553         hardware capabilities in support of AT_HWCAP2.
6554         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6555         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6556         GLRO(dl_hwcap2).
6557         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6558         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6559         explicitly the unknown a_type display mechanism is used.
6560         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6561         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6562         struct member.
6563         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6564         to macro prototype for AT_HWCAP2 support.
6565         * sysdeps/i386/dl-procinfo.h: Likewise.
6566         * sysdeps/s390/dl-procinfo.h: Likewise.
6567         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6568         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6569         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6570         return -1 for unknown a_type display fallback.
6571         * sysdeps/sparc/dl-procinfo.h: Likewise.
6572         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6573         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6575 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6577         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6578         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6580 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6582         [BZ #12492]
6583         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6584         mprotect making __stack_prot writable.
6586 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6587             Joseph Myers  <joseph@codesourcery.com>
6589         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6590         as being properly aligned.
6592 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6594         * dlfcn/modstatic5.c: New file.
6595         * dlfcn/tststatic5.c: New file.
6596         * dlfcn/Makefile (tests): Add tststatic5.
6597         (tests-static): Likewise.
6598         (modules-names): Add modstatic5.
6599         (tststatic5-ENV): New variable.
6600         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6602         [BZ #15022]
6603         * elf/dl-support.c (_dl_main_map): New variable.
6604         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6605         (_dl_nns, _dl_load_adds): Set to 1.
6606         (_dl_initial_searchlist): Refer to _dl_main_map.
6607         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6608         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6609         call to _dl_get_origin.
6610         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6611         around call_map.
6612         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6613         * dlfcn/modstatic3.c: New file.
6614         * dlfcn/tststatic3.c: New file.
6615         * dlfcn/tststatic4.c: New file.
6616         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6617         (tests-static): Likewise.
6618         (modules-names): Add modstatic3.
6619         (tststatic3-ENV, tststatic4-ENV): New variables.
6620         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6621         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6623 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6625         * configure.in (CC): Require GCC version 4.4 or later.
6626         * configure: Regenerated.
6627         * manual/install.texi (Tools for Compilation): Update GCC version
6628         requirement.
6629         * INSTALL: Regenerated.
6631 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6633         [BZ #15674]
6634         * string/test-memcmp.c (check2): New.
6635         (main): Call check2.
6637         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6639 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6641         [BZ #15022]
6642         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6643         over to...
6644         (dl_open_worker) [!SHARED]: ... here.
6646 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6648         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6650 2013-06-25  Richard Henderson  <rth@redhat.com>
6652         * locale/programs/locarchive.c: Include <libc-internal.h>
6654 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6656         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6657         trailing whitespace removed.
6659 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6661         [BZ #10283]
6662         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6663         * locale/programs/locarchive.c: Include libc-mmap.h.
6664         (prepare_address_space): Take two new outputs (the mmap base and len).
6665         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6666         values.
6667         (create_archive): Declare new mmap base and len values for
6668         prepare_address_space, and store the result in ah.
6669         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6670         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6671         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6672         Declare new mmap base and len values for
6673         prepare_address_space, and store the result in new_ah.
6674         (open_archive): Declare new mmap base and len values for
6675         prepare_address_space, and store the result in ah.
6676         (close_archive): If ah->mmap_base is not NULL, use that and
6677         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6678         * sysdeps/generic/libc-mmap.h: New file.
6680 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6682         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6683         (ALIGN_UP): Likewise.
6684         (PTR_ALIGN_DOWN): Likewise.
6685         (PTR_ALIGN_UP): Likewise.
6687 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6689         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6690         entry mapped to PPC_PLATFORM_POWER8.
6691         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6692         POWER8.
6693         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6694         (_dl_string_platform): Add case for exporting platform position for
6695         POWER8.
6696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6697         search path to sysdeps/powerpc/powerpc32/power8 directory.
6698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6699         search path to sysdeps/powerpc/powerpc64/power8 directory.
6700         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6701         power7 directories.
6702         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6703         power7 directories.
6705 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6707         * INSTALL: Regenerate.
6709         * nscd/connections.c (nscd_init): Fix comment.
6711 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6713         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6715         [BZ #15667]
6716         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6717         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6719 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6721         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6722         DL_DST_REQ_STATIC.
6723         (DL_DST_REQ_STATIC): Remove macro.
6725 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6727         [BZ #7006]
6728         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6729         with a shift of 0 bits.
6731 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6733         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6734         $(tststatic-ENV).
6736 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6738         [BZ #15655]
6739         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6741 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6743         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6744         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6745         accepts -fno-tree-loop-distribute-patterns.
6746         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6747         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6748         recursive call.
6749         * string/memset.c (memset): Likewise.
6750         * string/test-memmove.c (simple_memmove): Disable loop transformation
6751         to library calls.
6752         * string/test-memset.c (simple_memset): Likewise.
6753         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6754         * benchtests/bench-memset.c (simple_memset): Likewise.
6755         * configure: Regenerated.
6757 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6759         * math/test-misc.c (main): Ignore fesetround failure when failures
6760         of subsequent rounding tests would be ignored.
6762         [BZ #15654]
6763         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6764         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6765         * math/fegetenv.c (__fegetenv): Return 0.
6766         * math/fegetexcept.c (fegetexcept): Return 0.
6767         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6768         FE_TONEAREST.
6769         * math/feholdexcpt.c (feholdexcept): Return 0.
6770         * math/fesetenv.c (__fesetenv): Return 0.
6771         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6772         argument FE_TONEAREST.
6773         * math/feupdateenv.c (__feupdateenv): Return 0.
6774         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6776 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6778         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6779         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6780         ($(objpfx)rtld-%.os rules): Use them.
6782 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6784         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6785         fields.
6787 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6789         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6790         length of target pattern, then descending length of dependency pattern.
6791         * configure.in (AWK): Require gawk 3.1.2 or newer.
6792         * manual/install.texi (Tools for Compilation): Say that we do.
6793         * configure: Regenerated.
6795         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6796         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6797         * scripts/sysd-rules.awk: ... this new script.
6798         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6799         than a glob-style pattern.
6801 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6803         * math/test-misc.c (main): Do not treat incorrectly rounded
6804         conversions as failure unless ROUNDING_TESTS passes.
6806 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6808         [BZ #15631]
6809         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6810         restore exception state around main square root computation, then
6811         check for inexactness explicitly.
6813         * math/libm-test.inc (fma_test_data): Add another test.
6815 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6817         * manual/threads.texi (Non-POSIX Extensions): New document
6818         node.  Document pthread_getattr_default_np and
6819         pthread_setattr_default_np.
6821         * Versions.def (libpthread): Add GLIBC_2.18.
6822         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6824         Likewise.
6825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6826         Likewise.
6827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6828         Likewise.
6829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6830         Likewise.
6831         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6832         Likewise.
6833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6834         Likewise.
6835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6836         Likewise.
6837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6838         Likewise.
6839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6840         Likewise.
6842 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6844         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6845         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6847 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6848             H.J. Lu  <hjl.tools@gmail.com>
6850         [BZ #15627]
6851         * sysdeps/x86_64/rtld-memset.c: Remove file.
6852         * sysdeps/x86_64/rtld-memset.S: New file.
6854 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6856         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6857         (test_in_one_mode): Take arguments for whether the rounding mode
6858         is supported for each floating-point type.
6859         (do_test): Pass new arguments to test_in_one_mode using
6860         ROUNDING_TESTS.
6862 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6864         * posix/tst-waitid.c (do_test): Distinguish different instances of
6865         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6866         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6867         before entering the kernel for waitpid.
6869 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6871         * NEWS: Fix note on clock function precision.  Text by Roland
6872         McGrath.
6874 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6876         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6877         it into place only when and if the sanity check passes.
6879 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6881         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6882         output for whether conversion result is exact.  Take argument
6883         indicating whether type is IBM long double.
6884         (round_for_all): Change need_exact field to ibm_ld.
6885         * stdlib/tst-strtod-round.c (struct exactness): New type.
6886         (struct test): Change bool ld_ok field to struct exactness exact.
6887         (TEST): Update all definitions for change to field.
6888         (tests): Regenerate array contents.
6889         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6890         field value.  Check for IBM long double here.
6891         (do_test): Update calls to test_in_one_mode.
6893 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6895         [BZ #12515]
6896         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6897         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6899 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6901         [BZ #15605]
6902         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6903         generated by the compiler on loop optimizations.
6904         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6905         general definitions.
6907 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6909         * math/bug-nextafter.c: Include <math-tests.h>.
6910         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6911         the relevant type.
6912         * math/bug-nexttoward.c: Include <math-tests.h>.
6913         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6914         the relevant type.
6915         * math/test-misc.c: Include <math-tests.h>.
6916         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6917         the relevant type.
6919 2013-06-12  Andreas Jaeger  <aj@suse.de>
6921         * po/ia.po: Update Interlingua translation from translation
6922         project.
6924 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6926         * include/fenv.h: Include stdbool.h.
6927         (struct rm_ctx): New structure.
6928         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6929         Define macro.
6930         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6931         (SET_RESTORE_ROUNDF): Likewise.
6932         (SET_RESTORE_ROUNDL): Likewise.
6933         (SET_RESTORE_ROUND_NOEX): Likewise.
6934         (SET_RESTORE_ROUND_NOEXF): Likewise.
6935         (SET_RESTORE_ROUND_NOEXL): Likewise.
6936         (SET_RESTORE_ROUND_53BIT): Likewise.
6937         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6938         (libc_feresetround_noexf_ctx): Likewise.
6939         (libc_feresetround_noexl_ctx): Likewise.
6940         (libc_feholdsetround_53bit_ctx): Likewise.
6941         (libc_feresetround_53bit_ctx): Likewise.
6942         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6943         (libc_feholdexcept_setround_sse_ctx): New function.
6944         (libc_fesetenv_sse_ctx): Likewise.
6945         (libc_feupdateenv_sse_ctx): Likewise.
6946         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6947         (libc_feholdexcept_setround_387_ctx): Likewise.
6948         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6949         (libc_feholdsetround_387_prec_ctx): Likewise.
6950         (libc_feholdsetround_387_ctx): Likewise.
6951         (libc_feholdsetround_387_53bit_ctx): Likewise.
6952         (libc_feholdsetround_sse_ctx): Likewise.
6953         (libc_feresetround_sse_ctx): Likewise.
6954         (libc_feresetround_387_ctx): Likewise.
6955         (libc_feupdateenv_387_ctx): Likewise.
6956         (libc_feholdexcept_setroundf_ctx): Define macro.
6957         (libc_fesetenvf_ctx): Likewise.
6958         (libc_feupdateenvf_ctx): Likewise.
6959         (libc_feholdsetroundf_ctx): Likewise.
6960         (libc_feresetroundf_ctx): Likewise.
6961         (libc_feholdexcept_setround_ctx): Likewise.
6962         (libc_fesetenv_ctx): Likewise.
6963         (libc_feupdateenv_ctx): Likewise.
6964         (libc_feholdsetround_ctx): Likewise.
6965         (libc_feresetround_ctx): Likewise.
6966         (libc_feholdexcept_setroundl_ctx): Likewise.
6967         (libc_feupdateenvl_ctx): Likewise.
6968         (libc_feholdsetroundl_ctx): Likewise.
6969         (libc_feresetroundl_ctx): Likewise.
6970         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6971         (libc_feresetround_53bit_ctx): Likewise.
6973 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6975         * locale/iso-639.def: Convert to UTF-8.
6977 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6979         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6980         (EXCEPTION_TESTS_double): Likewise.
6981         (EXCEPTION_TESTS_long_double): Likewise.
6982         (EXCEPTION_TESTS): Likewise.
6983         * math/libm-test.inc (test_exceptions): Only test exceptions if
6984         EXCEPTION_TESTS (FLOAT).
6986 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6988         * benchtests/Makefile (string-bench): Add strcpy_chk and
6989         stpcpy_chk.
6990         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6991         * benchtests/bench-stpcpy_chk.c: New file.
6992         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6993         * benchtests/bench-strcpy_chk.c: New file.
6994         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6995         code.
6996         (do_test): Likewise.
6998 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7000         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7001         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7002         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7003         with tabs where appropriate.
7004         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7005         dl-procinfo.h.
7006         [PPC_PLATFORM_PPC440]: Likewise.
7007         [PPC_PLATFORM_PPC464]: Likewise.
7008         [PPC_PLATFORM_PPC476]: Likewise.
7009         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7010         ppc464, and ppc476 platform strings merging from ports/
7011         dl-procinfo.h.
7013 2013-06-11  Andreas Schwab  <schwab@suse.de>
7015         [BZ #14991]
7016         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7017         (from_ucs4_idx): Regenerate.
7018         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7019         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7020         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7021         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7022         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7023         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7024         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7025         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7026         from FROM_LOOP and TO_LOOP specific macros.
7027         (BODY): Handle combining characters.
7028         * iconvdata/BIG5HKSCS.irreversible: Update.
7029         * iconvdata/BIG5HKSCS.precomposed: New file.
7030         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7031         characters.
7032         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7034 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7036         * include/sys/time.h: Fix indentation and add copyright header.
7038         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7039         (do_test): Likewise.
7040         * string/test-memchr.c (do_one_test): Likewise.
7041         (do_test): Likewise.
7042         * string/test-memcmp.c (do_one_test): Likewise.
7043         (do_test): Likewise.
7044         * string/test-memcpy.c (do_one_test): Likewise.
7045         (do_test): Likewise.
7046         * string/test-memmem.c (do_one_test): Likewise.
7047         (do_test): Likewise.
7048         (do_random_tests): Likewise.
7049         * string/test-memmove.c (do_one_test): Likewise.
7050         (do_test): Likewise.
7051         * string/test-memset.c (do_one_test): Likewise.
7052         (do_test): Likewise.
7053         * string/test-rawmemchr.c (do_one_test): Likewise.
7054         (do_test): Likewise.
7055         * string/test-strcasecmp.c (do_one_test): Likewise.
7056         (do_test): Likewise.
7057         * string/test-strcasestr.c (do_one_test): Likewise.
7058         (do_test): Likewise.
7059         * string/test-strcat.c (do_one_test): Likewise.
7060         (do_test): Likewise.
7061         * string/test-strchr.c (do_one_test): Likewise.
7062         (do_test): Likewise.
7063         * string/test-strcmp.c (do_one_test): Likewise.
7064         (do_test): Likewise.
7065         * string/test-strcpy.c (do_one_test): Likewise.
7066         (do_test): Likewise.
7067         * string/test-string.h: Likewise.
7068         (test_init): Likewise.
7069         * string/test-strlen.c (do_one_test): Likewise.
7070         (do_test): Likewise.
7071         * string/test-strncasecmp.c (do_one_test): Likewise.
7072         (do_test): Likewise.
7073         * string/test-strncat.c (do_one_test): Likewise.
7074         (do_test): Likewise.
7075         * string/test-strncmp.c (do_one_test): Likewise.
7076         (do_test_limit): Likewise.
7077         (do_test): Likewise.
7078         * string/test-strncpy.c (do_one_test): Likewise.
7079         (do_test): Likewise.
7080         * string/test-strnlen.c (do_one_test): Likewise.
7081         (do_test): Likewise.
7082         * string/test-strpbrk.c (do_one_test): Likewise.
7083         (do_test): Likewise.
7084         * string/test-strrchr.c (do_one_test): Likewise.
7085         (do_test): Likewise.
7086         * string/test-strspn.c (do_one_test): Likewise.
7087         (do_test): Likewise.
7088         * string/test-strstr.c (do_one_test): Likewise.
7089         (do_test): Likewise.
7091         * benchtests/Makefile (string-bench): Add string benchmarks.
7092         * benchtests/bench-bcopy-ifunc.c: New file.
7093         * benchtests/bench-bcopy.c: New file.
7094         * benchtests/bench-bzero-ifunc.c: New file.
7095         * benchtests/bench-bzero.c: New file.
7096         * benchtests/bench-memccpy-ifunc.c: New file.
7097         * benchtests/bench-memccpy.c: New file.
7098         * benchtests/bench-memchr-ifunc.c: New file.
7099         * benchtests/bench-memchr.c: New file.
7100         * benchtests/bench-memcmp-ifunc.c: New file.
7101         * benchtests/bench-memcmp.c: New file.
7102         * benchtests/bench-memmem-ifunc.c: New file.
7103         * benchtests/bench-memmem.c: New file.
7104         * benchtests/bench-memmove-ifunc.c: New file.
7105         * benchtests/bench-memmove.c: New file.
7106         * benchtests/bench-mempcpy-ifunc.c: New file.
7107         * benchtests/bench-mempcpy.c: New file.
7108         * benchtests/bench-memset-ifunc.c: New file.
7109         * benchtests/bench-memset.c: New file.
7110         * benchtests/bench-rawmemchr-ifunc.c: New file.
7111         * benchtests/bench-rawmemchr.c: New file.
7112         * benchtests/bench-stpcpy-ifunc.c: New file.
7113         * benchtests/bench-stpcpy.c: New file.
7114         * benchtests/bench-stpncpy-ifunc.c: New file.
7115         * benchtests/bench-stpncpy.c: New file.
7116         * benchtests/bench-strcasecmp-ifunc.c: New file.
7117         * benchtests/bench-strcasecmp.c: New file.
7118         * benchtests/bench-strcasestr-ifunc.c: New file.
7119         * benchtests/bench-strcasestr.c: New file.
7120         * benchtests/bench-strcat-ifunc.c: New file.
7121         * benchtests/bench-strcat.c: New file.
7122         * benchtests/bench-strchr-ifunc.c: New file.
7123         * benchtests/bench-strchr.c: New file.
7124         * benchtests/bench-strchrnul-ifunc.c: New file.
7125         * benchtests/bench-strchrnul.c: New file.
7126         * benchtests/bench-strcmp-ifunc.c: New file.
7127         * benchtests/bench-strcmp.c: New file.
7128         * benchtests/bench-strcpy-ifunc.c: New file.
7129         * benchtests/bench-strcpy.c: New file.
7130         * benchtests/bench-strcspn-ifunc.c: New file.
7131         * benchtests/bench-strcspn.c: New file.
7132         * benchtests/bench-strlen-ifunc.c: New file.
7133         * benchtests/bench-strlen.c: New file.
7134         * benchtests/bench-strncasecmp-ifunc.c: New file.
7135         * benchtests/bench-strncasecmp.c: New file.
7136         * benchtests/bench-strncat-ifunc.c: New file.
7137         * benchtests/bench-strncat.c: New file.
7138         * benchtests/bench-strncmp-ifunc.c: New file.
7139         * benchtests/bench-strncmp.c: New file.
7140         * benchtests/bench-strncpy-ifunc.c: New file.
7141         * benchtests/bench-strncpy.c: New file.
7142         * benchtests/bench-strnlen-ifunc.c: New file.
7143         * benchtests/bench-strnlen.c: New file.
7144         * benchtests/bench-strpbrk-ifunc.c: New file.
7145         * benchtests/bench-strpbrk.c: New file.
7146         * benchtests/bench-strrchr-ifunc.c: New file.
7147         * benchtests/bench-strrchr.c: New file.
7148         * benchtests/bench-strspn-ifunc.c: New file.
7149         * benchtests/bench-strspn.c: New file.
7150         * benchtests/bench-strstr-ifunc.c: New file.
7151         * benchtests/bench-strstr.c: New file.
7153         * benchtests/Makefile: Disable parallel execution of targets.
7154         (string-bench): Add memcpy.
7155         (benchset): New variable to store a list of benchmark sets.
7156         (bench-func): Renamed from bench.
7157         (bench-set): New target.
7158         (bench): Depend on bench-func and bench-set.
7159         * benchtests/README: Add section on benchmark sets.
7160         * benchtests/bench-memcpy-ifunc.c: New file.
7161         * benchtests/bench-memcpy.c: New file.
7162         * benchtests/bench-string.h: New file.
7164 2013-06-11  Andreas Schwab  <schwab@suse.de>
7166         [BZ #15577]
7167         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7168         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7169         values in the triple.
7170         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7171         terminator in the group key.
7173 2013-06-11  Andreas Jaeger  <aj@suse.de>
7175         * po/zh_TW.po: Update Chinese (traditional) translation from
7176         translation project.
7178 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7180         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7181         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7182         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7183         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7184         (clock_getcpuclockid): Likewise.
7185         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7186         Add weak_alias and libc_hidden_def.
7187         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7188         * rt/clock_gettime.c (clock_gettime): Rename to
7189         __clock_gettime.  Add weak_alias and libc_hidden_def.
7190         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7191         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7192         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7193         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7194         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7195         Likewise.
7196         * rt/clock_settime.c (clock_settime): Rename to
7197         __clock_settime.  Add weak_alias and libc_hidden_def.
7198         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7200 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7202         * mach/err_boot.sub: Remove trailing whitespace.
7203         * mach/err_ipc.sub: Likewise.
7204         * mach/err_mach.sub: Likewise.
7206         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7207         (ROUNDING_TESTS_double): Likewise.
7208         (ROUNDING_TESTS_long_double): Likewise.
7209         (ROUNDING_TESTS): Likewise.
7210         * math/libm-test.inc: Include <math-tests.h>.
7211         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7212         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7213         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7214         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7216 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7218         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7219         of assigning.
7221 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7223         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7224         otherwise empty TRANS lines.
7225         * sysdeps/gnu/errlist.c: Regenerated.
7227         * catgets/gencat.c (error_print): Use (void) in function
7228         definition.
7229         * crypt/crypt_util.c (__init_des): Likewise.
7230         * crypt/speeds.c (Stop): Likewise.
7231         (main): Likewise.
7232         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7233         * inet/ruserpass.c (token): Likewise.
7234         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7235         * intl/localealias.c (extend_alias_table): Likewise.
7236         * intl/plural-exp.c (init_germanic_plural): Likewise.
7237         * libio/fcloseall.c (__fcloseall): Likewise.
7238         * libio/genops.c (_IO_flush_all): Likewise.
7239         (_IO_flush_all_linebuffered): Likewise.
7240         (_IO_cleanup): Likewise.
7241         (_IO_iter_begin): Likewise.
7242         (_IO_iter_end): Likewise.
7243         (_IO_list_lock): Likewise.
7244         (_IO_list_unlock): Likewise.
7245         (_IO_list_resetlock): Likewise.
7246         * libio/getchar.c (getchar): Likewise.
7247         * libio/getchar_u.c (getchar_unlocked): Likewise.
7248         * libio/getwchar.c (getwchar): Likewise.
7249         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7250         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7251         * login/getpt.c (__getpt): Likewise.
7252         * login/tst-utmp.c (main): Likewise.
7253         * malloc/hooks.c (__malloc_check_init): Likewise.
7254         * malloc/malloc.c (__malloc_stats): Likewise.
7255         * malloc/mtrace.c (tr_break): Likewise.
7256         (mtrace): Likewise.
7257         (muntrace): Likewise.
7258         * misc/fstab.c (endfsent): Likewise.
7259         * misc/getclktck.c (__getclktck): Likewise.
7260         * misc/getdtsz.c (__getdtablesize): Likewise.
7261         * misc/gethostid.c (gethostid): Likewise.
7262         * misc/getpagesize.c (__getpagesize): Likewise.
7263         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7264         (__get_nprocs): Likewise.
7265         (__get_phys_pages): Likewise.
7266         (__get_avphys_pages): Likewise.
7267         * misc/getttyent.c (getttyent): Likewise.
7268         (setttyent): Likewise.
7269         (endttyent): Likewise.
7270         * misc/getusershell.c (getusershell): Likewise.
7271         (endusershell): Likewise.
7272         (setusershell): Likewise.
7273         (initshells): Likewise.
7274         * misc/hsearch.c (__hdestroy): Likewise.
7275         * misc/sync.c (sync): Likewise.
7276         * misc/syslog.c (closelog_internal): Likewise.
7277         (closelog): Likewise.
7278         * misc/ttyslot.c (ttyslot): Likewise.
7279         * misc/vhangup.c (vhangup): Likewise.
7280         * posix/fork.c (__fork): Likewise.
7281         * posix/getegid.c (__getegid): Likewise.
7282         * posix/geteuid.c (__geteuid): Likewise.
7283         * posix/getgid.c (__getgid): Likewise.
7284         * posix/getpid.c (__getpid): Likewise.
7285         * posix/getppid.c (__getppid): Likewise.
7286         * posix/getuid.c (__getuid): Likewise.
7287         * posix/pause.c (pause): Likewise.
7288         * posix/setpgrp.c (setpgrp): Likewise.
7289         * posix/setsid.c (__setsid): Likewise.
7290         * posix/test-vfork.c (noop): Likewise.
7291         * resolv/gethnamaddr.c (_endhtent): Likewise.
7292         (_gethtent): Likewise.
7293         (ht_endhostent): Likewise.
7294         (gethostent): Likewise.
7295         (dns_service): Likewise.
7296         * stdlib/drand48.c (drand48): Likewise.
7297         * stdlib/lrand48.c (lrand48): Likewise.
7298         * stdlib/mrand48.c (mrand48): Likewise.
7299         * stdlib/rand.c (rand): Likewise.
7300         * stdlib/random.c (__random): Likewise.
7301         * stdlib/setenv.c (clearenv): Likewise.
7302         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7303         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7304         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7305         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7306         (__get_nprocs): Likewise.
7307         (__get_phys_pages): Likewise.
7308         (__get_avphys_pages): Likewise.
7309         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7310         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7311         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7312         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7313         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7314         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7315         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7316         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7317         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7318         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7319         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7320         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7321         * sysdeps/posix/clock.c (clock): Likewise.
7322         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7323         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7324         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7325         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7326         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7327         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7328         (__get_nprocs_conf): Likewise.
7329         (__get_phys_pages): Likewise.
7330         (__get_avphys_pages): Likewise.
7331         * time/clock.c (clock): Likewise.
7332         * time/tzset.c (__tzname_max): Likewise.
7334 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7336         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7337         (__bswap_32): Do not use "register".
7338         * crypt/crypt.c (_ufc_doit_r): Likewise.
7339         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7340         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7341         * gmon/gmon.c (__monstartup): Likewise.
7342         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7343         * hurd/hurdmalloc.c (more_memory): Likewise.
7344         (malloc): Likewise.
7345         (free): Likewise.
7346         (realloc): Likewise.
7347         (malloc_fork_prepare): Likewise.
7348         (malloc_fork_parent): Likewise.
7349         (malloc_fork_child): Likewise.
7350         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7351         (_svcauth_des): Likewise.
7352         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7353         * inet/inet_net.c (inet_network): Likewise.
7354         * inet/inet_netof.c (inet_netof): Likewise.
7355         * inet/rcmd.c (__validuser2_sa): Likewise.
7356         * io/fts.c (fts_open): Likewise.
7357         (fts_load): Likewise.
7358         (fts_close): Likewise.
7359         (fts_read): Likewise.
7360         (fts_children): Likewise.
7361         (fts_build): Likewise.
7362         (fts_stat): Likewise.
7363         (fts_sort): Likewise.
7364         (fts_alloc): Likewise.
7365         (fts_lfree): Likewise.
7366         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7367         (_IO_file_xsgetn): Likewise.
7368         (_IO_file_xsgetn_mmap): Likewise.
7369         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7370         (_IO_cookie_write): Likewise.
7371         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7372         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7373         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7374         * malloc/obstack.c (_obstack_begin): Likewise.
7375         (_obstack_begin_1): Likewise.
7376         (_obstack_newchunk): Likewise.
7377         (_obstack_allocated_p): Likewise.
7378         (obstack_free): Likewise.
7379         (_obstack_memory_used): Likewise.
7380         * misc/getttyent.c (getttynam): Likewise.
7381         (getttyent): Likewise.
7382         (skip): Likewise.
7383         (value): Likewise.
7384         * misc/getusershell.c (initshells): Likewise.
7385         * misc/syslog.c (__vsyslog_chk): Likewise.
7386         * misc/ttyslot.c (ttyslot): Likewise.
7387         * nis/nis_hash.c (__nis_hash): Likewise.
7388         * posix/fnmatch_loop.c (FCT): Likewise.
7389         * posix/getconf.c (print_all): Likewise.
7390         (main): Likewise.
7391         * posix/getopt.c (exchange): Likewise.
7392         * posix/glob.c (globfree): Likewise.
7393         (prefix_array): Likewise.
7394         (__glob_pattern_type): Likewise.
7395         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7396         (NS_GET32): Likewise.
7397         (NS_PUT16): Likewise.
7398         (NS_PUT32): Likewise.
7399         * resolv/gethnamaddr.c (getanswer): Likewise.
7400         (gethostbyname2): Likewise.
7401         (gethostbyaddr): Likewise.
7402         (_gethtent): Likewise.
7403         (_gethtbyname2): Likewise.
7404         (_gethtbyaddr): Likewise.
7405         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7406         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7407         * resolv/res_init.c (__res_vinit): Likewise.
7408         (net_mask): Likewise.
7409         * resolv/res_mkquery.c (outchar): Likewise.
7410         (PRINT): Likewise.
7411         * stdio-common/printf_fp.c (outchar): Likewise.
7412         (PRINT): Likewise.
7413         * stdio-common/printf_fphex.c (outchar): Likewise.
7414         (PRINT): Likewise.
7415         * stdio-common/printf_size.c (outchar): Likewise.
7416         (PRINT): Likewise.
7417         * stdio-common/test_rdwr.c (main): Likewise.
7418         * stdio-common/tfformat.c (matches): Likewise.
7419         * stdio-common/vfprintf.c (outchar): Likewise.
7420         (printf_unknown): Likewise.
7421         (buffered_vfprintf): Likewise.
7422         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7423         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7424         (ReadFile): Likewise.
7425         * stdlib/qsort.c (SWAP): Likewise.
7426         (_quicksort): Likewise.
7427         * stdlib/setenv.c (__add_to_environ): Likewise.
7428         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7429         * stdlib/strtol_l.c (__strtol_l): Likewise.
7430         * stdlib/tst-strtod.c (main): Likewise.
7431         * stdlib/tst-strtol.c (main): Likewise.
7432         * stdlib/tst-strtoll.c (main): Likewise.
7433         * string/bits/string2.h (__strcmp_cc): Likewise.
7434         (__strcmp_cg): Likewise.
7435         (__strcspn_c1): Likewise.
7436         (__strcspn_c2): Likewise.
7437         (__strcspn_c3): Likewise.
7438         (__strspn_c1): Likewise.
7439         (__strspn_c2): Likewise.
7440         (__strspn_c3): Likewise.
7441         (__strsep_1c): Likewise.
7442         (__strsep_2c): Likewise.
7443         (__strsep_3c): Likewise.
7444         * string/memccpy.c (__memccpy): Likewise.
7445         * string/stpcpy.c (__stpcpy): Likewise.
7446         * string/strcmp.c (strcmp): Likewise.
7447         * string/strrchr.c (strrchr): Likewise.
7448         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7449         Likewise.
7450         * sysdeps/mach/hurd/getcwd.c
7451         (_hurd_canonicalize_directory_name_internal): Likewise.
7452         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7453         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7454         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7455         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7456         Likewise, in both definitions.
7457         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7458         definitions.
7459         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7460         64] (__bswap_64): Likewise.
7461         * time/test_time.c (main): Likewise.
7462         * time/tzfile.c (__tzfile_read): Likewise.
7463         (__tzfile_compute): Likewise.
7464         * time/tzset.c (__tzset_parse_tz): Likewise.
7465         (tzset_internal): Likewise.
7466         (compute_change): Likewise.
7467         * wcsmbs/wcscat.c (__wcscat): Likewise.
7468         * wcsmbs/wcschr.c (wcschr): Likewise.
7469         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7470         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7471         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7472         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7473         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7474         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7475         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7476         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7477         * wcsmbs/wmemset.c (wmemset): Likewise.
7479 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7481         * scripts/config.guess: Update to version 2013-05-16.
7482         * scripts/config.sub: Update to version 2013-04-24.
7483         * scripts/install-sh: Update to version 2011-11-20.07.
7484         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7485         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7487 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7489         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7490         * elf/sln.c: Likewise.
7491         * hurd/hurd/ioctl.h: Likewise.
7492         * hurd/hurdmalloc.c: Likewise.
7493         * hurd/xattr.c: Likewise.
7494         * include/shlib-compat.h: Likewise.
7495         * inet/ruserpass.c: Likewise.
7496         * libio/iofgets_u.c: Likewise.
7497         * libio/iofgetws_u.c: Likewise.
7498         * locale/programs/ld-identification.c: Likewise.
7499         * locale/programs/ld-time.c: Likewise.
7500         * mach/msg-destroy.c: Likewise.
7501         * nss/nss_files/files-netgrp.c: Likewise.
7502         * resolv/res_data.c: Likewise.
7503         * soft-fp/op-1.h: Likewise.
7504         * soft-fp/op-2.h: Likewise.
7505         * soft-fp/op-4.h: Likewise.
7506         * soft-fp/op-common.h: Likewise.
7507         * stdio-common/printf_fphex.c: Likewise.
7508         * stdlib/strtod_l.c: Likewise.
7509         * sunrpc/rpc/clnt.h: Likewise.
7510         * sysdeps/generic/framestate.c: Likewise.
7511         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7512         * sysdeps/i386/bsd-setjmp.S: Likewise.
7513         * sysdeps/i386/__longjmp.S: Likewise.
7514         * sysdeps/i386/setjmp.S: Likewise.
7515         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7516         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7517         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7518         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7519         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7520         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7521         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7522         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7523         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7524         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7525         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7526         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7527         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7528         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7529         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7530         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7531         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7532         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7533         * sysdeps/ieee754/support.c: Likewise.
7534         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7535         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7536         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7537         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7538         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7539         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7540         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7541         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7542         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7543         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7544         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7545         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7546         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7547         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7548         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7549         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7550         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7553 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7555         * posix/transbug.c: Remove executable mode.
7557 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7559         * crypt/speeds.c: Remove trailing whitespace.
7560         * dlfcn/default.c: Likewise.
7561         * elf/ifuncdep2.c: Likewise.
7562         * elf/ifuncmain1.c: Likewise.
7563         * elf/ifuncmain1vis.c: Likewise.
7564         * elf/testobj.h: Likewise.
7565         * elf/tst-stackguard1.c: Likewise.
7566         * gmon/sys/gmon.h: Likewise.
7567         * hurd/hurdmsg.c: Likewise.
7568         * hurd/new-fd.c: Likewise.
7569         * hurd/ports-get.c: Likewise.
7570         * iconvdata/ibm1008_420.c: Likewise.
7571         * inet/tst-getni1.c: Likewise.
7572         * inet/tst-getni2.c: Likewise.
7573         * libio/ioungetc.c: Likewise.
7574         * libio/wfiledoalloc.c: Likewise.
7575         * manual/libm-err-tab.pl: Likewise.
7576         * math/w_dremf.c: Likewise.
7577         * misc/ftruncate.c: Likewise.
7578         * posix/bug-glob2.c: Likewise.
7579         * posix/tst-pcre.c: Likewise.
7580         * posix/wait4.c: Likewise.
7581         * resolv/README: Likewise.
7582         * resolv/res_debug.h: Likewise.
7583         * resolv/tst-inet_ntop.c: Likewise.
7584         * setjmp/bug269-setjmp.c: Likewise.
7585         * soft-fp/extended.h: Likewise.
7586         * soft-fp/op-1.h: Likewise.
7587         * soft-fp/op-2.h: Likewise.
7588         * soft-fp/op-4.h: Likewise.
7589         * soft-fp/op-8.h: Likewise.
7590         * soft-fp/testit.c: Likewise.
7591         * stdio-common/bug16.c: Likewise.
7592         * stdlib/random.c: Likewise.
7593         * sunrpc/rpcsvc/rquota.x: Likewise.
7594         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7595         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7596         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7597         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7598         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7599         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7600         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7601         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7602         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7603         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7604         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7605         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7606         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7607         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7608         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7609         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7610         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7611         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7612         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7613         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7614         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7615         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7616         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7617         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7618         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7619         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7620         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7621         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7622         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7623         * sysdeps/ieee754/s_lib_version.c: Likewise.
7624         * sysdeps/mach/hurd/check_fds.c: Likewise.
7625         * sysdeps/mach/hurd/getsockname.c: Likewise.
7626         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7627         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7628         * sysdeps/powerpc/bits/link.h: Likewise.
7629         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7630         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7631         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7632         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7633         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7634         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7635         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7636         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7637         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7638         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7639         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7640         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7641         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7642         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7643         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7644         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7645         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7646         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7647         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7648         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7649         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7650         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7651         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7652         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7653         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7654         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7655         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7656         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7657         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7658         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7659         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7660         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7661         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7662         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7663         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7664         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7665         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7666         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7667         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7668         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7669         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7670         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7671         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7672         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7673         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7674         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7675         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7676         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7677         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7678         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7679         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7680         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7681         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7682         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7683         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7684         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7685         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7686         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7687         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7688         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7689         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7690         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7691         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7692         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7693         * sysdeps/powerpc/sysdep.h: Likewise.
7694         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7695         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7696         * sysdeps/sh/dl-trampoline.S: Likewise.
7697         * sysdeps/sh/memset.S: Likewise.
7698         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7699         * sysdeps/sh/strlen.S: Likewise.
7700         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7701         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7702         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7703         * sysdeps/sparc/sparc32/rem.S: Likewise.
7704         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7705         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7706         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7707         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7708         * sysdeps/sparc/sparc32/urem.S: Likewise.
7709         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7710         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7711         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7712         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7713         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7714         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7715         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7716         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7717         * sysdeps/unix/bsd/times.c: Likewise.
7718         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7719         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7723         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7724         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7725         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7726         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7727         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7728         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7729         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7730         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7731         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7732         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7733         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7734         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7735         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7736         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7737         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7738         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7739         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7740         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7741         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7742         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7743         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7744         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7745         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7746         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7747         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7748         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7749         * sysdeps/x86_64/strcspn.S: Likewise.
7751 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7753         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7754         generated file.  Regenerate properly from gen-translit.pl.
7755         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7756         locale/C-translit.h.
7758 2013-06-05  Andreas Schwab  <schwab@suse.de>
7760         [BZ #15100]
7761         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7762         week as 6 instead of -1.
7763         * time/tst-strptime.c (day_tests): Add test case.
7765 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7767         * sysdeps/generic/math_private.h
7768         (libc_feholdexcept_setround_53bit): Replace with
7769         libc_feholdsetround_53bit.
7770         (libc_feupdateenv_53bit): Replace with
7771         libc_feresetround_53bit.
7772         (SET_RESTORE_ROUND_53BIT): Adjust.
7774 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7776         * string/test-strchrnul.c: Add copyright header.
7778         * posix/tst-getaddrinfo4.c: Increase test timeout.
7780 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7782         [BZ #15536]
7783         * math/libm-test.inc (MAX_EXP): Remove
7784         (MIN_EXP): Define.
7785         (ulp): Use MIN_EXP - MANT_DIG.
7786         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7788 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7790         * po/be.po: Revert last change.
7791         * po/zh_CN.po: Likewise.
7792         * po/header.pot: Likewise.
7794 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7796         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7797         link-libc-deps to empty as target-specific variable.
7798         * Makerules (link-libc-args): New variable.
7799         (libc-for-link): Likewise.
7800         (link-libc-deps): Likewise.
7801         (lib%.so): Depend on $(link-libc-deps).  Link with
7802         $(link-libc-args).
7803         (build-module): Link with $(link-libc-args).
7804         (build-module-asneeded): Likewise.
7805         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7806         list of objects.
7807         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7808         target-specific variable.
7809         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7810         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7811         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7812         libc.
7813         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7814         libc and ld.so.
7815         ($(objpfx)libpcprofile.so): Likewise.
7816         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7817         libc_nonshared.a.
7818         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7819         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7820         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7821         $(link-libc-deps).
7822         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7823         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7824         * login/Makefile ($(objpfx)libutil.so): Likewise.
7825         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7826         * math/Makefile ($(objpfx)libm.so): Likewise.
7827         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7828         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7829         variable instead of depending directly on libc.
7830         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7831         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7832         $(link-libc-deps).
7833         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7834         libc.
7835         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7836         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7837         ($(objpfx)libanl.so): Likewise.
7838         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7839         ld.so.
7840         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7841         $(link-libc-deps).
7842         * sysdeps/i386/fpu/Makefile: Remove file.
7843         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7844         ($(objpfx)libm.so): Remove dependency on ld.so.
7846 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7848         [BZ # 15553]
7849         * nis/yp_xdr.c (XDRMAXNAME): Define.
7850         (XDRMAXRECORD): Define.
7851         (xdr_domainname): Use XDRMAXNAME.
7852         (xdr_mapname): Likewise.
7853         (xdr_peername): Likewise.
7854         (xdr_keydat): Use XDRMAXRECORD.
7855         (xdr_valdat): Likewise.
7857 2013-05-30  Jeff Law  <law@redhat.com>
7859         [BZ #14256]
7860         * manual/errno.texi (ESTALE): Update to account for more than
7861         just NFS file systems.
7862         * sysdeps/gnu/errlist.c: Regenerated.
7864 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7866         [BZ #15465]
7867         * elf/Makefile (tests): Add tst-null-argv.
7868         (modules-names):  Add tst-null-argv-lib.
7869         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7870         (tst-null-argv-ENV): Set environment for tst-null-argv.
7871         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7872         (RTLD_PROGNAME): New macro.
7873         * elf/tst-null-argv.c: New test case.
7874         * elf/tst-null-argv-lib.c: Library for test case.
7875         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7876         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7877         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7878         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7879         * elf/dl-init.c (call_init): Likewise.
7880         (_dl_init): Likewise.
7881         * elf/dl-load.c (print_search_path): Likewise.
7882         (_dl_map_object): Likewise.
7883         * elf/dl-lookup.c (do_lookup_x): Likewise.
7884         (add_dependency): Likewise.
7885         (_dl_lookup_symbol_x): Likewise.
7886         (_dl_debug_bindings): Likewise.
7887         * elf/dl-open.c (_dl_show_scope): Likewise.
7888         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7889         * elf/dl-version.c (match_symbol): Likewise.
7890         (_dl_check_map_versions): Likewise.
7891         * elf/rtld.c (dl_main): Likewise.
7892         (print_unresolved): Use RTLD_PROGNAME.
7893         (print_missing_version): Likewise.
7894         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7895         (elf_machine_rela): Likewise.
7896         * sysdeps/powerpc/powerpc32/dl-machine.c
7897         (__process_machine_rela): Likewise.
7898         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7899         Likewise.
7900         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7901         Likewise.
7902         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7903         Likewise.
7904         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7905         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7906         Likewise.
7907         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7908         Likewise.
7909         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7911 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7913         * po/be.po: Add descriptive title.
7914         * po/zh_CN.po: Likewise.
7915         * po/header.pot: Likewise.
7917 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7919         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7920         error message.
7921         (enlarge_archive): Likewise.
7923 2013-05-28  Ben North  <ben@redfrontdoor.org>
7925         * manual/arith.texi (frexp): It is the magnitude of the return
7926         value which lies in [0.5, 1), not the return value itself.
7928 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7932 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7934         * stdio-common/bug26.c (main): Correct fscanf template.
7936         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7937         declare _dl_skip_args.
7939         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7940         Don't declare.
7942         * manual/platform.texi: Add missing @end deftypefun.
7944 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7946         [BZ #15529]
7947         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7948         bit of mantissa of 2^16382.
7949         * math/libm-test.inc (hypot_test_data): Add more tests.
7951         * math/libm-test.inc: Add drem and pow10 to list of tested
7952         functions.
7953         (pow10_test): New function.
7954         (drem_test): Likewise.
7955         (drem_test_tonearest): Likewise.
7956         (drem_test_towardzero): Likewise.
7957         (drem_test_downward): Likewise.
7958         (drem_test_upward): Likewise.
7959         (main): Call the new functions.
7961         * math/libm-test.inc (finite_test_data): Remove.
7962         (finite_test): Run tests from isfinite_test_data.
7963         (gamma_test_data): Remove.
7964         (gamma_test): Run tests from lgamma_test_data.
7965         * sysdeps/i386/fpu/libm-test-ulps: Update.
7966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7968 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7970         * manual/platform.texi: Add PowerPC PPR function set documentation.
7971         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7972         implementation.
7974 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7976         * math/libm-test.inc (MAX_EXP): Define.
7977         (ULPDIFF): Define.
7978         (ulp): New function.
7979         (check_float_internal): Use ULPDIFF.
7980         (cpow_test): Disable failing test.
7981         (check_ulp): Test ulp() implemetnation.
7982         (main): Call check_ulp before starting tests.
7984 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7986         * math/gen-libm-test.pl (generate_testfile): Do not handle
7987         START_DATA and END_DATA.
7988         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7989         END_DATA.
7990         (acos_tonearest_test_data): Likewise.
7991         (acos_towardzero_test_data): Likewise.
7992         (acos_downward_test_data): Likewise.
7993         (acos_upward_test_data): Likewise.
7994         (acosh_test_data): Likewise.
7995         (asin_test_data): Likewise.
7996         (asin_tonearest_test_data): Likewise.
7997         (asin_towardzero_test_data): Likewise.
7998         (asin_downward_test_data): Likewise.
7999         (asin_upward_test_data): Likewise.
8000         (asinh_test_data): Likewise.
8001         (atan_test_data): Likewise.
8002         (atanh_test_data): Likewise.
8003         (atan2_test_data): Likewise.
8004         (cabs_test_data): Likewise.
8005         (cacos_test_data): Likewise.
8006         (cacosh_test_data): Likewise.
8007         (carg_test_data): Likewise.
8008         (casin_test_data): Likewise.
8009         (casinh_test_data): Likewise.
8010         (catan_test_data): Likewise.
8011         (catanh_test_data): Likewise.
8012         (cbrt_test_data): Likewise.
8013         (ccos_test_data): Likewise.
8014         (ccosh_test_data): Likewise.
8015         (ceil_test_data): Likewise.
8016         (cexp_test_data): Likewise.
8017         (cimag_test_data): Likewise.
8018         (clog_test_data): Likewise.
8019         (clog10_test_data): Likewise.
8020         (conj_test_data): Likewise.
8021         (copysign_test_data): Likewise.
8022         (cos_test_data): Likewise.
8023         (cos_tonearest_test_data): Likewise.
8024         (cos_towardzero_test_data): Likewise.
8025         (cos_downward_test_data): Likewise.
8026         (cos_upward_test_data): Likewise.
8027         (cosh_test_data): Likewise.
8028         (cosh_tonearest_test_data): Likewise.
8029         (cosh_towardzero_test_data): Likewise.
8030         (cosh_downward_test_data): Likewise.
8031         (cosh_upward_test_data): Likewise.
8032         (cpow_test_data): Likewise.
8033         (cproj_test_data): Likewise.
8034         (creal_test_data): Likewise.
8035         (csin_test_data): Likewise.
8036         (csinh_test_data): Likewise.
8037         (csqrt_test_data): Likewise.
8038         (ctan_test_data): Likewise.
8039         (ctan_tonearest_test_data): Likewise.
8040         (ctan_towardzero_test_data): Likewise.
8041         (ctan_downward_test_data): Likewise.
8042         (ctan_upward_test_data): Likewise.
8043         (ctanh_test_data): Likewise.
8044         (ctanh_tonearest_test_data): Likewise.
8045         (ctanh_towardzero_test_data): Likewise.
8046         (ctanh_downward_test_data): Likewise.
8047         (ctanh_upward_test_data): Likewise.
8048         (erf_test_data): Likewise.
8049         (erfc_test_data): Likewise.
8050         (exp_test_data): Likewise.
8051         (exp_tonearest_test_data): Likewise.
8052         (exp_towardzero_test_data): Likewise.
8053         (exp_downward_test_data): Likewise.
8054         (exp_upward_test_data): Likewise.
8055         (exp10_test_data): Likewise.
8056         (exp2_test_data): Likewise.
8057         (expm1_test_data): Likewise.
8058         (fabs_test_data): Likewise.
8059         (fdim_test_data): Likewise.
8060         (finite_test_data): Likewise.
8061         (floor_test_data): Likewise.
8062         (fma_test_data): Likewise.
8063         (fma_towardzero_test_data): Likewise.
8064         (fma_downward_test_data): Likewise.
8065         (fma_upward_test_data): Likewise.
8066         (fmax_test_data): Likewise.
8067         (fmin_test_data): Likewise.
8068         (fmod_test_data): Likewise.
8069         (fpclassify_test_data): Likewise.
8070         (frexp_test_data): Likewise.
8071         (gamma_test_data): Likewise.
8072         (hypot_test_data): Likewise.
8073         (ilogb_test_data): Likewise.
8074         (isfinite_test_data): Likewise.
8075         (isgreater_test_data): Likewise.
8076         (isgreaterequal_test_data): Likewise.
8077         (isinf_test_data): Likewise.
8078         (isless_test_data): Likewise.
8079         (islessequal_test_data): Likewise.
8080         (islessgreater_test_data): Likewise.
8081         (isnan_test_data): Likewise.
8082         (isnormal_test_data): Likewise.
8083         (issignaling_test_data): Likewise.
8084         (isunordered_test_data): Likewise.
8085         (j0_test_data): Likewise.
8086         (j1_test_data): Likewise.
8087         (jn_test_data): Likewise.
8088         (ldexp_test_data): Likewise.
8089         (lgamma_test_data): Likewise.
8090         (lrint_test_data): Likewise.
8091         (lrint_tonearest_test_data): Likewise.
8092         (lrint_towardzero_test_data): Likewise.
8093         (lrint_downward_test_data): Likewise.
8094         (lrint_upward_test_data): Likewise.
8095         (llrint_test_data): Likewise.
8096         (llrint_tonearest_test_data): Likewise.
8097         (llrint_towardzero_test_data): Likewise.
8098         (llrint_downward_test_data): Likewise.
8099         (llrint_upward_test_data): Likewise.
8100         (log_test_data): Likewise.
8101         (log10_test_data): Likewise.
8102         (log1p_test_data): Likewise.
8103         (log2_test_data): Likewise.
8104         (logb_test_data): Likewise.
8105         (logb_downward_test_data): Likewise.
8106         (lround_test_data): Likewise.
8107         (llround_test_data): Likewise.
8108         (modf_test_data): Likewise.
8109         (nearbyint_test_data): Likewise.
8110         (nextafter_test_data): Likewise.
8111         (nexttoward_test_data): Likewise.
8112         (pow_test_data): Likewise.
8113         (pow_tonearest_test_data): Likewise.
8114         (pow_towardzero_test_data): Likewise.
8115         (pow_downward_test_data): Likewise.
8116         (pow_upward_test_data): Likewise.
8117         (remainder_test_data): Likewise.
8118         (remainder_tonearest_test_data): Likewise.
8119         (remainder_towardzero_test_data): Likewise.
8120         (remainder_downward_test_data): Likewise.
8121         (remainder_upward_test_data): Likewise.
8122         (remquo_test_data): Likewise.
8123         (rint_test_data): Likewise.
8124         (rint_tonearest_test_data): Likewise.
8125         (rint_towardzero_test_data): Likewise.
8126         (rint_downward_test_data): Likewise.
8127         (rint_upward_test_data): Likewise.
8128         (round_test_data): Likewise.
8129         (scalb_test_data): Likewise.
8130         (scalbn_test_data): Likewise.
8131         (scalbln_test_data): Likewise.
8132         (signbit_test_data): Likewise.
8133         (sin_test_data): Likewise.
8134         (sin_tonearest_test_data): Likewise.
8135         (sin_towardzero_test_data): Likewise.
8136         (sin_downward_test_data): Likewise.
8137         (sin_upward_test_data): Likewise.
8138         (sincos_test_data): Likewise.
8139         (sinh_test_data): Likewise.
8140         (sinh_tonearest_test_data): Likewise.
8141         (sinh_towardzero_test_data): Likewise.
8142         (sinh_downward_test_data): Likewise.
8143         (sinh_upward_test_data): Likewise.
8144         (sqrt_test_data): Likewise.
8145         (tan_test_data): Likewise.
8146         (tan_tonearest_test_data): Likewise.
8147         (tan_towardzero_test_data): Likewise.
8148         (tan_downward_test_data): Likewise.
8149         (tan_upward_test_data): Likewise.
8150         (tanh_test_data): Likewise.
8151         (tgamma_test_data): Likewise.
8152         (trunc_test_data): Likewise.
8153         (y0_test_data): Likewise.
8154         (y1_test_data): Likewise.
8155         (yn_test_data): Likewise.
8156         (significand_test_data): Likewise.
8158         * math/gen-libm-test.pl (@functions): Remove variable.
8159         (generate_testfile): Don't handle START and END lines.
8160         * math/libm-test.inc (START): New macro.
8161         (END): Likewise.
8162         (END_COMPLEX): Likewise.
8163         (acos_test): Use END macro without arguments.
8164         (acos_test_tonearest): Likewise.
8165         (acos_test_towardzero): Likewise.
8166         (acos_test_downward): Likewise.
8167         (acos_test_upward): Likewise.
8168         (acosh_test): Likewise.
8169         (asin_test): Likewise.
8170         (asin_test_tonearest): Likewise.
8171         (asin_test_towardzero): Likewise.
8172         (asin_test_downward): Likewise.
8173         (asin_test_upward): Likewise.
8174         (asinh_test): Likewise.
8175         (atan_test): Likewise.
8176         (atanh_test): Likewise.
8177         (atan2_test): Likewise.
8178         (cabs_test): Likewise.
8179         (cacos_test): Use END_COMPLEX macro without arguments.
8180         (cacosh_test): Likewise.
8181         (carg_test): Use END macro without arguments.
8182         (casin_test): Use END_COMPLEX macro without arguments.
8183         (casinh_test): Likewise.
8184         (catan_test): Likewise.
8185         (catanh_test): Likewise.
8186         (cbrt_test): Use END macro without arguments.
8187         (ccos_test): Use END_COMPLEX macro without arguments.
8188         (ccosh_test): Likewise.
8189         (ceil_test): Use END macro without arguments.
8190         (cexp_test): Use END_COMPLEX macro without arguments.
8191         (cimag_test): Use END macro without arguments.
8192         (clog_test): Use END_COMPLEX macro without arguments.
8193         (clog10_test): Likewise.
8194         (conj_test): Likewise.
8195         (copysign_test): Use END macro without arguments.
8196         (cos_test): Likewise.
8197         (cos_test_tonearest): Likewise.
8198         (cos_test_towardzero): Likewise.
8199         (cos_test_downward): Likewise.
8200         (cos_test_upward): Likewise.
8201         (cosh_test): Likewise.
8202         (cosh_test_tonearest): Likewise.
8203         (cosh_test_towardzero): Likewise.
8204         (cosh_test_downward): Likewise.
8205         (cosh_test_upward): Likewise.
8206         (cpow_test): Use END_COMPLEX macro without arguments.
8207         (cproj_test): Likewise.
8208         (creal_test): Use END macro without arguments.
8209         (csin_test): Use END_COMPLEX macro without arguments.
8210         (csinh_test): Likewise.
8211         (csqrt_test): Likewise.
8212         (ctan_test): Likewise.
8213         (ctan_test_tonearest): Likewise.
8214         (ctan_test_towardzero): Likewise.
8215         (ctan_test_downward): Likewise.
8216         (ctan_test_upward): Likewise.
8217         (ctanh_test): Likewise.
8218         (ctanh_test_tonearest): Likewise.
8219         (ctanh_test_towardzero): Likewise.
8220         (ctanh_test_downward): Likewise.
8221         (ctanh_test_upward): Likewise.
8222         (erf_test): Use END macro without arguments.
8223         (erfc_test): Likewise.
8224         (exp_test): Likewise.
8225         (exp_test_tonearest): Likewise.
8226         (exp_test_towardzero): Likewise.
8227         (exp_test_downward): Likewise.
8228         (exp_test_upward): Likewise.
8229         (exp10_test): Likewise.
8230         (exp2_test): Likewise.
8231         (expm1_test): Likewise.
8232         (fabs_test): Likewise.
8233         (fdim_test): Likewise.
8234         (finite_test): Likewise.
8235         (floor_test): Likewise.
8236         (fma_test): Likewise.
8237         (fma_test_towardzero): Likewise.
8238         (fma_test_downward): Likewise.
8239         (fma_test_upward): Likewise.
8240         (fmax_test): Likewise.
8241         (fmin_test): Likewise.
8242         (fmod_test): Likewise.
8243         (fpclassify_test): Likewise.
8244         (frexp_test): Likewise.
8245         (gamma_test): Likewise.
8246         (hypot_test): Likewise.
8247         (ilogb_test): Likewise.
8248         (isfinite_test): Likewise.
8249         (isgreater_test): Likewise.
8250         (isgreaterequal_test): Likewise.
8251         (isinf_test): Likewise.
8252         (isless_test): Likewise.
8253         (islessequal_test): Likewise.
8254         (islessgreater_test): Likewise.
8255         (isnan_test): Likewise.
8256         (isnormal_test): Likewise.
8257         (issignaling_test): Likewise.
8258         (isunordered_test): Likewise.
8259         (j0_test): Likewise.
8260         (j1_test): Likewise.
8261         (jn_test): Likewise.
8262         (ldexp_test): Likewise.
8263         (lgamma_test): Likewise.
8264         (lrint_test): Likewise.
8265         (lrint_test_tonearest): Likewise.
8266         (lrint_test_towardzero): Likewise.
8267         (lrint_test_downward): Likewise.
8268         (lrint_test_upward): Likewise.
8269         (llrint_test): Likewise.
8270         (llrint_test_tonearest): Likewise.
8271         (llrint_test_towardzero): Likewise.
8272         (llrint_test_downward): Likewise.
8273         (llrint_test_upward): Likewise.
8274         (log_test): Likewise.
8275         (log10_test): Likewise.
8276         (log1p_test): Likewise.
8277         (log2_test): Likewise.
8278         (logb_test): Likewise.
8279         (logb_test_downward): Likewise.
8280         (lround_test): Likewise.
8281         (llround_test): Likewise.
8282         (modf_test): Likewise.
8283         (nearbyint_test): Likewise.
8284         (nextafter_test): Likewise.
8285         (nexttoward_test): Likewise.
8286         (pow_test): Likewise.
8287         (pow_test_tonearest): Likewise.
8288         (pow_test_towardzero): Likewise.
8289         (pow_test_downward): Likewise.
8290         (pow_test_upward): Likewise.
8291         (remainder_test): Likewise.
8292         (remainder_test_tonearest): Likewise.
8293         (remainder_test_towardzero): Likewise.
8294         (remainder_test_downward): Likewise.
8295         (remainder_test_upward): Likewise.
8296         (remquo_test): Likewise.
8297         (rint_test): Likewise.
8298         (rint_test_tonearest): Likewise.
8299         (rint_test_towardzero): Likewise.
8300         (rint_test_downward): Likewise.
8301         (rint_test_upward): Likewise.
8302         (round_test): Likewise.
8303         (scalb_test): Likewise.
8304         (scalbn_test): Likewise.
8305         (scalbln_test): Likewise.
8306         (signbit_test): Likewise.
8307         (sin_test): Likewise.
8308         (sin_test_tonearest): Likewise.
8309         (sin_test_towardzero): Likewise.
8310         (sin_test_downward): Likewise.
8311         (sin_test_upward): Likewise.
8312         (sincos_test): Likewise.
8313         (sinh_test): Likewise.
8314         (sinh_test_tonearest): Likewise.
8315         (sinh_test_towardzero): Likewise.
8316         (sinh_test_downward): Likewise.
8317         (sinh_test_upward): Likewise.
8318         (sqrt_test): Likewise.
8319         (tan_test): Likewise.
8320         (tan_test_tonearest): Likewise.
8321         (tan_test_towardzero): Likewise.
8322         (tan_test_downward): Likewise.
8323         (tan_test_upward): Likewise.
8324         (tanh_test): Likewise.
8325         (tgamma_test): Likewise.
8326         (trunc_test): Likewise.
8327         (y0_test): Likewise.
8328         (y1_test): Likewise.
8329         (yn_test): Likewise.
8330         (significand_test): Likewise.
8332 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8334         [BZ #15381]
8335         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8337 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8339         [BZ #14894]
8340         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8341         __ppc_mdoio and __ppc_mdoom.
8342         * manual/platform.texi: Document new functions __ppc_yield,
8343         __ppc_mdoio and __ppc_mdoom.
8345 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8347         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8348         (main): Mention "tls" pseudo-hwcap is legacy.
8349         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8351 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8353         * math/gen-libm-test.pl (parse_args): Output only string of
8354         arguments as text for test name, not full call or descriptions of
8355         tests for extra outputs.
8356         (generate_testfile): Do not pass function name to parse_args.
8357         Generate this_func variable from START.
8358         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8359         field to arg_str.
8360         (struct test_ff_f_data): Likewise.
8361         (test_ff_f_data_nexttoward): Likewise.
8362         (struct test_fi_f_data): Likewise.
8363         (struct test_fl_f_data): Likewise.
8364         (struct test_if_f_data): Likewise.
8365         (struct test_fff_f_data): Likewise.
8366         (struct test_c_f_data): Likewise.
8367         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8368         (struct test_fF_f1_data): Likewise.
8369         (struct test_ffI_f1_data): Likewise.
8370         (struct test_c_c_data): Rename test_name field to arg_str.
8371         (struct test_cc_c_data): Likewise.
8372         (struct test_f_i_data): Likewise.
8373         (struct test_ff_i_data): Likewise.
8374         (struct test_f_l_data): Likewise.
8375         (struct test_f_L_data): Likewise.
8376         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8377         and extra2_name.
8378         (COMMON_TEST_SETUP): New macro.
8379         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8380         (COMMON_TEST_CLEANUP): Likewise.
8381         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8382         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8383         macros.
8384         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8385         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8386         macros.
8387         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8388         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8389         cleanup macros.
8390         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8391         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8392         macros.
8393         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8394         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8395         macros.
8396         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8397         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8398         cleanup macros.
8399         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8400         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8401         cleanup macros.
8402         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8403         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8404         cleanup macros.
8405         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8406         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8407         macros.
8408         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8409         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8410         macros.
8411         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8412         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8413         macros.
8414         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8415         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8416         cleanup macros.
8417         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8418         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8419         cleanup macros.
8420         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8421         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8422         macros.
8423         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8424         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8425         cleanup macros.
8426         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8427         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8428         macros.
8429         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8430         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8431         macros.
8432         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8433         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8434         cleanup macros.
8435         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8437 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8439         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8440         to _sifields.sigfault.
8441         (si_addr_lsb): Define new macro.
8442         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8443         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8444         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8446 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8448         [BZ #15441]
8449         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8450         returns -1.
8451         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8452         null return -1.
8453         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8454         loading the domain.
8456 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8458         * math/gen-libm-test.pl (parse_args): Do not include expected
8459         result in test name.
8460         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8461         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8462         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8463         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8464         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8467 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8469         * benchtests/Makefile: Sort function entries.
8471         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8472         tanh, asinh, acosh, atanh.
8473         * benchtests/acos-inputs: New file.
8474         * benchtests/acosh-inputs: New file.
8475         * benchtests/asin-inputs: New file.
8476         * benchtests/asinh-inputs: New file.
8477         * benchtests/atanh-inputs: New file.
8478         * benchtests/cosh-inputs: New file.
8479         * benchtests/log-inputs: New file.
8480         * benchtests/sinh-inputs: New file.
8481         * benchtests/tanh-inputs: New file.
8483 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8485         [BZ #15339]
8486         * posix/tst-getaddrinfo4.c: New test.
8487         * posix/Makefile (tests): Add it.
8489 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8491         [BZ #15339]
8492         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8493         when no services were used.
8494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8495         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8497 2013-05-21  Andreas Schwab  <schwab@suse.de>
8499         [BZ #15014]
8500         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8501         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8502         successful.
8503         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8504         redundant variable declarations and reallocation of buffer when
8505         parsing as IPv6 address.  Always set NSS status when called from
8506         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8507         buffer too small.  Correct computation of needed size.
8508         * nss/Makefile (tests): Add test-digits-dots.
8509         * nss/test-digits-dots.c: New test.
8511 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8513         * benchtests/Makefile: Remove instructions for adding
8514         benchmark tests.
8515         * benchtests/README: New file to explain how to execute and
8516         enhance the benchmark tests.
8518 2013-05-21  Andreas Schwab  <schwab@suse.de>
8520         [BZ #15493]
8521         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8522         * setjmp/tst-sigsetjmp.c: New test.
8524 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8526         * sysdeps/x86_64/memset.S (memset): New implementation.
8527         (__bzero): Likewise.
8528         (__memset_tail): New function.
8530 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8532         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8533         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8534         __memcpy_sse2_unaligned ifunc selection.
8535         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8536         Add memcpy-sse2-unaligned.S.
8537         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8538         Add: __memcpy_sse2_unaligned.
8540 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8542         [BZ #15490]
8543         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8544         math_force_eval before restoring floating-point envrionment.
8545         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8546         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8547         Likewise.
8548         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8549         <math_private.h>.
8550         (__nearbyintl): Use math_force_eval before restoring
8551         floating-point environment.
8552         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8554         * math/gen-libm-test.pl (special_functions): Remove.
8555         (parse_args): Don't handle TEST_extra.  Handle functions with no
8556         return value.
8557         * math/libm-test.inc (struct test_sincos_data): Replace with
8558         struct test_fFF_11_data.
8559         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8560         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8561         (sincos_test_data): Change element type to struct
8562         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8563         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8564         RUN_TEST_LOOP_sincos.
8565         * math/README.libm-test: Don't mention special handling of
8566         individual functions.
8567         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8568         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8569         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8570         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8571         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8574         * math/gen-libm-test.pl (get_variable): Remove function.
8575         (parse_args): Don't show pointer parameters to call in test
8576         names.  Use "extra output N" in test names for extra outputs
8577         rather than naming variables.
8579 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8581         [BZ #15488]
8582         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8583         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8584         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8585         double tests.
8586         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8587         disable.
8588         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8589         check_long_double.
8591         * math/gen-libm-test.pl (@tests): Remove variable.
8592         ($count): Likewise.
8593         (new_test): Remove function.
8594         (show_exceptions): New function.
8595         (special_functions): Use show_exceptions instead of new_test.
8596         (parse_args): Likewise.
8597         (generate_testfile): Pass only function name in generated call to
8598         print_max_error or print_complex_max_error.
8599         (get_ulps): Do not handle complex tests specially.
8600         (output_test): Rename to ...
8601         (get_all_ulps_for_test): ... this.  Return a string rather than
8602         printing to a file.  Require ulps to be present.
8603         (output_ulps): Generate arrays rather than #defines.
8604         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8605         (struct ulp_data): New type.
8606         (BUILD_COMPLEX_ULP): Remove macro.
8607         (compare_ulp_data): New function.
8608         (find_ulps): Likewise.
8609         (find_test_ulps): Likewise.
8610         (find_function_ulps): Likewise.
8611         (find_complex_function_ulps): Likewise.
8612         (print_max_error): Determine allowed ulps using
8613         find_function_ulps.
8614         (print_complex_max_error): Determine allowed ulps using
8615         find_complex_function_ulps.
8616         (check_float_internal): Determine max ulps using find_test_ulps.
8617         (check_float): Do not take max_ulp parameter.  Update call to
8618         check_float_internal.
8619         (check_complex): Likewise.
8620         (check_int): Do not take max_ulp parameter.
8621         (check_long): Likewise.
8622         (check_bool): Likewise.
8623         (check_longlong): Likewise.
8624         (struct test_f_f_data): Remove max_ulp field.
8625         (struct test_ff_f_data): Likewise.
8626         (struct test_ff_f_data_nexttoward): Likewise.
8627         (struct test_fi_f_data): Likewise.
8628         (struct test_fl_f_data): Likewise.
8629         (struct test_if_f_data): Likewise.
8630         (struct test_fff_f_data): Likewise.
8631         (struct test_c_f_data): Likewise.
8632         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8633         (struct test_fF_f1_data): Likewise.
8634         (struct test_ffI_f1_data): Likewise.
8635         (struct test_c_c_data): Remove max_ulp field.
8636         (struct test_cc_c_data): Likewise.
8637         (struct test_f_i_data): Likewise.
8638         (struct test_ff_i_data): Likewise.
8639         (struct test_f_l_data): Likewise.
8640         (struct test_f_L_data): Likewise.
8641         (struct test_sincos_data): Likewise.
8642         (RUN_TEST_f_f): Do not handle ulps.
8643         (RUN_TEST_LOOP_f_f): Likewise.
8644         (RUN_TEST_2_f): Likewise.
8645         (RUN_TEST_LOOP_2_f): Likewise.
8646         (RUN_TEST_fff_f): Likewise.
8647         (RUN_TEST_LOOP_fff_f): Likewise.
8648         (RUN_TEST_c_f): Likewise.
8649         (RUN_TEST_LOOP_c_f): Likewise.
8650         (RUN_TEST_f_f1): Likewise.
8651         (RUN_TEST_LOOP_f_f1): Likewise.
8652         (RUN_TEST_fF_f1): Likewise.
8653         (RUN_TEST_LOOP_fF_f1): Likewise.
8654         (RUN_TEST_fI_f1): Likewise.
8655         (RUN_TEST_LOOP_fI_f1): Likewise.
8656         (RUN_TEST_ffI_f1): Likewise.
8657         (RUN_TEST_LOOP_ffI_f1): Likewise.
8658         (RUN_TEST_c_c): Likewise.
8659         (RUN_TEST_LOOP_c_c): Likewise.
8660         (RUN_TEST_cc_c): Likewise.
8661         (RUN_TEST_LOOP_cc_c): Likewise.
8662         (RUN_TEST_f_i): Likewise.
8663         (RUN_TEST_LOOP_f_i): Likewise.
8664         (RUN_TEST_f_i_tg): Likewise.
8665         (RUN_TEST_LOOP_f_i_tg): Likewise.
8666         (RUN_TEST_ff_i_tg): Likewise.
8667         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8668         (RUN_TEST_f_b): Likewise.
8669         (RUN_TEST_LOOP_f_b): Likewise.
8670         (RUN_TEST_f_b_tg): Likewise.
8671         (RUN_TEST_LOOP_f_b_tg): Likewise.
8672         (RUN_TEST_f_l): Likewise.
8673         (RUN_TEST_LOOP_f_l): Likewise.
8674         (RUN_TEST_f_L): Likewise.
8675         (RUN_TEST_LOOP_f_L): Likewise.
8676         (RUN_TEST_sincos): Likewise.
8677         (RUN_TEST_LOOP_sincos): Likewise.
8679 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8681         [BZ #15480]
8682         [BZ #15485]
8683         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8684         main case of finite arguments, set rounding mode to FE_TONEAREST
8685         and discard exceptions.
8686         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8687         exceptions.
8688         (remainder_tonearest_test_data): New variable.
8689         (remainder_test_tonearest): New function.
8690         (remainder_towardzero_test_data): New variable.
8691         (remainder_test_towardzero): New function.
8692         (remainder_downward_test_data): New variable.
8693         (remainder_test_downward): New function.
8694         (remainder_upward_test_data): New variable.
8695         (remainder_test_upward): New function.
8696         (main): Call the new test functions.
8698         * math/libm-test.inc (struct test_f_f1_data): Remove field
8699         extra_init.
8700         (struct test_fF_f1_data): Likewise.
8701         (struct test_ffI_f1_data): Likewise.
8702         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8703         based on value of EXTRA_EXPECTED.
8704         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8705         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8706         EXTRA_VAR based on value of EXTRA_EXPECTED.
8707         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8708         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8709         EXTRA_VAR based on value of EXTRA_EXPECTED.
8710         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8711         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8712         EXTRA_VAR based on value of EXTRA_EXPECTED.
8713         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8714         * math/gen-libm-test.pl (parse_args): Don't output initializers
8715         for extra output values.
8717         * math/libm-test.inc (check_int): Expect result to be exactly
8718         equal to expected value and do not handle ulps.
8719         (check_long): Likewise.
8720         (check_longlong): Likewise.
8722         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8723         exceptions.
8724         (cimag_test_data): Likewise.
8725         (conj_test_data): Likewise.
8726         (copysign_test_data): Likewise.
8727         (cproj_test_data): Likewise.
8728         (creal_test_data): Likewise.
8729         (fabs_test_data): Likewise.
8730         (fdim_test_data): Likewise.
8731         (finite_test_data): Likewise.
8732         (floor_test_data): Likewise.
8733         (fmax_test_data): Likewise.
8734         (fmin_test_data): Likewise.
8735         (fmod_test_data): Likewise.
8736         (fpclassify_test_data): Likewise.
8737         (frexp_test_data): Likewise.
8738         (ilogb_test_data): Likewise.
8739         (isfinite_test_data): Likewise.
8740         (isgreater_test_data): Likewise.
8741         (isgreaterequal_test_data): Likewise.
8742         (isinf_test_data): Likewise.
8743         (isless_test_data): Likewise.
8744         (islessequal_test_data): Likewise.
8745         (islessgreater_test_data): Likewise.
8746         (isnan_test_data): Likewise.
8747         (isnormal_test_data): Likewise.
8748         (issignaling_test_data): Likewise.
8749         (isunordered_test_data): Likewise.
8750         (ldexp_test_data): Likewise.
8751         (lrint_test_data): Likewise.
8752         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8753         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8754         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8755         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8756         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8757         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8758         test input.
8759         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8760         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8761         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8762         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8763         that test input.
8764         (lrint_downward_test_data): Test for "inexact" exceptions.
8765         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8766         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8767         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8768         test input.
8769         (lrint_upward_test_data): Test for "inexact" exceptions.
8770         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8771         test input.
8772         (llrint_test_data): Test for "inexact" exceptions.
8773         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8774         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8775         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8776         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8777         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8778         (llrint_downward_test_data): Test for "inexact" exceptions.
8779         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8780         (llrint_upward_test_data): Test for "inexact" exceptions.
8781         (logb_test_data): Likewise.
8782         (logb_downward_test_data): Likewise.
8783         (nextafter_test_data): Likewise.
8784         (nexttoward_test_data): Likewise.
8785         (remainder_test_data): Likewise.
8786         (remquo_test_data): Likewise.
8787         (scalbn_test_data): Likewise.
8788         (scalbln_test_data): Likewise.
8789         (signbit_test_data): Likewise.
8790         (sqrt_test_data): Likewise.
8791         (significand_test_data): Likewise.
8793 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8795         [BZ #15424]
8796         * benchtests/bench-modf.c (struct args): Mark arg0 as
8797         volatile.
8798         * scripts/bench.pl: Mark members of struct args as volatile.
8800 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8802         [BZ # 15497]
8803         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8804         negative infinity on POWER6 or lower.
8805         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8807 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8809         [BZ #15442]
8810         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8811         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8812         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8813         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8814         (_FP_SETQNAN): New macro.
8815         (_FP_SETQNAN_SEMIRAW): Likewise.
8816         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8817         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8818         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8819         (FP_EXTEND): Use _FP_FRAC_SNANP.
8820         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8821         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8822         into account.
8823         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8824         New macro.
8825         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8826         Likewise.
8828 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8830         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8831         with DIVIDE_BY_ZERO_EXCEPTION.
8832         (gamma_test_data): Likewise.
8833         (lgamma_test_data): Likewise.
8834         (log_test_data): Likewise.
8835         (log10_test_data): Likewise.
8836         (log2_test_data): Likewise.
8837         (tgamma_test_data): Likewise.
8839         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8840         (acos_test_tonearest): Likewise.
8841         (acos_test_towardzero): Likewise.
8842         (acos_test_downward): Likewise.
8843         (acos_test_upward): Likewise.
8844         (acosh_test): Likewise.
8845         (asin_test): Likewise.
8846         (asin_test_tonearest): Likewise.
8847         (asin_test_towardzero): Likewise.
8848         (asin_test_downward): Likewise.
8849         (asin_test_upward): Likewise.
8850         (asinh_test): Likewise.
8851         (atan_test): Likewise.
8852         (atanh_test): Likewise.
8853         (atan2_test): Likewise.
8854         (cabs_test): Likewise.
8855         (cacos_test): Likewise.
8856         (cacosh_test): Likewise.
8857         (casin_test): Likewise.
8858         (casinh_test): Likewise.
8859         (catan_test): Likewise.
8860         (catanh_test): Likewise.
8861         (cbrt_test): Likewise.
8862         (ccos_test): Likewise.
8863         (ccosh_test): Likewise.
8864         (cexp_test): Likewise.
8865         (clog_test): Likewise.
8866         (clog10_test): Likewise.
8867         (cos_test): Likewise.
8868         (cos_test_tonearest): Likewise.
8869         (cos_test_towardzero): Likewise.
8870         (cos_test_downward): Likewise.
8871         (cos_test_upward): Likewise.
8872         (cosh_test): Likewise.
8873         (cosh_test_tonearest): Likewise.
8874         (cosh_test_towardzero): Likewise.
8875         (cosh_test_downward): Likewise.
8876         (cosh_test_upward): Likewise.
8877         (cpow_test): Likewise.
8878         (csin_test): Likewise.
8879         (csinh_test): Likewise.
8880         (csqrt_test): Likewise.
8881         (ctan_test): Likewise.
8882         (ctan_test_tonearest): Likewise.
8883         (ctan_test_towardzero): Likewise.
8884         (ctan_test_downward): Likewise.
8885         (ctan_test_upward): Likewise.
8886         (ctanh_test): Likewise.
8887         (ctanh_test_tonearest): Likewise.
8888         (ctanh_test_towardzero): Likewise.
8889         (ctanh_test_downward): Likewise.
8890         (ctanh_test_upward): Likewise.
8891         (erf_test): Likewise.
8892         (erfc_test): Likewise.
8893         (exp_test): Likewise.
8894         (exp_test_tonearest): Likewise.
8895         (exp_test_towardzero): Likewise.
8896         (exp_test_downward): Likewise.
8897         (exp_test_upward): Likewise.
8898         (exp10_test): Likewise.
8899         (exp2_test): Likewise.
8900         (expm1_test): Likewise.
8901         (fmod_test): Likewise.
8902         (gamma_test): Likewise.
8903         (hypot_test): Likewise.
8904         (j0_test): Likewise.
8905         (j1_test): Likewise.
8906         (jn_test): Likewise.
8907         (lgamma_test): Likewise.
8908         (log_test): Likewise.
8909         (log10_test): Likewise.
8910         (log1p_test): Likewise.
8911         (log2_test): Likewise.
8912         (logb_test_downward): Likewise.
8913         (pow_test): Likewise.
8914         (pow_test_tonearest): Likewise.
8915         (pow_test_towardzero): Likewise.
8916         (pow_test_downward): Likewise.
8917         (pow_test_upward): Likewise.
8918         (remainder_test): Likewise.
8919         (remquo_test): Likewise.
8920         (sin_test): Likewise.
8921         (sin_test_tonearest): Likewise.
8922         (sin_test_towardzero): Likewise.
8923         (sin_test_downward): Likewise.
8924         (sin_test_upward): Likewise.
8925         (sincos_test): Likewise.
8926         (sinh_test): Likewise.
8927         (sinh_test_tonearest): Likewise.
8928         (sinh_test_towardzero): Likewise.
8929         (sinh_test_downward): Likewise.
8930         (sinh_test_upward): Likewise.
8931         (sqrt_test): Likewise.
8932         (tan_test): Likewise.
8933         (tan_test_tonearest): Likewise.
8934         (tan_test_towardzero): Likewise.
8935         (tan_test_downward): Likewise.
8936         (tan_test_upward): Likewise.
8937         (tanh_test): Likewise.
8938         (tgamma_test): Likewise.
8939         (y0_test): Likewise.
8940         (y1_test): Likewise.
8941         (yn_test): Likewise.
8943         * math/gen-libm-test.pl (adjust_arg): Remove function.
8944         (special_function): Remove argument $in_func.  Only handle
8945         generating output for tables of tests, not inside functions.
8946         (parse_args): Likewise.
8947         (generate_testfile): Remove variable $in_func.  Update call to
8948         parse_args.
8949         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8950         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8951         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8952         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8953         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8954         (MAX_VALUE_INIT): Rename macro to max_value.
8955         (MIN_VALUE_INIT): Rename macro to min_value.
8956         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8957         (plus_zero): Remove variable.
8958         (minus_zero): Likewise.
8959         (plus_infty): Likewise.
8960         (minus_infty): Likewise.
8961         (qnan_value): Likewise.
8962         (max_value): Likewise.
8963         (min_value): Likewise.
8964         (min_subnorm_value): Likewise.
8966 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8968         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8969         uint64_t or uint32_t usage.
8970         * crypt/sha256-block.c: Likewise.
8971         * crypt/sha256-crypt.c: Likewise.
8972         * crypt/sha256.c: Likewise.
8973         * crypt/sha512-block.c: Likewise.
8974         * crypt/sha512-crypt.c: Likewise.
8975         * crypt/sha512.c: Likewise.
8976         * debug/backtrace-tst.c: Likewise.
8977         * debug/pcprofiledump.c: Likewise.
8978         * elf/cache.c: Likewise.
8979         * elf/dl-cache.c: Likewise.
8980         * elf/dl-misc.c: Likewise.
8981         * elf/dl-profile.c: Likewise.
8982         * elf/dl-support.c: Likewise.
8983         * elf/ldconfig.c: Likewise.
8984         * elf/sprof.c: Likewise.
8985         * iconv/dummy-repertoire.c: Likewise.
8986         * iconv/iconv_charmap.c: Likewise.
8987         * iconv/skeleton.c: Likewise.
8988         * iconvdata/8bit-generic.c: Likewise.
8989         * iconvdata/cp737.h: Likewise.
8990         * iconvdata/cp775.h: Likewise.
8991         * iconvdata/ibm1008.h: Likewise.
8992         * iconvdata/ibm1025.h: Likewise.
8993         * iconvdata/ibm1046.h: Likewise.
8994         * iconvdata/ibm1097.h: Likewise.
8995         * iconvdata/ibm1112.h: Likewise.
8996         * iconvdata/ibm1122.h: Likewise.
8997         * iconvdata/ibm1123.h: Likewise.
8998         * iconvdata/ibm1124.h: Likewise.
8999         * iconvdata/ibm1129.h: Likewise.
9000         * iconvdata/ibm1130.h: Likewise.
9001         * iconvdata/ibm1132.h: Likewise.
9002         * iconvdata/ibm1133.h: Likewise.
9003         * iconvdata/ibm1137.h: Likewise.
9004         * iconvdata/ibm1140.h: Likewise.
9005         * iconvdata/ibm1141.h: Likewise.
9006         * iconvdata/ibm1142.h: Likewise.
9007         * iconvdata/ibm1143.h: Likewise.
9008         * iconvdata/ibm1144.h: Likewise.
9009         * iconvdata/ibm1145.h: Likewise.
9010         * iconvdata/ibm1146.h: Likewise.
9011         * iconvdata/ibm1147.h: Likewise.
9012         * iconvdata/ibm1148.h: Likewise.
9013         * iconvdata/ibm1149.h: Likewise.
9014         * iconvdata/ibm1153.h: Likewise.
9015         * iconvdata/ibm1154.h: Likewise.
9016         * iconvdata/ibm1155.h: Likewise.
9017         * iconvdata/ibm1156.h: Likewise.
9018         * iconvdata/ibm1157.h: Likewise.
9019         * iconvdata/ibm1158.h: Likewise.
9020         * iconvdata/ibm1160.h: Likewise.
9021         * iconvdata/ibm1161.h: Likewise.
9022         * iconvdata/ibm1162.h: Likewise.
9023         * iconvdata/ibm1163.h: Likewise.
9024         * iconvdata/ibm1164.h: Likewise.
9025         * iconvdata/ibm1166.h: Likewise.
9026         * iconvdata/ibm1167.h: Likewise.
9027         * iconvdata/ibm12712.h: Likewise.
9028         * iconvdata/ibm1390.h: Likewise.
9029         * iconvdata/ibm1399.h: Likewise.
9030         * iconvdata/ibm16804.h: Likewise.
9031         * iconvdata/ibm4517.h: Likewise.
9032         * iconvdata/ibm4899.h: Likewise.
9033         * iconvdata/ibm4909.h: Likewise.
9034         * iconvdata/ibm4971.h: Likewise.
9035         * iconvdata/ibm5347.h: Likewise.
9036         * iconvdata/ibm803.h: Likewise.
9037         * iconvdata/ibm856.h: Likewise.
9038         * iconvdata/ibm901.h: Likewise.
9039         * iconvdata/ibm902.h: Likewise.
9040         * iconvdata/ibm9030.h: Likewise.
9041         * iconvdata/ibm9066.h: Likewise.
9042         * iconvdata/ibm921.h: Likewise.
9043         * iconvdata/ibm922.h: Likewise.
9044         * iconvdata/ibm9448.h: Likewise.
9045         * iconvdata/isiri-3342.h: Likewise.
9046         * iconvdata/jis0201.h: Likewise.
9047         * include/link.h: Likewise.
9048         * include/netdb.h: Likewise.
9049         * inet/check_native.c: Likewise.
9050         * inet/check_pf.c: Likewise.
9051         * inet/getipv4sourcefilter.c: Likewise.
9052         * inet/getnameinfo.c: Likewise.
9053         * inet/getsourcefilter.c: Likewise.
9054         * inet/htonl.c: Likewise.
9055         * inet/setipv4sourcefilter.c: Likewise.
9056         * inet/setsourcefilter.c: Likewise.
9057         * inet/test-inet6_opt.c: Likewise.
9058         * inet/tst-network.c: Likewise.
9059         * locale/C-collate.c: Likewise.
9060         * locale/C-ctype.c: Likewise.
9061         * locale/C-time.c: Likewise.
9062         * locale/C-translit.h: Likewise.
9063         * locale/loadarchive.c: Likewise.
9064         * locale/programs/3level.h: Likewise.
9065         * locale/programs/charmap.c: Likewise.
9066         * locale/programs/charmap.h: Likewise.
9067         * locale/programs/ld-address.c: Likewise.
9068         * locale/programs/ld-collate.c: Likewise.
9069         * locale/programs/ld-ctype.c: Likewise.
9070         * locale/programs/ld-identification.c: Likewise.
9071         * locale/programs/ld-measurement.c: Likewise.
9072         * locale/programs/ld-messages.c: Likewise.
9073         * locale/programs/ld-monetary.c: Likewise.
9074         * locale/programs/ld-name.c: Likewise.
9075         * locale/programs/ld-numeric.c: Likewise.
9076         * locale/programs/ld-paper.c: Likewise.
9077         * locale/programs/ld-telephone.c: Likewise.
9078         * locale/programs/ld-time.c: Likewise.
9079         * locale/programs/linereader.c: Likewise.
9080         * locale/programs/locale.c: Likewise.
9081         * locale/programs/locarchive.c: Likewise.
9082         * locale/programs/locfile.h: Likewise.
9083         * locale/programs/repertoire.c: Likewise.
9084         * locale/programs/simple-hash.c: Likewise.
9085         * locale/programs/simple-hash.h: Likewise.
9086         * malloc/memusage.c: Likewise.
9087         * malloc/memusagestat.c: Likewise.
9088         * nis/nis_defaults.c: Likewise.
9089         * nis/nis_hash.c: Likewise.
9090         * nis/nis_print.c: Likewise.
9091         * nis/nis_xdr.c: Likewise.
9092         * nscd/connections.c: Likewise.
9093         * nscd/hstcache.c: Likewise.
9094         * nscd/nscd_gethst_r.c: Likewise.
9095         * nscd/nscd_getserv_r.c: Likewise.
9096         * nscd/nscd_helper.c: Likewise.
9097         * nscd/servicescache.c: Likewise.
9098         * nss/makedb.c: Likewise.
9099         * nss/nss_db/db-XXX.c: Likewise.
9100         * nss/nss_db/db-initgroups.c: Likewise.
9101         * nss/nss_db/db-netgrp.c: Likewise.
9102         * nss/nss_files/files-network.c: Likewise.
9103         * nss/nss_files/files-parse.c: Likewise.
9104         * posix/bug-regex5.c: Likewise.
9105         * posix/fnmatch_loop.c: Likewise.
9106         * posix/regcomp.c: Likewise.
9107         * posix/regexec.c: Likewise.
9108         * posix/tst-rfc3484-2.c: Likewise.
9109         * posix/tst-rfc3484-3.c: Likewise.
9110         * posix/tst-rfc3484.c: Likewise.
9111         * resolv/nss_dns/dns-canon.c: Likewise.
9112         * resolv/nss_dns/dns-network.c: Likewise.
9113         * resolv/res_init.c: Likewise.
9114         * resolv/res_mkquery.c: Likewise.
9115         * resolv/tst-aton.c: Likewise.
9116         * stdlib/cxa_atexit.c: Likewise.
9117         * stdlib/cxa_finalize.c: Likewise.
9118         * stdlib/gen-fpioconst.c: Likewise.
9119         * stdlib/strtol_l.c: Likewise.
9120         * string/tst-endian.c: Likewise.
9121         * sunrpc/auth_des.c: Likewise.
9122         * sunrpc/clnt_udp.c: Likewise.
9123         * sunrpc/rtime.c: Likewise.
9124         * sunrpc/svcauth_des.c: Likewise.
9125         * sunrpc/xdr.c: Likewise.
9126         * sunrpc/xdr_intXX_t.c: Likewise.
9127         * sunrpc/xdr_rec.c: Likewise.
9128         * sysdeps/generic/ldconfig.h: Likewise.
9129         * sysdeps/generic/ldsodefs.h: Likewise.
9130         * sysdeps/generic/memusage.h: Likewise.
9131         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9132         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9133         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9134         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9135         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9136         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9137         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9138         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9139         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9140         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9141         * sysdeps/posix/getaddrinfo.c: Likewise.
9142         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9143         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9144         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9145         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9146         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9147         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9148         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9149         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9150         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9151         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9152         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9153         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9154         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9155         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9156         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9157         * sysdeps/x86_64/dl-tls.h: Likewise.
9158         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9159         * time/alt_digit.c: Likewise.
9160         * time/era.c: Likewise.
9161         * wcsmbs/tst-c16c32-1.c: Likewise.
9163 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9165         * math/libm-test.inc (struct test_sincos_data): New type.
9166         (RUN_TEST_LOOP_sincos): New macro.
9167         (sincos_test_data): New variable.
9168         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9170 2013-05-16  Richard Henderson  <rth@redhat.com>
9172         * math/atest-exp2.c (LIMB64): New macro.
9173         (CONSTSZ): New macro.
9174         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9175         (hexdig): Move ...
9176         (print_mpn_fp): ... to function scope.
9177         (read_mpn_hex): Remove.
9178         (get_log2): Remove.
9179         (exp2_mpn): Use mp_log2.
9180         (main): Use mp_exp1.
9182 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9184         * math/libm-test.inc: Remove comment about not testing "inexact"
9185         exceptions.
9186         (INEXACT_EXCEPTION): New macro.
9187         (NO_INEXACT_EXCEPTION): Likewise.
9188         (INVALID_EXCEPTION_OK): Update value.
9189         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9190         (OVERFLOW_EXCEPTION_OK): Likewise.
9191         (UNDERFLOW_EXCEPTION_OK): Likewise.
9192         (IGNORE_ZERO_INF_SIGN): Likewise.
9193         (ERRNO_UNCHANGED): Likewise.
9194         (ERRNO_EDOM): Likewise.
9195         (ERRNO_ERANGE): Likewise.
9196         (test_exceptions): Handle testing "inexact" exceptions.
9197         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9198         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9199         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9200         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9201         INEXACT_EXCEPTION.
9202         (rint_towardzero_test_data): Likewise.
9203         (rint_downward_test_data): Likewise.
9204         (rint_upward_test_data): Likewise.
9206         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9207         with OVERFLOW_EXCEPTION.
9208         (exp10_test_data): Likewise.
9209         (exp2_test_data): Likewise.
9210         (expm1_test_data): Likewise.
9211         (lgamma_test_data): Likewise.
9212         (pow_test_data): Likewise.
9213         (tgamma_test_data): Likewise.
9214         (yn_test_data): Remove duplicate test of overflow.
9216         * math/libm-test.inc (struct test_cc_c_data): New type.
9217         (RUN_TEST_LOOP_cc_c): New macro.
9218         (cpow_test_data): New variable.
9219         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9221         * math/libm-test.inc (struct test_f_L_data): New type.
9222         (RUN_TEST_LOOP_f_L): New macro.
9223         (llrint_test_data): New variable.
9224         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9225         (llrint_tonearest_test_data): New variable.
9226         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9227         (llrint_towardzero_test_data): New variable.
9228         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9229         (llrint_downward_test_data): New variable.
9230         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9231         (llrint_upward_test_data): New variable.
9232         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9233         (llround_test_data): New variable.
9234         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9236 2013-05-13  Peter Collingbourne  <pcc@google.com>
9238         * math/atest-exp2.c (get_log2): Remove const attribute.
9240 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9242         * math/libm-test.inc (struct test_f_l_data): New type.
9243         (RUN_TEST_LOOP_f_l): New macro.
9244         (lrint_test_data): New variable.
9245         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9246         (lrint_tonearest_test_data): New variable.
9247         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9248         (lrint_towardzero_test_data): New variable.
9249         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9250         (lrint_downward_test_data): New variable.
9251         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9252         (lrint_upward_test_data): New variable.
9253         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9254         (lround_test_data): New variable.
9255         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9257 2013-05-15  Peter Collingbourne  <pcc@google.com>
9259         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9260         (EXTRACT_WORDS64) Use where appropriate.
9261         (INSERT_WORDS64) Likewise.
9263         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9264         constraints with x constraints.
9265         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9267         * malloc/obstack.c (_obstack_compat): Add initializer.
9269 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9271         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9272         si_trapno and add si_addr_lsb to _sifields.sigfault.
9273         (si_trapno): Remove macro.
9274         (si_addr_lsb): Define new macro.
9275         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9277 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9279         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9280         instead of TEST_f_l.
9281         (llrint_test_tonearest): Likewise.
9282         (llrint_test_towardzero): Likewise.
9283         (llrint_test_downward): Likewise.
9284         (llrint_test_upward): Likewise.
9285         (llround_test): Likewise.
9287         * math/libm-test.inc (struct test_f_i_data): Add comment.
9288         (RUN_TEST_LOOP_f_b): New macro.
9289         (RUN_TEST_LOOP_f_b_tg): Likewise.
9290         (finite_test_data): New variable.
9291         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9292         (isfinite_test_data): New variable.
9293         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9294         (isinf_test_data): New variable.
9295         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9296         (isnan_test_data): New variable.
9297         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9298         (isnormal_test_data): New variable.
9299         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9300         (issignaling_test_data): New variable.
9301         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9302         (signbit_test_data): New variable.
9303         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9305         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9306         with INVALID_EXCEPTION.
9307         (acosh_test_data): Likewise.
9308         (asin_test_data): Likewise.
9309         (atanh_test_data): Likewise.
9310         (fmod_test_data): Likewise.
9311         (log_test_data): Likewise.
9312         (log10_test_data): Likewise.
9313         (log2_test_data): Likewise.
9314         (pow_test_data): Likewise.
9315         (sqrt_test_data): Likewise.
9316         (y0_test_data): Likewise.
9317         (y1_test_data): Likewise.
9318         (yn_test_data): Likewise.
9320         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9321         function contents.
9323         * math/libm-test.inc (struct test_ff_i_data): New type.
9324         (RUN_TEST_LOOP_ff_i_tg): New macro.
9325         (isgreater_test_data): New variable.
9326         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9327         (isgreaterequal_test_data): New variable.
9328         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9329         (isless_test_data): New variable.
9330         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9331         (islessequal_test_data): New variable.
9332         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9333         (islessgreater_test_data): New variable.
9334         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9335         (isunordered_test_data): New variable.
9336         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9338 2013-05-14  David S. Miller  <davem@davemloft.net>
9340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9342 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9344         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9346         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9347         extra_test to int.
9348         (struct test_f_i_data): Change type of max_ulp to int.
9350         * math/libm-test.inc (test_ffI_f1_data): New type.
9351         (RUN_TEST_LOOP_ffI_f1): New macro.
9352         (remquo_test_data): New variable.
9353         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9355         * setjmp/tst-setjmp-fp.c: New file.
9356         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9357         (link-libm): New variable.
9358         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9360         * math/libm-test.inc (struct test_f_i_data): New type.
9361         (RUN_TEST_LOOP_f_i): New macro.
9362         (RUN_TEST_LOOP_f_i_tg): Likewise.
9363         (fpclassify_test_data): New variable.
9364         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9365         (ilogb_test_data): New variable.
9366         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9368         * math/libm-test.inc (scalbln_test): Correct function name in END
9369         call.
9371         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9372         (RUN_TEST_LOOP_fI_f1): New macro.
9373         (frexp_test_data): New variable.
9374         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9376         * math/libm-test.inc (struct test_fF_f1_data): New type.
9377         (RUN_TEST_LOOP_fF_f1): New macro.
9378         (modf_test_data): New variable.
9379         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9381         * math/libm-test.inc (struct test_f_f1_data): New type.
9382         (RUN_TEST_LOOP_f_f1): New macro.
9383         (gamma_test_data): New variable.
9384         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9385         (lgamma_test_data): New variable.
9386         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9388 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9390         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9391         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9392         (main): Comment "tls" pseudo-hwcap.
9394 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9396         * math/libm-test.inc (struct test_fl_f_data): New type.
9397         (RUN_TEST_LOOP_fl_f): New variable.
9398         (scalbln_test_data): New variable.
9399         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9401         * math/libm-test.inc (struct test_fi_f_data): New type.
9402         (RUN_TEST_LOOP_fi_f): New macro.
9403         (ldexp_test_data): New variable.
9404         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9405         (scalbn_test_data): New variable.
9406         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9408         * math/libm-test.inc (struct test_c_f_data): New type.
9409         (RUN_TEST_LOOP_c_f): New macro.
9410         (cabs_test_data): New variable.
9411         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9412         (carg_test_data): New variable.
9413         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9414         (cimag_test_data): New variable.
9415         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9416         (creal_test_data): New variable.
9417         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9419         * math/libm-test.inc (struct test_if_f_data): New type.
9420         (RUN_TEST_LOOP_if_f): New macro.
9421         (jn_test_data): New variable.
9422         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9423         (yn_test_data): New variable.
9424         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9426         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9428 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9430         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9431         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9433 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9435         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9436         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9437         (bench-deps): Add bench-timing.h.
9438         * benchtests-bench-skeleton.c: Include bench-timing.h.
9439         (main): Use TIMING_* macros instead of clock_gettime.
9440         * benchtests/bench-timing.h: New file.
9442         [BZ #14582]
9443         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9444         Renamed from _LIB_VERSION.
9445         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9447 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9449         * math/libm-test.inc (struct test_fff_f_data): New type.
9450         (RUN_TEST_LOOP_fff_f): New macro.
9451         (fma_test_data): New variable.
9452         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9453         (fma_towardzero_test_data): New variable.
9454         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9455         (fma_downward_test_data): New variable.
9456         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9457         (fma_upward_test_data): New variable.
9458         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9460         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9461         (struct test_c_c_data): New type.
9462         (RUN_TEST_LOOP_c_c): New macro.
9463         (cacos_test_data): New variable.
9464         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9465         (cacosh_test_data): New variable.
9466         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9467         (casin_test_data): New variable.
9468         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9469         (casinh_test_data): New variable.
9470         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9471         (catan_test_data): New variable.
9472         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9473         (catanh_test_data): New variable.
9474         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9475         (ccos_test_data): New variable.
9476         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9477         (ccosh_test_data): New variable.
9478         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9479         (cexp_test_data): New variable.
9480         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9481         (clog_test_data): New variable.
9482         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9483         (clog10_test_data): New variable.
9484         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9485         (conj_test_data): New variable.
9486         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9487         (cproj_test_data): New variable.
9488         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9489         (csin_test_data): New variable.
9490         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9491         (csinh_test_data): New variable.
9492         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9493         (csqrt_test_data): New variable.
9494         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9495         (ctan_test_data): New variable.
9496         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9497         (ctan_tonearest_test_data): New variable.
9498         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9499         (ctan_towardzero_test_data): New variable.
9500         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9501         (ctan_downward_test_data): New variable.
9502         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9503         (ctan_upward_test_data): New variable.
9504         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9505         (ctanh_test_data): New variable.
9506         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9507         (ctanh_tonearest_test_data): New variable.
9508         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9509         (ctanh_towardzero_test_data): New variable.
9510         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9511         (ctanh_downward_test_data): New variable.
9512         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9513         (ctanh_upward_test_data): New variable.
9514         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9515         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9516         of BUILD_COMPLEX.
9518         * math/libm-test.inc (struct test_ff_f_data): New type.
9519         (struct test_ff_f_data_nexttoward): Likewise.
9520         (RUN_TEST_LOOP_2_f): New macro.
9521         (RUN_TEST_LOOP_ff_f): Likewise.
9522         (atan2_test_data): New variable.
9523         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9524         (copysign_test_data): New variable.
9525         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9526         (fdim_test_data): New variable.
9527         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9528         (fmax_test_data): New variable.
9529         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9530         (fmin_test_data): New variable.
9531         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9532         (fmod_test_data): New variable.
9533         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9534         (hypot_test_data): New variable.
9535         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9536         (nextafter_test_data): New variable.
9537         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9538         (nexttoward_test_data): New variable.
9539         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9540         (pow_test_data): New variable.
9541         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9542         (pow_tonearest_test_data): New variable.
9543         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9544         (pow_towardzero_test_data): New variable.
9545         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9546         (pow_downward_test_data): New variable.
9547         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9548         (pow_upward_test_data): New variable.
9549         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9550         (remainder_test_data): New variable.
9551         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9552         (scalb_test_data): New variable.
9553         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9554         * sysdeps/i386/fpu/libm-test-ulps: Update.
9556 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9558         * math/libm-test.inc (fma_test): Use max_value instead of local
9559         variable fltmax.
9560         (nextafter_test): Likewise.
9562         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9563         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9564         (acos_downward_test_data): New variable.
9565         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9566         (acos_upward_test_data): New variable.
9567         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9568         (acosh_test_data): New variable.
9569         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9570         (asin_test_data): New variable.
9571         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9572         (asin_tonearest_test_data): New variable.
9573         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9574         (asin_towardzero_test_data): New variable.
9575         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9576         (asin_downward_test_data): New variable.
9577         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9578         (asin_upward_test_data): New variable.
9579         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9580         (asinh_test_data): New variable.
9581         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9582         (atan_test_data): New variable.
9583         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9584         (atanh_test_data): New variable.
9585         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9586         (cbrt_test_data): New variable.
9587         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9588         (ceil_test_data): New variable.
9589         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9590         (cos_test_data): New variable.
9591         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9592         (cos_tonearest_test_data): New variable.
9593         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9594         (cos_towardzero_test_data): New variable.
9595         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9596         (cos_downward_test_data): New variable.
9597         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9598         (cos_upward_test_data): New variable.
9599         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9600         (cosh_test_data): New variable.
9601         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9602         (cosh_tonearest_test_data): New variable.
9603         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9604         (cosh_towardzero_test_data): New variable.
9605         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9606         (cosh_downward_test_data): New variable.
9607         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9608         (cosh_upward_test_data): New variable.
9609         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9610         (erf_test_data): New variable.
9611         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9612         (erfc_test_data): New variable.
9613         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9614         (exp_test_data): New variable.
9615         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9616         (exp_tonearest_test_data): New variable.
9617         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9618         (exp_towardzero_test_data): New variable.
9619         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9620         (exp_downward_test_data): New variable.
9621         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9622         (exp_upward_test_data): New variable.
9623         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9624         (exp10_test_data): New variable.
9625         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9626         (exp2_test_data): New variable.
9627         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9628         (expm1_test_data): New variable.
9629         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9630         (fabs_test_data): New variable.
9631         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9632         (floor_test_data): New variable.
9633         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9634         (j0_test_data): New variable.
9635         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9636         (j1_test_data): New variable.
9637         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9638         (log_test_data): New variable.
9639         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9640         (log10_test_data): New variable.
9641         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9642         (log1p_test_data): New variable.
9643         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9644         (log2_test_data): New variable.
9645         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9646         (logb_test_data): New variable.
9647         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9648         (logb_downward_test_data): New variable.
9649         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9650         (nearbyint_test_data): New variable.
9651         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9652         (rint_test_data): New variable.
9653         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9654         (rint_tonearest_test_data): New variable.
9655         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9656         (rint_towardzero_test_data): New variable.
9657         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9658         (rint_downward_test_data): New variable.
9659         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9660         (rint_upward_test_data): New variable.
9661         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9662         (round_test_data): New variable.
9663         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9664         (sin_test_data): New variable.
9665         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9666         (sin_tonearest_test_data): New variable.
9667         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9668         (sin_towardzero_test_data): New variable.
9669         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9670         (sin_downward_test_data): New variable.
9671         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9672         (sin_upward_test_data): New variable.
9673         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9674         (sinh_test_data): New variable.
9675         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9676         (sinh_tonearest_test_data): New variable.
9677         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9678         (sinh_towardzero_test_data): New variable.
9679         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9680         (sinh_downward_test_data): New variable.
9681         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9682         (sinh_upward_test_data): New variable.
9683         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9684         (sqrt_test_data): New variable.
9685         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9686         (tan_test_data): New variable.
9687         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9688         (tan_tonearest_test_data): New variable.
9689         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9690         (tan_towardzero_test_data): New variable.
9691         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9692         (tan_downward_test_data): New variable.
9693         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9694         (tan_upward_test_data): New variable.
9695         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9696         (tanh_test_data): New variable.
9697         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9698         (tgamma_test_data): New variable.
9699         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9700         (trunc_test_data): New variable.
9701         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9702         (y0_test_data): New variable.
9703         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9704         (y1_test_data): New variable.
9705         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9706         (significand_test_data): New variable.
9707         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9709 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9711         [BZ #12387]
9712         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9714 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9716         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9718 2013-05-10  Andreas Jaeger  <aj@suse.de>
9720         [BZ #15448]
9721         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9722         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9724 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9726         * math/gen-libm-test.pl (adjust_arg): New function.
9727         (special_functions): Handle generating output in both functions
9728         and arrays.
9729         (parse_args): Likewise.
9730         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9731         $in_func argument to parse_args.
9732         * math/libm-test.inc (struct test_f_f_data): New type.
9733         (IF_ROUND_INIT_): New macro.
9734         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9735         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9736         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9737         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9738         (ROUND_RESTORE_): Likewise.
9739         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9740         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9741         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9742         (ROUND_RESTORE_FE_UPWARD): Likewise.
9743         (RUN_TEST_LOOP_f_f): New macro.
9744         (acos_test_data): New variable.
9745         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9746         (acos_tonearest_test_data): New variable.
9747         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9749 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9751         * benchtests/bench-skeleton.c (startup): Fix coding style.
9753 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9755         [BZ #6809]
9756         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9757         negative infinity argument.
9758         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9759         negative infinity argument.
9760         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9761         negative infinity argument.
9762         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9763         domain errors.
9765 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9767         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9768         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9769         * iconv/iconv_prog.c (main): Likewise.
9770         * locale/programs/charmap-dir.c (charmap_readdir)
9771         (fopen_uncompressed): Likewise.
9772         * locale/programs/locfile.c (siblings_uncached)
9773         (write_locale_data): Use lstat64 instead of lstat.
9774         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9775         stat.
9777 2013-05-10  Andreas Jaeger  <aj@suse.de>
9779         [BZ #15395]
9780         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9781         localization.
9782         Include <locale.h>.
9784 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9786         * elf/dl-close.c (_dl_close_worker): Add comments.
9788 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9790         [BZ #15359]
9791         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9792         high part of pi/2.
9793         (__ieee754_rem_pio2l): Update comments.
9795         [BZ #15429]
9796         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9797         high part of pi/2.
9798         (__ieee754_rem_pio2l): Update comments.
9800         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9801         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9803         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9804         M_PI_4l.
9806         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9807         (M_PI_34_LOG10El): Likewise.
9808         (M_PI2_LOG10El): Likewise.
9809         (M_PI4_LOG10El): Likewise.
9810         (M_PI_LOG10El): Likewise.
9812 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9816 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9818         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9819         (MINUS_ZERO_INIT): Likewise.
9820         (PLUS_INFTY_INIT): Likewise.
9821         (MINUS_INFTY_INIT): Likewise.
9822         (QNAN_VALUE_INIT): Likewise.
9823         (MAX_VALUE_INIT): Likewise.
9824         (MIN_VALUE_INIT): Likewise.
9825         (MIN_SUBNORM_VALUE_INIT): Likewise.
9826         (plus_zero): Initialize with PLUS_ZERO_INIT.
9827         (minus_zero): Initialize with MINUS_ZERO_INIT.
9828         (plus_infty): Initialize with PLUS_INFTY_INIT.
9829         (minus_infty): Initialize with MINUS_INFTY_INIT.
9830         (qnan_value): Initialize with QNAN_VALUE_INIT.
9831         (max_value): Initialize with MAX_VALUE_INIT.
9832         (min_value): Initialize with MIN_VALUE_INIT.
9833         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9835         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9836         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9837         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9838         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9840         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9841         (RUN_TEST_2_f): Likewise.
9842         (RUN_TEST_ff_f): Likewise.
9843         (RUN_TEST_fi_f): Likewise.
9844         (RUN_TEST_fl_f): Likewise.
9845         (RUN_TEST_fff_f): Likewise.
9846         (RUN_TEST_c_f): Likewise.
9847         (RUN_TEST_f_f1): Likewise.
9848         (RUN_TEST_fF_f1): Likewise.
9849         (RUN_TEST_fI_f1): Likewise.
9850         (RUN_TEST_ffI_f1): Likewise.
9851         (RUN_TEST_c_c): Likewise.
9852         (RUN_TEST_cc_c): Likewise.
9853         (RUN_TEST_f_i): Likewise.
9854         (RUN_TEST_f_i_tg): Likewise.
9855         (RUN_TEST_ff_i_tg): Likewise.
9856         (RUN_TEST_f_b): Likewise.
9857         (RUN_TEST_f_b_tg): Likewise.
9858         (RUN_TEST_f_l): Likewise.
9859         (RUN_TEST_f_L): Likewise.
9860         (RUN_TEST_sincos): Likewise.
9861         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9862         whether to show exceptions.  Do not include ");\n" in return
9863         value.
9864         (special_functions): Output call to RUN_TEST_sincos instead of
9865         check_float calls.  Update calls to new_test.
9866         (parse_args): Output call to single RUN_TEST_* macro instead of
9867         check_* calls and other assignments.  Update calls to new_test.
9869         [BZ #2546]
9870         [BZ #2560]
9871         [BZ #5159]
9872         [BZ #15426]
9873         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9874         input to result for tgamma overflow.
9875         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9876         (gamma_coeff): New variable.
9877         (NCOEFF): New macro.
9878         (gamma_positive): New function.
9879         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9880         underflow here.  Use gamma_positive instead of exp (lgamma) for
9881         other arguments.
9882         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9883         (gamma_coeff): New variable.
9884         (NCOEFF): New macro.
9885         (gammaf_positive): New function.
9886         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9887         underflow here.  Use gamma_positive instead of exp (lgamma) for
9888         other arguments.
9889         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9890         (gamma_coeff): New variable.
9891         (NCOEFF): New macro.
9892         (gammal_positive): New function.
9893         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9894         underflow here.  Use gamma_positive instead of exp (lgamma) for
9895         other arguments.
9896         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9897         (gamma_coeff): New variable.
9898         (NCOEFF): New macro.
9899         (gammal_positive): New function.
9900         (__ieee754_gammal_r): Handle positive infinity, overflow and
9901         underflow here.  Handle NaN the same as positive infinity.  Remove
9902         check x < 0xffffffff for negative integers.  Use gamma_positive
9903         instead of exp (lgamma) for other arguments.
9904         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9905         (gamma_coeff): New variable.
9906         (NCOEFF): New macro.
9907         (gammal_positive): New function.
9908         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9909         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9910         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9911         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9912         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9913         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9914         * sysdeps/generic/math_private.h (__gamma_productf): New
9915         prototype.
9916         (__gamma_product): Likewise.
9917         (__gamma_productl): Likewise.
9918         * math/Makefile (libm-calls): Add gamma_product.
9919         * math/libm-test.inc (tgamma_test): Add more tests.
9920         * sysdeps/i386/fpu/libm-test-ulps: Update.
9921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9923 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9925         * benchtests/bench-skeleton.c (main): Preheat CPU.
9927 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9929         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9931 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9933         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9934         and _dl_skip_args_internal.
9936 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9938         * manual/message.texi (Message Translation): Talk about users.
9939         Message to key mapping impacts design.
9941 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9943         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9945         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9947         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9948         * sysdeps/wordsize-64/glob64.c: ... here.
9950         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9951         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9952         New macros.
9954         * debug/getlogin_r_chk.c: Moved to ...
9955         * login/getlogin_r_chk.c: ... here.
9956         * debug/Makefile (routines): Move getlogin_r_chk to ...
9957         * login/Makefile (routines): ... here.
9958         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9959         * login/Versions (libc: GLIBC_2.4): ... here.
9961         * io/poll.c (__poll): Renamed from poll.
9962         Add libc_hidden_def.
9963         (poll): Define as weak alias.
9965         * debug/ptsname_r_chk.c: Moved to ...
9966         * login/ptsname_r_chk.c: ... here.
9967         * debug/Makefile (routines): Move ptsname_r_chk to ...
9968         * login/Makefile (routines): ... here.
9969         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9970         * login/Versions (libc: GLIBC_2.4): ... here.
9972         * posix/getlogin.c: Moved to ...
9973         * login/getlogin.c: ... here.
9974         * posix/getlogin_r.c: Moved to ...
9975         * login/getlogin_r.c: ... here.
9976         * posix/getlogin_r.c: Moved to ...
9977         * login/getlogin_r.c: ... here.
9978         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9979         * login/Makefile (routines): ... here.
9980         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9981         * login/Versions (libc: GLIBC_2.0): ... here.
9983         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9984         (setrlimit): Define as weak alias.
9986         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9987         Call __ names for open, ftruncate, and close.
9988         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9989         (truncate): Define as weak alias.
9991 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9993         * math/gen-libm-test.pl (parse_args): Initialize x before each
9994         test of frexp, modf and remquo.
9996         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9997         test signgam value.
9999 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10001         [BZ #15418]
10002         [BZ #15419]
10003         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10004         internal tests.
10005         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10007 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10009         * elf/dl-writev.h: New file.
10010         * elf/dl-misc.c: Include it.
10011         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10012         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10014 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10016         * math/libm-test.inc (noXFails): Remove variable.
10017         (noXPasses): Likewise.
10018         (BUILD_COMPLEX_INT): Remove macro.
10019         (print_screen): Remove xfail argument.
10020         (print_screen_max_error): Likewise.
10021         (update_stats): Likewise.
10022         (print_max_error): Likewise.  Update calls to other affected
10023         functions.
10024         (print_complex_max_error): Likewise.
10025         (test_single_exception): Update calls to print_screen.
10026         (test_single_errno): Likewise.
10027         (check_float_internal): Remove xfail argument.  Update calls to
10028         other affected functions.
10029         (check_float): Likewise.
10030         (check_complex): Likewise.
10031         (check_int): Likewise.
10032         (check_long): Likewise.
10033         (check_bool): Likewise.
10034         (check_longlong): Likewise.
10035         (main): Don't print noXFails and noXPasses.
10036         * math/gen-libm-test.pl (top level): Don't mention expected
10037         failure handling in comment.
10038         (new_test): Don't handle expected failures.
10039         (parse_args): Don't mention expected failure handling in comment.
10040         (generate_testfile): Don't handle expected failures.
10041         (parse_ulps): Likewise.
10042         (print_ulps_file): Likewise.
10043         (get_failure): Remove function.
10044         (output_test): Don't handle expected failures.
10045         * make/README.libm-test: Don't mention expected failure handling.
10047         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10048         (minus_zero): Likewise.
10049         (plus_infty): Likewise.
10050         (minus_infty): Likewise.
10051         (qnan_value): Likewise.
10052         (max_value): Likewise.
10053         (min_value): Likewise.
10054         (min_subnorm_value): Likewise.
10055         (initialize): Do not initialize those variables dynamically.
10057 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10059         * io/open.c (__open_2): Moved to ...
10060         * io/open_2.c: ... this new file.
10061         * io/open64.c (__open64_2): Moved to ...
10062         * io/open64_2.c: ... this new file.
10063         * io/openat.c (__openat_2): Moved to ...
10064         * io/openat_2.c: ... this new file.
10065         * io/openat64.c (__openat64_2): Moved to ...
10066         * io/openat64_2.c: ... this new file.
10067         * io/Makefile (routines): Add them.
10068         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10069         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10070         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10071         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10072         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10073         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10074         (__openat64): Add hidden_ver.
10075         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10076         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10078         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10079         Separately conditionalize setting of GLRO(dl_sysinfo) so
10080         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10081         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10083 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10085         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10086         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10087         definition.
10088         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10089         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10090         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10091         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10092         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10094 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10096         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10097         test signgam value.
10099         * math/libm-test.inc (hypot_test): Do not use
10100         IGNORE_ZERO_INF_SIGN.
10102 2013-05-03  Andreas Jaeger  <aj@suse.de>
10104         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10105         Linux 3.9.
10106         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10107         (PF_MAX): Adjust for VSOCK change.
10109 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10113 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10115         [BZ #15264]
10116         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10117         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10118         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10120 2013-05-02  David S. Miller  <davem@davemloft.net>
10122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10124 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10126         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10128 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10130         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10132 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10134         [BZ #14952]
10135         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10136         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10137         Use __attribute__ ((__gnu_inline__)).
10138         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10139         Don't use __attribute__ ((__gnu_inline__)).
10141 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10143         [BZ #15423]
10144         * math/s_catan.c (__catan): Handle small real or imaginary part of
10145         input specially to avoid spurious underflow.
10146         * math/s_catanf.c (__catanf): Likewise.
10147         * math/s_catanh.c (__catanh): Likewise.
10148         * math/s_catanhf.c (__catanhf): Likewise.
10149         * math/s_catanhl.c (__catanhl): Likewise.
10150         * math/s_catanl.c (__catanl): Likewise.
10151         * math/libm-test.inc (catan_test): Add more tests.
10152         (catanh_test): Likewise.
10153         * sysdeps/i386/fpu/libm-test-ulps: Update.
10154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10156 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10160 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10162         [BZ #15416]
10163         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10164         accurately for denominator in atan2.
10165         * math/s_catanf.c (__catanf): Likewise.
10166         * math/s_catanh.c (__catanh): Likewise.
10167         * math/s_catanhf.c (__catanhf): Likewise.
10168         * math/s_catanhl.c (__catanhl): Likewise.
10169         * math/s_catanl.c (__catanl): Likewise.
10170         * math/libm-test.inc (catan_test): Add more tests.
10171         (catanh_test): Likewise.
10172         * sysdeps/i386/fpu/libm-test-ulps: Update.
10173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10175 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10177         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10179         * benchtests/Makefile (bench): Remove slow benchmarks.
10180         * benchtests/atan-inputs: Add slow benchmark inputs.
10181         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10182         (BENCH_FUNC): Accept variant offset.
10183         (VARIANT): Define.
10184         * benchtests/bench-skeleton.c (main): Run benchmark for each
10185         variant.
10186         * benchtests/cos-inputs: Add slow benchmark inputs.
10187         * benchtests/exp-inputs: Likewise.
10188         * benchtests/pow-inputs: Likewise.
10189         * benchtests/sin-inputs: Likewise.
10190         * benchtests/slowatan-inputs: Remove.
10191         * benchtests/slowatan.c: Remove.
10192         * benchtests/slowcos-inputs: Remove.
10193         * benchtests/slowcos.c: Remove.
10194         * benchtests/slowexp-inputs: Remove.
10195         * benchtests/slowexp.c: Remove.
10196         * benchtests/slowpow-inputs: Remove.
10197         * benchtests/slowpow.c: Remove.
10198         * benchtests/slowsin-inputs: Remove.
10199         * benchtests/slowsin.c: Remove.
10200         * benchtests/slowtan-inputs: Remove.
10201         * benchtests/slowtan.c: Remove.
10202         * benchtests/tan-inputs: Add slow benchmark inputs.
10203         * scripts/bench.pl: Parse comments and directives.
10205         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10206         in CPPFLAGS.
10207         ($(objpfx)bench-%.c): Remove *-ITER.
10208         * benchtests/bench-modf.c: Remove definition of ITER.
10209         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10210         (main): Loop for DURATION seconds instead of fixed number of
10211         iterations.
10212         * scripts/bench.pl: Don't expect iterations in parameters.
10214 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10216         * io/fchdir.c (__fchdir): Renamed from fchdir.
10217         (fchdir): Define as weak alias.
10219 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10221         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10222         (ERRNO_EDOM): Likewise.
10223         (ERRNO_ERANGE): Likewise.
10224         (noErrnoTests): New variable.
10225         (init_max_error): Set errno to 0.
10226         (test_single_errno): New function.
10227         (test_errno): Likewise.
10228         (check_float_internal): Call test_errno.  Set errno to 0.
10229         (check_complex): Refer to errno tests in comment.
10230         (check_int): Call test_errno.  Set errno to 0.
10231         (check_long): Likewise.
10232         (check_bool): Likewise.
10233         (check_longlong): Likewise.
10234         (cos_test): Use ERRNO_* flags for errno tests instead of
10235         check_int.
10236         (expm1_test): Likewise.
10237         (fmod_test): Likewise.
10238         (ilogb_test): Likewise.
10239         (lgamma_test): Likewise.
10240         (pow_test): Likewise.
10241         (remainder_test): Likewise.
10242         (sin_test): Likewise.
10243         (tan_test): Likewise.
10244         (yn_test): Likewise.
10245         (initialize): Set errno to 0.
10246         (main): Print number of errno tests.
10247         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10249 2013-04-29  Andreas Jaeger  <aj@suse.de>
10251         [BZ #15084]
10252         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10253         and RES_USEVC.
10255         [BZ #15085]
10256         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10257         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10258         unimplemented.
10260         [BZ #15380]
10261         * stdlib/random.c (__initstate): Return NULL if
10262         __initstate fails.
10264         [BZ #15086]
10265         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10266         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10267         RES_SNGLKUPREOP.
10269 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10273 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10275         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10276         of individual tests.
10277         (casin_test): Likewise.
10278         (casinh_test): Likewise.
10280 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10282         [BZ #15409]
10283         * math/s_catan.c (__catan): Handle arguments with large real or
10284         imaginary part separately without squaring.
10285         * math/s_catanf.c (__catanf): Likewise.
10286         * math/s_catanh.c (__catanh): Likewise.
10287         * math/s_catanhf.c (__catanhf): Likewise.
10288         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10289         and redefine.
10290         (__catanhl): Handle arguments with large real or imaginary part
10291         separately without squaring.
10292         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10293         and redefine.
10294         (__catanl): Handle arguments with large real or imaginary part
10295         separately without squaring.
10296         * math/libm-test.inc (catan_test): Add more tests.
10297         (catanh_test): Likewise.
10298         * sysdeps/i386/fpu/libm-test-ulps: Update.
10299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10301 2013-04-27  Andreas Jaeger  <aj@suse.de>
10303         [BZ #15007]
10304         * stdlib/stdlib.h: Update guards for qecvt.
10305         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10306         <stdlib.h>.
10308 2013-04-27  Allan McRae  <allan@archlinux.org>
10310         * sysdeps/i386/fpu/libm-test-ulps: Update.
10312 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10314         [BZ #15406]
10315         * math/s_catan.c: Include <float.h>.
10316         (__catan): Ensure underflow exception occurs for underflowed
10317         result.
10318         * math/s_catanf.c: Include <float.h>.
10319         (__catanf): Ensure underflow exception occurs for underflowed
10320         result.
10321         * math/s_catanh.c: Include <float.h>.
10322         (__catanh): Ensure underflow exception occurs for underflowed
10323         result.
10324         * math/s_catanhf.c: Include <float.h>.
10325         (__catanhf): Ensure underflow exception occurs for underflowed
10326         result.
10327         * math/s_catanhl.c: Include <float.h>.
10328         (__catanhl): Ensure underflow exception occurs for underflowed
10329         result.
10330         * math/s_catanl.c: Include <float.h>.
10331         (__catanl): Ensure underflow exception occurs for underflowed
10332         result.
10333         * math/libm-test.inc (catan_test): Add more tests.
10334         (catanh_test): Likewise.
10336         [BZ #15405]
10337         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10338         underflowed result.
10339         * math/s_ccoshf.c (__ccoshf): Likewise.
10340         * math/s_ccoshl.c (__ccoshl): Likewise.
10341         * math/s_csin.c (__csin): Likewise.
10342         * math/s_csinf.c (__csinf): Likewise.
10343         * math/s_csinh.c (__csinh): Likewise.
10344         * math/s_csinhf.c (__csinhf): Likewise.
10345         * math/s_csinhl.c (__csinhl): Likewise.
10346         * math/s_csinl.c (__csinl): Likewise.
10347         * math/libm-test.inc (ccos_test): Add more tests.
10348         (ccosh_test): Likewise.
10349         (csin_test): Likewise.
10350         (csinh_test): Likewise.
10352 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10354         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10355         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10356         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10357         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10358         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10359         powerpc/power5+/fpu folders.
10360         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10363 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10367 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10369         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10370         additions to variable.
10371         [$(config-machine) = x86_64] (modules-names): Likewise.
10372         ($(objpfx)tst-audit3): Remove dependency.
10373         ($(objpfx)tst-audit3.out): Likewise.
10374         ($(objpfx)tst-audit4): Likewise.
10375         ($(objpfx)tst-audit4.out): Likewise.
10376         ($(objpfx)tst-audit5): Likewise.
10377         ($(objpfx)tst-audit5.out): Likewise.
10378         ($(objpfx)tst-audit6): Likewise.
10379         ($(objpfx)tst-audit6.out): Likewise.
10380         ($(objpfx)tst-audit7): Likewise.
10381         ($(objpfx)tst-audit7.out): Likewise.
10382         (tst-audit3-ENV): Remove variable.
10383         (tst-audit4-ENV): Likewise.
10384         (tst-audit5-ENV): Likewise.
10385         (tst-audit6-ENV): Likewise.
10386         (tst-audit7-ENV): Likewise.
10387         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10388         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10389         addition to variable.
10390         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10391         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10392         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10393         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10394         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10395         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10396         tst-audit3, tst-audit4 and tst-audit5.
10397         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10398         tst-audit6 and tst-audit7.
10399         [$(subdir) = elf] (modules-names): Add audit modules for those
10400         tests.
10401         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10402         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10403         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10404         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10405         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10406         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10407         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10408         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10409         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10410         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10411         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10412         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10413         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10414         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10415         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10416         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10417         Likewise.
10418         [$(subdir) = elf && $(config-cflags-avx) = yes]
10419         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10420         [$(subdir) = elf && $(config-cflags-avx) = yes]
10421         (CFLAGS-tst-auditmod4a.c): Likewise.
10422         [$(subdir) = elf && $(config-cflags-avx) = yes]
10423         (CFLAGS-tst-auditmod4b.c): Likewise.
10424         [$(subdir) = elf && $(config-cflags-avx) = yes]
10425         (CFLAGS-tst-auditmod6b.c): Likewise.
10426         [$(subdir) = elf && $(config-cflags-avx) = yes]
10427         (CFLAGS-tst-auditmod6c.c): Likewise.
10428         [$(subdir) = elf && $(config-cflags-avx) = yes]
10429         (CFLAGS-tst-auditmod7b.c): Likewise.
10430         * elf/tst-audit3.c: Move to ...
10431         * sysdeps/x86_64/tst-audit3.c: ... here.
10432         * elf/tst-audit4.c: Move to ...
10433         * sysdeps/x86_64/tst-audit4.c: ... here.
10434         * elf/tst-audit5.c: Move to ...
10435         * sysdeps/x86_64/tst-audit5.c: ... here.
10436         * elf/tst-audit6.c: Move to ...
10437         * sysdeps/x86_64/tst-audit6.c: ... here.
10438         * elf/tst-audit7.c: Move to ...
10439         * sysdeps/x86_64/tst-audit7.c: ... here.
10440         * elf/tst-auditmod3a.c: Move to ...
10441         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10442         * elf/tst-auditmod3b.c: Move to ...
10443         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10444         * elf/tst-auditmod4a.c: Move to ...
10445         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10446         * elf/tst-auditmod4b.c: Move to ...
10447         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10448         * elf/tst-auditmod5a.c: Move to ...
10449         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10450         * elf/tst-auditmod5b.c: Move to ...
10451         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10452         * elf/tst-auditmod6a.c: Move to ...
10453         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10454         * elf/tst-auditmod6b.c: Move to ...
10455         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10456         * elf/tst-auditmod6c.c: Move to ...
10457         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10458         * elf/tst-auditmod7a.c: Move to ...
10459         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10460         * elf/tst-auditmod7b.c: Move to ...
10461         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10463 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10465         [BZ #15366]
10466         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10467         define unconditionally.
10468         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10469         define unconditionally.
10470         (INT8_C, INT16_C, etc.): Likewise.
10472 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10474         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10475         __ehdr_start with hidden visibility.
10477         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10479 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10481         * math/libm-test.inc (cos_test): Use accurate hex constants.
10482         (sincost_test): Likewise.
10484 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10486         * math/libm-test.inc (catan_test): Add more tests.
10487         (catanh_test): Likewise.
10489         * math/s_catanf.c (__catanf): Use suffixed floating-point
10490         constants.
10491         * math/s_catanhf.c (__catanhf): Likewise.
10492         * math/s_catanhl.c (__catanhl): Likewise.
10493         * math/s_catanl.c (__catanl): Likewise.
10495         [BZ #15394]
10496         * math/s_catan.c (__catan): Calculate imaginary part of result
10497         with log1p not log unless computing log of number close to 0.
10498         * math/s_catanf.c (__catanf): Likewise.
10499         * math/s_catanl.c (__catanl): Likewise.
10500         * math/s_catanh.c (__catanh): Calculate real part of result with
10501         log1p not log unless computing log of number close to 0.
10502         * math/s_catanhf.c (__catanhf): Likewise.
10503         * math/s_catanhl.c (__catanhl): Likewise.
10504         * math/libm-test.inc (catan_test): Add more tests.
10505         (catanh_test): Likewise.
10506         * sysdeps/i386/fpu/libm-test-ulps: Update.
10507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10509 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10511         * benchtests/Makefile: Mention files in which fast and slow
10512         paths of math functions are implemented.
10514 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10516         * sysdeps/posix/timespec_get.c: New file.
10518 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10520         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10521         POWER.
10522         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10523         for POWER.
10524         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10525         powerpc/power5/fpu folders.
10526         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10527         * benchtests/Makefile: Add modf testcase.
10528         * benchtests/bench-modf.c: New file: Benchmark test for mo
10530 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10532         [BZ #14888]
10533         * time/Makefile (tests): Add tst-strptime-whitespace.
10534         * time/strptime_l.c (get_number): Use ISSPACE.
10535         (__strptime_internal): Likewise.
10536         * time/tst-strptime-whitespace.c: New test case.
10538 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10540         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10541         member.
10542         (_nss_files_init): Set it here.
10544 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10546         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10547         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10548         unsigned.
10550 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10552         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10554 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10556         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10557         size just once.
10559 2013-04-21  David S. Miller  <davem@davemloft.net>
10561         * po/ru.po: Update Russion translation from translation project.
10563 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10565         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10566         and setfsgid.
10568 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10570         * configure.in: Remove i386 configure warning. Remove i386 case.
10571         * configure: Regenerate.
10572         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10573         Add example to error message.
10574         * sysdeps/i386/configure: Regenerate.
10576 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10578         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10579         slowtan.
10580         * benchtests/cos-inputs: New file.
10581         * benchtests/slowcos-inputs: New file.
10582         * benchtests/slowcos.c: New file.
10583         * benchtests/slowtan-inputs: New file.
10584         * benchtests/slowtan.c: New file.
10585         * benchtests/tan-inputs: New file.
10587 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10589         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10590         considered kosher.
10592 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10594         * benchtests/Makefile: Include cppflags-iterator.mk to add
10595         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10597         * Makefile.in (bench-clean): New target.
10598         * benchtests/Makefile (bench-clean): Likewise.
10600 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10602         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10604 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10606         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10608 2013-04-15  Andreas Schwab  <schwab@suse.de>
10610         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10611         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10612         * nscd/pwdcache.c (cache_addpw): Likewise.
10613         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10614         more than recsize.
10616 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10618         * benchtests/Makefile (bench): Write all output to
10619         bench-out.tmp together.
10621 2013-04-15  Andreas Schwab  <schwab@suse.de>
10623         * nscd/nscd.c (main): Don't fork again after closing files.
10625 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10627         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10629         * benchtests/Rules (bench-deps): Collect dependencies into a
10630         single variable.  Add Makefile to dependencies.
10631         ($(objpfx)bench-%.c): Depend on bench-deps.
10633 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10634             Xavier Roche  <roche+kml2@exalead.com>
10636         [BZ #15361]
10637         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10638         just that it's a file descriptor.
10639         * manual/llio.texi (Synchronizing AIO Operations): Update description
10640         for EBADF error from aio_fsync.
10642 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10644         * Rules (bench): Move target definition...
10645         * benchtests/Makefile: ... here.
10647 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10649         * math/libm-test.inc (cos_test): Fix PI/2 test.
10650         (sincos_test): Likewise.
10651         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10652         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10654 2013-04-11  Andreas Schwab  <schwab@suse.de>
10656         [BZ #13988]
10657         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10658         accept exponent character only when digits were seen.
10659         * stdio-common/Makefile (tests): Add bug26.
10660         * stdio-common/bug26.c: New file.
10662         [BZ #14293]
10663         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10664         non-freeable.
10666 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10668         * Makeconfig (rtld-prefix): Define built linker prefix.
10669         * Rules (run-bench): Use it.
10670         * math/Makefile (run-regen-ulps): Likewise.
10672         * Rules (bench): Remove eval.
10674 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10675             Roland McGrath  <roland@hack.frob.com>
10676             Ondrej Bilka  <neleai@seznam.cz>
10678         [BZ #15346]
10679         * time/getdate.c: Include ctype.h and alloca.h.
10680         (__getdate_r): Trim leading and trailing spaces of input.
10681         * time/tst-getdate.c (tests): Add tests with leading and
10682         trailing spaces.
10684 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10686         [BZ #14280]
10687         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10688         when computing value.
10690 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10692         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10693         Use testrun.sh to run libm tests.
10695         [BZ #15309]
10696         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10698 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10700         [BZ #15264]
10701         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10703 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10705         * Makefile.in (regen-ulps): New target.
10706         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10707         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10708         [ifneq (no,$(PERL)] (regen-ulps): New target.
10709         [ifeq (no,$(PERL)] (regen-ulps): New target.
10710         * math/libm-test.inc (ulps_file_name): Define.
10711         (output_dir): New variable.
10712         (options): Add "output-dir" option.
10713         (parse_opt): Handle 'o' case.
10714         (main): If output_dir is non-NULL use it as a prefix
10715         otherwise use "".
10716         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10718 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10720         [BZ #10060, #10062]
10721         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10722         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10723         fail configure if __sync_val_compare_and_swap is not inlined.
10724         * sysdeps/i386/configure: Regenerate.
10725         * configure.in: Build for i686 when configured for i386.
10726         * configure: Regenerate.
10727         * README: Remove i386 reference.
10729 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10731         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10732         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10734 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10736         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10737         (lmsnanval): New variables.
10738         (F): Add conversion tests.
10739         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10740         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10742         * stdio-common/tstdiomisc.c (F): Properly collect individual
10743         tests' results.
10745         [BZ #14686, #15336]
10746         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10747         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10748         Instead, use input NaN values or generate a qNaN by arithmetic
10749         operation.  Also fix bugs to comply with the standard.
10750         * math/libm-test.inc (remainder_test): Add more tests.
10752         [BZ #15335, #15342]
10753         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10754         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10755         input NaN values or generate a qNaN by arithmetic operation.
10757         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10758         unreachable code.
10760         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10761         definitions.
10763 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10765         [BZ #14478]
10766         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10767         underflowed result.
10768         * math/s_cexpf.c (__cexpf): Likewise.
10769         * math/s_cexpl.c (__cexpl): Likewise.
10770         * math/libm-test.inc (cexp_test): Add more tests.
10772 2013-04-03  Andreas Schwab  <schwab@suse.de>
10774         [BZ #15330]
10775         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10776         order arrays from heap if bigger than alloca cutoff.
10778 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10780         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10781         (SNAN_TESTS_double): Refer to GCC PR56831.
10782         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10783         GCC PR56828.
10785 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10787         * Rules (bench): Move bench.out after the run is complete.
10789         * Rules (bench): Echo currently running benchmark.
10791         * benchtests/Makefile (bench): Add atan and slowatan.
10792         * benchtests/atan-inputs: New file.
10793         * benchtests/slowatan-inputs: New file.
10794         * benchtests/slowatan.c: New file.
10796         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10797         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10798         its value.
10800         [BZ #15305]
10801         * sysdeps/unix/sysv/linux/kernel-features.h
10802         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10803         __ASSUME_XFS_RESTRICTED_CHOWN.
10804         * sysdeps/unix/sysv/linux/pathconf.c
10805         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10806         Save and restore errno.
10808 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10810         [BZ #15327]
10811         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10812         arguments using __kernel_casinh.
10813         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10814         arguments using __kernel_casinhf.
10815         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10816         arguments using __kernel_casinhl.
10817         * math/libm-test.inc (cacosh_test): Add more tests.
10818         * sysdeps/i386/fpu/libm-test-ulps: Update.
10819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10821 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10823         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10824         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10826         * bench/Makefile (bench): Add sin and slowsin.
10827         * benchtests/sin-inputs: New file.
10828         * benchtests/slowsin-inputs: New file.
10829         * benchtests/slowsin.c: New file.
10831         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10832         (bench): Add slowexp and slowpow.
10833         (exp-ITER): Increase iterations.
10834         (pow-ITER): Likewise.
10835         * benchtests/exp-inputs: Change input.
10836         * benchtests/pow-inputs: Likewise.
10837         * benchtests/slowexp-inputs: New file.
10838         * benchtests/slowexp.c: New file.
10839         * benchtests/slowpow-inputs: New file.
10840         * benchtests/slowpow.c: New file.
10842 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10844         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10845         instructions.
10846         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10847         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10848         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10849         * benchtests/Makefile: Add rint benchtest.
10850         * benchtests/rint-inputs: Input for rint benchtest.
10852 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10854         * Versions.def (libm): Add GLIBC_2.18.
10855         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10856         hidden libm prototypes.
10857         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10858         * math/Makefile (libm-calls): Add s_issignaling.
10859         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10860         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10861         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10862         declaration.
10863         * math/math.h [__USE_GNU] (issignaling): New macro.
10864         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10865         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10866         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10867         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10868         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10869         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10870         * manual/arith.texi (issignaling): New section.
10871         * manual/libm-err-tab.pl (@all_functions): Update comment.
10872         * math/gen-libm-test.pl (parse_args): Apply special handling for
10873         issignaling.
10874         * math/libm-test.inc (print_float, issignaling_test): New
10875         functions.
10876         (check_float_internal): Add issignaling checks.
10877         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10878         default definition.
10879         * sysdeps/powerpc/math-tests.h: New file.
10880         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10881         tests.
10882         * math/test-snan.c (TEST_FUNC): Likewise.
10884 2013-03-30  David S. Miller  <davem@davemloft.net>
10886         * po/de.po: Update from translation team.
10888 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10890         [BZ #10357]
10891         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10892         imaginary part less than 1.0 and real part less than 0.5
10893         specially.
10894         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10895         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10896         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10897         (cacos_test): Add more tests.
10898         (casin_test): Likewise.
10899         (casinh_test): Likewise.
10900         * sysdeps/i386/fpu/libm-test-ulps: Update.
10901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10903 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10905         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10906         ONE with its value.
10908         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10909         (__pow_mp): Replace ONE and MONE with their values.
10910         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10911         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10912         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10913         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10914         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10915         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10917         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10919         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10920         (__pow_mp): Replace ZERO and MZERO with their values.
10921         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10922         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10923         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10924         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10925         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10926         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10927         (__sqr): Likewise.
10929         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10931         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10933 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10935         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10936         Declare with __attribute__ ((weak)).
10937         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10938         Call __call_tls_dtors only if it's not NULL.
10940 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10942         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10943         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10944         magic __ehdr_start linker symbol if it's defined.
10945         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10946         them up here if it was already done.
10948         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10949         (_dl_aux_init): Use const in cast when setting it.
10950         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10951         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10952         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10954         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10955         Declare them here.
10956         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10957         * csu/libc-tls.c: Nor here.
10958         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10960         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10961         (__libc_message): Never call vsyslog.
10963 2013-03-28  Alan Modra  <amodra@gmail.com>
10965         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10966         Define as empty.
10967         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10968         Likewise.
10970 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10972         [BZ #15214]
10973         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10974         underflow.
10975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10977 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10979         [BZ #15304]
10980         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10981         Don't add gid passed as argument.
10983         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10985 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10987         [BZ #15307]
10988         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10989         imaginary part between 1.0 and 1.5 and real part less than 0.5
10990         specially.
10991         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10992         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10993         * math/libm-test.inc (cacos_test): Add more tests.
10994         (casin_test): Likewise.
10995         (casinh_test): Likewise.
10996         * sysdeps/i386/fpu/libm-test-ulps: Update.
10997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10999 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11001         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11002         constants.
11003         (norm): Likewise.
11004         (denorm): Likewise.
11005         (__dbl_mp): Likewise.
11006         (add_magnitudes): Likewise.
11007         (sub_magnitudes): Likewise.
11008         (__add): Likewise.
11009         (__sub): Likewise.
11010         (__mul): Likewise.
11011         (__sqr): Likewise.
11012         (__inv): Likewise.
11013         (__dvd): Likewise.
11015         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11016         commented code.
11017         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11018         (__dubcos): Likewise.
11019         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11020         (__ieee754_acos): Likewise.
11021         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11022         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11023         (__exp1): Likewise.
11024         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11025         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11026         (log1): Likewise.
11027         (my_log2): Likewise.
11028         (checkint): Likewise.
11029         * sysdeps/ieee754/dbl-64/e_remainder.c
11030         (__ieee754_remainder): Likewise.
11031         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11032         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11033         (bsloww): Likewise.
11034         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11036         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11037         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11038         MANTISSA_STORE_T to store computations on mantissa.  Use
11039         macros for rounding and division.
11040         (denorm): Likewise.
11041         (__dbl_mp): Likewise.
11042         (add_magnitudes): Likewise.
11043         (sub_magnitudes): Likewise.
11044         (__mul): Likewise.
11045         (__sqr): Likewise.
11046         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11047         powers of two in terms of TWOPOW macro.
11048         (mp_no): Make type of mantissa as MANTISSA_T.
11049         [!RADIXI]: Define RADIXI.
11050         [!TWO52]: Define TWO52.
11051         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11053 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11055         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11056         llroundl symbol when building for PPC32.
11058 2013-03-24  Mark H Weaver  <mhw@netris.org>
11060         * manual/arith.texi (Normalization Functions): Fix prototypes for
11061         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11063 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11065         [BZ #13889]
11066         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11067         high value to check if expl overflow.
11068         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11069         to check for underflow and overflow.
11070         * math/libm-test.inc: Add exp test.
11072 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11074         [BZ #11120]
11075         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11076         with NOT_IN_libc.
11078 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11080         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11081         symbol.
11083 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11085         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11086         wrap blocks consisting of several statements.
11088         * sysdeps/generic/math-tests.h: New file.
11089         * sysdeps/i386/fpu/math-tests.h: Likewise.
11090         * math/test-snan.c: Include it.
11091         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11093 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11095         [BZ #15285]
11096         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11097         (__ieee754_j0l): Do not improve calculations using cos of twice
11098         input for inputs above LDBL_MAX / 2.0L.
11099         (__ieee754_y0l): Likewise.
11100         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11101         (__ieee754_j1l): Do not improve calculations using cos of twice
11102         input for inputs above LDBL_MAX / 2.0L.
11103         (__ieee754_y1l): Likewise.
11104         * math/libm-test.inc (j0_test): Add another test.
11105         (j1_test): Likewise.
11106         (y0_test): Likewise.
11107         (y1_test): Likewise.
11108         * sysdeps/i386/fpu/libm-test-ulps: Update.
11110 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11112         * Rules ($(objpfx)bench-%.c): Include code from a C source
11113         file.
11115 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11117         [BZ #15287]
11118         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11119         imaginary part 1.0 and real part less than 0.5 specially.
11120         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11121         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11122         * math/libm-test.inc (cacos_test): Add more tests.
11123         (casin_test): Likewise.
11124         (casinh_test): Likewise.
11125         * sysdeps/i386/fpu/libm-test-ulps: Update.
11126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11128 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11130         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11131         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11133 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11135         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11136         * config.make.in (config-cflags-sse4): Remove variable.
11137         (config-cflags-avx): Likewise.
11138         (config-cflags-sse2avx): Likewise.
11139         (config-cflags-novzeroupper): Likewise.
11140         (config-asflags-i686): Likewise.
11141         (have-mfma4): Likewise.
11142         (have-as-vis3): Likewise.
11143         (MIG): Likewise.
11144         * configure.in (MIG): Do not AC_SUBST.
11145         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11146         (libc_cv_cc_sse4): Do not AC_SUBST.
11147         (libc_cv_cc_avx): Likewise.
11148         (libc_cv_cc_sse2avx): Likewise.
11149         (libc_cv_cc_novzeroupper): Likewise.
11150         (libc_cv_cc_fma4): Likewise.
11151         (libc_cv_as_i686): Likewise.
11152         (libc_cv_sparc_as_vis3): Likewise.
11153         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11154         LIBC_CONFIG_VAR.
11155         (config-asflags-i686): Likewise.
11156         (config-cflags-avx): Likewise.
11157         (config-cflags-sse2avx): Likewise.
11158         (have-mfma4): Likewise.
11159         (config-cflags-novzeroupper): Likewise.
11160         * sysdeps/mach/configure.in (MIG): Likewise.
11161         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11162         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11163         LIBC_CONFIG_VAR.
11164         (config-cflags-avx): Likewise.
11165         (config-cflags-sse2avx): Likewise.
11166         (have-mfma4): Likewise.
11167         (config-cflags-novzeroupper): Likewise.
11168         * configure: Regenerated.
11169         * sysdeps/i386/configure: Likewise.
11170         * sysdeps/mach/configure: Likewise.
11171         * sysdeps/sparc/configure: Likewise.
11172         * sysdeps/x86_64/configure: Likewise.
11174 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11176         [BZ #14812]
11177         * locale/programs/localedef.c (options): Put N_ translation marker
11178         on argument names, not just descriptions.
11180 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11182         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11184 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11186         [BZ #14176]
11187         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11189 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11191         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11192         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11193         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11194         [!BEFORE_ABORT] (before_abort): New function.
11195         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11196         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11197         (writev_for_fatal): New function.
11198         (WRITEV_FOR_FATAL): New macro; call that.
11199         (backtrace_and_maps): New function.
11200         (BEFORE_ABORT): New macro; call that.
11201         (struct str_list): Type removed.
11202         (__libc_message, __libc_fatal): Functions removed.
11203         Include <sysdeps/posix/libc_fatal.c> instead.
11205 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11207         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11208         constants.
11209         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11210         double constants.
11212 2013-03-19  Andreas Schwab  <schwab@suse.de>
11214         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11215         * sysdeps/gnu/configure: Regenerate.
11217         * configure.in: Substitute libc_cv_rtlddir.
11218         * configure: Regenerate.
11219         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11220         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11221         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11222         * elf/Makefile (install-others, CFLAGS-interp.c)
11223         (ldso_install, common-ldd-rewrite): Likewise.
11224         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11225         $(inst_slibdir)/$(rtld-installed-name).
11226         * scripts/rellns-sh: Add -p option.
11227         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11228         for source.
11230 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11232         * manual/nptl.texi: Renamed to ...
11233         * manual/threads.texi: ... this.
11234         * manual/Makefile (chapters): Update.
11236 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11238         [BZ #14812]
11239         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11240         on argument names, not just descriptions.
11241         * malloc/memusagestat.c (options): Likewise.
11242         * nss/getent.c (options): Likewise.
11244 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11246         [BZ #14812]
11247         * iconv/iconv_prog.c (options): Put N_ translation marker
11248         on argument names, not just descriptions.
11249         * iconv/iconvconfig.c (options): Likewise.
11251 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11253         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11254         implementation which is faster on all x86_64 architectures.
11255         Tested on AMD, Intel Nehalem, SNB, IVB.
11256         * sysdeps/x86_64/strnlen.S: Likewise.
11258         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11259         Remove all multiarch strlen and strnlen versions.
11260         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11261         Remove strlen and strnlen related parts.
11263         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11264         Inline strlen part.
11265         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11267         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11268         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11269         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11270         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11271         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11272         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11274 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11276         * manual/memory.texi (Malloc Tunable Parameters):
11277         Sort parameters alphabetically. Add comments for missing entries.
11279 2013-03-17  David S. Miller  <davem@davemloft.net>
11281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11283 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11285         [BZ #15283]
11286         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11287         for arguments at most half maximum finite value.
11288         * math/libm-test.inc (j0_test): Add more tests.
11289         (j1_test): Likewise.
11290         (y0_test): Likewise.
11291         (y1_test): Likewise.
11292         * sysdeps/i386/fpu/libm-test-ulps: Update.
11293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11295         [BZ #14155]
11296         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11297         1 / x and functions P and Q for arguments above 0x1p256L.
11298         (__ieee754_y0l): Likewise.
11299         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11300         (__ieee754_y1l): Likewise.
11301         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11302         (j1_test): Likewise.
11303         (y0_test): Likewise.
11304         (y1_test): Likewise.
11306 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11308         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11309         variable.
11311 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11313         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11314         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11315         zero since it's initialized to EXEC_PAGESIZE.
11317         * sysdeps/unix/sysv/linux/ldsodefs.h
11318         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11319         * sysdeps/generic/ldsodefs.h: ... here.
11321 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11323         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11325         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11326         math/test-snan.c.
11327         * math/test-snan.c: Renamed from
11328         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11329         * math/Makefile (tests): Add test-snan.
11330         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11331         test-powerpc-snan.
11333         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11334         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11335         functions.
11336         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11337         __builtin_nan family of functions.
11338         * math/libm-test.inc (initialize): Initialize qnan_value with
11339         __builtin_nan family of functions.
11340         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11341         Remove variables.
11342         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11343         Remove functions.
11344         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11345         storage class.  Initialize qNaN_var and sNaN_var with
11346         __builtin_nan and __builtin_nans families of functions,
11347         respectively.
11349         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11350         (sqrt_test): Remove duplicate test with qNaN input.
11351         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11352         (round_test, signbit_test, significand_test): Note missing +/-Inf
11353         as well as qNaN tests.
11355         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11356         qNaN_var.  Fix a few strings, too.
11357         * math/libm-test.inc (nan_value): Rename to qnan_value.
11358         * math/gen-libm-test.pl (%beautify): Adjust to that.
11359         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11360         * math/test-misc.c (main): Likewise.
11361         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11362         to __qnan_bytes, and __qnan_union, respectively.
11363         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11364         Likewise.
11365         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11366         and lqnanval, respectively.
11367         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11368         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11369         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11370         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11372         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11373         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11374         doubles.
11376         * math/test-misc.c (main): Fix copy'n'pastos.
11377         * misc/tst-efgcvt.c (special): Likewise.
11379         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11380         Remove declarations.
11382 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11384         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11385         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11386         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11387         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11389 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11391         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11392         macro to return vdso values correctly in IFUNC implementations.
11393         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11394         Optimization by using IFUNC.
11396 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11397             Richard Henderson  <rth@redhat.com>
11398             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11400         * Makefile.in (bench): New target.
11401         * NEWS: Mention the benchmark framework.
11402         * Rules (bench): Likewise.
11403         (binaries-bench): Generate binaries for functions to
11404         benchmark.
11405         * benchtests/Makefile: New makefile for benchmark tests.
11406         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11407         programs.
11408         * benchtests/exp-inputs: New input file for EXP function.
11409         * benchtests/pow-inputs: New input file for POW function.
11410         * scripts/bench.pl: New script to generate source files for
11411         benchmark programs.
11413 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11415         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11416         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11417         computations on mantissa.  Use macros for rounding and
11418         division.
11419         (denorm): Likewise.
11420         (__dbl_mp): Likewise.
11421         (add_magnitudes): Likewise.
11422         (sub_magnitudes): Likewise.
11423         (__mul): Likewise.
11424         (__sqr): Likewise.
11425         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11426         powers of two in terms of TWOPOW macro.
11427         (mp_no): Make type of mantissa as MANTISSA_T.
11428         [!RADIXI]: Define RADIXI.
11429         [!TWO52]: Define TWO52.
11430         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11432         * manual/nptl.texi (cindex): Modify threads to pthreads.
11434 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11436         * sysdeps/x86_64/preconfigure: Regenerated.
11438 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11440         [BZ #14155]
11441         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11442         0x1p28 and above.
11443         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11444         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11445         0x1p28 and above.
11446         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11447         * math/libm-test.inc (j0_test): Do not allow one spurious
11448         underflow exception.
11449         (y1_test): Likewise.
11451 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11453         * manual/Makefile (chapters): Add nptl.
11454         * manual/debug.texi (Debugging Support): Add link to Threads
11455         chapter.
11456         * manual/nptl.texi: New file.
11458         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11460 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11462         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11463         for non-NULL pointer before the memory validity test. Pointed
11464         out by Holger Brunck <holger.brunck@keymile.com>.
11466 2013-03-13  Andreas Schwab  <schwab@suse.de>
11468         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11469         instead of .os.
11471 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11473         * timezone/zic.c: Update from tzcode 2013b.
11475 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11477         * manual/install.texi (Configuring and compiling):
11478         Mention i686 and i586.
11479         * INSTALL: Regenerate.
11481 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11483         * sysdeps/init_array/elf-init.c: New file.
11484         * csu/elf-init.c
11485         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11486         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11488         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11489         __gmon_start__ as global, but as static with a .preinit_array pointer.
11490         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11491         * sysdeps/init_array/crti.S: New file, empty except for comments.
11492         * sysdeps/init_array/crtn.S: Likewise.
11494 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11496         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11497         definining bcopy.
11498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11499         Remove Prefer_SSE_for_memop.
11500         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11501         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11502         HAS_PREFER_SSE_FOR_MEMOP.
11503         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11504         memset-x86-64.
11505         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11506         Remove bzero, memset ifunc support.
11507         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11508         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11509         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11510         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11512 2013-03-11  Andreas Schwab  <schwab@suse.de>
11514         [BZ #15234]
11515         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11516         by SHLIB_COMPAT.
11517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11518         (GLIBC_2.16): Remove pthread_atfork.
11520 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11522         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11523         (ptestcases.h): Likewise.
11525 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11527         * Makeconfig ($(common-objpfx)config.status): Depend on
11528         sysdeps/*/preconfigure{,.in} too.
11530 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11532         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11533         (__free_hook): Use void * instead of __malloc_ptr_t.
11534         (__malloc_hook): Likewise.
11535         (__realloc_hook): Likewise.
11536         (__memalign_hook): Likewise.
11537         (__after_morecore_hook): Likewise.
11538         * malloc/arena.c (save_malloc_hook): Likewise.
11539         (save_free_hook): Likewise.
11540         * malloc/hooks.c (malloc_hook_ini): Likewise.
11541         (realloc_hook_ini): Likewise.
11542         (memalign_hook_ini): Likewise.
11543         * malloc/malloc.c (malloc_hook_ini): Likewise.
11544         (realloc_hook_ini): Likewise.
11545         (memalign_hook_ini): Likewise.
11546         (__free_hook): Likewise.
11547         (__malloc_hook): Likewise.
11548         (__realloc_hook): Likewise.
11549         (__memalign_hook): Likewise.
11550         (__libc_malloc): Likewise.
11551         (__libc_free): Likewise.
11552         (__libc_realloc): Likewise.
11553         (__libc_memalign): Likewise.
11554         (__libc_valloc): Likewise.
11555         (__libc_pvalloc): Likewise.
11556         (__libc_calloc): Likewise.
11557         (__posix_memalign): Likewise.
11558         * malloc/morecore.c (__sbrk): Likewise.
11559         (__default_morecore): Likewise.
11561         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11563         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11564         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11565         __malloc_ptrdiff_t.
11567         * malloc/malloc.h (__malloc_size_t): Remove macro.
11568         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11569         __malloc_size_t.
11570         (old_memalign_hook): Likewise.
11571         (old_realloc_hook): Likewise.
11572         (struct hdr): Likewise.
11573         (flood): Likewise.
11574         (mallochook): Likewise.
11575         (memalignhook): Likewise.
11576         (reallochook): Likewise.
11577         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11578         (tr_old_realloc_hook): Likewise.
11579         (tr_old_memalign_hook): Likewise.
11580         (tr_mallochook): Likewise.
11581         (tr_reallochook): Likewise.
11582         (tr_memalignhook): Likewise.
11584 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11586         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11587         default_ldbl_pack and using as default implementation.
11588         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11589         implementation.
11590         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11591         redundant definition.
11592         (ldbl_insert_mantissa): Likewise.
11593         (ldbl_canonicalize): Likewise.
11594         (ldbl_nearbyint): Likewise.
11595         (ldbl_pack): Rename to ldbl_pack_ppc.
11596         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11597         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11598         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11600 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11602         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11603         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11604         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11605         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11607         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11608         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11609         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11611 2013-03-07  Andreas Jaeger  <aj@suse.de>
11613         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11614         bits/mman-linux.h.
11616 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11618         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11619         Include mpa.h and declare __MPEXP.
11620         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11621         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11622         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11623         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11624         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11625         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11626         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11628         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11629         (__slowpow): Use long double EXPL and LOGL functions to
11630         compute POW.
11631         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11632         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11633         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11634         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11635         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11636         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11639         intermediate variable to calculate exponent.
11640         (__sqr): Likewise.
11641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11642         Likewise.
11643         (__sqr): Likewise.
11645         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11646         [!NO__SQR]: Define __sqr.
11647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11648         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11649         sysdeps/ieee754/dbl-64/mpa.c.
11650         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11652         [BZ #12723]
11653         * posix/Makefile (tests): Add tst-pathconf.
11654         * posix/tst-pathconf.c: New test case.
11655         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11656         _PC_PIPE_BUF.
11657         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11659 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11661         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11663 2013-03-06  Andreas Jaeger  <aj@suse.de>
11665         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11666         definition via __MAP_ANONYMOUS.
11668         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11669         it's not part of Linux headers.
11671         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11672         (MAP_HUGE_MASK): Define.
11674         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11675         Define.
11676         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11677         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11678         Define.
11679         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11680         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11681         Define.
11682         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11683         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11684         Define.
11685         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11687         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11688         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11689         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11690         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11691         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11692         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11694         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11695         Handle f2fs.
11697         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11698         Handle f2fs and efivarfs.
11700         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11701         f2fs.
11703         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11704         (EFIVARFS_MAGIC): Add.
11705         (F2FS_LINK_MAX): Add.
11707 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11709         * stdio-common/vfprintf.c: Replace __builtin_expect with
11710         __glibc_unlikely.
11712 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11714         [BZ #13550]
11715         * sysdeps/generic/bp-sym.h: Remove file.
11716         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11717         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11718         <bp-sym.h> and <bp-asm.h>.
11719         (__longjmp): Don't use BP_SYM.
11720         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11721         and <bp-asm.h>.
11722         (memcpy): Don't use BP_SYM.
11723         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11724         <bp-sym.h> and <bp-asm.h>.
11725         (memcpy): Don't use BP_SYM.
11726         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11727         <bp-asm.h>.
11728         (memcpy): Don't use BP_SYM.
11729         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11730         <bp-asm.h>.
11731         (memset): Don't use BP_SYM.
11732         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11733         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11734         (__bzero): Don't use BP_SYM.
11735         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11736         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11737         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11738         <bp-sym.h> and <bp-asm.h>.
11739         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11740         pointers.
11741         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11742         <bp-sym.h> and <bp-asm.h>.
11743         (memcpy): Don't use BP_SYM.
11744         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11745         <bp-sym.h> and <bp-asm.h>.
11746         (memset): Don't use BP_SYM.
11747         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11748         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11749         (__bzero): Don't use BP_SYM.
11750         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11751         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11752         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11753         <bp-sym.h> and <bp-asm.h>.
11754         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11755         pointers.
11756         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11757         <bp-sym.h> and <bp-asm.h>.
11758         (memcpy): Don't use BP_SYM.
11759         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11760         <bp-sym.h> and <bp-asm.h>.
11761         (memset): Don't use BP_SYM.
11762         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11763         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11764         (__bzero): Don't use BP_SYM.
11765         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11766         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11767         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11768         <bp-sym.h> and <bp-asm.h>.
11769         (__memchr): Don't use BP_SYM.
11770         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11771         <bp-sym.h> and <bp-asm.h>.
11772         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11773         pointers.
11774         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11775         <bp-sym.h> and <bp-asm.h>.
11776         (memcpy): Don't use BP_SYM.
11777         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11778         <bp-sym.h> and <bp-asm.h>.
11779         (__mempcpy): Don't use BP_SYM.
11780         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11781         <bp-sym.h> and <bp-asm.h>.
11782         (__memrchr): Don't use BP_SYM.
11783         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11784         <bp-sym.h> and <bp-asm.h>.
11785         (memset): Don't use BP_SYM.
11786         (__bzero): Likewise.
11787         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11788         <bp-sym.h> and <bp-asm.h>.
11789         (__rawmemchr): Don't use BP_SYM.
11790         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11791         <bp-sym.h> and <bp-asm.h>.
11792         (__STRCMP): Don't use BP_SYM.
11793         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11794         <bp-sym.h> and <bp-asm.h>.
11795         (strchr): Don't use BP_SYM.
11796         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11797         <bp-sym.h> and <bp-asm.h>.
11798         (__strchrnul): Don't use BP_SYM.
11799         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11800         <bp-sym.h> and <bp-asm.h>.
11801         (strlen): Don't use BP_SYM.
11802         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11803         <bp-sym.h> and <bp-asm.h>.
11804         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11805         pointers.
11806         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11807         <bp-sym.h> and <bp-asm.h>.
11808         (__strnlen): Don't use BP_SYM.
11809         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11810         <bp-sym.h> and <bp-asm.h>.
11811         (__GI__setjmp): Don't use BP_SYM.
11812         (_setjmp): Likewise.
11813         (__sigsetjmp): Likewise.
11814         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11815         (L(start_addresses)): Don't use BP_SYM.
11816         (_start): Likewise.
11817         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11818         <bp-asm.h>.
11819         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11820         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11821         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11822         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11823         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11824         <bp-asm.h>.
11825         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11826         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11827         about bounded pointers.
11828         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11829         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11830         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11831         <bp-asm.h>.
11832         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11833         about bounded pointers.  Remove GKM FIXME comments.
11834         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11835         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11836         <bp-asm.h>.
11837         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11838         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11839         Remove GKM FIXME comments.
11840         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11841         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11842         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11843         <bp-asm.h>.
11844         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11845         about bounded pointers.  Remove GKM FIXME comment.
11846         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11847         and <bp-asm.h>.
11848         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11849         pointers.
11850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11851         <bp-sym.h> and <bp-asm.h>.
11852         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11854         <bp-sym.h> and <bp-asm.h>.
11855         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11856         comment.
11858 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11860         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11861         call free(NULL).
11863 2013-03-05  David S. Miller  <davem@davemloft.net>
11865         * po/es.po: Update from translation team.
11867 2013-03-05  Andreas Jaeger  <aj@suse.de>
11869         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11870         <bits/mman-linux.h>.
11871         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11872         is fine.
11873         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11874         <bits/mman-linux.h> to end of file.
11875         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11876         is fine.
11877         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11878         <bits/mman-linux.h> to end of file.
11879         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11880         is fine.
11881         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11882         <bits/mman-linux.h> to end of file.
11884         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11885         (MCL_CURRENT, MCL_FUTURE): Define here.
11887 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11889         [BZ #15232]
11890         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11891         attribute_hidden.
11892         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11894 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11896         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11897         fourth parameter needed for rt_sigprocmask syscall.
11898         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11899         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11900         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11901         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11902         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11903         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11905 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11907         [BZ #13550]
11908         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11909         comment about bounded pointers.
11910         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11911         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11913 2013-03-04  Andreas Jaeger  <aj@suse.de>
11915         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11916         common definitions.
11918         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11919         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11920         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11921         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11922         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11923         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11925 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11927         [BZ #15055]
11928         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11929         __ieee754_sqrl instead of __sqrl.
11931 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11933         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11934         * sysdeps/powerpc/fpu_control.h: ... here.
11935         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11936         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11937         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11938         * sysdeps/powerpc/bits/mathinline.h: ... here.
11940 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11942         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11943         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11944         to just [NEED_DL_SYSINFO_DSO].
11945         * elf/dl-support.c: Likewise.
11946         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11947         * elf/rtld.c (dl_main): Likewise.
11948         * elf/setup-vdso.h (setup_vdso): Likewise.
11949         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11950         * sysdeps/unix/sysv/linux/dl-sysdep.c
11951         (_dl_discover_osversion): Likewise.
11953 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11955         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11956         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11958 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11960         * NEWS: Mention libm performance improvements and non-x86 PI
11961         futex support.
11963         * csu/libc-start.c (__pthread_initialize_minimal): Change
11964         function arguments.
11965         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11967 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11969         [BZ #13550]
11970         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11971         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11972         <bp-sym.h> and <bp-asm.h>.
11973         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11974         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11975         and <bp-asm.h>.
11976         (memcpy): Don't use BP_SYM.
11977         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11978         <bp-asm.h>.
11979         (__mpn_add_n): Don't use BP_SYM.
11980         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11981         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11982         and <bp-asm.h>.
11983         (__mpn_addmul_1): Don't use BP_SYM.
11984         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11985         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11986         <bp-sym.h>.
11987         (_setjmp): Don't use BP_SYM.
11988         (__novmx_setjmp): Likewise.
11989         (__GI__setjmp): Likewise.
11990         (__vmx_setjmp): Likewise.
11991         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11992         <bp-sym.h>.
11993         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11994         (__bzero): Don't use BP_SYM.
11995         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11996         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11997         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11998         <bp-sym.h> and <bp-asm.h>.
11999         (memcpy): Don't use BP_SYM.
12000         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12001         <bp-sym.h> and <bp-asm.h>.
12002         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12003         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12004         <bp-sym.h> and <bp-asm.h>.
12005         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12006         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12007         <bp-asm.h>.
12008         (__mpn_lshift): Don't use BP_SYM.
12009         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12010         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12011         <bp-asm.h>.
12012         (memset): Don't use BP_SYM.
12013         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12014         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12015         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12016         <bp-asm.h>.
12017         (__mpn_mul_1): Don't use BP_SYM.
12018         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12019         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12020         <bp-sym.h> and <bp-asm.h>.
12021         (memcmp): Don't use BP_SYM.
12022         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12023         <bp-sym.h> and <bp-asm.h>.
12024         (memcpy): Don't use BP_SYM.
12025         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12026         <bp-sym.h> and <bp-asm.h>.
12027         (memset): Don't use BP_SYM.
12028         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12029         <bp-sym.h> and <bp-asm.h>.
12030         (strncmp): Don't use BP_SYM.
12031         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12032         <bp-sym.h> and <bp-asm.h>.
12033         (memcpy): Don't use BP_SYM.
12034         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12035         <bp-sym.h> and <bp-asm.h>.
12036         (memset): Don't use BP_SYM.
12037         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12038         <bp-sym.h> and <bp-asm.h>.
12039         (__memchr): Don't use BP_SYM.
12040         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12041         <bp-sym.h> and <bp-asm.h>.
12042         (memcmp): Don't use BP_SYM.
12043         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12044         <bp-sym.h> and <bp-asm.h>.
12045         (memcpy): Don't use BP_SYM.
12046         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12047         <bp-sym.h> and <bp-asm.h>.
12048         (__mempcpy): Don't use BP_SYM.
12049         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12050         <bp-sym.h> and <bp-asm.h>.
12051         (__memrchr): Don't use BP_SYM.
12052         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12053         <bp-sym.h> and <bp-asm.h>.
12054         (memset): Don't use BP_SYM.
12055         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12056         <bp-sym.h> and <bp-asm.h>.
12057         (__rawmemchr): Don't use BP_SYM.
12058         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12059         <bp-sym.h> and <bp-asm.h>.
12060         (__STRCMP): Don't use BP_SYM.
12061         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12062         <bp-sym.h> and <bp-asm.h>.
12063         (strchr): Don't use BP_SYM.
12064         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12065         <bp-sym.h> and <bp-asm.h>.
12066         (__strchrnul): Don't use BP_SYM.
12067         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12068         <bp-sym.h> and <bp-asm.h>.
12069         (strlen): Don't use BP_SYM.
12070         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12071         <bp-sym.h> and <bp-asm.h>.
12072         (strncmp): Don't use BP_SYM.
12073         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12074         <bp-sym.h> and <bp-asm.h>.
12075         (__strnlen): Don't use BP_SYM.
12076         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12077         <bp-asm.h>.
12078         (__mpn_rshift): Don't use BP_SYM.
12079         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12080         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12081         <bp-sym.h> and <bp-asm.h>.
12082         (__sigsetjmp): Don't use BP_SYM.
12083         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12084         (L(start_addresses)): Don't use BP_SYM.
12085         (_start): Likewise.
12086         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12087         <bp-asm.h>.
12088         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12089         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12090         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12091         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12092         <bp-asm.h>.
12093         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12094         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12095         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12096         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12097         <bp-asm.h>.
12098         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12099         comments.
12100         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12101         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12102         <bp-asm.h>.
12103         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12104         FIXME comments.
12105         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12106         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12107         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12108         <bp-asm.h>.
12109         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12110         comment.
12111         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12112         and <bp-asm.h>.
12113         (strncmp): Don't use BP_SYM,
12114         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12115         <bp-asm.h>.
12116         (__mpn_sub_n): Don't use BP_SYM.
12117         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12118         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12119         and <bp-asm.h>.
12120         (__mpn_submul_1): Don't use BP_SYM.
12121         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12123         <bp-sym.h> and <bp-asm.h>.
12124         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12126         <bp-sym.h> and <bp-asm.h>.
12127         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12128         comment.
12130 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12133         Use ZK to minimize writes to Z.
12134         (sub_magnitudes): Simplify code a bit.
12135         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12136         Use ZK to minimize writes to Z.
12137         (sub_magnitudes): Simplify code a bit.
12139 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12141         * csu/gmon-start.c: Add special exception to license text.
12143 2013-02-27  Richard Henderson  <rth@redhat.com>
12145         * scripts/config.guess: Update from config.git.
12146         * scripts/config.sub: Likewise.
12148 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12150         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12152         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12154         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12156         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12158         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12160 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12162         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12163         [$(build-shared = yes].
12165 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12167         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12168         (__mul): Reduce iterations for calculating mantissa.
12170         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12171         MPTWO.
12172         (__mpranred): Likewise.
12174         [BZ #15160]
12175         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12176         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12178 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12180         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12181         Define __attribute__.
12183 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12185         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12186         unused.
12187         * posix/regex_internal.h (__attribute): Remove.
12188         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12189         (re_string_context_at): Likewise.
12190         (bitset_not): Use __attribute__ and mark function as possibly
12191         unused.
12192         (bitset_merge): Likewise.
12193         (bitset_mask): Likewise.
12194         (re_string_char_size_at): Likewise.
12195         (re_string_wchar_at): Likewise.
12196         (re_string_elem_size_at): Likewise.
12198 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12200         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12201         code.
12202         (cc32): Likewise.
12204         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12205         (__acr): Likewise.
12206         (__cpy): Likewise.
12207         (norm): Likewise.
12208         (denorm): Likewise.
12209         (__dbl_mp): Likewise.
12210         (add_magnitudes): Likewise.
12211         (sub_magnitudes): Likewise.
12212         (__mul): Likewise.
12213         (__inv): Likewise.
12215         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12216         style.
12218         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12219         style.
12221         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12222         code.
12224         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12225         up changes with default code.
12226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12227         Likewise.
12229 2013-02-24  Allan McRae  <allan@archlinux.org>
12231         * manual/socket.texi (The Internet Namespace): Order menu items
12232         to match that in the file.
12234         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12235         node listing of the info page menu.
12237 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12239         [BZ #13550]
12240         * sysdeps/i386/bp-asm.h: Remove file.
12241         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12242         (PARMS): Do not use macros from bp-asm.h.
12243         (S1): Likewise.
12244         (S2): Likewise.
12245         (SIZE): Likewise.
12246         (__mpn_add_n): Do not use BP_SYM
12247         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12248         "bp-asm.h".
12249         (PARMS): Do not use macros from bp-asm.h.
12250         (S1): Likewise.
12251         (SIZE): Likewise.
12252         (__mpn_addmul_1): Do not use BP_SYM
12253         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12254         "bp-asm.h".
12255         (PARMS): Do not use macros from bp-asm.h.
12256         (SIGMSK): Likewise.
12257         (_setjmp): Likewise.  Do not use BP_SYM.
12258         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12259         "bp-asm.h".
12260         (PARMS): Do not use macros from bp-asm.h.
12261         (SIGMSK): Likewise.
12262         (setjmp): Likewise.  Do not use BP_SYM.
12263         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12264         "bp-asm.h".
12265         (PARMS): Do not use macros from bp-asm.h.
12266         (__frexp): Do not use BP_SYM.
12267         (frexp): Likewise.
12268         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12269         "bp-asm.h".
12270         (PARMS): Do not use macros from bp-asm.h.
12271         (__frexpf): Do not use BP_SYM.
12272         (frexpf): Likewise.
12273         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12274         "bp-asm.h".
12275         (PARMS): Do not use macros from bp-asm.h.
12276         (__frexpl): Do not use BP_SYM.
12277         (frexpl): Likewise.
12278         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12279         "bp-asm.h".
12280         (PARMS): Do not use macros from bp-asm.h.
12281         (__remquo): Do not use BP_SYM.
12282         (remquo): Likewise.
12283         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12284         "bp-asm.h".
12285         (PARMS): Do not use macros from bp-asm.h.
12286         (__remquof): Do not use BP_SYM.
12287         (remquof): Likewise.
12288         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12289         "bp-asm.h".
12290         (PARMS): Do not use macros from bp-asm.h.
12291         (__remquol): Do not use BP_SYM.
12292         (remquol): Likewise.
12293         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12294         "bp-asm.h".
12295         (PARMS): Do not use macros from bp-asm.h.
12296         (DEST): Likewise.
12297         (SRC): Likewise.
12298         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12299         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12300         "bp-asm.h".
12301         (PARMS): Do not use macros from bp-asm.h.
12302         (strlen): Do not use BP_SYM.
12303         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12304         "bp-asm.h".
12305         (PARMS): Do not use macros from bp-asm.h.
12306         (S1): Likewise.
12307         (S2): Likewise.
12308         (SIZE): Likewise.
12309         (__mpn_add_n): Do not use BP_SYM.
12310         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12311         "bp-asm.h".
12312         (PARMS): Do not use macros from bp-asm.h.
12313         (S1): Likewise.
12314         (SIZE): Likewise.
12315         (__mpn_addmul_1): Do not use BP_SYM.
12316         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12317         weak_alias.
12318         (bzero): Likewise.
12319         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12320         "bp-asm.h".
12321         (PARMS): Do not use macros from bp-asm.h.
12322         (S): Likewise.
12323         (SIZE): Likewise.
12324         (__mpn_lshift): Do not use BP_SYM.
12325         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12326         "bp-asm.h".
12327         (PARMS): Do not use macros from bp-asm.h.
12328         (DEST): Likewise.
12329         (SRC): Likewise.
12330         (LEN): Likewise.
12331         (memcpy): Likewise.  Do not use BP_SYM.
12332         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12333         libc_hidden_def and weak_alias.
12334         (mempcpy): Do not use BP_SYM in weak_alias.
12335         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12336         "bp-asm.h".
12337         (PARMS): Do not use macros from bp-asm.h.
12338         (DEST): Likewise.
12339         (LEN): Likewise.
12340         [!BZERO_P] (CHR): Likewise.
12341         (memset): Likewise.  Do not use BP_SYM.
12342         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12343         "bp-asm.h".
12344         (PARMS): Do not use macros from bp-asm.h.
12345         (S1): Likewise.
12346         (SIZE): Likewise.
12347         (__mpn_mul_1): Do not use BP_SYM.
12348         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12349         "bp-asm.h".
12350         (PARMS): Do not use macros from bp-asm.h.
12351         (S): Likewise.
12352         (SIZE): Likewise.
12353         (__mpn_rshift): Do not use BP_SYM.
12354         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12355         "bp-asm.h".
12356         (PARMS): Do not use macros from bp-asm.h.
12357         (STR): Likewise.
12358         (CHR): Likewise.
12359         (strchr): Likewise.  Do not use BP_SYM.
12360         (index): Do not use BP_SYM in weak_alias.
12361         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12362         "bp-asm.h".
12363         (PARMS): Do not use macros from bp-asm.h.
12364         (DEST): Likewise.
12365         (SRC): Likewise.
12366         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12367         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12368         "bp-asm.h".
12369         (PARMS): Do not use macros from bp-asm.h.
12370         (strlen): Do not use BP_SYM.
12371         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12372         "bp-asm.h".
12373         (PARMS): Do not use macros from bp-asm.h.
12374         (S1): Likewise.
12375         (S2): Likewise.
12376         (SIZE): Likewise.
12377         (__mpn_sub_n): Do not use BP_SYM.
12378         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12379         "bp-asm.h".
12380         (PARMS): Do not use macros from bp-asm.h.
12381         (S1): Likewise.
12382         (SIZE): Likewise.
12383         (__mpn_submul_1): Do not use BP_SYM.
12384         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12385         "bp-asm.h".
12386         (PARMS): Do not use macros from bp-asm.h.
12387         (S1): Likewise.
12388         (S2): Likewise.
12389         (SIZE): Likewise.
12390         (__mpn_add_n): Do not use BP_SYM.
12391         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12392         weak_alias.
12393         (bzero): Likewise.
12394         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12395         "bp-asm.h".
12396         (PARMS): Do not use macros from bp-asm.h.
12397         (BLK2): Likewise.
12398         (LEN): Likewise.
12399         (memcmp): Do not use BP_SYM.
12400         (bcmp): Do not use BP_SYM in weak_alias.
12401         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12402         "bp-asm.h".
12403         (PARMS): Do not use macros from bp-asm.h.
12404         (DEST): Likewise.
12405         (SRC): Likewise.
12406         (LEN): Likewise.
12407         (memcpy): Likewise.  Do not use BP_SYM.
12408         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12409         "bp-asm.h".
12410         (PARMS): Do not use macros from bp-asm.h.
12411         (DEST): Likewise.
12412         (SRC): Likewise.
12413         (LEN): Likewise.
12414         (memmove): Likewise.  Do not use BP_SYM.
12415         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12416         "bp-asm.h".
12417         (PARMS): Do not use macros from bp-asm.h.
12418         (DEST): Likewise.
12419         (SRC): Likewise.
12420         (LEN): Likewise.
12421         (__mempcpy): Likewise.  Do not use BP_SYM.
12422         (mempcpy): Do not use BP_SYM in weak_alias.
12423         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12424         "bp-asm.h".
12425         (PARMS): Do not use macros from bp-asm.h.
12426         (DEST): Likewise.
12427         (LEN): Likewise.
12428         [!BZERO_P] (CHR): Likewise.
12429         (memset): Likewise.  Do not use BP_SYM.
12430         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12431         "bp-asm.h".
12432         (PARMS): Do not use macros from bp-asm.h.
12433         (STR2): Likewise.
12434         (strcmp): Do not use BP_SYM.
12435         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12436         "bp-asm.h".
12437         (PARMS): Do not use macros from bp-asm.h.
12438         (STR): Likewise.
12439         (DELIM): Likewise.
12440         [USE_AS_STRTOK_R] (SAVE): Likewise.
12441         (FUNCTION): Likewise.  Do not use BP_SYM.
12442         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12443         aliases.
12444         (strtok_r): Likewise.
12445         (__GI___strtok_r): Likewise.
12446         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12447         (PARMS): Do not use macros from bp-asm.h.
12448         (S): Likewise.
12449         (SIZE): Likewise.
12450         (__mpn_lshift): Do not use BP_SYM.
12451         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12452         (PARMS): Do not use macros from bp-asm.h.
12453         (STR): Likewise.
12454         (CHR): Likewise.
12455         (__memchr): Do not use BP_SYM.
12456         (memchr): Do not use BP_SYM in weak_alias.
12457         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12458         (PARMS): Do not use macros from bp-asm.h.
12459         (BLK2): Likewise.
12460         (LEN): Likewise.
12461         (memcmp): Do not use BP_SYM.
12462         (bcmp): Do not use BP_SYM in weak_alias.
12463         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12464         (PARMS): Do not use macros from bp-asm.h.
12465         (S1): Likewise.
12466         (SIZE): Likewise.
12467         (__mpn_mul_1): Do not use BP_SYM.
12468         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12469         "bp-asm.h".
12470         (PARMS): Do not use macros from bp-asm.h.
12471         (STR): Likewise.
12472         (CHR): Likewise.
12473         (__rawmemchr): Do not use BP_SYM.
12474         (rawmemchr): Do not use BP_SYM in weak_alias.
12475         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12476         (PARMS): Do not use macros from bp-asm.h.
12477         (S): Likewise.
12478         (SIZE): Likewise.
12479         (__mpn_rshift): Do not use BP_SYM.
12480         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12481         (PARMS): Do not use macros from bp-asm.h.
12482         (SIGMSK): Likewise.
12483         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12484         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12485         (_start): Do not use BP_SYM.
12486         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12487         (PARMS): Do not use macros from bp-asm.h.
12488         (DEST): Likewise.
12489         (SRC): Likewise.
12490         (__stpcpy): Likewise.  Do not use BP_SYM.
12491         (stpcpy): Do not use BP_SYM in weak_alias.
12492         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12493         "bp-asm.h".
12494         (PARMS): Do not use macros from bp-asm.h.
12495         (DEST): Likewise.
12496         (SRC): Likewise.
12497         (LEN): Likewise.
12498         (__stpncpy): Likewise.  Do not use BP_SYM.
12499         (stpncpy): Do not use BP_SYM in weak_alias.
12500         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12501         (PARMS): Do not use macros from bp-asm.h.
12502         (STR): Likewise.
12503         (CHR): Likewise.
12504         (strchr): Likewise.  Do not use BP_SYM.
12505         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12506         "bp-asm.h".
12507         (PARMS): Do not use macros from bp-asm.h.
12508         (STR): Likewise.
12509         (CHR): Likewise.
12510         (__strchrnul): Likewise.  Do not use BP_SYM.
12511         (strchrnul): Do not use BP_SYM in weak_alias.
12512         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12513         "bp-asm.h".
12514         (PARMS): Do not use macros from bp-asm.h.
12515         (STOP): Likewise.
12516         (strcspn): Do not use BP_SYM.
12517         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12518         "bp-asm.h".
12519         (PARMS): Do not use macros from bp-asm.h.
12520         (STR): Likewise.
12521         (STOP): Likewise.
12522         (strpbrk): Likewise.  Do not use BP_SYM.
12523         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12524         "bp-asm.h".
12525         (PARMS): Do not use macros from bp-asm.h.
12526         (STR): Likewise.
12527         (CHR): Likewise.
12528         (strrchr): Likewise.  Do not use BP_SYM.
12529         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12530         (PARMS): Do not use macros from bp-asm.h.
12531         (SKIP): Likewise.
12532         (strspn): Do not use BP_SYM.
12533         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12534         (PARMS): Do not use macros from bp-asm.h.
12535         (STR): Likewise.
12536         (DELIM): Likewise.
12537         (SAVE): Likewise.
12538         (FUNCTION): Likewise.  Do not use BP_SYM.
12539         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12540         aliases.
12541         (strtok_r): Likewise.
12542         (__GI___strtok_r): Likewise.
12543         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12544         (PARMS): Do not use macros from bp-asm.h.
12545         (S1): Likewise.
12546         (S2): Likewise.
12547         (SIZE): Likewise.
12548         (__mpn_sub_n): Do not use BP_SYM.
12549         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12550         "bp-asm.h".
12551         (PARMS): Do not use macros from bp-asm.h.
12552         (S1): Likewise.
12553         (SIZE): Likewise.
12554         (__mpn_submul_1): Do not use BP_SYM.
12555         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12556         <bp-sym.h>.
12557         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12558         and <bp-asm.h>.
12559         (PARMS): Do not use macros from bp-asm.h.
12560         (FLAGS): Likewise.
12561         (PTID): Likewise.
12562         (TLS): Likewise.
12563         (CTID): Likewise.
12564         (__clone): Do not use BP_SYM.
12565         (clone): Do not use BP_SYM in weak_alias.
12566         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12567         and <bp-asm.h>.
12568         (PARMS): Do not use macros from bp-asm.h.
12569         (LEN): Likewise.
12570         (__mmap64): Do not use BP_SYM.
12571         (mmap64): Do not use BP_SYM in weak_alias.
12572         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12573         <bp-sym.h> and <bp-asm.h>.
12574         (PARMS): Do not use macros from bp-asm.h.
12575         (__posix_fadvise64_l64): Do not use BP_SYM.
12576         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12577         (PARMS): Do not use macros from bp-asm.h.
12578         (NSOPS): Likewise.
12579         (semtimedop): Do not use BP_SYM.
12580         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12581         and <bp-asm.h>.
12583 2013-02-21  Allan McRae  <allan@archlinux.org>
12585         * manual/message.texi (Charset conversion in gettext):
12586         Move @end statement to beginning of line.
12588 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12590         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12591         static.
12592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12593         Likewise.
12595         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12596         (denorm): Likewise.
12597         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12598         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12600 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12602         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12603         tail-call to the resolved function if pltexit isn't needed.
12605 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12608         or Y being zero as being unlikely.
12609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12610         Likewise.
12612 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12614         * manual/nss.texi (System Databases and Name Service Switch):
12615         Remove frobnicate @pxref.
12617 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12619         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12620         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12622 2013-02-20  Petr Machata  <pmachata@redhat.com>
12624         * elf/elf.h (R_ARM_TARGET1): New macro.
12625         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12626         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12627         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12628         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12629         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12630         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12631         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12632         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12633         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12634         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12635         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12636         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12637         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12638         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12639         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12640         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12641         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12642         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12643         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12644         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12645         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12646         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12647         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12648         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12649         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12650         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12651         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12652         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12653         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12654         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12655         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12656         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12657         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12658         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12659         (R_ARM_THM_GOT_BREL12): Likewise.
12660         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12661         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12662         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12663         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12664         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12665         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12666         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12667         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12668         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12670 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12672         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12673         __attribute_used__ to __attribute__ ((unused)).
12675 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12677         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12678         powerpc mpa.c.
12679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12680         comment formatting.
12681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12683 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12685         [BZ #13550]
12686         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12687         Remove macro.
12688         (ENTER): Remove both macro definitions.
12689         (LEAVE): Likewise.
12690         (CHECK_BOUNDS_LOW): Likewise.
12691         (CHECK_BOUNDS_HIGH): Likewise.
12692         (CHECK_BOUNDS_BOTH): Likewise.
12693         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12694         (RETURN_BOUNDED_POINTER): Likewise.
12695         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12696         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12697         (POP_ERRNO_LOCATION_RETURN): Likewise.
12698         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12699         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12700         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12701         macros.
12702         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12703         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12704         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12705         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12706         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12707         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12708         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12709         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12710         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12711         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12712         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12713         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12714         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12715         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12716         removed macros.
12717         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12718         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12719         macros.
12720         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12721         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12722         * sysdeps/i386/i586/memset.S (memset): Likewise.
12723         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12724         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12725         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12726         macros.
12727         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12728         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12729         Change uses of L(2) to L(out).
12730         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12731         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12732         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12733         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12734         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12735         removed macros.
12736         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12737         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12738         macros.
12739         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12740         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12741         (RETURN): Do not use macro LEAVE.
12742         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12743         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12744         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12745         * sysdeps/i386/i686/memset.S (memset): Likewise.
12746         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12747         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12748         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12749         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12750         Likewise.
12751         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12752         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12753         L(1_2) and L(1_3) into L(1).
12754         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12755         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12756         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12757         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12758         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12759         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12760         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12761         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12762         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12763         macros.
12764         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12765         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12766         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12767         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12768         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12769         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12770         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12771         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12772         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12773         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12774         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12775         * sysdeps/i386/strspn.S (strspn): Likewise.
12776         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12777         conditional code.
12778         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12779         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12780         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12781         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12782         L(1_3) into L(1_1).
12783         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12784         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12785         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12786         macros.
12787         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12789 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12791         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12792         macro.
12794 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12796         * math/atest-exp.c (exp_mpn): Remove ROUND.
12797         * math/atest-exp2.c (exp_mpn): Likewise.
12798         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12800         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12801         * stdlib/tst-tls-atexit-lib.c: Likewise.
12802         * stdlib/tst-tls-atexit.c: Likewise.
12804 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12806         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12807         and __attribute_alloc_size__.
12809 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12811         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12812         __attribute_alloc_size__.
12813         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12814         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12816 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12818         * include/programs/xmalloc.h: New file.
12819         * catgets/gencat.c: Include it.
12820         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12821         * elf/pldd.c: Likewise.
12822         * iconv/iconv_charmap.c: Likewise.
12823         * iconv/iconvconfig.c: Likewise.
12824         * iconv/strtab.c: Likewise.
12825         * locale/programs/locale.c: Likewise.
12826         * locale/programs/localedef.h: Likewise.
12827         * locale/programs/simple-hash.c: Likewise.
12828         * nscd/nscd.h: Likewise.
12829         * nss/makedb.c: Likewise.
12830         * sysdeps/generic/ldconfig.h: Likewise.
12832 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12834         * Versions.def: Add GLIBC_2.18.
12835         * include/link.h (struct link_map): New member l_tls_dtor_count.
12836         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12837         (__call_tls_dtors): Likewise.
12838         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12839         __cxa_thread_atexit_impl.
12840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12841         Likewise.
12842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12843         Likewise.
12844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12845         Likewise.
12846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12847         Likewise.
12848         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12850         Likewise.
12851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12852         Likewise.
12853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12855         Likewise.
12856         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12857         (tests): Add test case tst-tls-atexit.
12858         (modules-names): Add shared library for tst-tls-atexit.
12859         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12860         (GLIBC_PRIVATE): Add __call_tls_dtors.
12861         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12862         for libstdc++.
12863         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12864         * stdlib/tst-tls-atexit.c: New test case.
12865         * stdlib/tst-tls-atexit-lib.c: New test case.
12867         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12869         * elf/Versions (ld): Add _dl_find_dso_for_object.
12870         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12871         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12872         (dl_open_worker): Use _dl_find_dso_for_object.
12873         * elf/dl-sym.c (do_sym): Likewise.
12874         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12876 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12878         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12879         Syntactic changes only.
12880         (_dl_runtime_profile): Do a tail-call to the resolved function.
12882 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12884         [BZ #13550]
12885         * sysdeps/x86_64/bp-asm.h: Remove file.
12886         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12887         <bp-sym.h> and <bp-asm.h>.
12888         (__clone): Do not use BP_SYM.
12889         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12890         <bp-sym.h> and <bp-asm.h>.
12891         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12892         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12893         "bp-asm.h".
12894         (_setjmp): Do not use BP_SYM.
12895         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12896         "bp-asm.h".
12897         (setjmp): Do not use BP_SYM.
12898         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12899         libc_hidden_def.
12900         (mempcpy): Do not use BP_SYM in weak_alias.
12901         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12902         "bp-asm.h".
12903         (strchr): Do not use BP_SYM.
12904         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12905         "bp-asm.h".
12906         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12907         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12908         (_start): Do not use BP_SYM.
12909         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12910         "bp-asm.h".
12911         (strcat): Do not use BP_SYM.
12912         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12913         "bp-asm.h".
12914         (STRCMP): Do not use BP_SYM.
12915         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12916         "bp-asm.h".
12917         (STRCPY): Do not use BP_SYM.
12918         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12919         "bp-asm.h".
12920         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12921         "bp-asm.h".
12922         (FUNCTION): Do not use BP_SYM.
12923         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12924         weak_alias.
12925         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12927 2013-02-17  Andreas Jaeger  <aj@suse.de>
12929         * time/Versions: Sort entries.
12930         * string/Versions: Likewise.
12931         * resolv/Versions: Likewise.
12932         * posix/Versions: Likewise.
12933         * iconv/Versions: Likewise.
12934         * elf/Versions: Likewise.
12935         * wcsmbs/Versions: Likewise.
12937 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12939         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12940         loop termination condition.
12942         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12943         variable to calculate EZ.
12944         (__sqr): Likewise.
12946         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12947         the lower precision input.
12949 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12951         [BZ #13550]
12952         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12953         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12954         (run-via-rtld-prefix): Do not handle %-bp tests.
12955         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12956         (all-object-suffixes): Remove .ob.
12957         (bppfx): Remove variable.
12958         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12959         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12960         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12961         [$(build-bounded) = yes] (libtype.ob): Likewise.
12962         * Makerules (elide-routines.ob): Remove variable.
12963         (do-tests-clean): Do not handle *-bp.out.
12964         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12965         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12966         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12967         (tests): Do not include $(tests-bp.out).
12968         (xtests): Do not include $(xtests-bp.out).
12969         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12970         [$(build-bounded) = yes] ($(addprefix
12971         $(objpfx),$(binaries-bounded))): Remove rule.
12972         ($(objpfx)%-bp.out): Remove rule.
12973         * config.make.in (build-bounded): Remove variable.
12974         * crypt/Makefile [$(build-bounded) = yes]
12975         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12976         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12977         append to variable.
12978         [$(build-bounded) = yes] (install-lib): Likewise.
12979         [$(build-bounded) = yes] (generated): Likewise.
12980         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12981         Remove rule.
12982         * intl/Makefile [$(build-bounded) = yes]
12983         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12984         * math/Makefile [$(build-bounded) = yes]
12985         ($(tests:%=$(objpfx)%-bp): Likewise.
12986         * misc/Makefile [$(build-bounded) = yes]
12987         ($(objpfx)tst-tsearch-bp): Likewise.
12988         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12989         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12990         Remove dependency.
12991         * string/Makefile (o-objects.ob): Remove variable.
12992         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12993         (CFLAGS-.ob): Remove variable.
12994         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12995         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12996         both definitions of variable.
12997         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12998         (ASFLAGS-.ob): Remove variable.
13000 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13002         [BZ #13550]
13003         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13004         Remove __BOUNDED_POINTERS__ from condition.
13005         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13006         * string/bits/string2.h [!__NO_STRING_INLINES &&
13007         !__BOUNDED_POINTERS__]: Likewise.
13008         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13009         Likewise.
13010         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13011         Remove conditional code.
13012         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13013         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13014         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13015         condition.
13017         [BZ #13550]
13018         * csu/libc-start.c: Do not include <bp-sym.h>.
13019         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13020         * elf/dl-open.c: Do not include <bp-sym.h>.
13021         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13022         * math/fegetenv.c: Do not include <bp-sym.h>.
13023         (fegetenv): Do not use BP_SYM in versioned symbols.
13024         * nptl/sysdeps/pthread/bits/libc-lockP.h
13025         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13026         <bp-sym.h>.
13027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13028         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13030         (__pthread_mutex_destroy): Likewise.
13031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13032         (__pthread_mutex_lock): Likewise.
13033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13034         (__pthread_mutex_trylock): Likewise.
13035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13036         (__pthread_mutex_unlock): Likewise.
13037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13038         (__pthread_mutexattr_init): Likewise.
13039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13040         (__pthread_mutexattr_destroy): Likewise.
13041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13042         (__pthread_mutexattr_settype): Likewise.
13043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13044         (__pthread_rwlock_init): Likewise.
13045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13046         (__pthread_rwlock_destroy): Likewise.
13047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13048         (__pthread_rwlock_rdlock): Likewise.
13049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13050         (__pthread_rwlock_tryrdlock): Likewise.
13051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13052         (__pthread_rwlock_wrlock): Likewise.
13053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13054         (__pthread_rwlock_trywrlock): Likewise.
13055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13056         (__pthread_rwlock_unlock): Likewise.
13057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13058         (__pthread_key_create): Likewise.
13059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13060         (__pthread_setspecific): Likewise.
13061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13062         (__pthread_getspecific): Likewise.
13063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13064         Likewise.
13065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13066         (_pthread_cleanup_push_defer): Likewise.
13067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13068         (_pthread_cleanup_pop_restore): Likewise.
13069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13070         (pthread_setcancelstate): Likewise.
13071         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13072         <bp-sym.h>.
13073         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13074         (memchr): Do not use BP_SYM in weak_alias.
13075         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13076         (fegetenv): Do not use BP_SYM in versioned symbols.
13077         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13078         (fesetenv): Do not use BP_SYM in versioned symbols.
13079         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13080         (feupdateenv): Do not use BP_SYM in versioned symbols.
13081         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13082         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13083         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13084         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13085         (open64): Do not use BP_SYM in weak_alias.
13086         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13087         (fegetenv): Do not use BP_SYM in versioned symbols.
13088         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13089         (fesetenv): Do not use BP_SYM in versioned symbols.
13090         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13091         (feupdateenv): Do not use BP_SYM in versioned symbols.
13092         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13093         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13094         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13095         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13096         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13097         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13098         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13099         <bp-sym.h>.
13100         (__libc_start_main): Do not use BP_SYM.
13102 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13104         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13105         redundant return line.
13106         (norm): Likewise.
13107         (denorm): Likewise.
13108         (dbl_mp): Likewise.
13109         (sub_magnitudes): Likewise.
13110         (__add): Likewise.
13111         (__sub): Likewise.
13112         (__mul): Likewise.
13113         (__inv): Likewise.
13114         (__dvd): Likewise.
13115         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13116         (norm): Likewise.
13117         (denorm): Likewise.
13118         (dbl_mp): Likewise.
13119         (sub_magnitudes): Likewise.
13120         (__add): Likewise.
13121         (__sub): Likewise.
13122         (__mul): Likewise.
13123         (__inv): Likewise.
13124         (__dvd): Likewise.
13126         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13127         instead of __mul.
13128         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13129         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13130         (cc32): Likewise.
13132         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13133         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13134         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13135         of __mul for squares.
13136         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13137         function
13138         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13139         Likewise.
13140         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13141         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13143 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13145         [BZ #13550]
13146         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13147         code.
13148         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13149         prototype or function definition.  Rename ubp_* variables and
13150         parameters.  Remove argv definitions conditional on
13151         [__BOUNDED_POINTERS__].
13152         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13153         * elf/dl-runtime.c (_dl_fixup): Likewise.
13154         * include/set-hooks.h (RUN_HOOK): Likewise.
13155         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13156         definition.
13157         * string/strcpy.c (strcpy): Do not use __unbounded.
13158         * sysdeps/generic/frame.h (struct layout): Likewise.
13159         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13160         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13161         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13162         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13163         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13164         (__backtrace): Likewise.
13165         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13166         use __ptrvalue.
13167         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13168         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13169         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13170         Likewise.
13171         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13172         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13173         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13174         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13175         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13176         Do not use __unbounded.
13177         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13178         Rename __unboundedrlimits parameter to rlimits in prototype.
13179         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13180         Do not use __unbounded.
13181         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13182         not use __ptrvalue.
13183         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13184         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13185         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13186         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13187         __ptrvalue or __unbounded.
13188         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13189         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13190         use __unbounded.
13191         (__new_msgctl): Do not use __ptrvalue.
13192         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13193         __unbounded.
13194         (__libc_msgrcv): Do not use __ptrvalue.
13195         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13196         startup_info): Do not use __unbounded.
13197         (__libc_start_main): Likewise.  Rename ubp_* variables and
13198         parameters.  Remove argv definitions conditional on
13199         [__BOUNDED_POINTERS__].
13200         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13201         __ptrvalue.
13202         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13203         use __unbounded.
13204         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13205         or __ptrvalue.
13206         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13207         use __unbounded.
13208         (__new_shmctl): Do not use __ptrvalue.
13209         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13210         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13211         Likewise.
13212         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13213         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13214         (__libc_sigaction): Likewise.
13215         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13216         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13217         Likewise.
13218         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13220 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13222         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13224         * string/mempcpy.c: Implement by calling memcpy.
13226 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13228         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13230         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13231         evaluation.
13233         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13234         values in the mantissa.
13236         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13237         minimize writes to Z.
13238         (sub_magnitudes): Simplify code a bit.
13240 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13242         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13243         from the message.  The linker prefixes all warnings with that already.
13245 2013-02-12  Andreas Schwab  <schwab@suse.de>
13247         [BZ #15078]
13248         * posix/regexec.c (extend_buffers): Add parameter min_len.
13249         (check_matching): Pass minimum needed length.
13250         (clean_state_log_if_needed): Likewise.
13251         (get_subexp): Likewise.
13252         * posix/Makefile (tests): Add bug-regex34.
13253         (bug-regex34-ENV): Define.
13254         * posix/bug-regex34.c: New file.
13256         [BZ #11561]
13257         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13258         elements compare against the byte sequence of it, not its name.
13259         * posix/Makefile (tests): Add bug-regex35.
13260         (bug-regex35-ENV): Define.
13261         * posix/bug-regex35.c: New file.
13263 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13265         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13266         comment.
13267         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13268         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13269         (CHECK_EOL): Add undef.
13271 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13273         * bits/stdlib-bsearch.h: New file.
13274         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13275         * stdlib/stdlib.h: Likewise.
13277 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13279         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13280         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13281         declaration.
13282         * manual/search.texi (Array Search Function): Add missing const in
13283         lfind prototype.
13284         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13285         declaration to use rlim_t.
13286         (Basic Scheduling Functions): Remove erroneous const from
13287         sched_getparam prototype.  Remove erroneous * from
13288         sched_get_priority_max and sched_get_priority_min prototypes.
13289         (Resource Usage): Fix summary @comment on vtimes to refer to
13290         sys/vtimes.h rather than vtimes.h.
13291         Add missing *s in vtimes prototype.
13292         (Limits on Resources): Fix ulimit prototype to return long int.
13293         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13294         prototypes to use long int rather than double.
13295         (BSD Random): Fix initstate and setstate to use char *, not void *.
13296         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13297         prototype to make second argument 'struct aiocb64 *const[]'.
13298         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13299         (Status of AIO Operations): Remove erroneous const in aio_return and
13300         aio_return64 prototypes.
13301         (Synchronizing I/O): Fix sync prototype to return void.
13302         * manual/startup.texi (Suboptions): Remove an erroneous const in
13303         getsubopt prototype.
13304         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13305         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13306         use size_t rather than int.
13307         (Scanning All Users): Likewise for getpwent_r.
13308         (Setting Groups): Add missing const to setgroups prototype.
13309         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13310         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13311         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13312         'const void *' rather than 'const char *'.
13313         (Host Address Functions): Likewise for inet_ntop.
13314         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13315         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13316         ssize_t for return value.
13317         (Sending Data): Likewise for send, sendto, sendmsg.
13318         (Socket Option Functions): Add a missing const in setsockopt prototype.
13319         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13320         use wchar_t for the argument.
13321         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13322         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13323         take no arguments.
13324         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13325         double/float/long double for second argument.
13326         Fix return types of significand, significandf, significandl.
13327         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13328         argument in fchmod prototype.
13329         (File Owner): Use uid_t and gid_t in fchown prototype.
13330         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13331         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13332         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13333         use 'const struct dirent **' as argument types to CMP function pointer
13334         argument.
13335         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13336         (File Times): Fix summary magic @comment for struct utimbuf and utime
13337         to refer to utime.h, not time.h.
13338         * manual/string.texi (Argz Functions): Add missing const in
13339         argz_extract and argz_next prototypes.
13340         (Finding Tokens in a String): Likewise for basename.
13341         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13342         (Copying and Concatenation): Fix typo in wmemmove prototype.
13343         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13344         (Signal Stack): Remove erroneous const in sigstack prototype.
13345         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13346         prototype.
13347         (Simple Calendar Time): Likewise for stime.
13348         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13349         prototype.
13350         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13351         say sys/sysctl.h instead.
13352         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13353         and vsyslog prototypes.
13355 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13357         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13358         Remove.
13360 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13362         * misc/sys/mman.h: Fix typo in mremap comment.
13364 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13366         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13367         the '\0' terminator.
13369 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13371         [BZ #13550]
13372         * debug/segfault.c: Don't include <bp-checks.h>.
13373         * sysdeps/generic/bp-checks.h: Remove file.
13374         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13375         (__GETDENTS): Don't use CHECK_N.
13376         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13377         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13378         (__getgroups): Don't use CHECK_N.
13379         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13380         (setgroups): Don't use CHECK_N.
13381         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13382         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13383         (__libc_msgrcv): Don't use CHECK_N.
13384         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13385         (__libc_msgsnd): Don't use CHECK_N.
13386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13387         <bp-checks.h>.
13388         (__libc_pread): Don't use CHECK_N.
13389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13390         include <bp-checks.h>.
13391         (__libc_pread64): Don't use CHECK_N.
13392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13393         include <bp-checks.h>.
13394         (__libc_pwrite): Don't use CHECK_N.
13395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13396         include <bp-checks.h>.
13397         (__libc_pwrite64): Don't use CHECK_N.
13398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13399         <bp-checks.h>.
13400         (__libc_pread): Don't use CHECK_N.
13401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13402         include <bp-checks.h>.
13403         (__libc_pread64): Don't use CHECK_N.
13404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13405         include <bp-checks.h>.
13406         (__libc_pwrite): Don't use CHECK_N.
13407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13408         include <bp-checks.h>.
13409         (__libc_pwrite64): Don't use CHECK_N.
13410         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13411         (do_pread): Don't use CHECK_N.
13412         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13413         (do_pread64): Don't use CHECK_N.
13414         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13415         (do_pwrite): Don't use CHECK_N.
13416         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13417         (do_pwrite64): Don't use CHECK_N.
13418         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13419         (__libc_readv): Don't use CHECK_N.
13420         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13421         (semop): Don't use CHECK_N.
13422         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13423         <bp-checks.h>.
13424         (semtimedop): Don't use CHECK_N.
13425         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13426         (__libc_pread): Don't use CHECK_N.
13427         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13428         <bp-checks.h>.
13429         (__libc_pread64): Don't use CHECK_N.
13430         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13431         <bp-checks.h>.
13432         (__libc_pwrite): Don't use CHECK_N.
13433         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13434         <bp-checks.h>.
13435         (__libc_pwrite64): Don't use CHECK_N.
13436         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13437         <bp-checks.h>.
13438         (__libc_msgrcv): Don't use CHECK_N.
13439         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13440         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13441         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13442         (__libc_writev): Don't use CHECK_N.
13444 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13446         * string/strcpy.c: Removed unused variable.
13448         * Makeconfig (+sysdep-includes): Define with := rather than =.
13449         Use an existing include/ subdir of each sysdeps dir before it.
13451 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13453         * nscd/connection.c (register_traced_file): Comment function.
13454         [HAVE_INOTIFY] (union __inev): Define.
13455         [HAVE_INOTIFY] (inotify_check_files): New function.
13456         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13457         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13458         clear_db_cache.
13459         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13461 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13463         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13464         loaded if not already and that a failure is permanent.
13466 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13468         [BZ #15006]
13469         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13470         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13472 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13474         [BZ #13550]
13475         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13476         (CHECK_1_NULL_OK): Likewise.
13477         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13478         (__fxstat): Do not use CHECK_1.
13479         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13480         <bp-checks.h>.
13481         (___fxstat64): Do not use CHECK_1.
13482         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13483         <bp-checks.h>.
13484         (__fxstatat): Do not use CHECK_1.
13485         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13486         <bp-checks.h>.
13487         (__fxstatat64): Do not use CHECK_1.
13488         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13489         <bp-checks.h>.
13490         (__fxstat): Do not use CHECK_1.
13491         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13492         <bp-checks.h>.
13493         (__fxstatat): Do not use CHECK_1.
13494         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13495         <bp-checks.h>.
13496         (__getresgid): Do not use CHECK_1.
13497         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13498         <bp-checks.h>.
13499         (__getresuid): Do not use CHECK_1.
13500         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13501         <bp-checks.h>.
13502         (__lxstat): Do not use CHECK_1.
13503         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13504         <bp-checks.h>.
13505         (__old_msgctl): Do not use CHECK_1.
13506         (__new_msgctl): Likewise.
13507         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13508         <bp-checks.h>.
13509         (__new_setrlimit): Do not use CHECK_1.
13510         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13511         <bp-checks.h>.
13512         (__old_shmctl): Do not use CHECK_1.
13513         (__new_shmctl): Likewise.
13514         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13515         <bp-checks.h>.
13516         (__xstat): Do not use CHECK_1.
13517         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13518         (__lxstat): Do not use CHECK_1.
13519         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13520         <bp-checks.h>.
13521         (___lxstat64): Do not use CHECK_1.
13522         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13523         (__old_msgctl): Do not use CHECK_1.
13524         (__new_msgctl): Likewise.
13525         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13526         <bp-checks.h>.
13527         (__gettimeofday): Do not use CHECK_1.
13528         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13529         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13530         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13531         <bp-checks.h>.
13532         (__gettimeofday): Do not use CHECK_1.
13533         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13534         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13535         (__new_shmctl): Do not use CHECK_1.
13536         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13537         <bp-checks.h>.
13538         (do_sigtimedwait): Do not use CHECK_1.
13539         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13540         <bp-checks.h>.
13541         (do_sigwaitinfo): Do not use CHECK_1.
13542         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13543         <bp-checks.h>.
13544         (msgctl): Do not use CHECK_1.
13545         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13546         <bp-checks.h>.
13547         (shmctl): Do not use CHECK_1.
13548         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13549         (ustat): Do not use CHECK_1.
13550         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13551         <bp-checks.h>.
13552         (__fxstat): Do not use CHECK_1.
13553         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13554         <bp-checks.h>.
13555         (__fxstatat): Do not use CHECK_1.
13556         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13557         <bp-checks.h>.
13558         (__lxstat): Do not use CHECK_1.
13559         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13560         <bp-checks.h>.
13561         (__xstat): Do not use CHECK_1.
13562         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13563         (__xstat): Do not use CHECK_1.
13564         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13565         (___xstat64): Do not use CHECK_1.
13567         [BZ #13550]
13568         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13569         definitions.
13570         (CHECK_BOUNDS_HIGH): Likewise.
13571         * string/strcpy.c: Do not include <bp-checks.h>.
13572         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13574 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13576         * nscd/nscd-client.h (__nscd_drop_map_ref):
13577         Add __attribute__ ((unused)).
13578         * nis/nss-nisplus.h (niserr2nss): Likewise.
13580         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13581         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13583         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13584         Remove inline keyword.
13585         * include/rounding-mode.h (round_away): Likewise.
13586         * libio/wfileops.c (adjust_wide_data): Likewise.
13587         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13588         (__m128i_strloadu_tolower): Likewise.
13589         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13590         (__m128i_strloadu_tolower): Likewise.
13591         * time/mktime.c (ydhms_diff): Likewise.
13592         * locale/elem-hash.h (elem_hash): Likewise.
13593         * locale/setlocale.c (setdata): Likewise.
13594         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13595         (re_string_wchar_at): Likewise.
13596         (bitset_not, bitset_merge, bitset_mask): Likewise.
13597         [!(__GNUC__ > 3)] (inline): Remove macro.
13598         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13599         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13600         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13601         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13602         * string/memcmp.c (memcmp_bytes): Likewise.
13603         * locale/programs/locarchive.c (compute_hashval): Likewise.
13604         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13605         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13606         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13607         * nss/getent.c (print_rpc, print_protocols): Likewise.
13608         (print_passwd, print_group, print_aliases): Likewise.
13609         * nis/nss-nisplus.h (niserr2nss): Likewise.
13610         * nscd/connections.c (restart_p): Likewise.
13611         Change return type to bool.
13613 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13615         * Makeconfig (all-Depend-files): Add existing
13616         $(sorted-subdirs:=/Depend) files.
13617         (all-subdirs): Remove nss.
13618         * sysdeps/unix/inet/Subdirs: Add it here instead.
13619         * hesiod/Depend: New file.
13621         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13622         instead of calling alloca.
13624         * io/lseek.c (__lseek): Rename to __libc_lseek.
13625         Define __lseek as an alias.
13627         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13629 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13631         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13632         else clause and remove check for non-standard endianness.
13634 2013-02-04  David S. Miller  <davem@davemloft.net>
13636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13638 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13640         [BZ #13550]
13641         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13642         (__ubp_memchr): Remove prototype.
13643         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13644         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13645         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13646         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13647         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13648         Remove alias.
13649         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13650         (__ubp_memchr): Likewise.
13651         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13652         (__ubp_memchr): Likewise.
13653         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13654         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13655         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13656         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13657         CHECK_STRING.
13658         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13659         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13660         (__getcwd): Do not use CHECK_STRING.
13661         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13662         <bp-checks.h>.
13663         (__real_chown): Do not use CHECK_STRING.
13664         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13665         <bp-checks.h>.
13666         (fchownat): Do not use CHECK_STRING.
13667         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13668         CHECK_STRING.
13669         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13670         <bp-checks.h>.
13671         (__lchown): Do not use CHECK_STRING.
13672         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13673         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13674         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13675         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13677         include <bp-checks.h>.
13678         (truncate64): Do not use CHECK_STRING.
13679         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13680         <bp-checks.h>.
13681         (__real_chown): Do not use CHECK_STRING.
13682         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13683         <bp-checks.h>.
13684         (__lchown): Do not use CHECK_STRING.
13685         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13686         <bp-checks.h>.
13687         (__chown): Do not use CHECK_STRING.
13688         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13689         <bp-checks.h>.
13690         (truncate64): Do not use CHECK_STRING.
13691         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13692         Likewise.
13693         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13694         (__xmknod): Do not use CHECK_STRING.
13695         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13696         <bp-checks.h>.
13697         (__xmknodat): Do not use CHECK_STRING.
13698         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13699         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13701 2013-02-04  Andreas Schwab  <schwab@suse.de>
13703         [BZ #14142]
13704         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13705         * include/netdb.h: Likewise for h_errno.
13706         * elf/tst-stackguard1.c: Include <tls.h>.
13708 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13710         * elf/link.h (struct link_map): Extend the l_addr comment.
13711         * include/link.h (struct link_map): Likewise.
13713 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13715         [BZ #13550]
13716         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13717         (BOUNDED_1): Remove macro.
13718         * debug/backtrace.c: Don't include <bp-checks.h>.
13719         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13720         (__backtrace): Likewise.
13721         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13722         <bp-checks.h>.
13723         (__backtrace): Don't use BOUNDED_1.
13724         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13725         <bp-checks.h>.
13726         (__backtrace): Don't use BOUNDED_1.
13727         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13728         (__backtrace): Don't use BOUNDED_1.
13729         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13730         (shmat): Don't use BOUNDED_N.
13732 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13734         [BZ #13550]
13735         * sysdeps/generic/bp-start.h: Remove file.
13736         * csu/libc-start.c: Don't include <bp-start.h>.
13737         (LIBC_START_MAIN): Set up __environ directly instead of using
13738         INIT_ARGV_and_ENVIRON.
13739         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13740         <bp-start.h>.
13742         [BZ #13550]
13743         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13744         definitions.
13745         (CHECK_FCNTL): Likewise.
13746         (CHECK_N_PAGES): Likewise.
13748         [BZ #13550]
13749         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13750         definitions.
13751         (CHECK_SIGSET_NULL_OK): Likewise.
13752         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13753         <bp-checks.h>.
13754         (sigpending): Don't use CHECK_SIGSET.
13755         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13756         <bp-checks.h>.
13757         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13758         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13759         <bp-checks.h>.
13760         (do_sigsuspend): Don't use CHECK_SIGSET.
13761         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13762         use CHECK_SIGSET.
13763         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13764         (do_sigwait): Don't use CHECK_SIGSET.
13765         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13766         use CHECK_SIGSET.
13767         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13768         include <bp-checks.h>.
13769         (sigpending): Don't use CHECK_SIGSET.
13770         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13771         include <bp-checks.h>.
13772         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13773         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13774         <bp-checks.h>.
13775         (sigpending): Don't use CHECK_SIGSET.
13776         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13777         <bp-checks.h>.
13778         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13780         [BZ #13550]
13781         * sysdeps/generic/bp-semctl.h: Remove file.
13782         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13783         <bp-checks.h> and <bp-semctl.h>.
13784         (__old_semctl): Don't use CHECK_SEMCTL.
13785         (__new_semctl): Likewise.
13786         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13787         and <bp-semctl.h>.
13788         (__old_semctl): Don't use CHECK_SEMCTL.
13789         (__new_semctl): Likewise.
13790         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13791         <bp-checks.h> and <bp-semctl.h>.
13792         (__old_semctl): Don't use CHECK_SEMCTL.
13793         (__new_semctl): Likewise.
13794         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13795         <bp-checks.h> and <bp-semctl.h>.
13796         (semctl): Don't use CHECK_SEMCTL.
13798         [BZ #13550]
13799         * Makerules (elide-bp-thunks): Remove variable.
13800         (elide-routines.oS): Don't use $(elide-bp-thunks).
13801         (elide-routines.os): Likewise.
13802         (elide-routines.o): Likewise.
13803         (elide-routines.op): Likewise.
13804         (elide-routines.og): Likewise.
13805         (objects): Don't use $(bp-thunks).
13806         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13807         include.
13808         (common-generated): Do not add s-proto-bp.d.
13809         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13810         (int): Likewise.
13811         (typ): Likewise.
13812         Do not generate makefile rules for bounded-pointer thunks.
13813         * sysdeps/generic/bp-thunks.h: Remove file.
13814         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13815         * sysdeps/unix/s-proto-bp.S: Likewise.
13817         [BZ #15062]
13818         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13819         parts of result separately when argument is not close to line from
13820         -i to i and one part of argument is small.
13821         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13822         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13823         * math/libm-test.inc (cacos_test): Add more tests.
13824         (casin_test): Likewise.
13825         (casinh_test): Likewise.
13826         * sysdeps/i386/fpu/libm-test-ulps: Update.
13827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13829 2013-01-31  David S. Miller  <davem@davemloft.net>
13831         * po/de.po: Update from translation team.
13833 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13835         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13837 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13839         * configure.in (_AC_PROG_CC_C89): New definition.
13840         * configure: Regenerate.
13842         * configure.in (AC_PROG_CPP): New definition.
13843         * configure: Regenerate.
13845 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13847         * debug/tst-backtrace.h: New file.
13848         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13849         (ret): Remove variable.
13850         (x): Likewise.
13851         (FAIL): Remove macro.
13852         (NO_INLINE): Likewise.
13853         (fn1): Use match function instead of strstr.
13854         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13855         (ret): Remove variable.
13856         (x): Likewise.
13857         (FAIL): Remove macro.
13858         (NO_INLINE): Likewise.
13859         (fn): Use match function instead of strstr.
13860         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13861         (ret): Remove variable.
13862         (x): Likewise.
13863         (FAIL): Remove macro.
13864         (NO_INLINE): Likewise.
13865         (handle_signal): Use match function instead of strstr.
13866         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13867         (ret): Remove variable.
13868         (x): Likewise.
13869         (FAIL): Remove macro.
13870         (NO_INLINE): Likewise.
13871         (handle_signal): Use match function instead of strstr.
13873 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13875         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13877 2013-01-23  David S. Miller  <davem@davemloft.net>
13879         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13880         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13881         argument of CAS if possible.
13882         * sysdeps/sparc/sparc64/bits/atomic.h
13883         (__arch_compare_and_exchange_val_32_acq): Likewise.
13884         (__arch_compare_and_exchange_val_64_acq): Likewise.
13886 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13888         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13889         * sysdeps/posix/ulimit.c: ... this.
13890         Include <limits.h>.
13891         * sysdeps/unix/bsd/ulimit.c: Remove file.
13893 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13895         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13896         (LDFLAGS-tst-array5): Likewise.
13898 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13900         [BZ #15036]
13901         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13902         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13903         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13904         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13906 2013-01-21  David S. Miller  <davem@davemloft.net>
13908         * sysdeps/sparc/backtrace.c: New file.
13909         * sysdeps/sparc/sparc32/backtrace.h: New file.
13910         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13911         * sysdeps/sparc/sparc64/backtrace.h: New file.
13912         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13913         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13914         -funwind-tables.
13916 2013-01-21  Andreas Schwab  <schwab@suse.de>
13918         [BZ #15020]
13919         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13920         closed its stdout.
13922 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13925         "mpa2.h".
13926         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13928 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13929             Mark Mitchell  <mark@codesourcery.com>
13930             Tom de Vries  <tom@codesourcery.com>
13931             Paul Pluzhnikov  <ppluzhnikov@google.com>
13933         * debug/tst-backtrace2.c: New file.
13934         * debug/tst-backtrace3.c: Likewise.
13935         * debug/tst-backtrace4.c: Likewise.
13936         * debug/tst-backtrace5.c: Likewise.
13937         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13938         (CFLAGS-tst-backtrace3.c): Likewise.
13939         (CFLAGS-tst-backtrace4.c): Likewise.
13940         (CFLAGS-tst-backtrace5.c): Likewise.
13941         (LDFLAGS-tst-backtrace2): Likewise.
13942         (LDFLAGS-tst-backtrace3): Likewise.
13943         (LDFLAGS-tst-backtrace4): Likewise.
13944         (LDFLAGS-tst-backtrace5): Likewise.
13945         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13946         tst-backtrace4 and tst-backtrace5.
13948 2013-01-18  Anton Blanchard  <anton@samba.org>
13949             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13951         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13952         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13953         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13954         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13956         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13957         "+r" and remove output regs list as redundant.  Add explicit inline
13958         asm to specify register of return val to work around compiler codegen
13959         bug.  Remove (int) cast on return value.  Add return type parameter to
13960         use in macro so that this macro does not truncate return value for
13961         64-bit values.
13962         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13963         pass to INTERNAL_VSYSCALL_NCS.
13964         (INLINE_VSYSCALL): Add 'long int' as return type to
13965         INTERNAL_VSYSCALL_NCS macro invocation.
13966         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13967         INTERNAL_VSYSCALL_NCS macro invocation.
13968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13970 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13972         [BZ #14496]
13973         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13974         Fix application of SIMD FP exception mask.
13976         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13977         mp_no from a power of two.
13978         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13979         __mpexp_twomm1.  Use __pow_mp.
13981         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13982         multiplication.
13984 2013-01-17  David S. Miller  <davem@davemloft.net>
13986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13988 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13990         [BZ #15023]
13991         * include/complex.h: Condition contents on [!_COMPLEX_H].
13992         (__kernel_casinhf): New prototype.
13993         (__kernel_casinh): Likewise.
13994         (__kernel_casinhl): Likewise.
13995         * math/Makefile (libm_calls): Add k_casinh.
13996         * math/k_casinh.c: New file.
13997         * math/k_casinhf.c: Likewise.
13998         * math/k_casinhl.c: Likewise.
13999         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14000         finite nonzero arguments.
14001         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14002         finite nonzero arguments.
14003         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14004         finite nonzero arguments.
14005         * math/s_casinh.c: Do not include <float.h>.
14006         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14007         * math/s_casinhf.c: Do not include <float.h>.
14008         (__casinhf): Move code for finite nonzero arguments to
14009         k_casinhf.c.
14010         * math/s_casinhl.c: Do not include <float.h>.
14011         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14012         redefine.
14013         (__casinhl): Move code for finite nonzero arguments to
14014         k_casinhl.c.
14015         * math/libm-test.inc (cacos_test): Add more tests.
14016         * sysdeps/i386/fpu/libm-test-ulps: Update.
14017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14019 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14021         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14022         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14023         [!HAVE_MREMAP]: Remove [defined linux] case.
14024         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14026 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14028         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14030 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14032         * elf/elf.h (R_386_SIZE32): New relocation.
14033         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14034         R_386_SIZE32.
14035         (elf_machine_rela): Likewise.
14036         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14037         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14039 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14041         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14042         (FP_FAST_FMA): Do not define.
14043         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14044         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14045         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14046         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14047         !_SOFT_FLOAT]: Likewise.
14048         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14049         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14050         value.
14051         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14052         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14053         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14054         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14055         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14056         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14057         file.
14059 2013-01-16  Andreas Schwab  <schwab@suse.de>
14061         [BZ #14327]
14062         * include/stdlib.h (__mktemp): Add declaration.
14063         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14064         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14066 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14068         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14069         definitions.
14070         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14071         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14072         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14073         definitions here.
14074         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14075         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14076         definitions.
14077         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14078         and ONE.
14079         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14080         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14081         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14082         definitions.
14083         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14084         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14085         definitions.
14086         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14088         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14090 2013-01-15  David S. Miller  <davem@davemloft.net>
14092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14093         trunc{,f} to libm-sysdep_routes.
14094         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14096         file.
14097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14099         file.
14100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14101         file.
14102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14104         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14105         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14106         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14107         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14108         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14109         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14112         nearbyint{,f} to libm-sysdep_routes.
14113         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14115         New file.
14116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14117         file.
14118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14119         New file.
14120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14121         file.
14122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14124         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14125         file.
14126         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14127         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14128         file.
14129         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14130         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14131         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14133         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14134         libc_feholdexcept and libc_fesetenv.
14136 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14138         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14140 2013-01-14  David S. Miller  <davem@davemloft.net>
14142         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14143         (SPARC_ASM_VIS2_IFUNC): Likewise.
14144         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14146         use of 'siam' instruction.
14147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14148         Likewise.
14149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14150         Likewise.
14151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14152         Likewise.
14153         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14154         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14155         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14156         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14158         file.
14159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14160         file.
14161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14162         file.
14163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14164         file.
14165         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14166         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14167         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14168         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14170         new VIS2 routines.
14171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14174         Likewise.
14175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14176         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14177         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14178         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14180         routines to libm-sysdep_routines.
14181         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14184         fdim/fdimf to libm-sysdep_routines.
14185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14186         file.
14187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14189         file.
14190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14193         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14194         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14195         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14196         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14198 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14200         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14201         to optimize copies.
14203         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14204         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14207         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14208         local variable MPTWO.
14209         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14210         Likewise.
14212 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14214         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14215         GLOB_NOESCAPE.
14217 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14219         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14221 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14223         * manual/pattern.texi (glob_t): Document gl_flags.
14224         (glob64_t): Likewise.
14226 2013-01-11  David S. Miller  <davem@davemloft.net>
14228         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14229         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14230         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14231         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14232         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14233         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14234         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14235         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14236         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14237         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14238         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14239         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14240         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14242         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14243         sparc V9 rather than using V8 code.
14244         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14245         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14247         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14248         Move to...
14249         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14250         Here.
14252 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14254         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14255         not in the main loop.
14256         * configure: Regenerated.
14258 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14260         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14261         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14262         to just #else.
14263         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14264         [!__GLIBC_HAVE_LONG_LONG] case.
14265         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14266         condition to just #else.
14267         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14268         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14269         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14270         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14271         unconditional.
14272         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14273         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14274         #elif condition to just #else.
14275         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14276         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14277         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14278         #elif condition to just #else.
14280 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14282         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14283         (EF_MIPS_ARCH_64): Fix value.
14284         (EF_MIPS_ARCH_32R2): New.
14285         (EF_MIPS_ARCH_64R2): New.
14287 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14289         * Makeconfig (+link-pie-before-libc): New.
14290         (+link-pie-after-libc): Likewise.
14291         (+link-pie-tests): Likewise.
14292         (+link-pie): Rewritten.
14293         (link-before-libc): Remove $(config-LDFLAGS).
14294         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14295         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14296         (config-LDFLAGS): Renamed to ...
14297         (rtld-LDFLAGS): This.
14298         (rtld-tests-LDFLAGS): New macro.
14299         (link-libc-rpath-link): Likewise.
14300         (link-libc-tests-rpath-link): Likewise.
14301         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14302         (link-libc): Prepand $(link-libc-rpath-link).
14303         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14304         (test-program-prefix): New macro.
14305         (test-via-rtld-prefix): Likewise.
14306         (test-program-cmd): Likewise.
14307         (host-test-program-cmd): Likewise.
14308         * Makefile ($(common-objpfx)testrun.sh): Replace
14309         $(run-program-prefix) with $(test-program-prefix).
14310         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14311         $(rtld-LDFLAGS).
14312         ($(common-objpfx)shlib.lds): Likewise.
14313         (build-module-helper): Likewise.
14314         ($(common-objpfx)format.lds): Likewise.
14315         * Rules (binaries-pie-tests): New.
14316         (binaries-pie-notests): Likewise.
14317         (binaries-pie): Rewritten.
14318         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14319         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14320         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14321         (make-test-out): Replace $(host-built-program-cmd) with
14322         $(host-test-program-cmd).
14323         * config.make.in (build-hardcoded-path-in-tests): New variable.
14324         * configure.in (--enable-hardcoded-path-in-tests): New configure
14325         option.
14326         (hardcoded_path_in_tests): New AC_SUBST.
14327         * configure: Regenerated.
14328         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14329         $(built-program-cmd) with $(test-program-cmd).
14330         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14331         (test_program_cmd): This.
14332         * elf/Makefile ($(objpfx)order.out): Run test with
14333         $(test-program-prefix).
14334         ($(objpfx)order2.out): Likewise.
14335         ($(objpfx)tst-initorder.out): Likewise.
14336         ($(objpfx)tst-initorder2.out): Likewise.
14337         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14338         $(test-program-cmd).
14339         ($(objpfx)tst-array1-static.out): Likewise.
14340         ($(objpfx)tst-array2.out): Likewise.
14341         ($(objpfx)tst-array3.out): Likewise.
14342         ($(objpfx)tst-array4.out): Likewise.
14343         ($(objpfx)tst-array5.out): Likewise.
14344         ($(objpfx)tst-array5-static.out): Likewise.
14345         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14346         $(test-program-cmd).
14347         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14348         $(run-program-prefix) with $(test-program-prefix).
14349         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14350         (test_program_prefix): This.
14351         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14352         $(run-program-prefix) with $(test-program-prefix).
14353         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14354         (test_program_prefix): This.
14355         * iconvdata/tst-tables.sh: Likewise.
14356         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14357         $(run-program-prefix) with $(test-program-prefix).
14358         ($(objpfx)tst-translit.out): Likewise.
14359         ($(objpfx)tst-gettext2.out): Likewise.
14360         ($(objpfx)tst-gettext4.out): Likewise.
14361         ($(objpfx)tst-gettext6.out): Likewise.
14362         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14363         (test_program_prefix): This.
14364         * intl/tst-gettext2.sh: Likewise.
14365         * intl/tst-gettext4.sh  Likewise.
14366         * intl/tst-gettext6.sh: Likewise.
14367         * intl/tst-translit.sh: Likewise.
14368         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14369         with $(test-program-cmd).
14370         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14371         $(run-program-prefix) with $(test-program-prefix).
14372         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14373         (test_program_prefix): This.
14374         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14375         $(run-program-prefix) with $(test-program-prefix).
14376         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14377         (test_program_prefix): This.
14378         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14379         * posix/Makefile ($(objpfx)globtest.out): Replace
14380         $(run-via-rtld-prefix) and $(test-wrapper) with
14381         $(test-program-prefix) and $(test-via-rtld-prefix).
14382         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14383         $(test-program-prefix).
14384         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14385         $(host-test-program-cmd).
14386         (tst-spawn-ARGS): Likewise.
14387         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14388         $(test-program-prefix).
14389         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14390         (test_via_rtld_prefix): This.
14391         (test_wrapper): Renamed to ...
14392         (test_program_prefix): This.
14393         (run_program_prefix): Replaced by test_program_prefix.
14394         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14395         (test_program_prefix): This.
14396         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14397         with $(host-test-program-cmd).
14398         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14399         $(run-program-prefix) with $(test-program-prefix).
14400         ($(objpfx)tst-printf.out): Likewise.
14401         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14402         $(test-program-cmd).
14403         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14404         (test_program_prefix): This.
14405         * stdio-common/tst-unbputc.sh: Likewise.
14406         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14407         $(run-program-prefix) with $(test-program-prefix).
14408         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14409         (test_program_prefix): This.
14410         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14411         $(built-program-cmd) with $(test-program-cmd).
14413 2013-01-11  Andreas Jaeger  <aj@suse.de>
14415         [BZ #15003]
14416         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14417         value. Sync with Linux 3.7.
14419 2013-01-10  David S. Miller  <davem@davemloft.net>
14421         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14422         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14423         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14425 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14427         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14428         never set.
14429         * configure: Regenerated.
14431 2013-01-10  David S. Miller  <davem@davemloft.net>
14433         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14434         sparc V9 rather than using V8 code.
14435         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14436         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14438 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14440         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14441         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14442         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14443         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14444         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14445         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14446         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14447         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14448         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14449         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14450         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14451         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14452         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14453         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14454         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14455         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14456         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14457         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14458         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14459         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14460         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14461         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14462         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14463         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14464         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14465         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14466         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14468 2013-01-10  David S. Miller  <davem@davemloft.net>
14470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14472 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14474         * posix/Makefile (tests-static): New variable.
14475         (tests): Add $(tests-static).
14476         (tst-exec-static-ARGS): New variable.
14477         (tst-spawn-static-ARGS): Likewise.
14478         * posix/tst-exec-static.c: New file.
14479         * posix/tst-spawn-static.c: Likewise.
14480         * posix/tst-exec.c: Support run directly.
14481         * posix/tst-spawn.c: Likewise.
14483 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14485         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14486         long.
14487         * math/bits/mathcalls.h (llrint): Likewise.
14488         (llround): Likewise.
14489         * stdlib/stdlib.h (struct drand48_data): Likewise.
14490         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14491         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14492         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14493         Likewise.
14494         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14495         Likewise.
14496         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14497         (elf_greg_t): Likewise.
14498         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14499         (__jmp_buf): Likewise.
14500         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14501         definitions.
14502         (llrint): Likewise, for all definitions.
14503         (llrintl): Likewise.
14505         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14506         Remove [__GNUC__] condition.
14507         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14508         condition to just [__USE_ISOC99].
14509         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14511 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14513         [BZ #14200]
14514         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14515         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14516         defined.
14517         (_POSIX_V6_ILP32_OFF32): Likewise.
14518         (_XBS5_ILP32_OFF32): Likewise.
14519         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14520         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14522 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14524         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14526         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14527         doubles __mpexp_twomm1.  Adjust usage.
14528         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14529         Remove.
14531 2013-01-10  Andreas Schwab  <schwab@suse.de>
14533         [BZ #14964]
14534         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14535         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14537 2013-01-09  David S. Miller  <davem@davemloft.net>
14539         [BZ #15003]
14540         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14541         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14542         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14543         TCP_FASTOPEN): Define.
14544         (tcp_repair_opt): New structure.
14545         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14546         enum values.
14547         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14548         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14549         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14550         (tcp_cookie_transactions): New structure.
14552 2013-01-09  Anton Blanchard  <anton@samba.org>
14554         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14555         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14556         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14557         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14559 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14561         * include/features.h (__USE_ANSI): Remove.
14563 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14565         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14567         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14569 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14571         * sysdeps/s390/fpu/libm-test-ulps: Update.
14573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14575         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14576         (__acr): Likewise.
14577         (__cpy): Likewise.
14578         (norm): Likewise.
14579         (denorm): Likewise.
14580         (__mp_dbl): Likewise.
14581         (__dbl_mp): Likewise.
14582         (add_magnitudes): Likewise.
14583         (sub_magnitudes): Likewise.
14584         (__add): Likewise.
14585         (__sub): Likewise.
14586         (__mul): Likewise.
14587         (__inv): Likewise.
14588         (__dvd): Likewise.
14589         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14590         (__acr): Likewise.
14591         (__cpy): Likewise.
14592         (norm): Likewise.
14593         (denorm): Likewise.
14594         (__mp_dbl): Likewise.
14595         (__dbl_mp): Likewise.
14596         (add_magnitudes): Likewise.
14597         (sub_magnitudes): Likewise.
14598         (__add): Likewise.
14599         (__sub): Likewise.
14600         (__mul): Likewise.
14601         (__inv): Likewise.
14602         (__dvd): Likewise.
14603         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14604         (__acr): Likewise.
14605         (__cpy): Likewise.
14606         (norm): Likewise.
14607         (denorm): Likewise.
14608         (__mp_dbl): Likewise.
14609         (__dbl_mp): Likewise.
14610         (add_magnitudes): Likewise.
14611         (sub_magnitudes): Likewise.
14612         (__add): Likewise.
14613         (__sub): Likewise.
14614         (__mul): Likewise.
14615         (__inv): Likewise.
14616         (__dvd): Likewise.
14618 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14620         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14621         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14622         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14623         2 && __USE_EXTERN_INLINES]: Likewise.
14625 2013-01-08  Andreas Jaeger  <aj@suse.de>
14627         [BZ# 14985]
14628         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14629         Remove.
14630         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14631         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14633 2013-01-07  Anton Blanchard  <anton@samba.org>
14635         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14636         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14637         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14638         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14639         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14640         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14641         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14642         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14644         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14645         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14646         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14647         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14648         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14649         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14650         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14651         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14652         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14653         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14654         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14655         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14656         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14657         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14658         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14659         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14660         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14661         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14662         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14663         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14664         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14665         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14667         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14668         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14669         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14670         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14671         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14672         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14673         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14674         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14675         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14676         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14677         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14679 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14681         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14682         (__MALLOC_PMT): Likewise.
14683         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14684         [__GNUC__], only on [_LIBC].
14685         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14686         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14687         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14688         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14689         forward declaration.
14690         (realloc_hook_ini): Likewise.
14691         (memalign_hook_ini): Likewise.
14692         (__libc_memalign): Do not use __MALLOC_PMT in variable
14693         declaration.
14694         (__libc_valloc): Likewise.
14695         (__libc_pvalloc): Likewise.
14696         (__libc_calloc): Likewise.
14697         (__posix_memalign): Likewise.
14699         [BZ #14996]
14700         * math/s_casinh.c: Include <float.h>.
14701         (__casinh): Do not do computation with squaring and square root
14702         for large arguments.
14703         * math/s_casinhf.c: Include <float.h>.
14704         (__casinhf): Do not do computation with squaring and square root
14705         for large arguments.
14706         * math/s_casinhl.c: Include <float.h>.
14707         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14708         (__casinhl): Do not do computation with squaring and square root
14709         for large arguments.
14710         * math/libm-test.inc (casin_test): Add more tests.
14711         (casinh_test): Likewise.
14712         * sysdeps/i386/fpu/libm-test-ulps: Update.
14713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14715 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14717         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14718         (__x86_64_raw_data_cache_size): Likewise.
14719         (__x86_64_data_cache_size_half): Likewise.
14720         (__x86_64_raw_data_cache_size_half): Likewise.
14721         (__x86_64_shared_cache_size): Likewise.
14722         (__x86_64_raw_shared_cache_size): Likewise.
14723         (__x86_64_shared_cache_size_half): Likewise.
14724         (__x86_64_raw_shared_cache_size_half): Likewise.
14725         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14726         to ...
14727         (__x86_data_cache_size): This.
14728         (__x86_64_raw_data_cache_size): Renamed to ...
14729         (__x86_raw_data_cache_size): This.
14730         (__x86_64_data_cache_size_half): Renamed to ...
14731         (__x86_data_cache_size_half): This.
14732         (__x86_64_raw_data_cache_size_half): Renamed to ...
14733         (__x86_raw_data_cache_size_half): This.
14734         (__x86_64_shared_cache_size): Renamed to ...
14735         (__x86_shared_cache_size): This.
14736         (__x86_64_raw_shared_cache_size): Renamed to ...
14737         (__x86_raw_shared_cache_size): This.
14738         (__x86_64_shared_cache_size_half): Renamed to ...
14739         (__x86_shared_cache_size_half): This.
14740         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14741         (__x86_raw_shared_cache_size_half): This.
14742         * sysdeps/x86_64/memcpy.S: Updated.
14743         * sysdeps/x86_64/memset.S: Likewise.
14744         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14745         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14746         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14748 2013-01-04  David S. Miller  <davem@davemloft.net>
14750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14752 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14754         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14755         1 to avoid redefinition warning.
14756         (__USE_GNU): Don't define.
14757         (init_signaling_nan): Protoize.
14759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14761 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14763         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14765         (__cpymn): Likewise.
14766         (norm): Remove commented code.
14767         (denorm): Likewise.
14768         (__mp_dbl): Likewise.
14769         (__inv): Likewise.
14770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14771         (__cpymn): Likewise.
14772         (norm): Remove commented code.
14773         (denorm): Likewise.
14774         (__mp_dbl): Likewise.
14775         (__inv): Likewise.
14777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14778         mp_no value for 1.0 and 2.0.
14779         (norm): Use RADIXI instead of radixi.d.
14780         (denorm): Likewise.
14781         (__mul): Use 0.0 instead of zero.d.
14782         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14783         mp_no value for 1.0 and 2.0.
14784         (norm): Use RADIXI instead of radixi.d.
14785         (denorm): Likewise.
14786         (__mul): Use 0.0 instead of zero.d.
14788 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14790         [BZ #14994]
14791         * math/s_casinh.c (__casinh): Reduce finite argument to first
14792         quadrant then set signs of results at the end.
14793         * math/s_casinhf.c (__casinhf): Likewise.
14794         * math/s_casinhl.c (__casinhl): Likewise.
14795         * math/libm-test.inc (casin_test): Add more tests.
14796         (casinh_test): Likewise.
14797         * sysdeps/i386/fpu/libm-test-ulps: Update.
14798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14800 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14802         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14804         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14806         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14807         declarations.
14808         (denorm): Likewise.
14809         (__mp_dbl): Likewise.
14810         (__inv): Likewise.
14812         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14813         and adjust the header comment.
14815         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14816         variable name from declaration.
14818 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14821         Initialize COMMON_CPUID_INDEX_7 element.
14822         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14823         (CPUID_RTM): Likewise.
14824         (HAS_RTM): Likewise.
14825         (COMMON_CPUID_INDEX_7): New enum.
14827 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14829         [BZ #14981]
14830         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14831         size is zero, record memory as freed.
14833 2013-01-03  Andreas Jaeger  <aj@suse.de>
14835         * po/ia.po: Add new Interlingua translation.
14837 2012-01-03  Allan McRae  <allan@archlinux.org>
14839         * locale/programs/localedef.c: Fix description of '--posix' flag.
14841 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14843         * NEWS: Update dates in second copyright notice.
14844         * README: Update copyright dates in example.
14845         * manual/libc.texinfo: Update copyright dates.
14846         * scripts/test-installation.pl: Update copyright date in --version
14847         output.
14849         * hurd/ctty-input.c: Fix copyright notice formatting.
14850         * hurd/ctty-output.c: Likewise.
14851         * hurd/dtable.c: Likewise.
14852         * hurd/hurd-raise.c: Likewise.
14853         * hurd/hurdprio.c: Likewise.
14854         * hurd/msgportdemux.c: Likewise.
14855         * misc/sys/file.h: Likewise.
14856         * misc/sys/ioctl.h: Likewise.
14857         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14858         * sysdeps/mach/hurd/chdir.c: Likewise.
14859         * sysdeps/mach/hurd/fchdir.c: Likewise.
14860         * sysdeps/mach/hurd/rename.c: Likewise.
14861         * sysdeps/mach/hurd/rmdir.c: Likewise.
14862         * sysdeps/mach/hurd/seekdir.c: Likewise.
14863         * sysdeps/mach/hurd/setsid.c: Likewise.
14864         * sysdeps/posix/wait3.c: Likewise.
14866         * All files with FSF copyright notices: Update copyright dates
14867         using scripts/update-copyrights.
14868         * intl/plural.c: Regenerated.
14869         * locale/programs/charmap-kw.h: Likewise.
14870         * locale/programs/locfile-kw.h: Likewise.
14872 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14874         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14875         four values.
14877         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14878         calculation loop and add branch prediction.
14880         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14881         check access beyond bounds of m1np.
14883         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14884         MPTWO.
14885         (__inv): Remove local variable MPTWO to use the global
14886         constant.
14887         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14888         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14889         variable MPTWO.
14890         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14891         MP3HALFS static const.
14893 2013-01-01  David S. Miller  <davem@davemloft.net>
14895         * po/ca.po: Update from translation team.
14897 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14899         * scripts/update-copyrights: New file.
14900         * Makeconfig: Reformat copyright notice.
14901         * ctype/ctype.h: Likewise.
14902         * debug/swprintf_chk.c: Likewise.
14903         * elf/dl-cache.c: Likewise.
14904         * elf/dl-debug.c: Likewise.
14905         * elf/dl-object.c: Likewise.
14906         * grp/initgroups.c: Likewise.
14907         * hurd/Makefile: Likewise.
14908         * hurd/hurd/signal.h: Likewise.
14909         * hurd/hurdfault.c: Likewise.
14910         * hurd/hurdioctl.c: Likewise.
14911         * hurd/hurdlookup.c: Likewise.
14912         * hurd/intr-msg.c: Likewise.
14913         * iconv/gconv_open.c: Likewise.
14914         * libio/swprintf.c: Likewise.
14915         * locale/lc-ctype.c: Likewise.
14916         * locale/nl_langinfo.c: Likewise.
14917         * mach/Machrules: Likewise.
14918         * mach/Makefile: Likewise.
14919         * malloc/obstack.h: Likewise.
14920         * manual/Makefile: Likewise.
14921         * manual/tsort.awk: Likewise.
14922         * misc/bits/stab.def: Likewise.
14923         * nis/nis_print_group_entry.c: Likewise.
14924         * nis/nis_table.c: Likewise.
14925         * nis/nss_compat/compat-pwd.c: Likewise.
14926         * nis/nss_compat/compat-spwd.c: Likewise.
14927         * po/Makefile: Likewise.
14928         * posix/fnmatch.c: Likewise.
14929         * posix/regex.h: Likewise.
14930         * resolv/Makefile: Likewise.
14931         * resolv/nss_dns/dns-network.c: Likewise.
14932         * resolv/res_hconf.c: Likewise.
14933         * scripts/gen-sorted.awk: Likewise.
14934         * soft-fp/soft-fp.h: Likewise.
14935         * stdio-common/printf.h: Likewise.
14936         * stdlib/monetary.h: Likewise.
14937         * stdlib/random.c: Likewise.
14938         * stdlib/random_r.c: Likewise.
14939         * sysdeps/generic/Makefile: Likewise.
14940         * sysdeps/gnu/Makefile: Likewise.
14941         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14942         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14943         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14944         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14945         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14946         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14947         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14948         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14949         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14950         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14951         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14952         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14953         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14954         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14955         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14956         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14957         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14958         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14959         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14960         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14961         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14962         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14963         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14964         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14965         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14966         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14967         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14968         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14969         * sysdeps/mach/hurd/errnos.awk: Likewise.
14970         * sysdeps/mach/hurd/fork.c: Likewise.
14971         * sysdeps/mach/hurd/getcwd.c: Likewise.
14972         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14973         * sysdeps/mach/hurd/mmap.c: Likewise.
14974         * sysdeps/mach/hurd/utimes.c: Likewise.
14975         * sysdeps/mach/hurd/xmknod.c: Likewise.
14976         * sysdeps/posix/profil.c: Likewise.
14977         * sysdeps/posix/readdir_r.c: Likewise.
14978         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14979         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14980         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14981         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14983         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14984         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14985         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14987         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14988         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14989         * sysdeps/pthread/lio_listio.c: Likewise.
14990         * sysdeps/sparc/dl-procinfo.h: Likewise.
14991         * sysdeps/unix/i386/sysdep.S: Likewise.
14992         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14993         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14994         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14995         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14997         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14998         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14999         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15000         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15001         * sysdeps/wordsize-32/divdi3.c: Likewise.
15002         * time/sys/time.h: Likewise.
15003         * wcsmbs/Makefile: Likewise.
15005 2013-01-01  David S. Miller  <davem@davemloft.net>
15007         * po/fr.po: Update from translation team.
15009         * catgets/gencat.c: Update copyright year.
15010         * csu/version.c: Likewise.
15011         * debug/catchsegv.sh: Likewise.
15012         * debug/pcprofiledump.c: Likewise.
15013         * debug/xtrace.sh: Likewise.
15014         * elf/ldconfig.c: Likewise.
15015         * elf/ldd.bash.in: Likewise.
15016         * elf/pldd.c: Likewise.
15017         * elf/sotruss.ksh: Likewise.
15018         * elf/sprof.c: Likewise.
15019         * iconv/iconv_prog.c: Likewise.
15020         * iconv/iconvconfig.c: Likewise.
15021         * locale/programs/locale.c: Likewise.
15022         * locale/programs/localedef.c: Likewise.
15023         * login/programs/pt_chown.c: Likewise.
15024         * malloc/memusage.sh: Likewise.
15025         * malloc/memusagestat.c: Likewise.
15026         * malloc/mtrace.pl: Likewise.
15027         * nscd/nscd.c: Likewise.
15028         * nss/getent.c: Likewise.
15029         * nss/makedb.c: Likewise.
15030         * posix/getconf.c: Likewise.
15032 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15034         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15035         numbers.
15037 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15039         * math/bits/mathcalls.h (modf): Use __nonnull.
15041 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15043         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15044         (split): Use macro CN instead of the bare value.
15045         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15046         could be used.
15047         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15048         instead of the bare value.
15049         (power1): Likewise.
15051 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15053         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15054         __ATAN_TWOM.
15055         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15057         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15058         their values.
15059         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15060         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15061         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15062         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15064 2012-12-28  Andreas Jaeger  <aj@suse.de>
15066         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15067         values are from Linux 3.7.
15069         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15070         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15072 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15074         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15075         TRUE case.
15077         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15078         (norm): Likewise.
15079         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15080         variables with preprocessor constants.
15081         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15082         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15083         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15085 2012-12-27  Bruno Haible  <bruno@clisp.org>
15087         [BZ #14317]
15088         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15089         only if needed.
15091 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15093         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15094         and use variable directly.
15095         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15097         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15098         MPONE.
15099         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15100         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15101         variable MPONE.
15102         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15103         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15104         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15105         include directive.  Remove local variable MPONE.
15106         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15107         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15108         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15110 2012-12-25  David S. Miller  <davem@davemloft.net>
15112         * version.h (RELEASE): Set to "development".
15113         (VERSION): Set to "2.17.90".
15114         * NEWS: Add 2.18 section.
15116 2012-12-21  David S. Miller  <davem@davemloft.net>
15118         * po/hr.po: Update from translation team.
15120 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15122         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15124 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15126         * NEWS:  Mention new memcpy for MIPS.
15128 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15130         * manual/contrib.texi (Contributors): Spelling correction.
15132 2012-12-15  David S. Miller  <davem@davemloft.net>
15134         * po/ru.po: Update from translation team.
15136 2012-12-13  David S. Miller  <davem@davemloft.net>
15138         * NEWS: Mention IFUNC testsuite enhancements.
15140         * po/pl.po: Update from translation team.
15141         * po/bg.po: Likewise.
15143         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15144         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15146 2012-12-11  David S. Miller  <davem@davemloft.net>
15148         * po/sv.po: Update from translation team.
15150         * po/vi.po: Update from translation team.
15152         * po/cs.po: Update from translation team.
15154         * po/de.po: Update from translation team.
15155         * po/eo.po: Likewise.
15156         * po/nl.po: Likewise.
15158 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15160         [BZ #14246]
15161         * manual/argp.texi (Argp Helper Functions): Move node to follow
15162         Argp Parsing State.
15164         [BZ #14872]
15165         * manual/conf.texi (Limits on File System Capacity): Mention if
15166         terminating null is included in the max size.
15168 2012-12-10  Andreas Jaeger  <aj@suse.de>
15170         * po/cs.po: Update from translation team.
15172 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15174         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15175         void pointer and cast to uintptr_t.
15176         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15177         path.
15178         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15179         * sysdeps/s390/s390-64/memset.S: Likewise.
15181 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15183         [BZ #14833]
15184         * menual/message.texi (Message Translation): Fix typos.
15185         (Helper programs for gettext): Likewise.
15187 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15189         [BZ #14898]
15190         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15191         Change to -1.
15193 2012-12-07  David S. Miller  <davem@davemloft.net>
15195         * po/libc.pot: Update.
15197 2012-12-07  Richard Henderson  <rth@redhat.com>
15199         [BZ #10114]
15200         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15201         normal/normal case to before the switch.
15202         (_FP_DIV): Likewise.
15204 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15205             Mike Frysinger  <vapier@gentoo.org>
15207         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15208         check for __NR_fadvise64_64.
15210 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15212         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15213         0, not just to plain "0" as a statement.
15214         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15215         with cw.
15217 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15219         * NEWS: Use sourceware.org in Bugzilla URL.
15221 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15224         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15226         * stdio-common/tst-put-error.c (do_test): Add newline to the
15227         padded test to ensure flush.
15229 2012-12-05  Jeff Law  <law@redhat.com>
15231         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15233 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15235         * README: Don't refer to ports add-on as distributed separately.
15236         Mention AArch64 in list of systems supported in the ports add-on.
15238         * LICENSES: Add more non-FSF copyright and license notices.
15240         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15241         ((unused)).
15243         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15245         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15246         10000 as width of padded output.
15248 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15250         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15252         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15253         variable LX with __attribute__ ((unused)).
15254         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15255         Likewise.
15256         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15257         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15258         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15259         with __attribute__ ((unused)).
15261 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15263         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15265 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15267         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15268         (CFLAGS-nldbl-acos.c): New variable.
15269         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15270         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15271         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15272         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15273         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15274         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15275         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15276         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15277         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15278         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15279         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15280         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15281         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15282         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15283         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15284         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15285         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15286         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15287         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15288         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15289         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15290         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15291         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15292         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15293         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15294         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15295         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15296         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15297         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15298         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15299         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15300         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15301         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15302         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15303         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15304         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15305         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15306         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15307         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15308         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15309         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15310         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15311         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15312         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15313         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15314         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15315         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15316         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15317         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15318         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15319         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15320         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15321         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15322         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15323         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15324         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15325         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15326         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15327         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15328         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15329         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15330         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15331         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15332         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15333         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15334         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15335         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15336         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15337         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15338         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15339         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15340         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15341         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15342         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15343         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15344         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15345         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15346         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15347         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15348         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15349         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15350         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15351         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15352         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15353         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15354         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15355         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15356         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15357         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15358         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15359         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15360         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15361         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15362         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15363         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15364         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15365         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15368         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15370         [BZ #14914]
15371         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15372         whole low double instead of just low 47 bits when splitting values
15373         into two parts.
15375 2012-12-03  Allan McRae  <allan@archlinux.org>
15377         * manual/stdio.texi (Predefined Printf Handlers): Remove
15378         @hsep and @vsep usage.
15380 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15382         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15383         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15385 2012-12-03  Jeff Law  <law@redhat.com>
15387         * time/sys/time.h (settimeofday): Do not mark TV argument
15388         as __nonnull.
15390 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15392         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15393         when currently writing and seek to current position when not.
15394         * libio/Makefile (tests): Remove bug-fclose1.
15395         * libio/bug-fclose1.c: Delete.
15397 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15399         * manual/arith.texi (feenableexcept): Fix typo.
15400         (fedisableexcept): Likewise.
15402 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15404         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15405         second, differently-typed declaration, rather than a cast.
15407 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15409         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15410         * include/rpc/svc.h: ... here.
15412 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15414         [BZ #13013]
15415         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15416         depending n and resplen2 to catch cases where answer
15417         equals answerp2.
15419 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15421         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15422         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15424 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15426         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15428 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15430         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15432 2012-11-28  Jeff Law  <law@redhat.com>
15434         [BZ #13761]
15435         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15436         dataset_temporary.  Track alloca usage into alloca_used.
15437         If dataset is large allocate and release it via malloc/free.
15439 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15441         [BZ #14197]
15442         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15444 2012-11-28  David S. Miller  <davem@davemloft.net>
15446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15448 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15450         [BZ #14803]
15451         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15452         of pi/2 rounded to nearest to 64 bits.
15453         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15454         nearest to 64 bits.
15455         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15456         bits.
15458 2012-11-28  Jeff Law <law@redhat.com>
15459             Martin Osvald <mosvald@redhat.com>
15461         [BZ #14889]
15462         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15463         * sunrpc/svc.c: Include time.h.
15464         (__svc_accept_failed): New function.
15465         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15466         any reason other than EINTR, call __svc_accept_failed.
15467         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15468         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15470 2012-11-28  Andreas Schwab  <schwab@suse.de>
15472         * scripts/abilist.awk: Also handle indirect functions in .opd
15473         section.
15475 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15477         [BZ #13881]
15478         * sysdeps/x86/fpu/powl_helper.c: New file.
15479         * sysdeps/x86/fpu/Makefile: Likewise.
15480         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15481         (p3): New object.
15482         (__ieee754_powl): Use __powl_helper for finite arguments except
15483         integer exponents below 8.
15484         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15485         (p3): New object.
15486         (__ieee754_powl): Use __powl_helper for finite arguments except
15487         integer exponents below 8.
15488         * math/libm-test.inc (pow_test): Add more tests and enable some
15489         previously disabled tests.
15490         * sysdeps/i386/fpu/libm-test-ulps: Update.
15491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15493 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15494             Carlos O'Donell  <carlos_odonell@mentor.com>
15496         * nss/makedb.c (is_prime): Assert that input is odd and greater
15497         than 4.  Note that fact in a comment too.
15498         (next_prime): Add 4 to input.
15500 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15502         [BZ #11741]
15503         * libio/Makefile (tests): Add test case tst-fwrite-error.
15504         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15505         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15506         * libio/tst-fwrite-error.c: New test case.
15508 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15510         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15511         before casting to void *.
15512         * include/libc-internal.h (__pointer_type): New macro.
15513         (__integer_if_pointer_type_sub): Likewise.
15514         (__integer_if_pointer_type): Likewise.
15515         (cast_to_integer): Likewise.
15516         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15517         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15518         before casting to atomic64_t.
15519         (atomic_exchange_acq): Likewise.
15520         (__arch_exchange_and_add_body): Likewise.
15521         (__arch_add_body): Likewise.
15522         (atomic_add_negative): Likewise.
15523         (atomic_add_zero): Likewise.
15525 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15527         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15528         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15529         (add_fdes): Likewise.
15530         (linear_search_fdes): Likewise.
15531         (binary_search_unencoded_fdes): Likewise.
15533 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15535         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15537 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15539         * configure.in: Autodetect C++ header directories.
15540         * configure: Regenerated.
15542 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15544         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15546 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15550 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15552         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15553         LDBL_MANT_DIG == 106]: Disable some tests.
15554         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15555         Likewise.
15556         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15557         Likewise.
15559         [BZ #14871]
15560         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15561         input for small inputs.  Return +/- pi/2 for large inputs.
15562         * math/libm-test.inc (atan_test): Add more tests.
15564         * sysdeps/generic/unwind-dw2-fde-glibc.c
15565         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15566         __attribute__ ((unused)).
15568         [BZ #14645]
15569         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15570         x * y if x and y are nonzero and z is zero.
15572         [BZ #14811]
15573         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15574         nonzero exponents with absolute value below 0x1p-117 to +/-
15575         0x1p-117.
15577         [BZ #14869]
15578         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15579         up arguments below 2**-450, not just those below 2**-500.
15580         * math/libm-test.inc (hypot_test): Add another test.
15582         [BZ #14868]
15583         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15584         Return a+b for ratio over 2**120, not 2**60.
15585         * math/libm-test.inc (hypot_test): Add another test.
15587         * math/libm-test.inc (clog_test): Use
15588         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15589         (clog10_test): Likewise.
15591         [BZ #6778]
15592         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15594 2012-11-22  Andreas Schwab  <schwab@suse.de>
15596         * sysdeps/i386/fpu/libm-test-ulps: Update.
15598 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15600         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15601         printf output with newline.
15603 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15605         [BZ #14865]
15606         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15607         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15608         -z nodlopen, -z initfirst and -z execstack support.
15609         * configure: Regenerated.
15611         * elf/elf.h (DF_1_NODIRECT): New macro.
15612         (DF_1_IGNMULDEF): Likewise.
15613         (DF_1_NOKSYMS): Likewise.
15614         (DF_1_NOHDR): Likewise.
15615         (DF_1_EDITED): Likewise.
15616         (DF_1_NORELOC): Likewise.
15617         (DF_1_SYMINTPOSE): Likewise.
15618         (DF_1_GLOBAUDIT): Likewise.
15619         (DF_1_SINGLETON): Likewise.
15620         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15621         DT_1_SUPPORTED_MASK bits.
15622         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15624 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15626         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15628 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15630         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15631         macro.
15633         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15634         (sendmmsg): Move declarations...
15635         * socket/sys/socket.h: ... here.
15636         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15637         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15638         include it from...
15639         * socket/recvmmsg.c: ... this new file.
15640         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15641         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15642         definition of __sendmmsg hidden.
15643         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15644         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15645         Move ENOSYS stub into and include it from...
15646         * socket/sendmmsg.c: ... this new file.
15647         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15648         (sysdep_routines): Move recvmmsg and sendmmsg...
15649         * socket/Makefile (routines): ... here.
15650         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15651         (GLIBC_PRIVATE): Add __sendmmsg.
15652         * include/sys/socket.h (__sendmmsg): Add declarations.
15653         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15654         sendmmsg.
15656 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15658         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15659         variable I1 with __attribute__ ((unused)).
15660         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15662 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15664         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15665         DUMMY variables with __attribute__ ((unused)).
15667         * bits/byteswap.h: Include <bits/types.h>.
15668         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15670 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15672         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15673         string_t.  Do not manually set errno.
15674         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15675         length with __strnlen.  Make sure to both set errno and return it on
15676         failure.
15678 2012-11-19  David S. Miller  <davem@davemloft.net>
15680         With help from Joseph Myers.
15681         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15682         very large arguments properly.
15683         * math/libm-test.inc (atan_test): New tests.
15684         (atan2_test): New tests.
15685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15688 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15690         [BZ #14856]
15691         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15692         Define to 3.
15694         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15695         [POSIX] (EADDRNOTAVAIL): Likewise.
15696         [POSIX] (EAFNOSUPPORT): Likewise.
15697         [POSIX] (EALREADY): Likewise.
15698         [POSIX] (ECONNABORTED): Likewise.
15699         [POSIX] (ECONNREFUSED): Likewise.
15700         [POSIX] (ECONNRESET): Likewise.
15701         [POSIX] (EDESTADDRREQ): Likewise.
15702         [POSIX] (EDQUOT): Likewise.
15703         [POSIX] (EHOSTUNREACH): Likewise.
15704         [POSIX] (EIDRM): Likewise.
15705         [POSIX] (EISCONN): Likewise.
15706         [POSIX] (ELOOP): Likewise.
15707         [POSIX] (EMULTIHOP): Likewise.
15708         [POSIX] (ENETDOWN): Likewise.
15709         [POSIX] (ENETUNREACH): Likewise.
15710         [POSIX] (ENOBUFS): Likewise.
15711         [POSIX] (ENODATA): Likewise.
15712         [POSIX] (ENOLINK): Likewise.
15713         [POSIX] (ENOMSG): Likewise.
15714         [POSIX] (ENOPROTOOPT): Likewise.
15715         [POSIX] (ENOSR): Likewise.
15716         [POSIX] (ENOSTR): Likewise.
15717         [POSIX] (ENOTCONN): Likewise.
15718         [POSIX] (ENOTSOCK): Likewise.
15719         [POSIX] (EOPNOTSUPP): Likewise.
15720         [POSIX] (EOVERFLOW): Likewise.
15721         [POSIX] (EPROTO): Likewise.
15722         [POSIX] (EPROTONOSUPPORT): Likewise.
15723         [POSIX] (EPROTOTYPE): Likewise.
15724         [POSIX] (ESTALE): Likewise.
15725         [POSIX] (ETIME): Likewise.
15726         [POSIX] (ETXTBSY): Likewise.
15727         [POSIX] (EWOULDBLOCK): Likewise.
15728         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15729         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15730         [POSIX] (SEEK_CUR): Likewise.
15731         [POSIX] (SEEK_END): Likewise.
15732         [POSIX || UNIX98] (mode_t): Do not require.
15733         [POSIX] (off_t): Likewise.
15734         [POSIX] (pid_t): Likewise.
15735         [POSIX] (sys/stat.h): Do not allow header.
15736         [POSIX] (unistd.h): Likewise.
15737         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15738         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15739         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15740         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15741         require.
15742         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15743         sigevent): Specify elements.
15744         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15745         entry.
15746         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15747         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15749         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15750         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15751         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15752         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15753         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15754         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15755         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15756         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15757         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15758         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15759         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15760         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15761         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15762         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15763         Likewise.
15764         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15765         Likewise.
15766         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15767         Likewise.
15768         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15769         Likewise.
15770         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15771         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15772         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15773         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15774         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15775         Specify lower bound on value.
15776         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15777         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15778         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15779         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15780         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15781         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15782         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15783         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15784         value.
15785         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15786         as optional.
15787         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15788         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15789         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15790         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15791         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15792         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15793         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15794         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15795         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15796         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15797         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15798         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15799         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15800         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15801         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15802         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15803         entry.
15804         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15805         optional.
15806         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15807         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15808         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15809         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15810         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15811         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15812         Likewise.
15813         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15814         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15815         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15816         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15817         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15818         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15819         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15820         as optional.
15821         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15822         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15823         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15824         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15825         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15826         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15827         specify as optional.
15828         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15829         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15830         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15831         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15832         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15833         [XPG3] (NL_LANGMAX): Likewise.
15834         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15835         [POSIX || XPG3] (NL_NMAX): Likewise.
15836         [POSIX || XPG3] (NL_SETMAX): Likewise.
15837         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15838         [XPG3] (NZERO): Likewise.
15839         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15840         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15841         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15842         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15843         (REG_ERANGE): Expect.
15844         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15845         optional-constant.
15846         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15847         Use (void) in prototype.
15848         [POSIX] (*_t): Allow.
15849         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15850         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15851         (WRDE_BADVAL): Expect.
15853         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15854         expect.
15855         [XPG3 || XPG4] (O_RSYNC): Likewise.
15856         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15857         Likewise.
15858         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15859         [XPG3 || XPG4] (sigqueue): Likewise.
15860         [XPG3 || XPG4] (sigtimedwait): Likewise.
15861         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15862         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15863         [XPG3 || XPG4] (vsnprintf): Likewise.
15864         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15865         Likewise.
15866         [XPG3 || XPG4] (blksize_t): Likewise.
15867         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15868         Likewise.
15869         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15870         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15871         [XPG3 || XPG4] (struct itimerspec): Likewise.
15872         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15873         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15874         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15875         [XPG3 || XPG4] (clockid_t): Likewise.
15876         [XPG3 || XPG4] (timer_t): Likewise.
15877         [XPG3 || XPG4] (clock_getres): Likewise.
15878         [XPG3 || XPG4] (clock_gettime): Likewise.
15879         [XPG3 || XPG4] (clock_settime): Likewise.
15880         [XPG3 || XPG4] (nanosleep): Likewise.
15881         [XPG3 || XPG4] (timer_create): Likewise.
15882         [XPG3 || XPG4] (timer_delete): Likewise.
15883         [XPG3 || XPG4] (timer_gettime): Likewise.
15884         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15885         [XPG3 || XPG4] (timer_settime): Likewise.
15886         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15887         [XPG3 || XPG4] (getlogin_r): Likewise.
15888         [XPG3 || XPG4] (pread): Likewise.
15889         [XPG3 || XPG4] (pthread_atfork): Likewise.
15890         [XPG3 || XPG4] (pwrite): Likewise.
15892         [BZ #14835]
15893         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15894         <bits/siginfo.h>.
15896 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15898         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15899         finalizing MALLSTREAM.
15901         * sysdeps/mach/hurd/syncfs.c: New file.
15903 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15905         [BZ #14719]
15906         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15907         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15908         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15909         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15910         (_nss_dns_gethostbyname4_r): Likewise.
15911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15912         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15914 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15916         [BZ #13763]
15917         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15919 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15921         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15922         * elf/cache.c (print_entry): Print ",AArch64" for
15923         FLAG_AARCH64_LIB64
15925         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15926         * elf/cache.c (print_entry): Print ",hard-float" for
15927         FLAG_ARM_LIBHF.
15929 2012-11-18  David S. Miller  <davem@davemloft.net>
15931         With help from Joseph Myers.
15932         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15933         cutoff to 2**-13.
15934         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15935         cutoff to 2**-25.
15936         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15937         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15938         small.
15939         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15940         * math/libm-test.inc (y0_test): New tests.
15941         (y1_test): New tests.
15942         * sysdeps/i386/fpu/libm-test-ulps: Update.
15943         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15946 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15948         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15949         64-bit targets.
15950         * configure: Regenerated.
15952 2012-11-17  David S. Miller  <davem@davemloft.net>
15954         [BZ #14811]
15955         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15956         nonzero exponents with absolute value below 0x1p-128 to +/-
15957         0x1p-128.
15959 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15961         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15963         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15965         * posix/getconf-speclist.c: New file.
15966         * posix/posix-envs.def: Likewise.
15967         * posix/confstr.c (START_ENV_GROUP): New macro.
15968         (END_ENV_GROUP): Likewise.
15969         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15970         (KNOWN_PRESENT_ENV_STRING): Likewise.
15971         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15972         (UNKNOWN_ENVIRONMENT): Likewise.
15973         (confstr): Include posix-envs.def instead of handling
15974         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15975         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15976         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15977         (END_ENV_GROUP): Likewise.
15978         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15979         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15980         (UNKNOWN_ENVIRONMENT): Likewise.
15981         (__sysconf): Include posix-envs.def instead of handling associated
15982         cases directly here.
15983         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15984         preprocessing getconf-speclist.c rather than running getconf or
15985         generating empty file.
15987 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15989         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15991 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15993         [BZ #14672]
15994         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15996 2012-11-16  David S. Miller  <davem@davemloft.net>
15998         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15999         smaller than LDBL_EPSILON/2.0L, just return xm1.
16001 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16003         * elf/tst-array1.c (init): Set constructor priority to 1000.
16004         (fini): Set destructor priority to 1000.
16005         * elf/tst-array2dep.c: Likewise.
16007 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16009         [BZ #11741]
16010         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16011         (_IO_new_file_xsputn): Also return EOF if none of the input
16012         data was written when overflow failed.
16013         * libio/iopadn.c (_IO_padn): Likewise.
16014         * libio/iowpadn.c (_IO_wpadn): Likewise.
16015         * stdio-common/tst-put-error.c: Add copyright notice.
16016         (do_test): Add case for printing padded string.
16017         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16018         _IO_padn returned error.
16019         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16020         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16021         return EOF.
16023 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16025         * libio/libioP.h: Add comment note that the references to C++
16026         bits are now obsolete.
16028 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16030         * math/libm-test.inc (check_complex): Use asprintf.
16032 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16034         * debug/pcprofiledump.c (print_version): Update copyright year.
16035         * malloc/memusagestat.c (print_version): Likewise.
16037 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16039         [BZ #14831]
16040         * elf/Makefile (tests): Add tst-audit8.
16041         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16042         ($(objpfx)tst-audit8.out): New target.
16043         (tst-audit8-ENV): New variable.
16044         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16045         audit if l_reloc_result is NULL.
16046         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16047         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16048         * elf/tst-audit8.c: New file.
16050 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16052         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16053         * misc/Makefile (CFLAGS-select.c): Define.
16054         * posix/Makefile (CFLAGS-pause.c): Define.
16056 2012-11-13  David S. Miller  <davem@davemloft.net>
16058         * crypt/Makefile: Move test targets after toplevel Rules
16059         inclusion.  Grab any necessary sysdep routines when linking.
16060         * crypt/md5.c (md5_process_block): Remove define, we will always
16061         name it __md5_process_block.
16062         (md5_finish_ctx): Update md5_process_block call.
16063         (md5_stream): Likewise.
16064         (md5_process_bytes): Likewise.
16065         (md5_process_block): Rename to __md5_process_block and move to ...
16066         * crypt/md5-block.c: ... here.
16067         * crypt/sha256.c (sha256_process_block): Move to ...
16068         * crypt/sha256-block.c: ... here.
16069         * crypt/sha512.c (sha512_process_block): Move to ...
16070         * crypt/sha512-block.c: ... here.
16071         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16072         path.
16073         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16074         * sysdeps/sparc/sparc64/multiarch/Makefile
16075         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16076         crypt subdir.
16077         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16078         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16079         multiarch changes.
16080         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16081         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16082         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16083         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16084         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16085         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16086         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16087         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16088         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16089         file.
16090         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16091         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16092         file.
16093         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16095 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16097         * timezone/tzselect.ksh: Update from tzcode git revision
16098         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16099         * timezone/zdump.c: Likewise.
16100         * timezone/zic.c: Likewise.
16101         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16102         in TZVERSION setting, not $(PKGVERSION).
16103         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16104         REPORT_BUGS_TO settings.
16106         [BZ #14838]
16107         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16108         macro.
16110 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16112         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16113         detection to immediately after _FP_ROUND().
16114         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16115         bits are 0.
16117 2012-11-11  David S. Miller  <davem@davemloft.net>
16119         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16120         inttypes.h
16121         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16122         __close rather than their public counterparts.
16124 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16126         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16127         file.
16128         [UNIX98] (sem_timedwait): Do not expect.
16129         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16130         [XPG4 || UNIX98] (sockatmark): Do not expect.
16131         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16132         (clock_getcpuclockid): Do not expect.
16133         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16134         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16135         Do not expect.
16136         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16137         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16138         [UNIX98] (vwscanf): Likewise.
16139         [UNIX98] (vswscanf): Likewise.
16141 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16143         * timezone/version.h: Remove file.
16144         * timezone/README: Do not refer to version.h.
16145         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16146         $(objpfx)version.h.
16147         ($(objpfx)zdump.o): Likewise.
16148         ($(objpfx)version.h): New target.
16150         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16151         2012i.
16152         * timezone/README: Don't mention modification to tzselect.ksh.
16153         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16154         work on unmodified tzselect.ksh.  Substitute version numbers in
16155         tzselect.ksh.
16157         * Makefile (format-me): Remove.
16158         (INSTALL): Adjust indentation.  Use commands directly instead of
16159         using $(format-me).
16161         * aclocal.m4 (ACX_PKGVERSION): New macro.
16162         (ACX_BUGURL): Likewise.
16163         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16164         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16165         (REPORT_BUGS_TO): Likewise.
16166         * configure: Regenerated.
16167         * config.h.in (PKGVERSION): New macro.
16168         (REPORT_BUGS_TO): Likewise.
16169         * config.make.in (PKGVERSION): New variable.
16170         (PKGVERSION_TEXI): Likewise.
16171         (REPORT_BUGS_TO): Likewise.
16172         (REPORT_BUGS_TEXI): Likewise.
16173         * Makefile (format-me): Use -I$(common-objpfx)manual.
16174         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16175         ($(common-objpfx)manual/%): New target.
16176         (manual/%): Remove target.
16177         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16178         (print_version): Use PKGVERSION.
16179         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16180         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16181         and REPORT_BUGS_TO.
16182         ($(objpfx)xtrace): Likewise.
16183         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16184         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16185         (print_version): Use PKGVERSION.
16186         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16187         (do_version): Use PKGVERSION.
16188         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16189         REPORT_BUGS_TO.
16190         (common-ldd-rewrite): Likewise.
16191         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16192         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16193         (print_version): Use PKGVERSION.
16194         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16195         * elf/pldd.c (argp_program_bug_address): Remove variable.
16196         (more_help): New function.
16197         (argp): Use more_help.
16198         (print_version): Use PKGVERSION.
16199         * elf/sln.c (main): Use PKGVERSION.
16200         (usage): Use REPORT_BUGS_TO.
16201         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16202         (top level): Use PKGVERSION.
16203         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16204         (print_version): Use PKGVERSION.
16205         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16206         (print_version): Use PKGVERSION.
16207         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16208         (print_version): Use PKGVERSION.
16209         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16210         (print_version): Use PKGVERSION.
16211         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16212         (print_version): Use PKGVERSION.
16213         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16214         (print_version): Use PKGVERSION.
16215         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16216         and BUGURL.
16217         ($(objpfx)memusage): Likewise.
16218         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16219         (do_version): Use PKGVERSION.
16220         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16221         (print_version): Use PKGVERSION.
16222         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16223         ($PKGVERSION): New variable.
16224         ($REPORT_BUGS_TO): Likewise.
16225         (usage): Use $REPORT_BUGS_TO.
16226         (top level): Use $PKGVERSION.
16227         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16228         ($(objpfx)pkgvers.texi): New rule.
16229         ($(objpfx)stamp-pkgvers): Likewise.
16230         * manual/install.texi: Include pkgvers.texi.
16231         (--with-pkgversion): Document new configure option.
16232         (--with-bugurl): Likewise.
16233         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16234         than necessarily for this particular distribution.  Use
16235         REPORT_BUGS_TO for where to report bugs.
16236         * INSTALL: Regenerated.
16237         * manual/libc.texinfo: Include pkgvers.texi.
16238         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16239         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16240         (print_version): Use PKGVERSION.
16241         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16242         (print_version): Use PKGVERSION.
16243         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16244         (print_version): Use PKGVERSION.
16245         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16246         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16247         macro.
16248         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16249         (print_version): Use PKGVERSION.
16250         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16251         (print_version): Use PKGVERSION.
16252         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16253         and PKGVERSION.
16255         * timezone/checktab.awk: Update from tzcode 2012i.
16256         * timezone/ialloc.c: Likewise.
16257         * timezone/private.h: Likewise.
16258         * timezone/scheck.c: Likewise.
16259         * timezone/tzfile.h: Likewise.
16260         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16261         (TZVERSION): Hardcode tzcode version number.
16262         * timezone/zdump.c: Update from tzcode 2012i.
16263         * timezone/zic.c: Likewise.
16264         * timezone/version.h: New file.
16265         * timezone/README: Describe version.h.  Update upstream location.
16267         [BZ #14824]
16268         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16269         (mktemp): Enable declaration.
16270         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16271         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16272         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16273         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16274         Likewise.
16275         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16276         Likewise.
16277         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16278         Likewise.
16279         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16280         Likewise.
16281         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16282         Likewise.
16283         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16284         Likewise.
16286         [BZ #14821]
16287         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16288         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16289         for copies of such integer values.
16290         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16291         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16293 2012-11-09  Andreas Jaeger  <aj@suse.de>
16295         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16296         definitions and declarations that are provided by
16297         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16299 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16301         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16302         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16303         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16304         definition.
16306 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16308         * elf/elf.h: Update comment before AArch64 relocations.
16310 2012-11-07  David S. Miller  <davem@davemloft.net>
16312         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16313         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16314         (__start_context): Declare.
16315         (__makecontext_ret): Delete.
16316         (__makecontext): Hook up __start_context instead of
16317         __makecontext_ret.
16318         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16319         (sysdep_routines): Add __start_context when in stdlib.
16321 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16323         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16324         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16325         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16326         hardcoded "nm".
16327         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16328         (READELF): New variable.  Use it instead of hardcoded "readelf".
16330 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16332         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16333         * sysdeps/x86/Makefile: Here.
16334         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16335         * sysdeps/x86/tst-xmmymm.sh: This.
16337 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16339         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16340         expectations.
16341         [UNIX98] (pthread_barrier_t): Do not expect.
16342         [UNIX98] (pthread_barrierattr_t): Likewise.
16343         [UNIX98] (pthread_spinlock_t): Likewise.
16344         [UNIX98] (pthread_barrier_destroy): Likewise.
16345         [UNIX98] (pthread_barrier_init): Likewise.
16346         [UNIX98] (pthread_barrier_wait): Likewise.
16347         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16348         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16349         [UNIX98] (pthread_barrierattr_init): Likewise.
16350         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16351         [UNIX98] (pthread_getcpuclockid): Likewise.
16352         [UNIX98] (pthread_mutex_timedlock): Likewise.
16353         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16354         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16355         [UNIX98] (pthread_sigmask): Likewise.
16356         [UNIX98] (pthread_spin_destroy): Likewise.
16357         [UNIX98] (pthread_spin_init): Likewise.
16358         [UNIX98] (pthread_spin_lock): Likewise.
16359         [UNIX98] (pthread_spin_trylock): Likewise.
16360         [UNIX98] (pthread_spin_unlock): Likewise.
16361         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16362         Do not expect.
16363         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16364         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16365         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16366         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16367         [XPG3 || XPG4] (pthread_key_t): Likewise.
16368         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16369         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16370         [XPG3 || XPG4] (pthread_once_t): Likewise.
16371         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16372         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16373         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16374         [XPG3 || XPG4] (pthread_t): Likewise.
16376         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16377         not expect.
16378         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16380         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16381         Change function return type to int.
16383         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16384         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16385         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16386         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16387         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16388         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16389         [!POSIX] (posix_madvise): Likewise.
16390         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16391         && !UNIX98].
16392         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16393         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16394         (mode_t): Likewise.
16395         (posix_mem_offset): Likewise.
16396         (posix_typed_mem_get_info): Likewise.
16397         (posix_typed_mem_open): Likewise.
16399         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16400         Change condition to [XOPEN2K8].
16402         * conform/conformtest.pl: Preprocess allow-header data with -x c
16403         instead of from stdin.
16404         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16405         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16406         [C99-based standards] (cerfc): Likewise.
16407         [C99-based standards] (cexp2): Likewise.
16408         [C99-based standards] (cexpm1): Likewise.
16409         [C99-based standards] (clog10): Likewise.
16410         [C99-based standards] (clog1p): Likewise.
16411         [C99-based standards] (clog2): Likewise.
16412         [C99-based standards] (clgamma): Likewise.
16413         [C99-based standards] (ctgamma): Likewise.
16414         [C99-based standards] (cerff): Likewise.
16415         [C99-based standards] (cerfcf): Likewise.
16416         [C99-based standards] (cexp2f): Likewise.
16417         [C99-based standards] (cexpm1f): Likewise.
16418         [C99-based standards] (clog10f): Likewise.
16419         [C99-based standards] (clog1pf): Likewise.
16420         [C99-based standards] (clog2f): Likewise.
16421         [C99-based standards] (clgammaf): Likewise.
16422         [C99-based standards] (ctgammaf): Likewise.
16423         [C99-based standards] (cerfl): Likewise.
16424         [C99-based standards] (cerfcl): Likewise.
16425         [C99-based standards] (cexp2l): Likewise.
16426         [C99-based standards] (cexpm1l): Likewise.
16427         [C99-based standards] (clog10l): Likewise.
16428         [C99-based standards] (clog1pl): Likewise.
16429         [C99-based standards] (clog2l): Likewise.
16430         [C99-based standards] (clgammal): Likewise.
16431         [C99-based standards] (ctgammal): Likewise.
16432         * conform/data/inttypes.h-data [C99-based standards]: Include
16433         stdint.h-data.  Remove all expectations for stdint.h contents.
16434         [C99-based standards] (PRI*): Do not allow.
16435         [C99-based standards] (SCN*): Likewise.
16436         [C99-based standards] (*_t): Likewise.
16437         [C99-based-standards] (PRId8): Expect macro.
16438         [C99-based-standards] (PRIi8): Likewise.
16439         [C99-based-standards] (PRIo8): Likewise.
16440         [C99-based-standards] (PRIu8): Likewise.
16441         [C99-based-standards] (PRIx8): Likewise.
16442         [C99-based-standards] (PRIX8): Likewise.
16443         [C99-based-standards] (SCNd8): Likewise.
16444         [C99-based-standards] (SCNi8): Likewise.
16445         [C99-based-standards] (SCNo8): Likewise.
16446         [C99-based-standards] (SCNu8): Likewise.
16447         [C99-based-standards] (SCNx8): Likewise.
16448         [C99-based-standards] (PRIdLEAST8): Likewise.
16449         [C99-based-standards] (PRIiLEAST8): Likewise.
16450         [C99-based-standards] (PRIoLEAST8): Likewise.
16451         [C99-based-standards] (PRIuLEAST8): Likewise.
16452         [C99-based-standards] (PRIxLEAST8): Likewise.
16453         [C99-based-standards] (PRIXLEAST8): Likewise.
16454         [C99-based-standards] (SCNdLEAST8): Likewise.
16455         [C99-based-standards] (SCNiLEAST8): Likewise.
16456         [C99-based-standards] (SCNoLEAST8): Likewise.
16457         [C99-based-standards] (SCNuLEAST8): Likewise.
16458         [C99-based-standards] (SCNxLEAST8): Likewise.
16459         [C99-based-standards] (PRIdFAST8): Likewise.
16460         [C99-based-standards] (PRIiFAST8): Likewise.
16461         [C99-based-standards] (PRIoFAST8): Likewise.
16462         [C99-based-standards] (PRIuFAST8): Likewise.
16463         [C99-based-standards] (PRIxFAST8): Likewise.
16464         [C99-based-standards] (PRIXFAST8): Likewise.
16465         [C99-based-standards] (SCNdFAST8): Likewise.
16466         [C99-based-standards] (SCNiFAST8): Likewise.
16467         [C99-based-standards] (SCNoFAST8): Likewise.
16468         [C99-based-standards] (SCNuFAST8): Likewise.
16469         [C99-based-standards] (SCNxFAST8): Likewise.
16470         [C99-based-standards] (PRId16): Likewise.
16471         [C99-based-standards] (PRIi16): Likewise.
16472         [C99-based-standards] (PRIo16): Likewise.
16473         [C99-based-standards] (PRIu16): Likewise.
16474         [C99-based-standards] (PRIx16): Likewise.
16475         [C99-based-standards] (PRIX16): Likewise.
16476         [C99-based-standards] (SCNd16): Likewise.
16477         [C99-based-standards] (SCNi16): Likewise.
16478         [C99-based-standards] (SCNo16): Likewise.
16479         [C99-based-standards] (SCNu16): Likewise.
16480         [C99-based-standards] (SCNx16): Likewise.
16481         [C99-based-standards] (PRIdLEAST16): Likewise.
16482         [C99-based-standards] (PRIiLEAST16): Likewise.
16483         [C99-based-standards] (PRIoLEAST16): Likewise.
16484         [C99-based-standards] (PRIuLEAST16): Likewise.
16485         [C99-based-standards] (PRIxLEAST16): Likewise.
16486         [C99-based-standards] (PRIXLEAST16): Likewise.
16487         [C99-based-standards] (SCNdLEAST16): Likewise.
16488         [C99-based-standards] (SCNiLEAST16): Likewise.
16489         [C99-based-standards] (SCNoLEAST16): Likewise.
16490         [C99-based-standards] (SCNuLEAST16): Likewise.
16491         [C99-based-standards] (SCNxLEAST16): Likewise.
16492         [C99-based-standards] (PRIdFAST16): Likewise.
16493         [C99-based-standards] (PRIiFAST16): Likewise.
16494         [C99-based-standards] (PRIoFAST16): Likewise.
16495         [C99-based-standards] (PRIuFAST16): Likewise.
16496         [C99-based-standards] (PRIxFAST16): Likewise.
16497         [C99-based-standards] (PRIXFAST16): Likewise.
16498         [C99-based-standards] (SCNdFAST16): Likewise.
16499         [C99-based-standards] (SCNiFAST16): Likewise.
16500         [C99-based-standards] (SCNoFAST16): Likewise.
16501         [C99-based-standards] (SCNuFAST16): Likewise.
16502         [C99-based-standards] (SCNxFAST16): Likewise.
16503         [C99-based-standards] (PRId32): Likewise.
16504         [C99-based-standards] (PRIi32): Likewise.
16505         [C99-based-standards] (PRIo32): Likewise.
16506         [C99-based-standards] (PRIu32): Likewise.
16507         [C99-based-standards] (PRIx32): Likewise.
16508         [C99-based-standards] (PRIX32): Likewise.
16509         [C99-based-standards] (SCNd32): Likewise.
16510         [C99-based-standards] (SCNi32): Likewise.
16511         [C99-based-standards] (SCNo32): Likewise.
16512         [C99-based-standards] (SCNu32): Likewise.
16513         [C99-based-standards] (SCNx32): Likewise.
16514         [C99-based-standards] (PRIdLEAST32): Likewise.
16515         [C99-based-standards] (PRIiLEAST32): Likewise.
16516         [C99-based-standards] (PRIoLEAST32): Likewise.
16517         [C99-based-standards] (PRIuLEAST32): Likewise.
16518         [C99-based-standards] (PRIxLEAST32): Likewise.
16519         [C99-based-standards] (PRIXLEAST32): Likewise.
16520         [C99-based-standards] (SCNdLEAST32): Likewise.
16521         [C99-based-standards] (SCNiLEAST32): Likewise.
16522         [C99-based-standards] (SCNoLEAST32): Likewise.
16523         [C99-based-standards] (SCNuLEAST32): Likewise.
16524         [C99-based-standards] (SCNxLEAST32): Likewise.
16525         [C99-based-standards] (PRIdFAST32): Likewise.
16526         [C99-based-standards] (PRIiFAST32): Likewise.
16527         [C99-based-standards] (PRIoFAST32): Likewise.
16528         [C99-based-standards] (PRIuFAST32): Likewise.
16529         [C99-based-standards] (PRIxFAST32): Likewise.
16530         [C99-based-standards] (PRIXFAST32): Likewise.
16531         [C99-based-standards] (SCNdFAST32): Likewise.
16532         [C99-based-standards] (SCNiFAST32): Likewise.
16533         [C99-based-standards] (SCNoFAST32): Likewise.
16534         [C99-based-standards] (SCNuFAST32): Likewise.
16535         [C99-based-standards] (SCNxFAST32): Likewise.
16536         [C99-based-standards] (PRId64): Likewise.
16537         [C99-based-standards] (PRIi64): Likewise.
16538         [C99-based-standards] (PRIo64): Likewise.
16539         [C99-based-standards] (PRIu64): Likewise.
16540         [C99-based-standards] (PRIx64): Likewise.
16541         [C99-based-standards] (PRIX64): Likewise.
16542         [C99-based-standards] (SCNd64): Likewise.
16543         [C99-based-standards] (SCNi64): Likewise.
16544         [C99-based-standards] (SCNo64): Likewise.
16545         [C99-based-standards] (SCNu64): Likewise.
16546         [C99-based-standards] (SCNx64): Likewise.
16547         [C99-based-standards] (PRIdLEAST64): Likewise.
16548         [C99-based-standards] (PRIiLEAST64): Likewise.
16549         [C99-based-standards] (PRIoLEAST64): Likewise.
16550         [C99-based-standards] (PRIuLEAST64): Likewise.
16551         [C99-based-standards] (PRIxLEAST64): Likewise.
16552         [C99-based-standards] (PRIXLEAST64): Likewise.
16553         [C99-based-standards] (SCNdLEAST64): Likewise.
16554         [C99-based-standards] (SCNiLEAST64): Likewise.
16555         [C99-based-standards] (SCNoLEAST64): Likewise.
16556         [C99-based-standards] (SCNuLEAST64): Likewise.
16557         [C99-based-standards] (SCNxLEAST64): Likewise.
16558         [C99-based-standards] (PRIdFAST64): Likewise.
16559         [C99-based-standards] (PRIiFAST64): Likewise.
16560         [C99-based-standards] (PRIoFAST64): Likewise.
16561         [C99-based-standards] (PRIuFAST64): Likewise.
16562         [C99-based-standards] (PRIxFAST64): Likewise.
16563         [C99-based-standards] (PRIXFAST64): Likewise.
16564         [C99-based-standards] (SCNdFAST64): Likewise.
16565         [C99-based-standards] (SCNiFAST64): Likewise.
16566         [C99-based-standards] (SCNoFAST64): Likewise.
16567         [C99-based-standards] (SCNuFAST64): Likewise.
16568         [C99-based-standards] (SCNxFAST64): Likewise.
16569         [C99-based-standards] (PRIdMAX): Likewise.
16570         [C99-based-standards] (PRIiMAX): Likewise.
16571         [C99-based-standards] (PRIoMAX): Likewise.
16572         [C99-based-standards] (PRIuMAX): Likewise.
16573         [C99-based-standards] (PRIxMAX): Likewise.
16574         [C99-based-standards] (PRIXMAX): Likewise.
16575         [C99-based-standards] (SCNdMAX): Likewise.
16576         [C99-based-standards] (SCNiMAX): Likewise.
16577         [C99-based-standards] (SCNoMAX): Likewise.
16578         [C99-based-standards] (SCNuMAX): Likewise.
16579         [C99-based-standards] (SCNxMAX): Likewise.
16580         [C99-based-standards] (PRIdPTR): Likewise.
16581         [C99-based-standards] (PRIiPTR): Likewise.
16582         [C99-based-standards] (PRIoPTR): Likewise.
16583         [C99-based-standards] (PRIuPTR): Likewise.
16584         [C99-based-standards] (PRIxPTR): Likewise.
16585         [C99-based-standards] (PRIXPTR): Likewise.
16586         [C99-based-standards] (SCNdPTR): Likewise.
16587         [C99-based-standards] (SCNiPTR): Likewise.
16588         [C99-based-standards] (SCNoPTR): Likewise.
16589         [C99-based-standards] (SCNuPTR): Likewise.
16590         [C99-based-standards] (SCNxPTR): Likewise.
16591         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16592         allow.
16593         * conform/data/stdint.h-data: Update comments to clarify
16594         requirements.
16595         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16596         type.
16597         [C99-based standards] (INT8_MAX): Likewise.
16598         [C99-based standards] (INT16_MIN): Likewise.
16599         [C99-based standards] (INT16_MAX): Likewise.
16600         [C99-based standards] (INT32_MIN): Likewise.
16601         [C99-based standards] (INT32_MAX): Likewise.
16602         [C99-based standards] (INT64_MIN): Likewise.
16603         [C99-based standards] (INT64_MAX): Likewise.
16604         [C99-based standards] (UINT8_MAX): Likewise.
16605         [C99-based standards] (UINT16_MAX): Likewise.
16606         [C99-based standards] (UINT32_MAX): Likewise.
16607         [C99-based standards] (UINT64_MAX): Likewise.
16608         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16609         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16610         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16611         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16612         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16613         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16614         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16615         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16616         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16617         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16618         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16619         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16620         [C99-based standards] (INT_FAST8_MIN): Likewise.
16621         [C99-based standards] (INT_FAST8_MAX): Likewise.
16622         [C99-based standards] (INT_FAST16_MIN): Likewise.
16623         [C99-based standards] (INT_FAST16_MAX): Likewise.
16624         [C99-based standards] (INT_FAST32_MIN): Likewise.
16625         [C99-based standards] (INT_FAST32_MAX): Likewise.
16626         [C99-based standards] (INT_FAST64_MIN): Likewise.
16627         [C99-based standards] (INT_FAST64_MAX): Likewise.
16628         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16629         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16630         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16631         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16632         [C99-based standards] (INTPTR_MIN): Likewise.
16633         [C99-based standards] (INTPTR_MAX): Likewise.
16634         [C99-based standards] (UINTPTR_MAX): Likewise.
16635         [C99-based standards] (INTMAX_MIN): Likewise.
16636         [C99-based standards] (INTMAX_MAX): Likewise.
16637         [C99-based standards] (UINTMAX_MAX): Likewise.
16638         [C99-based standards] (PTRDIFF_MIN): Likewise.
16639         [C99-based standards] (PTRDIFF_MAX): Likewise.
16640         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16641         [C99-based standards] (SIZE_MAX): Likewise.
16642         [C99-based standards] (WCHAR_MAX): Likewise.
16643         [C99-based standards] (WINT_MAX): Likewise.
16644         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16645         constraint on value.
16646         [C99-based standards] (WCHAR_MIN): Likewise.
16647         [C99-based standards] (WINT_MIN): Likewise.
16648         [C99-based standards] (*_t): Allow.
16649         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16650         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16651         Include math.h-data and complex.h-data.  Remove all expectations
16652         of math.h and complex.h contents.
16653         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16654         at end of line.
16655         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16656         (struct tm): Expect tag.
16657         [C99-based-standards] (wcstof): Expect function.
16658         [C99-based-standards] (wcstold): Likewise.
16659         [C99-based-standards] (wcstoll): Likewise.
16660         [C99-based-standards] (wcstoull): Likewise.
16661         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16662         macro-int-constant.  Specify type.
16663         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16664         constraint on value.
16665         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16666         Specify type.
16667         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16668         Specify value.
16669         [ISO C standards]: Do not allow headers.
16670         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16671         wcs[abcdefghijklmnopqrstuvwxyz]*.
16672         [ISO C standards] (*_t): Do not allow.
16673         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16674         Expect function.
16675         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16676         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16677         Specify type.
16678         [ISO C standards]: Do not allow headers.
16679         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16680         is[abcdefghijklmnopqrstuvwxyz]*.
16681         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16682         to[abcdefghijklmnopqrstuvwxyz]*.
16683         [ISO C standards] (*_t): Do not allow.
16684         * conform/data/stdalign.h-data: New file.
16685         * conform/data/stdbool.h-data: Likewise.
16686         * conform/data/stdnoreturn.h-data: Likewise.
16688 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16690         [BZ #14815]
16691         * manual/filesys.texi (Directory Entries): Typo fix.
16692         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16694 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16696         * elf/elf.h (EM_AARCH64): New macro.
16697         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16698         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16699         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16700         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16701         (R_AARCH64_TLSDESC): Likewise.
16702         (NT_ARM_TLS): Likewise.
16703         (NT_ARM_HW_BREAK): Likewise.
16704         (NT_ARM_HW_WATCH): Likewise.
16706 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16708         [BZ #14811]
16709         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16710         (__ieee754_powl): Saturate nonzero exponents with absolute value
16711         below 0x1p-79 to +/- 0x1p-79.
16712         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16713         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16714         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16715         nonzero exponents with absolute value below 0x1p-32 to +/-
16716         0x1p-32.
16717         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16718         (__ieee754_powl): Saturate nonzero exponents with absolute value
16719         below 0x1p-79 to +/- 0x1p-79.
16720         * math/libm-test.inc (pow_test): Add more tests.
16722 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16724         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16725         _dl_s390_cap_flags with kernel. Increase string length.
16726         (_dl_s390_platforms): Add z196 and zEC12.
16728 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16730         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16731         Change XOPEN21K to XOPEN2K.
16733 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16735         * string/memmove.c: Use memcpy when possible.
16737 2012-11-06  Andreas Jaeger  <aj@suse.de>
16739         * po/eo.po: Update from translation team.
16741 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16743         [BZ #14793]
16744         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16745         exponent and small x and y exponents, scale x or y up.  Increase
16746         by 2 the exponent used in scaling up.
16747         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16748         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16749         * math/libm-test.inc (fma_test): Add more tests.
16750         (fma_test_towardzero): Likewise.
16751         (fma_test_downward): Likewise.
16752         (fma_test_upward): Likewise.
16754 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16756         [BZ #14805]
16757         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16758         fenv_t *.
16760         [BZ #14801]
16761         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16762         namespace for names of struct fields.
16763         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16764         fenv_t fields.
16765         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16766         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16768 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16770         [BZ #3665]
16771         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16773 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16775         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16776         PTR_DEMANGLE.
16778         [BZ #5246]
16779         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16780         PTR_DEMANGLE.
16782 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16784         [BZ #14797]
16785         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16786         definitely overflow as x * y not x * y + z.
16787         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16788         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16789         * math/libm-test.inc (fma_test): Add more tests.
16790         (fma_test_towardzero): Likewise.
16791         (fma_test_downward): Likewise.
16792         (fma_test_upward): Likewise.
16794 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16796         [BZ #157]
16798         * include/stub-tag.h: Remove file.
16799         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16800         '#include' of it.
16801         * manual/maint.texi (Porting): Don't reference it.
16802         * Makerules ($(objpfx)stubs): Likewise.
16803         * dirent/closedir.c: Don't include <stub-tag.h>.
16804         * dirent/dirfd.c: Likewise.
16805         * dirent/fdopendir.c: Likewise.
16806         * dirent/getdents.c: Likewise.
16807         * dirent/getdents64.c: Likewise.
16808         * dirent/opendir.c: Likewise.
16809         * dirent/readdir.c: Likewise.
16810         * dirent/readdir64.c: Likewise.
16811         * dirent/readdir64_r.c: Likewise.
16812         * dirent/readdir_r.c: Likewise.
16813         * dirent/rewinddir.c: Likewise.
16814         * dirent/seekdir.c: Likewise.
16815         * dirent/telldir.c: Likewise.
16816         * gmon/profil.c: Likewise.
16817         * grp/setgroups.c: Likewise.
16818         * inet/if_index.c: Likewise.
16819         * io/access.c: Likewise.
16820         * io/chdir.c: Likewise.
16821         * io/chmod.c: Likewise.
16822         * io/chown.c: Likewise.
16823         * io/close.c: Likewise.
16824         * io/dup.c: Likewise.
16825         * io/dup2.c: Likewise.
16826         * io/dup3.c: Likewise.
16827         * io/euidaccess.c: Likewise.
16828         * io/faccessat.c: Likewise.
16829         * io/fchdir.c: Likewise.
16830         * io/fchmod.c: Likewise.
16831         * io/fchmodat.c: Likewise.
16832         * io/fchown.c: Likewise.
16833         * io/fchownat.c: Likewise.
16834         * io/fcntl.c: Likewise.
16835         * io/flock.c: Likewise.
16836         * io/fstatfs.c: Likewise.
16837         * io/fstatfs64.c: Likewise.
16838         * io/fstatvfs.c: Likewise.
16839         * io/fstatvfs64.c: Likewise.
16840         * io/futimens.c: Likewise.
16841         * io/fxstat.c: Likewise.
16842         * io/fxstat64.c: Likewise.
16843         * io/fxstatat.c: Likewise.
16844         * io/fxstatat64.c: Likewise.
16845         * io/getcwd.c: Likewise.
16846         * io/isatty.c: Likewise.
16847         * io/lchmod.c: Likewise.
16848         * io/lchown.c: Likewise.
16849         * io/link.c: Likewise.
16850         * io/linkat.c: Likewise.
16851         * io/lseek.c: Likewise.
16852         * io/lseek64.c: Likewise.
16853         * io/lxstat64.c: Likewise.
16854         * io/mkdir.c: Likewise.
16855         * io/mkdirat.c: Likewise.
16856         * io/mkfifo.c: Likewise.
16857         * io/mkfifoat.c: Likewise.
16858         * io/open.c: Likewise.
16859         * io/open64.c: Likewise.
16860         * io/openat.c: Likewise.
16861         * io/openat64.c: Likewise.
16862         * io/pipe.c: Likewise.
16863         * io/pipe2.c: Likewise.
16864         * io/poll.c: Likewise.
16865         * io/posix_fadvise.c: Likewise.
16866         * io/posix_fadvise64.c: Likewise.
16867         * io/posix_fallocate.c: Likewise.
16868         * io/posix_fallocate64.c: Likewise.
16869         * io/read.c: Likewise.
16870         * io/readlink.c: Likewise.
16871         * io/readlinkat.c: Likewise.
16872         * io/rmdir.c: Likewise.
16873         * io/sendfile.c: Likewise.
16874         * io/sendfile64.c: Likewise.
16875         * io/statfs.c: Likewise.
16876         * io/statfs64.c: Likewise.
16877         * io/statvfs.c: Likewise.
16878         * io/statvfs64.c: Likewise.
16879         * io/symlink.c: Likewise.
16880         * io/symlinkat.c: Likewise.
16881         * io/ttyname.c: Likewise.
16882         * io/ttyname_r.c: Likewise.
16883         * io/umask.c: Likewise.
16884         * io/unlink.c: Likewise.
16885         * io/unlinkat.c: Likewise.
16886         * io/utime.c: Likewise.
16887         * io/utimensat.c: Likewise.
16888         * io/write.c: Likewise.
16889         * io/xmknod.c: Likewise.
16890         * io/xmknodat.c: Likewise.
16891         * io/xstat.c: Likewise.
16892         * io/xstat64.c: Likewise.
16893         * login/getpt.c: Likewise.
16894         * login/grantpt.c: Likewise.
16895         * login/unlockpt.c: Likewise.
16896         * math/e_acoshl.c: Likewise.
16897         * math/e_acosl.c: Likewise.
16898         * math/e_asinl.c: Likewise.
16899         * math/e_atan2l.c: Likewise.
16900         * math/e_atanhl.c: Likewise.
16901         * math/e_coshl.c: Likewise.
16902         * math/e_expl.c: Likewise.
16903         * math/e_fmodl.c: Likewise.
16904         * math/e_gammal_r.c: Likewise.
16905         * math/e_hypotl.c: Likewise.
16906         * math/e_j0l.c: Likewise.
16907         * math/e_j1l.c: Likewise.
16908         * math/e_jnl.c: Likewise.
16909         * math/e_lgammal_r.c: Likewise.
16910         * math/e_log10l.c: Likewise.
16911         * math/e_log2l.c: Likewise.
16912         * math/e_logl.c: Likewise.
16913         * math/e_powl.c: Likewise.
16914         * math/e_rem_pio2l.c: Likewise.
16915         * math/e_sinhl.c: Likewise.
16916         * math/e_sqrtl.c: Likewise.
16917         * math/fclrexcpt.c: Likewise.
16918         * math/fedisblxcpt.c: Likewise.
16919         * math/feenablxcpt.c: Likewise.
16920         * math/fegetenv.c: Likewise.
16921         * math/fegetexcept.c: Likewise.
16922         * math/fegetround.c: Likewise.
16923         * math/feholdexcpt.c: Likewise.
16924         * math/fesetenv.c: Likewise.
16925         * math/fesetround.c: Likewise.
16926         * math/feupdateenv.c: Likewise.
16927         * math/fgetexcptflg.c: Likewise.
16928         * math/fraiseexcpt.c: Likewise.
16929         * math/fsetexcptflg.c: Likewise.
16930         * math/ftestexcept.c: Likewise.
16931         * math/k_cosl.c: Likewise.
16932         * math/k_rem_pio2l.c: Likewise.
16933         * math/k_sinl.c: Likewise.
16934         * math/k_tanl.c: Likewise.
16935         * math/s_asinhl.c: Likewise.
16936         * math/s_atanl.c: Likewise.
16937         * math/s_cbrtl.c: Likewise.
16938         * math/s_erfl.c: Likewise.
16939         * math/s_expm1l.c: Likewise.
16940         * math/s_log1pl.c: Likewise.
16941         * math/s_tanhl.c: Likewise.
16942         * misc/acct.c: Likewise.
16943         * misc/brk.c: Likewise.
16944         * misc/chflags.c: Likewise.
16945         * misc/chroot.c: Likewise.
16946         * misc/fchflags.c: Likewise.
16947         * misc/fgetxattr.c: Likewise.
16948         * misc/flistxattr.c: Likewise.
16949         * misc/fremovexattr.c: Likewise.
16950         * misc/fsetxattr.c: Likewise.
16951         * misc/fsync.c: Likewise.
16952         * misc/ftruncate.c: Likewise.
16953         * misc/futimes.c: Likewise.
16954         * misc/futimesat.c: Likewise.
16955         * misc/getdomain.c: Likewise.
16956         * misc/getdtsz.c: Likewise.
16957         * misc/gethostid.c: Likewise.
16958         * misc/gethostname.c: Likewise.
16959         * misc/getloadavg.c: Likewise.
16960         * misc/getpagesize.c: Likewise.
16961         * misc/getsysstats.c: Likewise.
16962         * misc/getxattr.c: Likewise.
16963         * misc/gtty.c: Likewise.
16964         * misc/ioctl.c: Likewise.
16965         * misc/lgetxattr.c: Likewise.
16966         * misc/listxattr.c: Likewise.
16967         * misc/llistxattr.c: Likewise.
16968         * misc/lremovexattr.c: Likewise.
16969         * misc/lsetxattr.c: Likewise.
16970         * misc/lutimes.c: Likewise.
16971         * misc/madvise.c: Likewise.
16972         * misc/mincore.c: Likewise.
16973         * misc/mlock.c: Likewise.
16974         * misc/mlockall.c: Likewise.
16975         * misc/mmap.c: Likewise.
16976         * misc/mprotect.c: Likewise.
16977         * misc/msync.c: Likewise.
16978         * misc/munlock.c: Likewise.
16979         * misc/munlockall.c: Likewise.
16980         * misc/munmap.c: Likewise.
16981         * misc/preadv.c: Likewise.
16982         * misc/preadv64.c: Likewise.
16983         * misc/ptrace.c: Likewise.
16984         * misc/pwritev.c: Likewise.
16985         * misc/pwritev64.c: Likewise.
16986         * misc/readv.c: Likewise.
16987         * misc/reboot.c: Likewise.
16988         * misc/remap_file_pages.c: Likewise.
16989         * misc/removexattr.c: Likewise.
16990         * misc/revoke.c: Likewise.
16991         * misc/select.c: Likewise.
16992         * misc/setdomain.c: Likewise.
16993         * misc/setegid.c: Likewise.
16994         * misc/seteuid.c: Likewise.
16995         * misc/sethostid.c: Likewise.
16996         * misc/sethostname.c: Likewise.
16997         * misc/setregid.c: Likewise.
16998         * misc/setreuid.c: Likewise.
16999         * misc/setxattr.c: Likewise.
17000         * misc/sstk.c: Likewise.
17001         * misc/stty.c: Likewise.
17002         * misc/swapoff.c: Likewise.
17003         * misc/swapon.c: Likewise.
17004         * misc/sync.c: Likewise.
17005         * misc/syncfs.c: Likewise.
17006         * misc/syscall.c: Likewise.
17007         * misc/truncate.c: Likewise.
17008         * misc/ualarm.c: Likewise.
17009         * misc/usleep.c: Likewise.
17010         * misc/ustat.c: Likewise.
17011         * misc/utimes.c: Likewise.
17012         * misc/vhangup.c: Likewise.
17013         * misc/writev.c: Likewise.
17014         * posix/_exit.c: Likewise.
17015         * posix/alarm.c: Likewise.
17016         * posix/execve.c: Likewise.
17017         * posix/fexecve.c: Likewise.
17018         * posix/fork.c: Likewise.
17019         * posix/fpathconf.c: Likewise.
17020         * posix/getaddrinfo.c: Likewise.
17021         * posix/getegid.c: Likewise.
17022         * posix/geteuid.c: Likewise.
17023         * posix/getgid.c: Likewise.
17024         * posix/getgroups.c: Likewise.
17025         * posix/getlogin.c: Likewise.
17026         * posix/getlogin_r.c: Likewise.
17027         * posix/getpgid.c: Likewise.
17028         * posix/getpid.c: Likewise.
17029         * posix/getppid.c: Likewise.
17030         * posix/getresgid.c: Likewise.
17031         * posix/getresuid.c: Likewise.
17032         * posix/getsid.c: Likewise.
17033         * posix/getuid.c: Likewise.
17034         * posix/glob64.c: Likewise.
17035         * posix/nanosleep.c: Likewise.
17036         * posix/pathconf.c: Likewise.
17037         * posix/pause.c: Likewise.
17038         * posix/posix_madvise.c: Likewise.
17039         * posix/pread.c: Likewise.
17040         * posix/pread64.c: Likewise.
17041         * posix/pwrite.c: Likewise.
17042         * posix/pwrite64.c: Likewise.
17043         * posix/sched_getaffinity.c: Likewise.
17044         * posix/sched_getp.c: Likewise.
17045         * posix/sched_gets.c: Likewise.
17046         * posix/sched_primax.c: Likewise.
17047         * posix/sched_primin.c: Likewise.
17048         * posix/sched_rr_gi.c: Likewise.
17049         * posix/sched_setaffinity.c: Likewise.
17050         * posix/sched_setp.c: Likewise.
17051         * posix/sched_sets.c: Likewise.
17052         * posix/sched_yield.c: Likewise.
17053         * posix/setgid.c: Likewise.
17054         * posix/setlogin.c: Likewise.
17055         * posix/setpgid.c: Likewise.
17056         * posix/setresgid.c: Likewise.
17057         * posix/setresuid.c: Likewise.
17058         * posix/setsid.c: Likewise.
17059         * posix/setuid.c: Likewise.
17060         * posix/sleep.c: Likewise.
17061         * posix/spawni.c: Likewise.
17062         * posix/sysconf.c: Likewise.
17063         * posix/times.c: Likewise.
17064         * posix/wait.c: Likewise.
17065         * posix/wait3.c: Likewise.
17066         * posix/wait4.c: Likewise.
17067         * posix/waitpid.c: Likewise.
17068         * resolv/gai_sigqueue.c: Likewise.
17069         * resource/getpriority.c: Likewise.
17070         * resource/getrlimit.c: Likewise.
17071         * resource/getrusage.c: Likewise.
17072         * resource/nice.c: Likewise.
17073         * resource/setpriority.c: Likewise.
17074         * resource/setrlimit.c: Likewise.
17075         * resource/ulimit.c: Likewise.
17076         * rt/aio_cancel.c: Likewise.
17077         * rt/aio_fsync.c: Likewise.
17078         * rt/aio_read.c: Likewise.
17079         * rt/aio_sigqueue.c: Likewise.
17080         * rt/aio_suspend.c: Likewise.
17081         * rt/aio_write.c: Likewise.
17082         * rt/clock_getres.c: Likewise.
17083         * rt/clock_gettime.c: Likewise.
17084         * rt/clock_nanosleep.c: Likewise.
17085         * rt/clock_settime.c: Likewise.
17086         * rt/lio_listio.c: Likewise.
17087         * rt/mq_close.c: Likewise.
17088         * rt/mq_getattr.c: Likewise.
17089         * rt/mq_notify.c: Likewise.
17090         * rt/mq_open.c: Likewise.
17091         * rt/mq_receive.c: Likewise.
17092         * rt/mq_send.c: Likewise.
17093         * rt/mq_setattr.c: Likewise.
17094         * rt/mq_timedreceive.c: Likewise.
17095         * rt/mq_timedsend.c: Likewise.
17096         * rt/mq_unlink.c: Likewise.
17097         * rt/shm_open.c: Likewise.
17098         * rt/shm_unlink.c: Likewise.
17099         * rt/timer_create.c: Likewise.
17100         * rt/timer_delete.c: Likewise.
17101         * rt/timer_getoverr.c: Likewise.
17102         * rt/timer_gettime.c: Likewise.
17103         * rt/timer_settime.c: Likewise.
17104         * setjmp/__longjmp.c: Likewise.
17105         * setjmp/setjmp.c: Likewise.
17106         * signal/kill.c: Likewise.
17107         * signal/killpg.c: Likewise.
17108         * signal/raise.c: Likewise.
17109         * signal/sigaction.c: Likewise.
17110         * signal/sigaltstack.c: Likewise.
17111         * signal/sigblock.c: Likewise.
17112         * signal/sigignore.c: Likewise.
17113         * signal/sigintr.c: Likewise.
17114         * signal/signal.c: Likewise.
17115         * signal/sigpause.c: Likewise.
17116         * signal/sigpending.c: Likewise.
17117         * signal/sigqueue.c: Likewise.
17118         * signal/sigreturn.c: Likewise.
17119         * signal/sigset.c: Likewise.
17120         * signal/sigsetmask.c: Likewise.
17121         * signal/sigstack.c: Likewise.
17122         * signal/sigsuspend.c: Likewise.
17123         * signal/sigtimedwait.c: Likewise.
17124         * signal/sigvec.c: Likewise.
17125         * signal/sigwait.c: Likewise.
17126         * signal/sigwaitinfo.c: Likewise.
17127         * signal/sysv_signal.c: Likewise.
17128         * socket/accept.c: Likewise.
17129         * socket/accept4.c: Likewise.
17130         * socket/bind.c: Likewise.
17131         * socket/connect.c: Likewise.
17132         * socket/getpeername.c: Likewise.
17133         * socket/getsockname.c: Likewise.
17134         * socket/getsockopt.c: Likewise.
17135         * socket/isfdtype.c: Likewise.
17136         * socket/listen.c: Likewise.
17137         * socket/recv.c: Likewise.
17138         * socket/recvfrom.c: Likewise.
17139         * socket/recvmsg.c: Likewise.
17140         * socket/send.c: Likewise.
17141         * socket/sendmsg.c: Likewise.
17142         * socket/sendto.c: Likewise.
17143         * socket/setsockopt.c: Likewise.
17144         * socket/shutdown.c: Likewise.
17145         * socket/sockatmark.c: Likewise.
17146         * socket/socket.c: Likewise.
17147         * socket/socketpair.c: Likewise.
17148         * stdio-common/ctermid.c: Likewise.
17149         * stdio-common/cuserid.c: Likewise.
17150         * stdio-common/remove.c: Likewise.
17151         * stdio-common/rename.c: Likewise.
17152         * stdio-common/renameat.c: Likewise.
17153         * stdio-common/tempname.c: Likewise.
17154         * stdlib/getcontext.c: Likewise.
17155         * stdlib/makecontext.c: Likewise.
17156         * stdlib/setcontext.c: Likewise.
17157         * stdlib/swapcontext.c: Likewise.
17158         * stdlib/system.c: Likewise.
17159         * streams/fattach.c: Likewise.
17160         * streams/fdetach.c: Likewise.
17161         * streams/getmsg.c: Likewise.
17162         * streams/getpmsg.c: Likewise.
17163         * streams/putmsg.c: Likewise.
17164         * streams/putpmsg.c: Likewise.
17165         * sysdeps/unix/bsd/getpt.c: Likewise.
17166         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17167         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17168         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17170         Likewise.
17171         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17172         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17173         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17174         * sysvipc/msgctl.c: Likewise.
17175         * sysvipc/msgget.c: Likewise.
17176         * sysvipc/msgrcv.c: Likewise.
17177         * sysvipc/msgsnd.c: Likewise.
17178         * sysvipc/semctl.c: Likewise.
17179         * sysvipc/semget.c: Likewise.
17180         * sysvipc/semop.c: Likewise.
17181         * sysvipc/semtimedop.c: Likewise.
17182         * sysvipc/shmat.c: Likewise.
17183         * sysvipc/shmctl.c: Likewise.
17184         * sysvipc/shmdt.c: Likewise.
17185         * sysvipc/shmget.c: Likewise.
17186         * termios/tcdrain.c: Likewise.
17187         * termios/tcflow.c: Likewise.
17188         * termios/tcflush.c: Likewise.
17189         * termios/tcgetattr.c: Likewise.
17190         * termios/tcgetpgrp.c: Likewise.
17191         * termios/tcsendbrk.c: Likewise.
17192         * termios/tcsetattr.c: Likewise.
17193         * termios/tcsetpgrp.c: Likewise.
17194         * time/adjtime.c: Likewise.
17195         * time/clock.c: Likewise.
17196         * time/getitimer.c: Likewise.
17197         * time/gettimeofday.c: Likewise.
17198         * time/setitimer.c: Likewise.
17199         * time/settimeofday.c: Likewise.
17200         * time/stime.c: Likewise.
17201         * time/time.c: Likewise.
17203 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17205         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17206         /usr/old/bin.
17208         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17209         instead of spaces.
17210         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17212 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17214         [BZ #14796]
17215         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17216         FE_TONEAREST before applying Dekker multiplication and Knuth
17217         addition.  Clear inexact exceptions and check for exact zero
17218         results afterwards.
17219         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17220         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17221         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17222         * math/libm-test.inc (fma_test): Add more tests.
17223         (fma_test_towardzero): Likewise.
17224         (fma_test_downward): Likewise.
17225         (fma_test_upward): Likewise.
17226         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17227         function.
17228         (libc_fesetround): New macro.
17229         (libc_fesetroundf): Likewise.
17230         (libc_fesetroundl): Likewise.
17231         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17232         function.
17233         (libc_fesetround_387): Likewise.
17234         (libc_fesetroundf): New macro.
17235         (libc_fesetround): Likewise.
17236         (libc_fesetroundl): Likewise.
17237         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17238         function.
17239         (libc_fesetroundf): New macro.
17240         (libc_fesetround): Likewise.
17241         (libc_fesetroundl): Likewise.
17242         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17243         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17244         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17245         libm_hidden_ver.
17246         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17247         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17248         libm_hidden_def.
17249         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17250         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17251         libm_hidden_ver.
17252         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17253         libm_hidden_def.
17255         [BZ #3439]
17256         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17257         integer constant usable in #if and use that to give value to enum
17258         constant.
17259         (FE_DIVBYZERO): Likewise.
17260         (FE_UNDERFLOW): Likewise.
17261         (FE_OVERFLOW): Likewise.
17262         (FE_INVALID): Likewise.
17263         (FE_INVALID_SNAN): Likewise.
17264         (FE_INVALID_ISI): Likewise.
17265         (FE_INVALID_IDI): Likewise.
17266         (FE_INVALID_ZDZ): Likewise.
17267         (FE_INVALID_IMZ): Likewise.
17268         (FE_INVALID_COMPARE): Likewise.
17269         (FE_INVALID_SOFTWARE): Likewise.
17270         (FE_INVALID_SQRT): Likewise.
17271         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17272         (FE_TONEAREST): Likewise.
17273         (FE_TOWARDZERO): Likewise.
17274         (FE_UPWARD): Likewise.
17275         (FE_DOWNWARD): Likewise.
17276         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17277         (FE_DIVBYZERO): Likewise.
17278         (FE_OVERFLOW): Likewise.
17279         (FE_UNDERFLOW): Likewise.
17280         (FE_INEXACT): Likewise.
17281         (FE_TONEAREST): Likewise.
17282         (FE_DOWNWARD): Likewise.
17283         (FE_UPWARD): Likewise.
17284         (FE_TOWARDZERO): Likewise.
17285         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17286         (FE_UNDERFLOW): Likewise.
17287         (FE_OVERFLOW): Likewise.
17288         (FE_DIVBYZERO): Likewise.
17289         (FE_INVALID): Likewise.
17290         (FE_TONEAREST): Likewise.
17291         (FE_TOWARDZERO): Likewise.
17292         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17293         (FE_OVERFLOW): Likewise.
17294         (FE_UNDERFLOW): Likewise.
17295         (FE_DIVBYZERO): Likewise.
17296         (FE_INEXACT): Likewise.
17297         (FE_TONEAREST): Likewise.
17298         (FE_TOWARDZERO): Likewise.
17299         (FE_UPWARD): Likewise.
17300         (FE_DOWNWARD): Likewise.
17301         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17302         (FE_DIVBYZERO): Likewise.
17303         (FE_OVERFLOW): Likewise.
17304         (FE_UNDERFLOW): Likewise.
17305         (FE_INEXACT): Likewise.
17306         (FE_TONEAREST): Likewise.
17307         (FE_DOWNWARD): Likewise.
17308         (FE_UPWARD): Likewise.
17309         (FE_TOWARDZERO): Likewise.
17311 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17313         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17315 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17317         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17318         commands.  Quote $PWD.
17319         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17320         -x" by "export".
17321         (remove_newlines): Remove.
17323 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17325         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17326         * stdlib/stdlib.h (atof): Moved to ...
17327         * include/bits/stdlib-float.h: Here.  New file.
17328         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17329         * stdlib/bits/stdlib-float.h: New file.
17330         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17331         -mno-sse -mno-mmx.
17332         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17333         <xmmintrin.h>.
17335 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17337         * conform/conformtest.pl (@headers): Add fenv.h.
17338         * conform/data/fenv.h-data: New file.
17339         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17340         include of <math/fenv.h>.
17342         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17343         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17344         && !UNIX98].  Enables tests for XOPEN2K8.
17345         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17346         POSIX2008]: Likewise.
17348         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17349         (struct rusage): Do not expect type or its members.
17351         [BZ #3439]
17352         * math/math.h (FP_NAN): Define macro to integer constant usable in
17353         #if and use that to give value to enum constant.
17354         (FP_INFINITE): Likewise.
17355         (FP_ZERO): Likewise.
17356         (FP_SUBNORMAL): Likewise.
17357         (FP_NORMAL): Likewise.
17359 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17361         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17362         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17363         arguments.
17365 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17367         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17368         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17369         autoconf-time if not.
17370         * configure.in: Remove AC_PREREQ.
17372 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17374         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17375         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17376         of the internal implementation.
17378 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17380         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17381         except include of <misc/sys/syslog.h>.
17383 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17386         function returns with a NULL context exit with zero.
17388 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17390         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17392 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17394         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17395         (run_program_cmd): This.
17396         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17397         (tst_langinfo): New variable.  Use it.
17399 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17401         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17402         floating point opcodes.
17404 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17406         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17407         variable.
17409         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17411         * sysdeps/mach/hurd/powerpc: Remove directory.
17412         * sysdeps/mach/powerpc: Likewise.
17414 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17416         * scripts/check-local-headers.sh: Ignore c++ headers.
17418 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17420         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17421         __libc_cleanup_region_start argument.
17423 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17425         [BZ #14784]
17426         [BZ #14785]
17427         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17428         x * y using scaling, not as x * y + z.
17429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17430         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17431         * math/libm-test.inc (fma_test): Add more tests.
17432         (fma_test_towardzero): Likewise.
17433         (fma_test_downward): Likewise.
17434         (fma_test_upward): Likewise.
17436 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17438         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17440 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17442         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17443         New variable.
17445 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17447         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17449 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17452         Fix sort order.
17453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17454         Likewise.
17456 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17459         Fix the order of the list for glibc 2.17.
17460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17461         Likewise.
17463 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17467 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17469         [BZ #14610]
17470         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17471         for low part of x being zero before using __atanl (y).
17472         * math/libm-test.inc (atan2_test): Add another test.
17474         * manual/install.texi (Configuring and compiling): Document
17475         general use of test-wrapper and test-wrapper-env.
17476         * INSTALL: Regenerated.
17478         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17479         (__fma): Do not extract and scale down low bits on after-rounding
17480         systems when result rounded to normal precision would have normal
17481         exponent.
17482         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17483         (__fmal): Do not extract and scale down low bits on after-rounding
17484         systems when result rounded to normal precision would have normal
17485         exponent.
17486         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17487         (__fmal): Do not extract and scale down low bits on after-rounding
17488         systems when result rounded to normal precision would have normal
17489         exponent.
17490         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17491         macro.
17492         (fma_test): Add more tests.
17493         (fma_test_towardzero): Likewise.
17494         (fma_test_downward): Likewise.
17495         (fma_test_upward): Likewise.
17497 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17499         * sysdeps/i386/tininess.h: Renamed to ...
17500         * sysdeps/x86/tininess.h: This.
17501         * sysdeps/x86_64/tininess.h: Removed.
17503 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17505         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17506         input.  Use $(build-program-cmd).
17507         ($(objpfx)tst-array1-static.out): Likewise.
17508         ($(objpfx)tst-array2.out): Likewise.
17509         ($(objpfx)tst-array3.out): Likewise.
17510         ($(objpfx)tst-array4.out): Likewise.
17511         ($(objpfx)tst-array5.out): Likewise.
17512         ($(objpfx)tst-array5-static.out): Likewise.
17514 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17516         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17517         if defined.
17519         * nss/nsswitch.h (nss_interface_function): Provide new
17520         macro for use with NSS functions.
17521         * grp/initgroups.c: Use new macro.
17522         * nss/getXXbyYY.c: Likewise.
17523         * nss/getXXbyYY_r.c: Likewise.
17524         * nss/getXXent.c: Likewise.
17525         * nss/getXXent_r.c: Likewise.
17526         * sysdeps/posix/getaddrinfo.c: Likewise.
17528 2012-10-30  Andreas Jaeger  <aj@suse.de>
17530         * po/ru.po: Update Russion translation from translation project.
17532 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17534         [BZ #14152]
17535         [BZ #14783]
17536         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17537         result and shift together with sticky bit instead of replicating
17538         round-to-nearest rounding.
17539         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17540         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17541         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17542         missing underflow exceptions.
17543         (fma_test_towardzero): Add more tests.
17544         (fma_test_downward): Likewise.
17545         (fma_test_upward): Likewise.
17547         [BZ #14047]
17548         * sysdeps/generic/tininess.h: New file.
17549         * sysdeps/i386/tininess.h: Likewise.
17550         * sysdeps/sh/tininess.h: Likewise.
17551         * sysdeps/x86_64/tininess.h: Likewise.
17552         * stdlib/tst-strtod-underflow.c: Likewise.
17553         * stdlib/tst-tininess.c: Likewise.
17554         * stdlib/strtod_l.c: Include <tininess.h>.
17555         (round_and_return): Do not set errno for exact underflow cases.
17556         Force an underflow exception when setting errno for underflow.
17557         Determine underflow based on rounding to normal precision if
17558         TININESS_AFTER_ROUNDING.
17559         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17560         ERANGE for exact underflow cases.
17561         * stdlib/Makefile (tests): Add tst-tininess and
17562         tst-strtod-underflow.
17563         ($(objpfx)tst-tininess): Use $(link-libm).
17564         ($(objpfx)tst-strtod-underflow): Likewise.
17566 2012-10-30  Andreas Jaeger  <aj@suse.de>
17568         [BZ#14767]
17569         * elf/Makefile (tests): Remove conditional for have-initfini-array
17570         since this is now always required and the variable does not exist
17571         anymore.
17572         (tests-static): Likewise.
17573         (modules-names): Likewise.
17575         * po/eo.po: Add Esperanto translation from translation project.
17577         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17578         merged with constructor/destructor.
17579         (init_array): Likewise.
17580         * elf/tst-array2dep.c (fini_array): Likewise.
17581         (init_array): Likewise.
17583 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17585         * manual/message.texi: Delete @cartouche tags.
17587 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17589         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17590         EOPNOTSUPP.
17591         * sysdeps/mach/hurd/fsync.c: Likewise.
17593         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17594         [_POSIX_REALTIME_SIGNALS]: Change condition to
17595         [_POSIX_REALTIME_SIGNALS > 0].
17597 2012-10-27  Andreas Jaeger  <aj@suse.de>
17599         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17600         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17601         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17602         [__WORDSIZE != 64]: Likewise.
17604 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17606         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17607         *  iconvdata/tst-tables.sh: Likewise.
17609 2012-10-25  David S. Miller  <davem@davemloft.net>
17611         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17612         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17613         of strtoull.
17615         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17616         ifunc-impl-list.c
17617         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17618         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17619         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17620         file.
17622 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17624         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17625         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17626         __getdirentries.
17628 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17629             Jim Blandy  <jimb@codesourcery.com>
17631         * scripts/cross-test-ssh.sh: New file.
17632         * manual/install.texi (Configuring and compiling): Document use of
17633         cross-test-ssh.sh.
17634         * INSTALL: Regenerated.
17636 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17638         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17639         EOPNOTSUPP.
17641 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17643         * Makeconfig (run-program-prefix): Fix comment.
17645 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17646             Jim Blandy  <jimb@codesourcery.com>
17648         * Makeconfig (test-wrapper): New variable,
17649         (test-wrapper-env): Likewise.
17650         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17651         (run-built-tests): Define to yes.
17652         (run-program-prefix): Use $(test-wrapper).
17653         (built-program-cmd): Likewise.
17654         * Rules (make-test-out): Use $(test-wrapper-env) and
17655         $(host-built-program-cmd).
17656         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17657         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17658         tst-pathopt.sh.
17659         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17660         $(test-wrapper-env) to tst-rtld-load-self.sh.
17661         ($(objpfx)order2.out): Use $(test-wrapper).
17662         ($(objpfx)tst-initorder.out): Likewise.
17663         ($(objpfx)tst-initorder2.out): Likewise.
17664         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17665         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17666         (test_wrapper_env): New variable.  Use it to run ld.so.
17667         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17668         Use it to run ld.so.
17669         (test_wrapper_env): Likewise.
17670         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17671         $(test-wrapper) to run-iconv-test.sh.
17672         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17673         (ICONV): Use $test_wrapper.
17674         * posix/Makefile ($(objpfx)globtest.out): Pass
17675         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17676         globtest.sh, not $(run-program-prefix).
17677         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17678         (test_wrapper): Likewise.
17679         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17680         set together with run_via_rtld_prefix.
17681         (run_program_prefix): Define in terms of test_wrapper and
17682         run_via_rtld_prefix.
17684 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17686         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17687         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17688         Targets removed.
17690         [BZ #14743]
17691         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17692         Declare __clock_getres, __clock_gettime, __clock_settime,
17693         __clock_nanosleep, and __clock_getcpuclockid.
17694         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17695         Remove librt_hidden_def (clock_gettime).
17696         * sysdeps/unix/clock_gettime.c: Likewise.
17697         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17698         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17699         * rt/clock_getres.c: Define __clock_getres as an alias.
17700         * sysdeps/posix/clock_getres.c: Likewise.
17701         * rt/clock_settime.c: Define __clock_settime as an alias.
17702         * sysdeps/unix/clock_settime.c: Likewise.
17703         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17704         * sysdeps/unix/clock_nanosleep.c: Likewise.
17705         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17706         * rt/clock-compat.c: New file.
17707         * rt/Makefile (librt-routines): Add clock-compat and move
17708         $(clock-routines) to ...
17709         (routines): ... here, new variable.
17710         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17711         Don't add get_clockfreq here.
17712         * rt/Versions (libc: GLIBC_2.17): New version set.
17713         Add clock_* symbols here.
17714         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17715         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17716         (GLIBC_2.17): Add clock_* symbols.
17717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17719         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17721         Likewise.
17722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17723         Likewise.
17724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17728         * NEWS: Mention the move.
17730         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17731         Use __open, __read, __close rather than their public counterparts.
17732         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17733         (__get_clockfreq_via_cpuinfo): Likewise.
17734         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17735         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17737         * config.h.in (HAVE_IFUNC): New #undef.
17738         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17739         was successful.
17740         * configure: Regenerated.
17742 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17744         * configure.in: Move READELF check to start of file.
17745         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17746         libc_cv_asm_gnu_indirect_function in the process.
17747         * configure: Regenerated.
17749 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17751         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17752         send the output to /dev/null.
17753         (libc_cv_cc_with_libunwind): Likewise.
17754         (libc_cv_as_noexecstack): Likewise.
17755         * configure: Regenerate.
17757 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17759         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17761         * posix/globtest.sh (TMPDIR): Do not set.
17762         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17763         (testout): Likewise.
17765 2012-10-24  Andreas Jaeger  <aj@suse.de>
17767         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17768         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17769         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17770         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17771         posix_fadvise64, posix_fallocate64.
17773         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17774         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17775         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17776         Likewise.
17777         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17778         Likewise.
17779         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17781         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17782         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17783         <bits/fcntl-linux.h>.
17784         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17786         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17787         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17788         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17789         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17790         [__WORDSIZE != 64]: Likewise.
17792 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17794         * Makeconfig (run-built-tests): New variable.
17795         * Rules [$(cross-compiling) = yes]: Change condition to
17796         [$(run-built-tests) = no].
17797         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17798         to [$(run-built-tests) = yes].
17799         * elf/Makefile [$(cross-compiling) = no]: Likewise
17800         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17801         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17802         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17803         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17804         * io/Makefile [$(cross-compiling) = no]: Likewise.
17805         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17806         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17807         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17808         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17809         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17810         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17811         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17812         * string/Makefile [$(cross-compiling) = no]: Likewise.
17814         * posix/Makefile ($(objpfx)globtest.out): Pass
17815         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17816         $(rtld-installed-name).
17817         * posix/globtest.sh (elf_objpfx): Remove variable.
17818         (rtld_installed_name): Likewise.
17819         (library_path): Likewise.
17820         (run_program_prefix): New variable.  Use for running globtest
17821         binary.
17823 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17824             Joseph Myers  <joseph@codesourcery.com>
17826         * Makeconfig (host-built-program-cmd): New variable.
17827         * elf/Makefile (tst-stackguard1-ARGS): Use
17828         $(host-built-program-cmd).
17829         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17830         (tst-spawn-ARGS): Likewise.
17831         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17833 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17834             Jim Blandy  <jimb@codesourcery.com>
17836         * Makeconfig (run-via-rtld-prefix): New variable.
17837         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17838         (built-program-cmd): Likewise.
17840 2012-10-22  Andreas Jaeger  <aj@suse.de>
17842         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17843         __O_RSYNC if it exists, otherwise to O_SYNC.
17845 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17846             Joseph Myers  <joseph@codesourcery.com>
17848         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17849         /dev/null.
17850         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17851         from /dev/null
17852         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17853         /dev/null.
17855 2012-10-22  Andreas Jaeger  <aj@suse.de>
17857         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17858         Define always.
17859         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17861         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17862         bits/fcntl-linux.h.
17864         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17865         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17867         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17868         to __O_LARGEFILE.
17869         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17870         to __O_LARGEFILE.
17872 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17873             Joseph Myers  <joseph@codesourcery.com>
17875         * config.make.in (NM): New variable.
17877 2012-10-21  Andreas Jaeger  <aj@suse.de>
17879         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17880         definitions and declarations that are provided by
17881         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17883 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17885         [BZ #14683]
17886         * elf/Makefile (tests-static): Add tst-leaks1-static.
17887         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17888         ($(objpfx)tst-leaks1-static): New rule.
17889         ($(objpfx)tst-leaks1-static-mem): Likewise.
17890         (tst-leaks1-static-ENV): New macro.
17891         * elf/dl-open.c (dl_open_worker): Check the main application
17892         only if SHARED is defined.
17893         * elf/tst-leaks1-static.c: New file.
17895 2012-10-20  Andreas Jaeger  <aj@suse.de>
17897         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17898         generic values for Linux.
17899         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17900         and declarations that are provided by <bits/fcntl-linux.h> and
17901         include <bits/fcntl-linux.h>.
17902         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17903         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17905 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17907         * io/fcntl.h: Move include of <bits/types.h> to the top and
17908         include it unconditionally.
17910 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17912         * wcsmbs/Makefile (tests-ifunc): New variable.
17913         (tests): Add $(tests-ifunc).
17914         * wcsmbs/test-wcschr-ifunc.c: New file.
17915         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17916         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17917         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17918         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17919         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17921         * string/Makefile (tests-ifunc): New variable.
17922         (tests): Add $(tests-ifunc).
17923         * string/test-memccpy.c (TEST_NAME): New macro.
17924         * string/test-memchr.c (TEST_NAME): Likewise.
17925         * string/test-memcmp.c (TEST_NAME): Likewise.
17926         * string/test-memcpy.c (TEST_NAME): Likewise.
17927         * string/test-memmem.c (TEST_NAME): Likewise.
17928         * string/test-memmove.c (TEST_NAME): Likewise.
17929         * string/test-memset.c (TEST_NAME): Likewise.
17930         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17931         * string/test-stpcpy.c (TEST_NAME): Likewise.
17932         * string/test-stpncpy.c (TEST_NAME): Likewise.
17933         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17934         * string/test-strcasestr.c (TEST_NAME): Likewise.
17935         * string/test-strcat.c (TEST_NAME): Likewise.
17936         * string/test-strchr.c (TEST_NAME): Likewise.
17937         * string/test-strcmp.c(TEST_NAME): Likewise.
17938         * string/test-strcpy.c (TEST_NAME): Likewise.
17939         * string/test-strcspn.c (TEST_NAME): Likewise.
17940         * string/test-strlen.c (TEST_NAME): Likewise.
17941         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17942         * string/test-strncmp.c (TEST_NAME): Likewise.
17943         * string/test-strncpy.c (TEST_NAME): Likewise.
17944         * string/test-strnlen.c (TEST_NAME): Likewise.
17945         * string/test-strpbrk.c (TEST_NAME): Likewise.
17946         * string/test-strrchr.c (TEST_NAME): Likewise.
17947         * string/test-strspn.c (TEST_NAME): Likewise.
17948         * string/test-strstr.c (TEST_NAME): Likewise.
17949         * string/test-bcopy-ifunc.c: New file.
17950         * string/test-bzero-ifunc.c: Likewise.
17951         * string/test-memccpy-ifunc.c: Likewise.
17952         * string/test-memchr-ifunc.c: Likewise.
17953         * string/test-memcmp-ifunc.c: Likewise.
17954         * string/test-memcpy-ifunc.c: Likewise.
17955         * string/test-memmem-ifunc.c: Likewise.
17956         * string/test-memmove-ifunc.c: Likewise.
17957         * string/test-mempcpy-ifunc.c: Likewise.
17958         * string/test-memset-ifunc.c: Likewise.
17959         * string/test-rawmemchr-ifunc.c: Likewise.
17960         * string/test-stpcpy-ifunc.c: Likewise.
17961         * string/test-stpncpy-ifunc.c: Likewise.
17962         * string/test-strcasecmp-ifunc.c: Likewise.
17963         * string/test-strcasestr-ifunc.c: Likewise.
17964         * string/test-strcat-ifunc.c: Likewise.
17965         * string/test-strchr-ifunc.c: Likewise.
17966         * string/test-strchrnul-ifunc.c: Likewise.
17967         * string/test-strcmp-ifunc.c: Likewise.
17968         * string/test-strcpy-ifunc.c: Likewise.
17969         * string/test-strcspn-ifunc.c: Likewise.
17970         * string/test-strlen-ifunc.c: Likewise.
17971         * string/test-strncasecmp-ifunc.c: Likewise.
17972         * string/test-strncat-ifunc.c: Likewise.
17973         * string/test-strncmp-ifunc.c: Likewise.
17974         * string/test-strncpy-ifunc.c: Likewise.
17975         * string/test-strnlen-ifunc.c: Likewise.
17976         * string/test-strpbrk-ifunc.c: Likewise.
17977         * string/test-strrchr-ifunc.c: Likewise.
17978         * string/test-strspn-ifunc.c: Likewise.
17979         * string/test-strstr-ifunc.c: Likewise.
17981         * debug/Makefile (tests-ifunc): New variable.
17982         (tests): Add $(tests-ifunc).
17983         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17984         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17985         * debug/test-stpcpy_chk-ifunc.c: New file.
17986         * debug/test-strcpy_chk-ifunc.c: Likewise.
17988 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17990         [BZ #13601]
17991         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17992         header is not read in.
17994 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17996         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17997         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17998         directly.  Pass built executable to script as
17999         $(built-program-cmd).
18000         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18001         $testprogram without using LD_LIBRARY_PATH and $ldso.
18003         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18004         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18005         $(rtld-installed-name).
18006         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18007         (rtld_installed_name): Likewise.
18008         (library_path): Likewise.
18009         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18010         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18011         $(run-program-prefix) to tst-tables.sh.
18012         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18013         it to run tst-table-from and tst-table-to.
18014         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18015         Pass it to tst-table.sh.
18016         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18017         $(run-program-prefix) to tst-gettext.sh.
18018         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18019         tst-translit.sh.
18020         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18021         tst-gettext2.sh.
18022         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18023         to run tst-gettext.
18024         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18025         to run tst-gettext2.
18026         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18027         to run tst-translit.
18028         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18029         $(run-program-prefix) to tst-mtrace.sh.
18030         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18031         to run tst-mtrace.
18032         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18033         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18034         $(rtld-installed-name).
18035         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18036         (rtld_installed_name): Likewise.
18037         (run_program_prefix): New variable.  Use it to run wordexp-test.
18039         * Makeconfig (ARCH): Remove all definitions.
18040         (machine): Likewise.
18041         [ARCH]: Remove conditional code.
18042         [!objdir]: Give error.
18043         [!objdir] (objpfx): Remove.
18044         [!objdir] (common-objpfx): Likewise.
18045         [!objdir] (common-objdir): Likewise.
18046         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18047         AC_CONFIG_FILES call.
18048         * configure: Regenerated.
18050         [BZ #13888]
18051         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18052         or TMPDIR.
18053         (testout): Likewise.
18055         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18056         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18057         $(rtld-installed-name).
18058         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18059         (rtld_installed_name): Likwise.
18060         (runit): Remove function.
18061         (run_getconf): New variable,  Use it for running getconf binary.
18063 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18065         [BZ #14716]
18066         * string/test-memmem.c (check_result): New function.
18067         (do_one_test): Use it.
18068         (check1): New function.
18069         (test_main): Use it.
18071 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18073         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18075 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18077         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18078         (_G_LSEEK64): Likewise.
18079         (_G_MMAP64): Likewise.
18080         (_G_FSTAT64): Likewise.
18081         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18082         (_G_LSEEK64): Likewise.
18083         (_G_MMAP64): Likewise.
18084         (_G_FSTAT64): Likewise.
18085         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18086         unconditional.  Call __mmap64 directly.
18087         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18088         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18089         __lseek64 directly.
18090         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18091         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18092         __mmap64 directly.
18093         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18094         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18095         __lseek64 directly.
18096         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18097         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18098         __lseek64 directly.
18099         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18100         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18101         __lseek64 directly.
18102         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18103         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18104         __fxstat64 directly.
18105         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18106         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18107         unconditional.
18108         (freopen64) [!_G_OPEN64]: Remove conditional code.
18109         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18110         unconditional.
18111         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18112         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18113         unconditional.
18114         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18115         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18116         unconditional.
18117         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18118         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18119         unconditional.
18120         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18121         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18122         unconditional.
18123         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18124         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18125         unconditional.
18126         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18127         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18128         unconditional.
18129         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18131 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18133         [BZ #12140]
18134         * manual/memory.texi (Malloc Tunable Parameters): Add note
18135         about free list pointers overwriting some perturb bytes.
18136         Wording suggested by Roland McGrath.
18138 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18140         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18141         (lgamma_test): Likewise.
18142         (tgamma_test): Likewise.
18144 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18146         [BZ #14700]
18147         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18148         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18150 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18152         * NEWS: Mention BZ #14716.
18153         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18154         when removing AVAILABLE1_USES_J macro.
18156 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18158         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18159         (__bswap_64): __uint64_t for unsigned 64-bit int.
18161 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18163         * include/string.h (memmem): Declare libc hidden alias.
18164         * string/memmem.c (memmem): Define libc hidden alias.
18165         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18166         __read, __close instead of open, read, close.
18168 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18171         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18172         global and hidden.
18173         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18174         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18175         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18176         Likewise.
18177         (__rawmemchr_sse2): Likewise.
18178         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18179         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18180         (__strchr_sse2): Likewise.
18181         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18182         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18183         (__strcasecmp_sse2): Likewise.
18184         (__strncasecmp_sse2): Likewise.
18185         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18186         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18187         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18188         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18189         (__strrchr_sse2): Likewise.
18190         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18191         ifunc-impl-list.c.
18192         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18193         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18194         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18195         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18196         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18197         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18198         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18199         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18200         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18201         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18202         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18203         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18204         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18205         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18206         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18207         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18208         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18209         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18210         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18211         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18212         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18213         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18214         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18215         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18216         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18217         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18218         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18219         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18220         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18221         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18223         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18224         global and hidden.
18225         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18226         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18227         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18228         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18229         Likewise.
18230         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18231         Likewise.
18232         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18233         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18234         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18235         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18236         ifunc-impl-list.c.
18237         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18238         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18239         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18240         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18241         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18242         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18243         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18244         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18245         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18246         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18247         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18248         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18249         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18250         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18251         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18252         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18253         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18254         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18255         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18256         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18257         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18258         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18259         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18260         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18261         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18262         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18263         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18264         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18265         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18266         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18267         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18268         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18269         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18270         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18271         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18272         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18273         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18274         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18275         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18276         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18277         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18279         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18280         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18281         * include/ifunc-impl-list.h: New file.
18282         * misc/ifunc-impl-list.c: Likewise.
18283         * misc/Makefile (routines): Add ifunc-impl-list.
18284         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18285         * string/test-string.h: Include <ifunc-impl-list.h>.
18286         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18287         impl_array): New variables.
18288         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18289         are defined.
18290         (test_init): Call __libc_ifunc_impl_list to initialize
18291         func_list if TEST_IFUNC and TEST_NAME are defined.
18293         * string/Makefile (strop-tests): Add bcopy and bzero.
18294         * string/test-bcopy.c: New file.
18295         * string/test-bzero.c: Likewise.
18296         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18297         defined.
18298         * string/test-memset.c: Support bzero test if TEST_BZERO is
18299         defined.
18300         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18301         __libc_memmove.
18302         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18303         __libc_memset.
18304         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18305         of memset.
18307 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18309         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18310         * configure: Regenerated.
18312         * Makeconfig (+link-static-before-libc): Don't include
18313         $(link-static-libc).
18315         * libio/libio.h (_IO_pos_t): Remove.
18317 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18319         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18320         McGrath.
18322 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18324         * crypt/crypt-entry.c: Include fips-private.h.
18325         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18326         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18327         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18328         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18330 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18332         * crypt/crypt-private.h: Include stdbool.h.
18333         (_ufc_setup_salt_r): Return bool.
18334         * crypt/crypt-entry.c: Include errno.h.
18335         (__crypt_r): Return NULL with EINVAL for bad salt.
18336         * crypt/crypt_util.c (bad_for_salt): New.
18337         (_ufc_setup_salt_r): Check that salt is long enough and within
18338         the specified alphabet.
18339         * crypt/badsalttest.c: New file.
18340         * crypt/Makefile (tests): Add it.
18341         ($(objpfx)badsalttest): New.
18343 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18345         * NEWS: Add entry for BZ #14602.
18347 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18349         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18350         type-generic.
18351         * math/libm-test.inc: Update comment listing what functions and
18352         macros are tested.
18353         (isgreater_test): New function.
18354         (isgreaterequal_test): Likewise.
18355         (isless_test): Likewise.
18356         (islessequal_test): Likewise.
18357         (islessgreater_test): Likewise.
18358         (isunordered_test): Likewise.
18359         (main): Call the new functions.
18361 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18363         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18364         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18365         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18366         * sysdeps/i386/configure: Regenerated.
18367         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18368         * sysdeps/mach/configure: Regenerated.
18369         * sysdeps/mach/hurd/configure: Regenerated.
18370         * sysdeps/powerpc/configure: Regenerated.
18371         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18372         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18373         * sysdeps/s390/s390-32/configure: Regenerated.
18374         * sysdeps/s390/s390-64/configure: Regenerated.
18375         * sysdeps/sh/configure: Regenerated.
18376         * sysdeps/sparc/configure: Regenerated.
18377         * sysdeps/unix/sysv/linux/configure: Regenerated.
18378         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18379         * sysdeps/x86_64/configure: Regenerated.
18381         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18382         defined.  Don't check if MAP is NULL.
18384 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18386         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18387         (_G_stat64): Likewise.
18388         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18389         (_G_stat64): Likewise.
18390         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18391         instead of struct _G_stat64.
18392         * libio/fileops.c (mmap_remap_check): Likewise.
18393         (decide_maybe_mmap): Likewise.
18394         (_IO_new_file_seekoff): Likewise.
18395         (_IO_file_stat): Likewise.
18396         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18397         _G_off64_t.
18398         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18399         instead of struct _G_stat64.
18400         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18402 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18404         [BZ #14602]
18405         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18406         Replace with ...
18407         (CHECK_EOL): New macro.
18408         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18409         CHECK_EOL.
18410         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18411         Replace with CHECK_EOL.
18412         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18413         Replace with CHECK_EOL.
18415 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18417         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18418         type-generic.
18419         * math/libm-test.inc: Update comment listing what functions and
18420         macros are tested.
18421         (finite_test): New function.
18422         (isinf_test): Likewise.
18423         (isnan_test): Likewise.
18424         (fpclassify_test): Test subnormal input.
18425         (isfinite_test): Likewise.
18426         (isnormal_test): Likewise.
18427         (main): Call the new functions.
18429 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18431         [BZ #14660]
18432         * Makerules (%.dynsym): Force C locale when running
18433         $(OBJDUMP) --dynamic-syms.
18435 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18437         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18438         <stdint.h>.
18440 2012-10-06  David S. Miller  <davem@davemloft.net>
18442         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18443         upper 32-bits of the length value in %o2 since we use branch-on-register
18444         tests which consider the entire 64-bit register.
18446 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18448         * string/test-strstr.c (check2): Add a test for page boundary.
18450 2012-10-05  David S. Miller  <davem@davemloft.net>
18452         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18453         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18454         file.
18455         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18456         sysdep_routines.
18457         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18458         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18459         and bzero when HWCAP_SPARC_CRYPTO is present.
18461 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18463         [BZ #14602]
18464         * string/test-strstr.c (check2): New function.
18465         (test_main): Call check2.
18467         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18468         and bug-strchr1.
18469         * string/bug-strcasestr1.c (do_test): Moved to ...
18470         * string/test-strcasestr.c (check1): Here.  New function.
18471         (do_one_test): Break out result checking code into ...
18472         (check_result): This.  New function.
18473         (do_one_test): Call check_result.
18474         (test_main): Call check1.
18475         * string/bug-strchr1.c (do_test): Moved to ...
18476         * string/test-strchr.c (check1): Here.  New function.
18477         (do_one_test): Break out result checking code into ...
18478         (check_result): This.  New function.
18479         (do_one_test): Call check_result.
18480         (test_main): Call check1.
18481         * string/bug-strstr1.c (main): Moved to ...
18482         * string/test-strstr.c (check1): Here.  New function.
18483         (do_one_test): Break out result checking code into ...
18484         (check_result): This.  New function.
18485         (do_one_test): Call check_result.
18486         (test_main): Call check1.
18487         * string/bug-strcasestr1.c: Removed.
18488         * string/bug-strchr1.c: Likewise.
18489         * string/bug-strstr1.c: Likewise.
18491         * elf/Makefile (dl-routines): Add hwcaps.
18492         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18493         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18494         (_dl_important_hwcaps): Moved to ...
18495         * elf/dl-hwcaps.c: Here.  New file.
18496         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18498         [BZ #14557]
18499         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18500         if IS_IN_rtld isn't defined.
18502         * elf/dl-support.c (_dl_sysinfo_map): New.
18503         Include "get-dynamic-info.h" and "setup-vdso.h".
18504         (_dl_non_dynamic_init): Call setup_vdso.
18505         * elf/dynamic-link.h: Don't include <assert.h>.
18506         (elf_get_dynamic_info): Moved to ...
18507         * elf/get-dynamic-info.h: Here.  New file.
18508         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18509         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18510         * elf/setup-vdso.h: Here.  New file.
18511         * elf/rtld.c: Include "setup-vdso.h".
18512         (dl_main): Call setup_vdso.
18514 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18516         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18517         creal in comment listing functions tested.  List finite, isinf,
18518         isnan, isless, islessequal, isgreater, isgreaterequal,
18519         islessgreater, isunordered, lgamma_r and pow10 as functions and
18520         macros not tested.  Mention which functions not tested are aliases
18521         for other functions.  Fix typo.  Note that signs of NaNs are not
18522         tested.
18524         * scripts/config.guess: Update from config.git.
18525         * scripts/config.sub: Likewise.
18527 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18529         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18530         * misc/madvise.c (madvise): Renamed to __madvise.
18531         Make madvise a weak alias.
18532         * include/sys/mman.h: Declare __madvise.
18533         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18534         * sysdeps/unix/syscalls.list
18535         (madvise): Make __madvise the strong name, and madvise a weak alias.
18536         * sysdeps/unix/sysv/linux/syscalls.list
18537         (madvise, mmap): Remove redundant entries.
18538         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18539         * malloc/malloc.c (mtrim): Likewise.
18540         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18542 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18544         * sysdeps/mach/hurd/dl-cache.c: File removed.
18545         * config.h.in (USE_LDCONFIG): New #undef.
18546         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18547         * configure: Regenerated.
18548         * elf/Makefile (dl-routines): Add dl-cache only under
18549         [$(use-ldconfig) = yes].
18550         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18551         cache on [USE_LDCONFIG].
18552         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18553         [USE_LDCONFIG].
18554         * elf/rtld.c (dl_main): Likewise.
18556 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18558         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18559         _SC_LEVEL4_CACHE_LINESIZE.
18561 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18563         * sysdeps/unix/bsd/confstr.h: File removed.
18565 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18567         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18568         sys/sdt-config.h.
18570 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18572         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18573         Make 'mapoff' field ElfW(Off) rather than off_t.
18575 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18577         * nscd/Makefile: Remove nscd-cflags and all its users.
18578         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18579         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18581         [BZ #10631]
18582         * malloc.c (malloc_printerr): Clarify error message.
18584 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18586         [BZ #14648]
18587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18588         Set bit_FMA_Usable if FMA is supported.
18589         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18590         macro.
18591         (bit_FMA4_Usable): Updated.
18592         (index_FMA_Usable): New macro.
18593         (CPUID_FMA): Likewise
18594         (HAS_FMA): Defined with bit_FMA_Usable.
18596 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18598         * bits/types.h (__swblk_t): Type removed.
18599         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18600         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18601         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18602         (__SWBLK_T_TYPE): Likewise.
18603         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18604         (__SWBLK_T_TYPE): Likewise.
18605         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18606         (__SWBLK_T_TYPE): Likewise.
18607         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18608         (__SWBLK_T_TYPE): Likewise.
18610 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18611             Honza Horak <hhorak@redhat.com>
18613         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18614         (xdr_mapname): Use YPMAXMAP as maxsize.
18615         (xdr_peername): Use YPMAXPEER as maxsize.
18616         (xdr_keydat): Use YPAXRECORD as maxsize.
18617         (xdr_valdat): Use YPMAXRECORD as maxsize.
18619 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18621         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18623         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18624         * csu/init-first.c: ... here.
18625         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18626         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18627         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18628         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18629         * sysdeps/i386/init-first.c: File removed.
18630         * sysdeps/sh/init-first.c: File removed.
18632 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18634         [BZ #14645]
18635         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18636         if x * y might underflow to zero and z is zero.
18637         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18638         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18639         * math/libm-test.inc (min_subnorm_value): New variable.
18640         (fma_test): Add more tests.
18641         (fma_test_towardzero): Likewise.
18642         (fma_test_downward): Likewise
18643         (fma_test_upward): Likewise.
18644         (initialize): Set min_subnorm_value.
18646 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18648         [BZ #14638]
18649         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18650         0 + 0.
18651         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18652         mode for addition resulting in exact zero.
18653         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18654         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18655         exact 0 + 0.
18656         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18657         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18658         * math/libm-test.inc (fma_test): Add more tests.
18659         (fma_test_towardzero): New function.
18660         (fma_test_downward): Likewise.
18661         (fma_test_upward): Likewise.
18662         (main): Call the new functions.
18664 2012-09-28  David S. Miller  <davem@davemloft.net>
18666         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18668 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18670         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18671         instead of SIGALRM.
18673         * sysdeps/gnu/_G_config.h: Moved to ...
18674         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18675         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18676         * sysdeps/generic/_G_config.h: ... here.
18678         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18680         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18682         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18683         Conditionalize target on [libnss_test1.so-version].
18685         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18687         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18688         (elfobjdir): Move out of conditionals.
18690         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18691         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18692         (__nss_lookup_function): Conditionalize label remove_from_tree on
18693         [!DO_STATIC_NSS || SHARED], matching its only use.
18695 2012-09-28  David S. Miller  <davem@davemloft.net>
18697         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18698         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18699         file.
18700         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18701         sysdep_routines.
18702         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18703         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18704         when HWCAP_SPARC_CRYPTO is present.
18706 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18708         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18710 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18712         [BZ #6530]
18713         * stdio-common/vfprintf.c (process_string_arg): Revert
18714         2000-07-22 change.
18716 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18718         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18719         for testcase.
18720         * stdio-common/tst-sprintf.c: Include <locale.h>
18721         (main): Test sprintf's handling of incomplete multibyte
18722         characters.
18724 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18726         * elf/dl-runtime.c (VERSYMIDX): Removed.
18727         * elf/dl-version.c (VERSYMIDX): Likewise.
18728         * elf/do-rel.h (VERSYMIDX): Likewise.
18729         (VALIDX): Likewise.
18730         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18731         * elf/rtld.c (VALIDX): Likewise.
18732         (ADDRIDX): Likewise.
18733         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18734         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18735         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18736         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18737         (VALIDX): Likewise.
18738         (ADDRIDX): Likewise.
18740 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18742         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18744 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18746         [BZ #11438]
18747         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18748         to global scope.
18749         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18750         addresses are in the same scope as 192.0.2/24.
18751         * posix/gai.conf: Document new scope table defaults.
18753 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18755         [BZ #5298]
18756         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18757         for ftell.  Compute offsets from write pointers instead.
18758         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18760 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18762         [BZ #14543]
18763         * libio/Makefile (tests): New test case tst-fseek.
18764         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18765         combination works in wide mode.
18766         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18767         state when the external buffer state changes.
18769 2012-09-27  David S. Miller  <davem@davemloft.net>
18771         [BZ #14376]
18772         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18773         pass reloc->r_addend in as the 'high' argument to
18774         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18778 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18780         * rt/tst-aio2.c: Include <pthread.h>.
18781         * rt/tst-aio3.c: Likewise.
18783 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18785         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18787 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18789         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18790         contents on [SHARED].
18792 2012-09-26  Marek Polacek  <polacek@redhat.com>
18794         [BZ #14530]
18795         [BZ #13741]
18796         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18797         for C++ and GCC <4.3 as well as for non GCC compilers.
18799 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18803 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18805         * Makefile.in (all, install): Declare with .PHONY.
18806         Reported by Michael Hope <michael.hope@linaro.org>.
18808 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18810         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18811         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18812         system header.
18813         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18814         Likewise.
18815         (sydep_routines): Add the new and the internal functions.
18816         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18817         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18819         (GLIBC_2.17): Add the new function.
18820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18821         (GLIBC_2.17): Likewise.
18822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18823         (GLIBC_2.17): Likewise.
18824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18825         (GLIBC_2.17): Likewise.
18826         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18828 2012-09-25  Alan Modra  <amodra@gmail.com>
18830         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18831         Add release barrier before setting once_control to say
18832         initialisation is done.  Add hints on lwarx.  Use macro in
18833         place of isync.
18834         (clear_once_control): Add release barrier.
18836 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18838         [BZ #13629]
18839         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18840         specially.
18841         * math/s_clog10.c (__clog10): Likewise.
18842         * math/s_clog10f.c (__clog10f): Likewise.
18843         * math/s_clog10l.c (__clog10l): Likewise.
18844         * math/s_clogf.c (__clogf): Likewise.
18845         * math/s_clogl.c (__clogl): Likewise.
18846         * math/Makefile (libm-calls): Add x2y2m1.
18847         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18848         (__x2y2m1): Likewise.
18849         (__x2y2m1l): Likewise.
18850         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18851         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18852         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18853         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18854         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18855         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18856         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18857         * sysdeps/i386/fpu/libm-test-ulps: Update.
18858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18860         [BZ #14621]
18861         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18862         int as type of variable DEPTH.
18863         (glob): Use size_t instead of int as type of variables NEWCOUNT
18864         and OLD_PATHC.
18866 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18868         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18869         Add s_sincosf-sse2.
18870         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18871         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18872         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18873         macros for using routine as __sincosf_ia32.
18874         Use macro for function declaration and weak_alias.
18875         * sysdeps/i386/fpu/libm-test-ulps: Update.
18877         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18880         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18881         subnormal argument.
18882         * math/s_cexpf.c (__cexpf): Likewise.
18883         * math/s_csinf.c (__csinf): Likewise.
18884         * math/s_csinhf.c (__csinhf): Likewise.
18885         * math/s_ctanf.c (__ctanf): Likewise.
18886         * math/s_ctanhf.c (__ctanhf): Likewise.
18887         * math/s_ccosh.c (__ccoshf): Likewise.
18888         * math/s_cexp.c (__cexpl): Likewise.
18889         * math/s_csin.c (__csin): Likewise.
18890         * math/s_csinh.c (__csinh): Likewise.
18891         * math/s_ctan.c (__ctan): Likewise.
18892         * math/s_ctanh.c (ctanh): Likewise.
18893         * math/s_ccoshl.c (__ccoshl): Likewise.
18894         * math/s_cexpl.c (__cexpl): Likewise.
18895         * math/s_csinl.c (__csinl): Likewise.
18896         * math/s_csinhl.c (__csinhl): Likewise.
18897         * math/s_ctanl.c (__ctanl): Likewise.
18898         * math/s_ctanhl.c (__ctanhl): Likewise.
18900 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18902         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18903         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18904         (_IO_off_t): Define to __off_t, not _G_off_t.
18905         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18906         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18907         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18908         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18909         type of __dummy and __dummy2 fields.
18910         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18911         (_G_ssize_t): Likewise.
18912         (_G_off_t): Likewise.
18913         (_G_pid_t): Likewise.
18914         (_G_uid_t): Likewise.
18915         (_G_wchar_t): Likewise.
18916         (_G_wint_t): Likewise.
18917         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18918         (_G_ssize_t): Likewise.
18919         (_G_off_t): Likewise.
18920         (_G_pid_t): Likewise.
18921         (_G_uid_t): Likewise.
18922         (_G_wchar_t): Likewise.
18923         (_G_wint_t): Likewise.
18924         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18925         (_G_ssize_t): Likewise.
18926         (_G_off_t): Likewise.
18927         (_G_pid_t): Likewise.
18928         (_G_uid_t): Likewise.
18929         (_G_wchar_t): Likewise.
18930         (_G_wint_t): Likewise.
18932 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18934         * malloc/arena.c: Include malloc-sysdep.h.
18935         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18936         is sufficient to shrink the heap or an unmap is needed.
18937         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18938         new function check_may_shrink_heap.
18939         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18940         new function check_may_shrink_heap.
18942 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18944         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18945         comments.
18947 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18949         * catgets/test-gencat.sh: Add "set -e".
18950         * elf/tst-pathopt.sh: Likewise.
18951         * grp/tst_fgetgrent.sh: Likewise.
18952         * iconvdata/run-iconv-test.sh: Likewise.
18953         * intl/tst-gettext.sh: Likewise.
18954         * intl/tst-gettext2.sh: Likewise.
18955         * intl/tst-gettext4.sh: Likewise.
18956         * intl/tst-gettext6.sh: Likewise.
18957         * intl/tst-translit.sh: Likewise.
18958         * io/ftwtest-sh: Likewise.
18959         * libio/test-freopen.sh: Likewise.
18960         * malloc/tst-mtrace.sh: Likewise.
18961         * posix/globtest.sh: Likewise.
18962         * posix/tst-getconf.sh: Likewise.
18963         * posix/wordexp-tst.sh: Likewise.
18964         * stdio-common/tst-printf.sh: Likewise.
18965         * stdio-common/tst-unbputc.sh: Likewise.
18966         * stdlib/tst-fmtmsg.sh: Likewise.
18967         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18968         * catgets/Makefile: Do not specify -e option when running
18969         testsuite shell scripts.
18970         * elf/Makefile: Likewise.
18971         * grp/Makefile: Likewise.
18972         * iconvdata/Makefile: Likewise.
18973         * intl/Makefile: Likewise.
18974         * io/Makefile: Likewise.
18975         * libio/Makefile: Likewise.
18976         * malloc/Makefile: Likewise.
18977         * posix/Makefile: Likewise.
18978         * stdio-common/Makefile: Likewise.
18979         * stdlib/Makefile: Likewise.
18980         * sysdeps/x86_64/Makefile: Likewise.
18982         * io/ftwtest-sh: Add copyright header.
18983         * posix/globtest.sh: Likewise.
18984         * posix/tst-getconf.sh: Likewise.
18985         * posix/wordexp-tst.sh: Likewise.
18986         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18988 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18990         [BZ #13679]
18991         * Makeconfig (+link): Defined as $(+link-static) if
18992         $(build-shared) isn't yes.
18993         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18994         isn't yes.
18995         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18997         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18999         [BZ #14562]
19000         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19001         new chunk size with MALLOC_ALIGN_MASK.
19003 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19005         [BZ #5044]
19006         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19007         <rounding-mode.h>.
19008         (__printf_fphex): Determine rounding using get_rounding_mode and
19009         round_away.
19010         * stdio-common/tst-printf-round.c (struct hex_test): New
19011         structure.
19012         (hex_tests): New variable.
19013         (test_hex_in_one_mode): New function.
19014         (do_test): Also run tests for hex float output.
19016 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19018         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19019         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19020         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19021         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19022         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19023         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19024         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19025         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19027 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19029         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19030         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19031         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19032         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19034 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19036         [BZ #14579]
19037         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19038         mode only.
19039         * elf/tst-rtld-load-self.sh: New test.
19040         * elf/Makefile: Run it.
19042 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19044         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19045         (tst-writev-ENV): Remove.
19046         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19048 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19050         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19052 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19054         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19055         unconditional.
19056         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19057         Likewise.
19058         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19059         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19060         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19061         Likewise.
19063 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19065         [BZ #14587]
19066         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19067         * config.make.in (have-cpp-asm-debuginfo): Removed.
19068         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19069         * configure: Regenerated.
19071 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19073         [BZ #5044]
19074         * stdio-common/printf_fp.c: Include <stdbool.h> and
19075         <rounding-mode.h>.
19076         (___printf_fp): Determine rounding using get_rounding_mode and
19077         round_away.
19078         * stdio-common/tst-printf-round.c: New file.
19079         * stdio-common/Makefile (tests): Add tst-printf-round.
19080         (link-libm): New variable.
19081         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19083 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19085         [BZ #14576]
19086         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19087         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19088         Likewise.
19089         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19090         Likewise.
19092 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19094         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19095         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19096         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19097         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19099 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19101         [BZ #14518]
19102         * include/rounding-mode.h: New file.
19103         * sysdeps/generic/get-rounding-mode.h: Likewise.
19104         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19105         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19106         (MAX_VALUE): New macro.
19107         (MIN_VALUE): Likewise.
19108         (overflow_value): New function.
19109         (underflow_value): Likewise.
19110         (round_and_return): Use overflow_value and underflow_value to
19111         determine return values in overflow and underflow cases.  Use
19112         round_away to determine rounding depending on rounding mode.
19113         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19114         determine return values in overflow and underflow cases.
19115         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19116         (struct test_results): New structure.
19117         (struct test): Use struct test_results to store expected results
19118         for all rounding modes.
19119         (TEST): Include expected results for all rounding modes.
19120         (test_in_one_mode): New function.
19121         (do_test): Use test_in_one_mode to compute and check results.
19122         Check results for all rounding modes.
19123         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19124         $(link-libm).
19126 2012-12-09  Allan McRae  <allan@archlinux.org>
19128         * sysdeps/i386/fpu/libm-test-ulps: Update
19130 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19132         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19133         (_G_int32_t): Likewise.
19134         (_G_uint16_t): Likewise.
19135         (_G_uint32_t): Likewise.
19136         (_G_HAVE_BOOL): Likewise.
19137         (_G_HAVE_ATEXIT): Likewise.
19138         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19139         (_G_HAVE_IO_FILE_OPEN): Likewise.
19140         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19141         (_G_int32_t): Likewise.
19142         (_G_uint16_t): Likewise.
19143         (_G_uint32_t): Likewise.
19144         (_G_HAVE_BOOL): Likewise.
19145         (_G_HAVE_ATEXIT): Likewise.
19146         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19147         (_G_HAVE_IO_FILE_OPEN): Likewise.
19148         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19149         (_G_int32_t): Likewise.
19150         (_G_uint16_t): Likewise.
19151         (_G_uint32_t): Likewise.
19152         (_G_HAVE_BOOL): Likewise.
19153         (_G_HAVE_ATEXIT): Likewise.
19154         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19155         (_G_HAVE_IO_FILE_OPEN): Likewise.
19157 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19159         * csu/libc-tls.c: Update copyright years.
19161 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19163         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19164         [!_G_USING_THUNKS]: Remove conditional code.
19165         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19166         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19168         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19169         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19170         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19171         (_G_VTABLE_LABEL_PREFIX): Likewise.
19172         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19173         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19174         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19175         (_G_VTABLE_LABEL_PREFIX): Likewise.
19176         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19177         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19178         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19179         (_G_VTABLE_LABEL_PREFIX): Likewise.
19180         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19182 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19184         * libio/Makefile: Include ../Makeconfig before tests.
19185         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19186         only if $(build-shared) is yes.
19188         * iconv/gconv_db.c: Update copyright years.
19190 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19192         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19193         unwind info if defined PIC. Fix special cases description.
19194         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19196         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19197         DP_HI_MASK entry.
19198         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19200 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19202         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19204         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19205         is NULL.
19207         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19208         (LDLIBS-tst-chk4): This.
19209         (LDFLAGS-tst-chk5): Renamed to ...
19210         (LDLIBS-tst-chk5): This.
19211         (LDFLAGS-tst-chk6): Renamed to ...
19212         (LDLIBS-tst-chk6): This.
19213         (LDFLAGS-tst-lfschk4): Renamed to ...
19214         (LDLIBS-tst-lfschk4): This.
19215         (LDFLAGS-tst-lfschk5): Renamed to ...
19216         (LDLIBS-tst-lfschk5): This.
19217         (LDFLAGS-tst-lfschk6): Renamed to ...
19218         (LDLIBS-tst-lfschk6): This.
19220         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19221         on $(common-objpfx)soversions.mk.
19223 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19225         [BZ #10014]
19226         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19227         example host name.
19229 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19231         * malloc/arena.c (arena_get_retry): New function that gets
19232         another arena for the caller to try its request on.
19233         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19234         current arena cannot fulfill the request.
19235         (__libc_memalign): Likewise.
19236         (__libc_memalign): Likewise.
19237         (__libc_pvalloc): Likewise.
19238         (__libc_calloc): Likewise.
19240 2012-09-05  John Tobey  <john.tobey@gmail.com>
19242         [BZ #13542]
19243         * manual/arith.texi (Operations on Complex): Fix description
19244         of carg branch cut.
19246 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19248         [BZ #10014]
19249         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19250         host name.
19252         [BZ #10038]
19253         * manual/memory.texi (Memory): Make order of menu items match
19254         order of sections.
19256 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19258         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19259         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19260         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19262 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19264         * csu/libc-tls.c (static_dtv): Renamed to ...
19265         (_dl_static_dtv): This.  Make it global.
19266         (_dl_initial_dtv): Removed.
19267         (__libc_setup_tls): Updated.
19268         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19269         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19270         DL_INITIAL_DTV.
19272 2012-09-06  Petr Machata  <pmachata@redhat.com>
19274         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19275         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19276         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19277         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19279 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19281         [BZ #14545]
19282         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19283         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19284         freeing dtv[-1].
19286 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19288         [BZ #14544]
19289         * Makeconfig (link-static-before-libc): Replace $(+prector)
19290         with $(+prectorT).
19291         (link-static-after-libc): Replace $(+postctor) with
19292         $(+postctorT).
19293         (link-bounded): Replace $(+prector)/$(+postctor) with
19294         $(+prectorT)/$(+postctorT).
19295         (+prectorT): New macro.
19296         (+postctorT): Likewise.
19298 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19300         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19301         (round_str): Handle values above the maximum for IBM long double
19302         as inexact.
19303         * stdlib/tst-strtod-round.c (tests): Regenerated.
19305 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19307         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19308         assembler flag.
19309         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19310         zarch_nohighgprs around the zarch optimized routines.
19311         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19312         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19313         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19314         for zarch.
19316 2012-09-05  David S. Miller  <davem@davemloft.net>
19318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19320         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19321         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19322         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19323         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19324         entries.
19326 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19328         * malloc/arena.c: Fold copyright years.
19329         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19331 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19333         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19335 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19337         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19339 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19341         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19342         change internal state upon failure.
19344 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19346         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19347         * malloc/memusage.c (mmap): Likewise.
19348         (mmap64, mremap): Likewise.  Adjust name in comment.
19350 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19352         * libio/fileops.c: Fix typos in comments.
19353         * libio/oldfileops.c: Likewise.
19354         * libio/wfileops.c: Likewise.
19356 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19358         [BZ #1349]
19359         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19360         (tst-malloc-usable-ENV): Set environment for test case.
19361         * malloc/hooks.c (malloc_check_get_size): New function to get
19362         requested size.
19363         * malloc/malloc.c (musable): Use malloc_check_get_size.
19364         * malloc/tst-malloc-usable.c: New test case.
19366 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19368         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19370 2012-09-05  Allan McRae  <allan@archlinux.org>
19372         [BZ #13966]
19373         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19374         determine header location.
19375         * configure: Regenerated.
19377 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19379         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19380         float format.
19381         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19382         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19383         format.
19384         (test): Regenerate.
19386 2012-09-04  David S. Miller  <davem@davemloft.net>
19388         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19389         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19390         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19392 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19394         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19395         failures.
19397         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19399 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19401         [BZ #9914]
19402         * libio/iogetdelim.c: Include <limits.h>.
19403         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19404         + len + 1 would overflow.
19406 2012-09-03  Andreas Jaeger  <aj@suse.de>
19408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19409         * sysdeps/i386/fpu/libm-test-ulps: Update.
19411 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19413         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19414         Add s_sinf-sse2, s_conf-sse2.
19416         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19417         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19418         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19419         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19421         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19422         for using routine as __sinf_ia32.
19423         Use macro for function declaration and weak_alias.
19424         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19425         for using routine as __cosf_ia32.
19426         Use macro for function declaration and weak_alias.
19428         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19429         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19431         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19432         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19435         * math/libm-test.inc (cos_test): Add more test cases.
19436         (sin_test): Likewise.
19437         (sincos_test): Likewise.
19439 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19441         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19442         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19443         hidden.
19444         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19446 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19448         [BZ #14538]
19449         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19450         first element of the GOT.
19451         (elf_machine_load_address): Return the difference between
19452         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19454 2012-09-01  Allan McRae  <allan@archlinux.org>
19456         [BZ #13412]
19457         * configure.in (AWK): Require gawk version 3.0 or later.
19458         * configure: Regenerated.
19460 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19462         * sysdeps/unix/sysv/linux/kernel-features.h
19463         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19464         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19465         [__NR_clock_getres]: Make code unconditional.
19466         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19467         (clock_getcpuclockid): Remove code left unreachable by removal of
19468         conditionals.
19469         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19470         code unconditional.
19471         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19472         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19473         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19474         Make code unconditional.
19475         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19476         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19477         * sysdeps/unix/sysv/linux/clock_settime.c
19478         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19479         conditional code.
19480         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19481         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19483 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19485         [BZ #14476]
19486         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19487         scripts/test-installation.pl.
19489         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19490         and $ld_so_version if it is set.
19492 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19494         [BZ #14516]
19495         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19496         failure if reading from procfs failed.
19497         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19499 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19501         * sysdeps/unix/sysv/linux/kernel-features.h
19502         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19503         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19504         Remove conditional code.
19505         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19506         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19507         Remove conditional code.
19508         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19509         * sysdeps/unix/sysv/linux/i386/fxstat.c
19510         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19511         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19512         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19513         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19514         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19515         * sysdeps/unix/sysv/linux/i386/lxstat.c
19516         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19517         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19518         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19519         Remove conditional code.
19520         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19521         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19522         Remove conditional code.
19523         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19524         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19525         <kernel-features.h>.
19526         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19527         Remove.
19528         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19529         Remove conditional code.
19530         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19531         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19532         Remove conditional.
19534 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19536         [BZ #5400]
19537         * NEWS: Add fixed bug number.
19539 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19541         [BZ #14519]
19542         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19543         underflowing exponent in case of negative sign.
19544         * stdlib/tst-strtod-round-data: Add more tests.
19545         * stdlib/tst-strtod-round.c (tests): Regenerated.
19547         [BZ #3479]
19548         * stdlib/strtod_l.c (NDIG): Remove.
19549         (HEXNDIG): Likewise.
19550         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19551         smallest representable value.
19552         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19553         lie within an exact representation of 1/2 ulp of the result.
19554         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19555         unconditionally.
19556         (TENS_P9_IDX): Define unconditionally.
19557         (TENS_P9_SIZE): Likewise.
19558         (TENS_P10_IDX): Likewise.
19559         (TENS_P10_SIZE): Likewise.
19560         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19561         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19562         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19563         entries for 10^2^13 and 10^2^14.
19564         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19565         (TENS_P13_IDX): Define.
19566         (TENS_P13_SIZE): Likewise.
19567         (TENS_P14_IDX): Likewise.
19568         (TENS_P14_SIZE): Likewise.
19569         (_fpioconst_pow10): Change array size to
19570         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19571         unconditional.
19572         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19573         1024]: Add entries for 10^2^13 and 10^2^14.
19574         [LAST_POW10 > _LAST_POW10]: Remove #error.
19575         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19576         (_fpioconst_pow10): Change array size to
19577         FPIOCONST_POW10_ARRAY_SIZE.
19578         * stdlib/gen-fpioconst.c: New file.
19579         * stdlib/gen-tst-strtod-round.c: Likewise.
19580         * stdlib/tst-strtod-round-data: Likewise.
19581         * stdlib/tst-strtod-round.c: Likewise.
19582         * stdlib/Makefile (tests): Add tst-strtod-round.
19584         [BZ #14459]
19585         * stdlib/strtod_l.c: Include <stdint.h>.
19586         (NDEBUG): Do not define.
19587         (round_and_return): Change EXPONENT parameter to type intmax_t.
19588         Rearrange calculations to avoid internal overflow possibilities.
19589         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19590         Rearrange calculations to avoid internal overflow possibilities.
19591         Assert that number fits inside MPNSIZE limbs.
19592         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19593         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19594         calculations and add assertions to avoid internal overflow
19595         possibilities.  Add casts to avoid signed/unsigned operations.
19596         * stdlib/tst-strtod-overflow.c: New file.
19597         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19599 2012-08-25  Marek Polacek  <polacek@redhat.com>
19601         * time/time.h: Fix some typos in comments.
19603 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19605         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19606         * posix/tst-rfc3484-2.c: Likewise.
19607         * posix/tst-rfc3484-3.c: Likewise.
19609 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19611         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19612         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19614 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19616         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19617         #include of fxstatat64.c.
19619 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19621         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19622         * shadow/getspent_r.c: Likewise.
19623         * shadow/getspnam.c: Likewise.
19624         * shadow/getspnam_r.c: Likewise.
19625         * gshadow/getsgent.c: Likewise.
19626         * gshadow/getsgent_r.c: Likewise.
19627         * gshadow/getsgnam.c: Likewise.
19628         * gshadow/getsgnam_r.c: Likewise.
19629         * inet/getnetbyad.c: Likewise.
19630         * inet/getnetbyad_r.c: Likewise.
19631         * inet/getnetbynm.c: Likewise.
19632         * inet/getnetbynm_r.c: Likewise.
19633         * inet/getnetent.c: Likewise.
19634         * inet/getnetent_r.c: Likewise.
19635         * inet/getproto.c: Likewise.
19636         * inet/getproto_r.c: Likewise.
19637         * inet/getprtent.c: Likewise.
19638         * inet/getprtent_r.c: Likewise.
19639         * inet/getprtname.c: Likewise.
19640         * inet/getprtname_r.c: Likewise.
19641         * inet/getrpcbyname.c: Likewise.
19642         * inet/getrpcbyname_r.c: Likewise.
19643         * inet/getrpcbynumber.c: Likewise.
19644         * inet/getrpcbynumber_r.c: Likewise.
19645         * inet/getrpcent.c: Likewise.
19646         * inet/getrpcent_r.c: Likewise.
19647         * inet/getaliasent.c: Likewise.
19648         * inet/getaliasent_r.c: Likewise.
19649         * inet/getaliasname.c: Likewise.
19650         * inet/getaliasname_r.c: Likewise.
19651         * nscd/getgrgid_r.c: Likewise.
19652         * nscd/getgrnam_r.c: Likewise.
19653         * nscd/gethstbyad_r.c: Likewise.
19654         * nscd/gethstbynm3_r.c: Likewise.
19655         * nscd/getpwnam_r.c: Likewise.
19656         * nscd/getpwuid_r.c: Likewise.
19657         * nscd/getsrvbynm_r.c: Likewise.
19658         * nscd/getsrvbypt_r.c: Likewise.
19659         * nscd/gai.c: Likewise.
19661         * configure.in (build_nscd): New substituted variable, set
19662         by --disable-build-nscd and defaults to $use_nscd.
19663         * configure: Regenerated.
19664         * config.make.in (build-nscd): New substituted variable.
19665         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19666         Change conditional to require [$(build-nscd) = yes] as well.
19667         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19669         [BZ# 13696]
19670         * configure.in (use_nscd): New substituted variable, set by
19671         --disable-nscd.  If enabled, define USE_NSCD.
19672         * configure: Regenerated.
19673         * config.h.in: Add USE_NSCD.
19674         * config.make.in (use-nscd): New substituted variable.
19675         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19676         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19677         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19678         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19679         (CFLAGS-getgrnam_r.c): Likewise.
19680         (CFLAGS-initgroups.c): Likewise.
19681         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19682         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19683         Variables removed.
19684         * inet/getnetgrent_r.c
19685         (nscd_setnetgrent): New function, broken out of ...
19686         (setnetgrent): ... here.  Call it.
19687         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19688         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19689         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19690         * nscd/Makefile (routines, aux): Move definitions after include of
19691         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19692         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19693         Conditionalize on [USE_NSCD].
19694         (is_nscd, nscd_init_cb): Likewise.
19695         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19696         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19697         * nss/nss_db/db-init.c: Likewise.
19698         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19699         [USE_NSCD].
19700         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19701         (make_request): Use it.
19702         (cache_valid_p): New function.
19703         (__check_pf): Use it.
19704         * NEWS: Add item for --disable-nscd.
19706 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19708         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19709         to support sed >= 4.2.1-20-ga9bf076.
19710         * configure: Regenerated.
19712 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19714         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19715         Conditionalize whole body on [IREL].
19717 2012-08-22  Jeff Law <law@redhat.com>
19719         [BZ #14505]
19720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19721         if the family is PF_UNSPEC.
19723 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19725         * Makerules (lib-version): Rename from V.
19726         (install-lib-nosubdir): Change V to lib-version.
19728 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19730         [BZ #14252]
19731         * powerpc32/power6/wcschr.c: New file.
19732         * powerpc32/power6/wcscpy.c: New file.
19733         * powerpc32/power6/wcsrchr.c: New file.
19734         * powerpc64/power6/wcschr.c: New file.
19735         * powerpc64/power6/wcscpy.c: New file.
19736         * powerpc64/power6/wcsrchr.c: New file.
19738 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19740         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19741         (two_way_short_needle): Use it.
19742         * string/strstr.c (AVAILABLE1_USES_J): Define.
19743         * string/strcasestr.c: Likewise.
19745         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19746         array references.
19747         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19749         [BZ #11607]
19750         * NEWS: Add an entry.
19751         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19752         define their defaults.
19753         (two_way_short_needle): Detect end-of-string on-the-fly.
19754         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19755         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19756         * string/bug-strcasestr1.c: New test.
19757         * string/Makefile: Run it.
19759 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19761         [BZ #11607]
19762         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19763         the first character.
19765 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19767         * csu/elf-init.c (__libc_csu_irel): Function removed.
19768         * csu/libc-start.c (apply_irel): New function.
19769         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19771 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19773         * sysdeps/unix/sysv/linux/kernel-features.h
19774         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19775         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19776         <kernel-features.h>.
19777         [__NR_fadvise64_64]: Make code unconditional.
19778         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19779         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19780         !__NR_fadvise64_64)]: Likewise.
19781         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19782         !__NR_fadvise64_64))]: Likewise.
19783         [__NR_fadvise64]: Make code unconditional.
19784         [!__NR_fadvise64]: Remove conditional code.
19785         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19786         <kernel-features.h>.
19787         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19788         unconditional.
19789         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19790         conditional code.
19791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19792         not include <kernel-features.h>.
19793         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19794         unconditional.
19795         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19796         conditional code.
19797         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19798         include <kernel-features.h>.
19799         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19800         unconditional.
19801         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19802         conditional code.
19804 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19806         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19807         slight instruction rearrangements per scrollpipe analysis.
19808         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19810 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19812         * manual/syslog.texi (syslog; vsyslog, closelog):
19813         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19814         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19816         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19817         DSOCAPS to match condition on defining it.
19819 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19821         * sysdeps/unix/sysv/linux/kernel-features.h
19822         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19824         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19825         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19827         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19828         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19830         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19831         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19833         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19834         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19836         * sysdeps/unix/sysv/linux/kernel-features.h
19837         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19838         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19839         unconditional.
19840         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19841         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19842         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19843         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19844         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19845         Make code unconditional.
19846         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19847         (__mmap64) [!__NR_mmap2]: Likewise.
19848         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19849         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19850         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19851         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19852         [__NR_mmap2]: Make code unconditional.
19853         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19854         (__mmap64) [!__NR_mmap2]: Likewise.
19856 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19858         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19860 2012-08-18  Andreas Jaeger  <aj@suse.de>
19862         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19864 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19866         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19867         * include/unistd.h (__have_sock_cloexec): Likewise.
19868         (__have_pipe2): Likewise.
19869         (__have_dup3): Likewise.
19871 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19873         [BZ #9685]
19874         * include/unistd.h (__have_pipe2): Change define into an extern int.
19875         (__have_dup3): Likewise.
19876         * socket/have_sock_cloexec.c: Include fcntl.h.
19877         (__have_pipe2): New variable.
19878         (__have_dup3): Likewise.
19880 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19882         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19884 2012-08-17  Marek Polacek  <polacek@redhat.com>
19886         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19887         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19889 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19891         * configure.in: Add AC_SUBST for sysheaders.
19892         * configure: Regenerated.
19893         * config.make.in (sysheaders): New substituted variable.
19895         * sysdeps/unix/mkfifo.c: Moved ...
19896         * sysdeps/posix/mkfifo.c: ... here.
19897         * sysdeps/unix/mkfifoat.c: Moved ...
19898         * sysdeps/posix/mkfifoat.c: ... here.
19900         * sysdeps/unix/utime.c: Moved ...
19901         * sysdeps/posix/utime.c: ... here.
19903         * sysdeps/unix/time.c: Moved ...
19904         * sysdeps/posix/time.c: ... here.
19905         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19906         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19908         * sysdeps/unix/nice.c: Moved ...
19909         * sysdeps/posix/nice.c: ... here.
19911         * sysdeps/unix/alarm.c: Moved ...
19912         * sysdeps/posix/alarm.c: ... here.
19914         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19916 2012-08-17  Jeff Law <law@redhat.com>
19918         * intl/Makefile (codeset_mo): New variable.
19919         ($(codeset_mo)): New target.
19920         (tst-codeset.out): Depend on that.  Remove explicit rule.
19921         (tst-gettext3.out, tst-gettext5.out): Likewise.
19922         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19923         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19924         * intl/tst-codeset.sh: Remove.
19925         * intl/tst-gettext3.sh: Likewise.
19926         * intl/tst-gettext5.sh: Likewise.
19928 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19930         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19931         * sysdeps/unix/syscalls.list: ... here.
19933         * sysdeps/posix/getaddrinfo.c
19934         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19935         (gaiconf_init, gaiconf_reload): Use them.
19936         [!_STATBUF_ST_NSEC]
19937         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19938         Define using time_t rather than struct timespec.
19940         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19941         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19942         Macros removed.
19943         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19944         [!NO_THREADS].
19945         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19946         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19947         Likewise.
19949         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19950         __libc_cleanup_push argument.
19952         * bits/param.h: New file.
19953         * misc/sys/param.h: New file.
19954         * include/sys/param.h: New file.
19955         * misc/Makefile (headers): Add bits/param.h.
19956         * sysdeps/generic/sys/param.h: File removed.
19957         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19958         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19959         * sysdeps/mach/hurd/bits/param.h: New file.
19960         * sysdeps/mach/hurd/sys/param.h: File removed.
19962         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19963         last change.
19965         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19966         [_IO_MTSAFE_IO].
19967         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19968         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19969         New macros.
19971         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19972         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19973         rather than -D_IO_MTSAFE_IO conditionally.
19974         * stdio-common/Makefile (CPPFLAGS): Likewise.
19975         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19976         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19977         Use $(libio-mtsafe).
19978         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19979         of -D_IO_MTSAFE_IO.
19980         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19981         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19982         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19983         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19984         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19985         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19986         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19987         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19988         (CFLAGS-fread_u_chk.c): Likewise.
19989         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19990         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19991         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19992         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19993         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19994         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19995         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19996         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19997         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19999         * libio/Makefile: Test [$(libc-reentrant) = yes]
20000         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20002         * Makeconfig
20003         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20004         * sysdeps/pthread/configure: File removed.
20005         * sysdeps/pthread/Makeconfig: New file.
20006         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20007         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20009 2012-08-16  Gary Benson  <gbenson@redhat.com>
20011         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20012         unmapping the first object in a namespace.
20014 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20016         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20017         (__internal_setnetgrent): ... this.  Add internal_function to
20018         definition.  Add libc_hidden_def.
20019         (setnetgrent): Update caller.
20020         (internal_endnetgrent): Renamed to ...
20021         (__internal_endnetgrent): ... this.  Add internal_function to
20022         definition.  Add libc_hidden_def.
20023         (endnetgrent): Update caller.
20024         (internal_getnetgrent_r): Renamed to ...
20025         (__internal_getnetgrent_r): ... this.  Add internal_function to
20026         definition.  Add libc_hidden_def.
20027         (__getnetgrent_r): Update caller.
20028         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20030 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20032         * stdlib/longlong.h: Update from GCC.
20034 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20036         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20037         on _QL, which is set by umul_ppmm but never used.
20038         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20039         variables, which are set by GMP macros but never used.
20040         * stdio-common/_itowa.c (_itowa): Likewise.
20041         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20042         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20044 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20046         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20047         struct La_sh_regs is not constant.
20048         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20049         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20050         and struct La_sparc64_regs are not constant.
20052 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20054         * sysdeps/unix/sysv/linux/kernel-features.h
20055         (__ASSUME_POSIX_TIMERS): Remove.
20056         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20057         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20058         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20059         Make code unconditional.
20060         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20061         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20062         Make code unconditional.
20063         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20064         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20065         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20066         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20067         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20068         Make code unconditional.
20069         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20070         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20071         (__libc_missing_posix_timers): Remove.
20073 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20075         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20076         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20078         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20080         * elf/dl-sym.c: Include <stdlib.h>.
20082         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20083         constants, which avoids warnings in 32-bit builds.
20085         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20086         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20088         * misc/lseek.c: File moved to ...
20089         * io/lseek.c: ... here.
20091         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20093         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20094         shifting LEN more than 31 bits at once.
20096 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20098         [BZ #14195]
20099         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20100         segmentation fault for a case of two empty input strings.
20101         * string/test-strncasecmp.c (check1): Renamed to...
20102         (bz12205): ...this.
20103         (bz14195): Add new testcase for two empty input strings and N > 0.
20104         (test_main): Call new testcase, adapt for renamed function.
20106 2012-08-15  Andreas Jaeger  <aj@suse.de>
20108         [BZ #14090]
20109         * crypt/md5test2.c: New test, based on test supplied by Serge
20110         Belyshev <belyshev@depni.sinp.msu.ru>.
20111         * crypt/Makefile (xtests): Add md5test-giant..
20112         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20114 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20116         [BZ #14090]
20117         * crypt/md5.c (md5_process_block): Don't assume the buffer
20118         length is less than 2**32.
20119         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20120         length is less than 2**64.
20122 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20124         * string/str-two-way.h: Include <sys/param.h>.
20125         (MAX): Macro removed.
20127         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20128         Move #define and #undef of memmove to just before and after
20129         including <string.h>.
20131         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20132         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20133         and after including <string.h>.  Move declarations of
20134         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20135         to before #include "string/memmove.c".
20137         * include/dirent.h: Declare __getdirentries.
20139         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20140         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20142 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20144         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20145         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20146         * sysdeps/i386/configure: Regenerated.
20147         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20148         STABS_CURRENT_FILE, and STABS_FUN.
20149         (END): Remove call to STABS_FUN_END.
20150         (STABS_CURRENT_FILE1): Delete.
20151         (STABS_CURRENT_FILE): Likewise.
20152         (STABS_FUN): Likewise.
20153         (STABS_FUN_END): Likewise.
20154         (STABS_FUN2): Likewise.
20155         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20156         * sysdeps/x86_64/configure: Regenerated.
20158 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20160         * elf/dl-open.c: Include <atomic.h>.
20161         * elf/dl-lookup.c: Likewise.
20163 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20165         * sysdeps/unix/sysv/linux/kernel-features.h
20166         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20167         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20168         unconditionally.
20169         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20170         unconditionally.
20171         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20172         condition on __ASSUME_CLONE_THREAD_FLAGS.
20174 2012-08-14  Andreas Jaeger  <aj@suse.de>
20176         * sysdeps/i386/fpu/libm-test-ulps: Update.
20178 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20180         * include/atomic.h (atomic_exchange_and_add): Split into ...
20181         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20182         New atomic macros.
20184 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20188 2012-08-13  Jeff Law <law@redhat.com>
20190         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20191         null byte in the output string.
20193 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20195         * sysdeps/unix/sysv/linux/kernel-features.h
20196         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20197         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20198         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20199         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20200         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20201         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20202         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20204 2012-08-09  Jeff Law <law@redhat.com>
20206         [BZ #13939]
20207         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20208         When avoid_arena is set, don't retry in the that arena.  Pick the
20209         next one, whatever it might be.
20210         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20211         (arena_lock): Pass in new parameter to arena_get2.
20212         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20213         arena_get2.
20214         (__libc_malloc): Unify retrying after main arena failure with
20215         __libc_memalign version.
20216         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20218 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20220         [BZ #14166]
20221         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20222         to __redirect_strstr.
20223         (__strstr_sse42): Use typeof __redirect_strstr.
20224         (__strstr_ia32): Likewise.
20225         (__libc_strstr): New prototype.
20226         (strstr): Renamed to ...
20227         (__libc_strstr): This.
20228         (strstr): New strong alias of __libc_strstr.
20229         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20230         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20231         __redirect_time.
20232         Include <time.h>.
20233         (__libc_time): New prototype.
20234         (time_ifunc): Replace time with __libc_time.
20235         (time): New strong alias and hidden definition of __libc_time.
20236         (__GI_time): Remove strong alias.
20237         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20238         Include <stddef.h>.
20239         (memmove): Redefined to __redirect_memmove.
20240         (__memmove_sse2): Use typeof __redirect_memmove.
20241         (__memmove_ssse3): Likewise.
20242         (__memmove_ssse3_back): Likewise.
20243         (__libc_memmove): New prototype.
20244         (memmove): Renamed to ...
20245         (__libc_memmove): This.
20246         (memmove): New strong alias of __libc_memmove.
20248 2012-08-08  Mark Salter  <msalter@redhat.com>
20250         * elf/elf.h
20251         (R_MN10300_TLS_GD): Define.
20252         (R_MN10300_TLS_LD): Likewise.
20253         (R_MN10300_TLS_LDO): Likewise.
20254         (R_MN10300_TLS_GOTIE): Likewise.
20255         (R_MN10300_TLS_IE): Likewise.
20256         (R_MN10300_TLS_LE): Likewise.
20257         (R_MN10300_TLS_DTPMOD): Likewise.
20258         (R_MN10300_TLS_DTPOFF): Likewise.
20259         (R_MN10300_TLS_TPOFF): Likewise.
20260         (R_MN10300_SYM_DIFF): Likewise.
20261         (R_MN10300_ALIGN): Likewise.
20262         (R_MN10300_NUM): Update.
20264 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20266         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20267         Remove.
20269 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20271         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20273         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20274         sysdeps/unix -> sysdeps/posix move.
20275         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20277 2012-08-07      Allan McRae     <allan@archlinux.org>
20279         [BZ #14303]
20280         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20281         (SUNOS_CPP): Likewise.
20282         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20283         not found.
20284         (open_input): Call CPP using execvp.
20286 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20288         * sysdeps/unix/sysv/linux/kernel-features.h
20289         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20290         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20291         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20292         (__ASSUME_WAITID_SYSCALL): Likewise.
20293         * sysdeps/unix/sysv/linux/dl-execstack.c
20294         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20295         code unconditional.
20296         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20297         conditional code.
20298         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20299         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20300         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20301         code.
20302         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20303         unconditional.
20304         [__ASSUME_WAITID_SYSCALL]: Likewise.
20305         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20307 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20309         * sysdeps/unix/closedir.c: Renamed to ...
20310         * sysdeps/posix/closedir.c: ... here.
20311         * sysdeps/unix/dirfd.c: Renamed to ...
20312         * sysdeps/posix/dirfd.c: ... here.
20313         * sysdeps/unix/dirstream.h: Renamed to ...
20314         * sysdeps/posix/dirstream.h: ... here.
20315         * sysdeps/unix/fdopendir.c: Renamed to ...
20316         * sysdeps/posix/fdopendir.c: ... here.
20317         * sysdeps/unix/opendir.c: Renamed to ...
20318         * sysdeps/posix/opendir.c: ... here.
20319         * sysdeps/unix/readdir.c: Renamed to ...
20320         * sysdeps/posix/readdir.c: ... here.
20321         * sysdeps/unix/readdir_r.c: Renamed to ...
20322         * sysdeps/posix/readdir_r.c: ... here.
20323         * sysdeps/unix/rewinddir.c: Renamed to ...
20324         * sysdeps/posix/rewinddir.c: ... here.
20325         * sysdeps/unix/seekdir.c: Renamed to ...
20326         * sysdeps/posix/seekdir.c: ... here.
20327         * sysdeps/unix/telldir.c: Renamed to ...
20328         * sysdeps/posix/telldir.c: ... here.
20329         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20330         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20331         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20332         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20334         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20335         * bits/fcntl.h: ... here.
20337         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20338         not 0.
20339         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20340         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20341         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20342         (struct flock): Move l_start, l_len to the beginning.
20343         Use __pid_t for l_pid.
20344         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20345         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20346         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20347         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20348         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20349         [__USE_LARGEFILE64] (struct flock64): New type.
20350         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20352         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20353         * bits/dirent.h: ... here.
20355         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20356         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20358 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20360         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20361         Change from 2.6.0 to 2.6.16.
20362         * sysdeps/unix/sysv/linux/configure: Regenerated.
20363         * sysdeps/unix/sysv/linux/kernel-features.h
20364         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20365         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20366         version.
20367         (__ASSUME_UTIMES): Likewise.
20368         (__ASSUME_CLONE_STOPPED): Remove.
20369         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20370         architectures, not kernel version.
20371         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20372         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20373         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20374         (__ASSUME_WAITID_SYSCALL): Likewise.
20375         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20376         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20377         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20378         refer to older versions.
20380 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20382         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20383         Define alphasort64 as an alias.
20384         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20385         Define versionsort64 as an alias.
20386         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20387         Define scandir64 as an alias.
20388         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20389         Define scandirat64 as an alias.
20390         * dirent/alphasort64.c (alphasort64):
20391         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20392         * dirent/versionsort64.c: Likewise.
20393         * dirent/scandir64.c: Likewise.
20394         * dirent/scandirat64.c: Likewise.
20395         * sysdeps/wordsize-64/alphasort.c: File removed.
20396         * sysdeps/wordsize-64/alphasort64.c: File removed.
20397         * sysdeps/wordsize-64/scandir.c: File removed.
20398         * sysdeps/wordsize-64/scandir64.c: File removed.
20399         * sysdeps/wordsize-64/scandirat.c: File removed.
20400         * sysdeps/wordsize-64/scandirat64.c: File removed.
20401         * sysdeps/wordsize-64/versionsort.c: File removed.
20402         * sysdeps/wordsize-64/versionsort64.c: File removed.
20403         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20404         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20405         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20406         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20407         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20408         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20409         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20410         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20412         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20413         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20414         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20415         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20416         [defined __arch64__ || defined __sparcv9]
20417         (__INO_T_MATCHES_INO64_T): New macro.
20418         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20419         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20420         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20421         * sysdeps/unix/sysv/linux/bits/dirent.h
20422         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20423         (_DIRENT_MATCHES_DIRENT64): New macro.
20425         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20426         Define lockf64 as an alias.
20427         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20428         Define fseeko64 as an alias.
20429         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20430         Define ftello64 as an alias.
20431         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20432         Define _IO_fgetpos64 and fgetpos64 as aliases.
20433         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20434         Define _IO_fsetpos64 and fsetpos64 as aliases.
20435         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20436         Conditionalize body on this.
20437         * libio/fseeko64.c: Likewise.
20438         * libio/ftello64.c: Likewise.
20439         * libio/iofgetpos64.c: Likewise.
20440         * libio/iofsetpos64.c: Likewise.
20441         * sysdeps/wordsize-64/lockf.c: File removed.
20442         * sysdeps/wordsize-64/lockf64.c: File removed.
20443         * sysdeps/wordsize-64/fseeko.c: File removed.
20444         * sysdeps/wordsize-64/fseeko64.c: File removed.
20445         * sysdeps/wordsize-64/ftello.c: File removed.
20446         * sysdeps/wordsize-64/ftello64.c: File removed.
20447         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20448         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20449         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20450         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20451         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20452         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20453         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20454         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20455         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20456         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20457         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20458         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20459         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20460         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20462         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20463         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20464         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20466         [defined __arch64__ || defined __sparcv9]
20467         (__OFF_T_MATCHES_OFF64_T): New macro.
20468         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20469         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20470         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20471         (__OFF_T_MATCHES_OFF64_T): New macro.
20473 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20475         * stdlib/secure-getenv.c (__secure_getenv): Replace
20476         GLIBC_2_16 with GLIBC_2_17.
20478 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20480         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20481         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20483 2012-08-03  David S. Miller  <davem@davemloft.net>
20485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20487 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20489         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20490         Remove.
20491         (__ASSUME_CORRECT_SI_PID): Likewise.
20492         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20493         (__ASSUME_TMPFS_NAME): Likewise.
20494         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20495         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20496         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20497         (HAVE_AUX_SECURE): Make definition unconditional.
20498         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20499         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20501 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20503         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20504         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20505         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20506         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20507         __eloop_threshold instead of SYMLOOP_MAX.
20509         * sysdeps/generic/eloop-threshold.h: New file.
20510         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20511         of MAXSYMLINKS.
20512         * elf/chroot_canon.c (chroot_canon): Likewise.
20514 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20516         [BZ #13717]
20517         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20518         Change to 2.6.0 everywhere.
20519         * sysdeps/unix/sysv/linux/configure: Regenerated.
20520         * sysdeps/unix/sysv/linux/kernel-features.h
20521         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20522         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20523         kernel versions.
20524         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20525         (__ASSUME_FUTEX_REQUEUE): Remove.
20526         (__ASSUME_STATFS64): Define unconditionally.
20527         (__ASSUME_AT_SECURE): Likewise.
20528         (__ASSUME_CORRECT_SI_PID): Likewise.
20529         (__ASSUME_TGKILL): Define without depending on kernel version for
20530         i386.
20531         (__ASSUME_UTIMES): Likewise.
20532         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20533         kernel version.
20534         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20535         (__ASSUME_TMPFS_NAME): Likewise.
20536         * README: Update reference to Linux kernel versions.
20538 2012-08-02  Marek Polacek  <polacek@redhat.com>
20540         [BZ# 14150]
20541         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20542         libc_cv_asm_type_prefix with %.
20543         * configure: Regenerated.
20544         * include/libc-symbols.h: Remove comment about
20545         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20546         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20547         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20548         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20549         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20550         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20551         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20552         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20553         * elf/tst-unique2mod1.c: Likewise.
20554         * elf/tst-unique1mod2.c: Likewise.
20555         * elf/tst-unique1mod1.c: Likewise.
20556         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20557         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20558         Replace ASM_TYPE_DIRECTIVE with .type.
20559         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20560         * sysdeps/i386/sysdep.h: Likewise.
20561         * sysdeps/x86_64/sysdep.h: Likewise.
20562         * sysdeps/sh/sysdep.h: Likewise.
20563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20564         Do not define ASM_TYPE_DIRECTIVE.
20565         * sysdeps/powerpc/sysdep.h: Likewise.
20566         * sysdeps/powerpc/powerpc32/sysdep.h:
20567         Replace ASM_TYPE_DIRECTIVE with .type.
20568         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20569         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20570         * sysdeps/i386/fpu/e_powf.S: Likewise.
20571         * sysdeps/i386/fpu/e_expl.S: Likewise.
20572         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20573         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20574         * sysdeps/i386/fpu/e_pow.S: Likewise.
20575         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20576         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20577         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20578         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20579         * sysdeps/i386/fpu/e_log2.S: Likewise.
20580         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20581         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20582         * sysdeps/i386/fpu/e_powl.S: Likewise.
20583         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20584         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20585         * sysdeps/i386/fpu/e_logl.S: Likewise.
20586         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20587         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20588         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20589         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20590         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20591         * sysdeps/i386/fpu/e_log.S: Likewise.
20592         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20593         * sysdeps/i386/fpu/e_logf.S: Likewise.
20594         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20595         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20596         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20597         * sysdeps/i386/fpu/e_log10.S: Likewise.
20598         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20599         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20600         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20601         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20602         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20603         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20604         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20605         * sysdeps/i386/i686/strtok.S: Likewise.
20606         * sysdeps/i386/i386-mcount.S: Likewise.
20607         * sysdeps/i386/strtok.S: Likewise.
20608         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20609         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20610         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20611         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20612         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20613         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20614         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20615         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20616         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20617         * sysdeps/x86_64/_mcount.S: Likewise.
20618         * sysdeps/x86_64/strtok.S: Likewise.
20619         * sysdeps/sh/_mcount.S: Likewise.
20621 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20623         * libio/iofopen.c: Include <fcntl.h>.
20624         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20625         (_IO_fopen64, fopen64): Define as aliases.
20626         * libio/iofopen64.c: Include <fcntl.h>.
20627         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20628         Conditionalize body on this.
20629         * sysdeps/wordsize-64/iofopen.c: File removed.
20630         * sysdeps/wordsize-64/iofopen64.c: File removed.
20632 2012-08-01  Marek Polacek  <polacek@redhat.com>
20634         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20635         Use dlfcn directly instead of a variable.
20636         (binfmt-subdir): Do not define.
20637         (dlfcn): Likewise.
20639 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20641         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20642         Remove all definitions.
20643         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20644         <kernel-features.h>.
20645         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20646         (miss_F_GETOWN_EX): Remove all definitions.
20647         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20648         macro definition.
20649         [!__ASSUME_FCNTL64]: Remove conditional code.
20650         [__ASSUME_FCNTL64]: Make code unconditional.
20651         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20652         <kernel-features.h>.
20653         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20654         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20655         (lockf64) [__NR_fcntl64]: Make code unconditional.
20656         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20658         * sysdeps/unix/sysv/linux/kernel-features.h
20659         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20660         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20661         Make code unconditional.
20662         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20663         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20665         [__NR_vfork]: Make code unconditional.
20666         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20667         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20669         [__NR_vfork]: Make code unconditional.
20670         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20671         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20673 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20675         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20676         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20678         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20679         Define mkstemp64 as an alias.
20680         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20681         Define mkstemps64 as an alias.
20682         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20683         Define mkostemp64 as an alias.
20684         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20685         Define mkostemps64 as an alias.
20686         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20687         Conditionalize body on this.
20688         * misc/mkostemp64.c: Likewise.
20689         * misc/mkostemps64.c: Likewise.
20690         * misc/mkstemps64.c: Likewise.
20691         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20692         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20693         * sysdeps/wordsize-64/mkostemp.c: File removed.
20694         * sysdeps/wordsize-64/mkstemp.c: File removed.
20695         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20696         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20697         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20698         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20700         [BZ #14138]
20701         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20702         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20703         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20704         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20706         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20707         compat_symbol macros from <shlib-compat.h> rather than the underlying
20708         default_symbol_version and symbol_version macros, so that DEFAULT
20709         lines in shlib-versions are respected.
20710         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20712 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20714         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20715         Declare with warn_unused_result.
20716         (setgid, setregid, setegid, setresgid): Likewise.
20717         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20718         Likewise.
20719         * WUR-REPORT: Remove set*id functions.
20721 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20723         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20725 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20727         [BZ #10191]
20728         * include/sys/socket.h (__libc_accept, __libc_accept4):
20729         Add attribute_hidden.
20730         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20732         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20733         use of PTR_MANGLE.
20734         * inet/getnetgrent_r.c (setup): Likewise.
20736         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20738 2012-07-31  David S. Miller  <davem@davemloft.net>
20740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20742 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20744         [BZ #13629]
20745         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20746         value between 1.0 and 2.0 and smaller part has absolute value less
20747         than 1.0.
20748         * math/s_clog10.c (__clog10): Likewise.
20749         * math/s_clog10f.c (__clog10f): Likewise.
20750         * math/s_clog10l.c (__clog10l): Likewise.
20751         * math/s_clogf.c (__clogf): Likewise.
20752         * math/s_clogl.c (__clogl): Likewise.
20753         * math/libm-test.inc (clog_test): Add more tests.
20754         (clog10_test): Likewise.
20755         * sysdeps/i386/fpu/libm-test-ulps: Update.
20756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20758 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20760         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20761         Exit with zero in case no suitable GID is found, and write a
20762         message to standard error.
20764 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20766         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20767         rather than to 1.
20768         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20769         (MAXPATHLEN): Removed.
20770         (NOGROUP, NODEV): New macros.
20771         (setbit, clrbit, isset, isclr): New macros.
20772         (howmany, roundup, powerof2): New macros.
20773         (DEV_BSIZE): New macro.
20775         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20776         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20778         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20779         definition on [!__NO_LONG_DOUBLE_MATH].
20781         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20782         PTR_MANGLE and PTR_DEMANGLE.
20784         * socket/accept4.c (accept4): Rename to __libc_accept4.
20785         Define accept4 as a weak alias.
20787         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20788         on [_DIRENT_HAVE_D_TYPE].
20789         * io/ftw.c (ftw_dir): Likewise.
20791         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20793         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20795         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20796         Use the BSD numbers rather than the arbitrary ones we had.
20797         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20798         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20799         (SIGXCPU, SIGXFSZ): New macros.
20800         (_NSIG): Now 32.
20802         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20803         initializer on [_LIBC_REENTRANT].
20805         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20806         definitions inside [_POSIX_MAPPED_FILES].
20808         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20810         * dirent/opendir.c: Include <fcntl.h>.
20812         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20813         (__libc_getspecific): Likewise.
20814         (__libc_key_create): Likewise.
20816         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20817         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20818         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20819         (tmpfile64): Define as alias.
20820         * sysdeps/wordsize-64/tmpfile.c: File removed.
20821         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20822         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20823         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20825         * stdio-common/vfscanf.c: Include <stdbool.h>.
20826         * nss/makedb.c: Likewise.
20827         * stdio-common/_i18n_number.h: Likewise.
20828         * argp/argp-help.c: Likewise.
20829         * posix/wordexp.c: Likewise.
20830         * sysdeps/posix/spawni.c: Likewise.
20831         * nss/nss_files/files-initgroups.c: Likewise.
20832         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20833         * nss/nss_files/files-initgroups.c: Likewise.
20834         * nss/nss_db/db-netgrp.c: Likewise.
20835         * nss/nss_db/db-initgroups.c: Likewise.
20836         * io/fchmodat.c: Include <sys/stat.h>.
20838         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20839         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20841         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20842         [HAVE_MMAP].
20844         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20845         Add multiple inclusion protection.
20847 2012-07-27  David S. Miller  <davem@davemloft.net>
20849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20851 2012-07-27  Gary Benson  <gbenson@redhat.com>
20853         [BZ #14298]
20854         * elf/rtld.c: Include <stap-probe.h>.
20855         (dl_main): Added static probes "init_start" and "init_complete".
20856         * elf/dl-load.c: Include <stap-probe.h>.
20857         (lose): Take new parameter "nsid".
20858         Added static probe "map_failed".
20859         (_dl_map_object_from_fd): Pass namespace id to lose.
20860         Added static probe "map_start".
20861         (open_verify): Pass namespace id to lose.
20862         * elf/dl-open.c: Include <stap-probe.h>.
20863         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20864         and "reloc_complete".
20865         * elf/dl-close.c: Include <stap-probe.h>.
20866         (_dl_close_worker): Added static probes "unmap_start" and
20867         "unmap_complete".
20868         * elf/rtld-debugger-interface.txt: New file documenting the above.
20870 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20872         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20873         rather than a string variable.
20874         * sunrpc/rpc_main.c (h_output): Likewise.
20875         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20877 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20879         * inet/check_native.c: New file.
20881 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20883         [BZ #13629]
20884         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20885         if larger part has absolute value 1.0.
20886         * math/s_clog10.c (__clog10): Likewise.
20887         * math/s_clog10f.c (__clog10f): Likewise.
20888         * math/s_clog10l.c (__clog10l): Likewise.
20889         * math/s_clogf.c (__clogf): Likewise.
20890         * math/s_clogl.c (__clogl): Likewise.
20891         * math/libm-test.inc (clog_test): Add more tests.
20892         (clog10_test): Likewise.
20893         * sysdeps/i386/fpu/libm-test-ulps: Update.
20894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20896         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20897         (pltexit): Likewise.
20898         (La_regs): Likewise.
20899         (La_retval): Likewise.
20900         (int_retval): Likewise.
20901         Update #error for removed macros to refer only to definitions in
20902         tst-audit.h.
20903         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20904         macro.
20905         (pltexit): Likewise.
20906         (La_regs): Likewise.
20907         (La_retval): Likewise.
20908         (int_retval): Likewise.
20909         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20910         macro.
20911         (pltexit): Likewise.
20912         (La_regs): Likewise.
20913         (La_retval): Likewise.
20914         (int_retval): Likewise.
20915         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20916         macro.
20917         (pltexit): Likewise.
20918         (La_regs): Likewise.
20919         (La_retval): Likewise.
20920         (int_retval): Likewise.
20921         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20922         macro.
20923         (pltexit): Likewise.
20924         (La_regs): Likewise.
20925         (La_retval): Likewise.
20926         (int_retval): Likewise.
20927         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20928         macro.
20929         (pltexit): Likewise.
20930         (La_regs): Likewise.
20931         (La_retval): Likewise.
20932         (int_retval): Likewise.
20933         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20934         macro.
20935         (pltexit): Likewise.
20936         (La_regs): Likewise.
20937         (La_retval): Likewise.
20938         (int_retval): Likewise.
20939         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20940         macro definitions in tst-audit.h.
20941         * sysdeps/i386/tst-audit.h: New file.
20942         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20943         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20944         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20945         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20946         * sysdeps/sh/tst-audit.h: Likewise.
20947         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20948         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20949         * sysdeps/x86_64/tst-audit.h: Likewise.
20951 2012-07-26  Andreas Jaeger  <aj@suse.de>
20953         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20954         ptrace.
20956         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20957         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20958         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20959         PTRACE_O_MASK.
20960         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20961         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20962         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20964         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20965         value.
20967         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20968         _sigsys.
20969         (si_call_addr, si_syscall, si_arch): Define new macro.
20970         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20971         _sigsys.
20972         (si_call_addr, si_syscall, si_arch): Define new marcro.
20973         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20974         _sigsys.
20975         (si_call_addr, si_syscall, si_arch): Define new macro.
20976         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20977         _sigsys.
20978         (si_call_addr, si_syscall, si_arch): Define new macro.
20980 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20982         [BZ #13717]
20983         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20984         Change to 2.4.21 where previously 2.4.1.
20985         * sysdeps/unix/sysv/linux/configure: Regenerated.
20986         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20987         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20988         Linux kernel version.
20989         (__ASSUME_STD_AUXV): Remove.
20990         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20991         kernel version.
20992         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20993         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20994         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20995         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20996         (__ASSUME_NETLINK_SUPPORT): Likewise.
20997         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20998         (__no_netlink_support): Remove conditional definition.
20999         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21000         Remove.
21001         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21002         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21003         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21004         (if_nameindex_ioctl): Remove.
21005         (if_nameindex_netlink): Do not handle __no_netlink_support.
21006         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21007         code.
21008         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21009         Remove conditional code.
21010         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21011         code.
21012         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21013         unconditional.
21014         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21015         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21016         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21017         Remove.
21018         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21019         [!__ASSUME_STD_AUXV]: Remove conditional code.
21020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21021         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21022         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21024         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21025         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21026         code.
21027         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21029         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21030         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21031         conditional code.
21032         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21034         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21035         code.
21036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21037         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21038         conditional code.
21039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21040         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21041         code unconditional.
21042         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21043         conditional code.
21044         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21045         unconditional.
21046         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21047         conditional code.
21048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21049         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21050         unconditional.
21051         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21052         conditional code.
21053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21054         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21055         code unconditional.
21056         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21057         conditional code.
21058         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21059         unconditional.
21060         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21061         conditional code.
21062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21063         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21064         code unconditional.
21065         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21066         conditional code.
21067         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21068         unconditional.
21069         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21070         conditional code.
21072 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21074         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21075         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21076         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21077         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21078         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21079         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21080         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21081         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21082         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21083         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21084         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21085         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21086         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21087         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21088         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21089         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21090         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21091         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21092         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21093         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21094         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21095         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21096         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21098 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21100         * Versions.def: Add GLIBC_2.17.
21101         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21102         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21103         Introduce __libc_secure_getenv.
21104         * stdlib/Versions (2.17): Add secure_getenv
21105         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21106         * stdlib/secure-getenv.c: Rename __secure_getenv to
21107         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21108         symbol __secure_getenv for GLIBC_2.0.
21109         * stdlib/tst-secure-getenv.c: New.
21110         * stdlib/Makefile (tests): Add testcase.
21111         * manual/startup.texi (Environment Access): Document
21112         secure_getenv.
21113         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21114         __libc_secure_getenv.
21115         * inet/ruserpass.c (ruserpass): Likewise.
21116         * malloc/mtrace.c (mtrace): Likewise.
21117         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21118         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21119         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21120         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21121         HAVE_SECURE_GETENV.
21122         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21123         __secure_getenv to __libc_secure_getenv.
21124         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21126         Likewise.
21127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21128         Likewise.
21129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21131         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21137 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21139         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21140         (struct La_i86_retval): Likewise.
21141         (struct La_x86_64_regs): Likewise.
21142         (struct La_x86_64_retval): Likewise.
21143         (struct La_x32_regs): Likewise.
21144         (struct La_x32_retval): Likewise.
21145         (struct La_ppc32_regs): Likewise.
21146         (struct La_ppc32_retval): Likewise.
21147         (struct La_ppc64_regs): Likewise.
21148         (struct La_ppc64_retval): Likewise.
21149         (struct La_sh_regs): Likewise.
21150         (struct La_sh_retval): Likewise.
21151         (struct La_s390_32_regs): Likewise.
21152         (struct La_s390_32_retval): Likewise.
21153         (struct La_s390_64_regs): Likewise.
21154         (struct La_s390_64_retval): Likewise.
21155         (struct La_sparc32_regs): Likewise.
21156         (struct La_sparc32_retval): Likewise.
21157         (struct La_sparc64_regs): Likewise.
21158         (struct La_sparc64_retval): Likewise.
21159         (struct audit_ifaces): Remove architecture-specific pltenter and
21160         pltexit members.
21161         * sysdeps/i386/ldsodefs.h: New file.
21162         * sysdeps/powerpc/ldsodefs.h: Likewise.
21163         * sysdeps/s390/ldsodefs.h: Likewise.
21164         * sysdeps/sh/ldsodefs.h: Likewise.
21165         * sysdeps/sparc/ldsodefs.h: Likewise.
21166         * sysdeps/x86_64/ldsodefs.h: Likewise.
21168 2012-07-25  Marek Polacek  <polacek@redhat.com>
21170         [BZ #6808]
21171         * math/libm-test.inc (yn_test): Add another test.
21172         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21173         to ERANGE when the result is +-Inf.
21174         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21175         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21176         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21177         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21179 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21181         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21182         equal to 0.
21183         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21184         clock_t.
21185         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21187 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21189         * configure.in <sysdeps resolving>: Correct printing
21190         Implies_before.
21191         * configure: Regenerate.
21193 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21195         * math/w_ilogb.c: Include <limits.h>.
21196         * math/w_ilogbl.c: Likewise.
21198 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21200         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21201         va_copy.  Document allowing for unavailable va_copy only as
21202         pre-C99 compatibility.
21203         * manual/string.texi (Copying and Concatenation): Use va_copy
21204         instead of __va_copy in concat example.
21206 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21208         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21209         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21210         it if not null.
21212         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21213         with O_NOLINK passed to __file_name_lookup.
21215         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21216         with O_NOLINK passed to __file_name_lookup.
21218         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21219         negative N or less than NGIDS.
21221         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21222         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21223         enough.  Use memcpy instead of strncpy.
21225 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21227         * elf/Makefile (check-data): Remove.
21228         (localplt.data): New vpath directive.
21229         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21230         instead of $(check-data).
21231         * scripts/data/localplt-generic.data: Move to ...
21232         * sysdeps/generic/localplt.data: ... here.
21233         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21234         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21235         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21237         ... here.
21238         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21240         ... here.
21241         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21243         ... here.
21244         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21246         ... here.
21247         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21249         ... here.
21250         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21252         ... here.
21254 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21256         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21257         PPC32 and PPC64 files.
21258         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21259         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21261 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21263         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21264         __makecontext_ret to ...
21265         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21266         ... here and call exit if uc_link is NULL.  New file.
21267         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21268         __makecontext_ret.S.
21269         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21270         __makecontext_ret to ...
21271         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21272         ... here and call exit if uc_link is NULL.  New file.
21273         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21274         __makecontext_ret.S.
21276 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21278         * elf/elf.h (R_390_IRELATIVE): New definition.
21279         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21280         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21281         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21282         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21283         (elf_machine_lazy_rel): Likewise.
21284         * sysdeps/s390/dl-irel.h: New file.
21285         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21286         * sysdeps/s390/s390-64/memset.S: New asm code.
21287         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21288         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21289         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21290         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21291         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21292         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21293         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21294         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21295         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21296         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21297         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21298         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21299         * sysdeps/s390/s390-32/memset.S: New asm code.
21300         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21302 2012-07-17  Marek Polacek  <polacek@redhat.com>
21304         [BZ #14349]
21305         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21306         * sysdeps/s390/s390-64/configure.in: Likewise.
21307         * sysdeps/sparc/configure.in: Likewise.
21308         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21309         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21310         * sysdeps/i386/configure.in: Likewise.
21311         * sysdeps/x86_64/configure.in: Likewise.
21312         * sysdeps/sh/configure.in: Likewise.
21313         * sysdeps/s390/s390-32/configure: Regenerated.
21314         * sysdeps/s390/s390-64/configure: Likewise.
21315         * sysdeps/x86_64/configure: Likewise.
21316         * sysdeps/sh/configure: Likewise.
21317         * sysdeps/powerpc/powerpc64/configure: Likewise.
21318         * sysdeps/powerpc/powerpc32/configure: Likewise.
21319         * sysdeps/sparc/configure: Likwise.
21320         * sysdeps/i386/configure: Likewise.
21322         * elf/dl-open.c: Comment fixes.
21324 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21326         * Makefile [CXX] (check-data): Remove.
21327         [CXX] (c++-types.data): New vpath directive.
21328         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21329         vpath.  Do not allow for C++ type data being missing.
21330         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21331         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21332         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21333         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21334         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21335         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21336         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21338         ... here.
21339         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21341         ... here.
21342         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21344         ... here.
21345         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21347         ... here.
21348         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21350         ... here.
21351         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21353         ... here.
21354         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21356         ... here.
21357         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21360         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21361         definitions to architecture-specific files.
21362         (TLS_IE): Likewise.
21363         (TLS_LD): Likewise.
21364         (TLS_GD): Likewise.
21365         * sysdeps/i386/tls-macros.h: New file.
21366         * sysdeps/powerpc/tls-macros.h: Likewise.
21367         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21368         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21369         * sysdeps/sh/tls-macros.h: Likewise.
21370         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21371         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21372         * sysdeps/x86_64/tls-macros.h: Likewise.
21374 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21376         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21377         zero value for regular exit case.
21379         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21380         (__start_context): Preserve zero value for regular exit case.
21382 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21383             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21385         * manual/setjmp.texi (setcontext): Clarify normal process
21386         termination when uc_link is the null pointer.
21387         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21388         exit call.
21390 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21392         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21393         preprocessor.  Test for each exception mask separately.
21395 2012-07-16  Andreas Jaeger  <aj@suse.de>
21397         * po/ru.po: Update from translation team.
21399 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21401         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21402         equal to 0.
21403         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21404         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21405         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21406         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21407         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21409 2012-07-13  Andreas Jaeger  <aj@suse.de>
21411         * po/fr.po: Update from translation team.
21413 2012-07-12  Marek Polacek  <polacek@redhat.com>
21415         [BZ #14173]
21416         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21417         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21418         loop condition.
21420 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21422         [BZ #13717]
21423         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21424         Change to 2.4.1 where previously 2.4.0.
21425         * sysdeps/unix/sysv/linux/configure: Regenerated.
21426         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21427         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21428         version.
21429         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21430         (__ASSUME_AT_CLKTCK): Remove.
21431         (__ASSUME_AT_PAGESIZE): Likewise.
21432         (__ASSUME_AT_XID): Likewise.
21433         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21434         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21435         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21436         unconditionally.
21437         (HAVE_AUX_PAGESIZE): Likewise.
21438         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21439         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21440         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21442 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21444         [BZ #14307]
21445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21446         the temporary buffer used to invoke __gethostbyname2_r,
21447         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21448         host_data / struct gaih_addrtuple.
21449         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21450         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21451         header file nss/nsswitch.h.
21452         * nss/nsswitch.h (global scope): Add definition of implementation
21453         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21454         resolv/nss_dns/dns-host.c).
21456 2012-07-11  Andreas Jaeger  <aj@suse.de>
21458         * po/fr.po: Update from translation team.
21460         * po/sv.po: Update from translation team
21461         * po/fr.po: Another update from translation team.
21463 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21465         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21466         for subnormals or multiply small sinh result by itself.
21467         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21470 2012-07-11  David S. Miller  <davem@davemloft.net>
21472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21474 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21476         [BZ #14347]
21477         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21478         (INTERNAL_MARK): Shift it here.
21480 2012-07-10  Marek Polacek  <polacek@redhat.com>
21482         [BZ #14151]
21483         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21484         libc_cv_asm_global_directive with .globl.
21485         * configure: Regenerated.
21486         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21487         with .globl.
21488         * sysdeps/i386/configure: Regenerated.
21489         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21490         with .globl.
21491         * sysdeps/x86_64/configure: Regenerated.
21492         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21493         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21494         * elf/tst-unique2mod2.c: Likewise.
21495         * elf/tst-unique2mod1.c: Likewise.
21496         * elf/tst-unique1mod2.c: Likewise.
21497         * elf/tst-unique1mod1.c: Likewise.
21498         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21499         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21500         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21501         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21502         * sysdeps/mach/sysdep.h: Likewise.
21503         * sysdeps/i386/sysdep.h: Likewise.
21504         * sysdeps/i386/i386-mcount.S: Likewise.
21505         * sysdeps/x86_64/_mcount.S: Likewise.
21506         * sysdeps/x86_64/sysdep.h: Likewise.
21507         * sysdeps/sh/_mcount.S: Likewise.
21508         * sysdeps/sh/sysdep.h: Likewise.
21509         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21510         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21511         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21512         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21513         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21514         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21515         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21516         * locale/localeinfo.h: Likewise.
21517         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21518         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21520 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21522         [BZ #14336]
21523         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21524         system".
21525         * manual/message.texi (The Uniforum approach): Likewise.
21526         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21527         (glibc iconv Implementation): Likewise.
21529 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21531         [BZ #14337]
21532         * math/s_clog.c (__clog): Avoid scaling a value down where that
21533         could result in underflow.
21534         * math/s_clog10.c (__clog10): Likewise.
21535         * math/s_clog10f.c (__clog10f): Likewise.
21536         * math/s_clog10l.c (__clog10l): Likewise.
21537         * math/s_clogf.c (__clogf): Likewise.
21538         * math/s_clogl.c (__clogl): Likewise.
21539         * math/libm-test.inc (clog_test): Add more tests.
21540         (clog10_test): Likewise.
21541         * sysdeps/i386/fpu/libm-test-ulps: Update.
21542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21544 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21546         [BZ #14283]
21547         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21548         by 7 not 8 to examine high bit of fractional part.
21550         [BZ #14042]
21551         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21552         for call to __mcount_internal.
21553         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21554         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21555         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21557 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21559         [BZ #14154]
21560         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21561         approximation for values within 0x1p-13f of an odd multiple of
21562         pi/4.
21563         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21564         exception.  Add more tests.
21565         * sysdeps/i386/fpu/libm-test-ulps: Update.
21567         [BZ #6778]
21568         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21569         inputs and return -1 for them.  Do not check for +Inf in case not
21570         reachable for +Inf.
21571         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21572         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21573         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21574         and return -1 for them.  Do not check for +Inf in case not
21575         reachable for +Inf.
21576         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21577         define.
21578         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21579         and return -1 for them.  Do not check for +Inf in case not
21580         reachable for +Inf.
21581         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21582         spurious underflow.
21583         * sysdeps/i386/fpu/libm-test-ulps: Update.
21584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21586 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21588         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21590 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21592         [BZ #14157]
21593         [BZ #14331]
21594         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21595         could result in spurious underflow.  Scale down values above
21596         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21597         * math/s_csqrtf.c (__csqrtf): Likewise.
21598         * math/s_csqrtl.c (__csqrtl): Likewise.
21599         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21600         spurious underflow.
21601         * sysdeps/i386/fpu/libm-test-ulps: Update.
21602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21604 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21606         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21607         xopen-msg.sed.
21608         * catgets/xopen-msg.awk: New file.
21609         * catgets/xopen-msg.sed: Removed.
21611         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21612         po2text.sed.
21613         * intl/po2test.awk: New file.
21614         * intl/po2test.sed: Removed.
21616 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21618         [BZ #14328]
21619         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21620         or multiply small sinh result by itself.
21621         * math/s_ctanf.c (__ctanf): Likewise.
21622         * math/s_ctanh.c (__ctanh): Likewise.
21623         * math/s_ctanhf.c (__ctanhf): Likewise.
21624         * math/s_ctanhl.c (__ctanhl): Likewise.
21625         * math/s_ctanl.c (__ctanl): Likewise.
21626         * math/libm-test.inc (ctan_test_tonearest): New function.
21627         (ctan_test_towardzero): Likewise.
21628         (ctan_test_downward): Likewise.
21629         (ctan_test_upward): Likewise.
21630         (ctanh_test_tonearest): Likewise.
21631         (ctanh_test_towardzero): Likewise.
21632         (ctanh_test_downward): Likewise.
21633         (ctanh_test_upward): Likewise.
21634         (main): Call these new functions.
21635         * sysdeps/i386/fpu/libm-test-ulps: Update.
21636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21638 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21640         * .gitignore: Delete /ports entry.
21642 2012-07-03  Andreas Jaeger  <aj@suse.de>
21644         * po/bg.po: Update from translation team.
21645         * po/cs.po: Likewise.
21646         * po/de.po: Likewise.
21647         * po/hr.po: Likewise.
21648         * po/nl.pl: Likewise.
21649         * po/pl.po: Likewise.
21650         * po/vi.po: Likewise.
21652 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21654         * Makeconfig [!+link] (+link-before-libc): New variable.
21655         [!+link] (+link-after-libc): Likewise.
21656         [!+link] (+link-tests): Likewise.
21657         [!+link] (+link): Define in terms of $(+link-before-libc) and
21658         $(+link-after-libc).
21659         [!+link-static] (+link-static-before-libc): New variable.
21660         [!+link-static] (+link-static-after-libc): Likewise.
21661         [!+link-static] (+link-static-tests): Likewise.
21662         [!+link-static] (+link-static): Define in terms of
21663         $(+link-static-before-libc) and $(+link-static-after-libc).
21664         [build-shared] (link-libc-before-gnulib): New variable.
21665         [build-shared] (link-libc-tests): Likewise.
21666         [build-shared] (link-libc): Define in terms of
21667         $(link-libc-before-gnulib).
21668         [!build-shared] (link-libc-tests): New variable.
21669         (link-libc-static-tests): New variable.
21670         [!gnulib] (gnulib-arch): New variable.
21671         [!gnulib] (gnulib-tests): Likewise.
21672         [!gnulib] (static-gnulib-arch): Likewise.
21673         [!gnulib] (static-gnulib-tests): Likewise.
21674         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21675         Define with "=" instead of ":=".
21676         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21677         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21678         * Rules (binaries-all-notests): New variable.
21679         (binaries-all-tests): Likewise.
21680         (binaries-static-notests): Likewise.
21681         (binaries-static-tests): Likewise.
21682         (binaries-all): Define using $(binaries-all-notests) and
21683         $(binaries-all-tests).
21684         (binaries-static): Define using $(binaries-static-notests) and
21685         $(binaries-static-tests).
21686         (binaries-shared-tests): New variable.
21687         (binaries-shared-notests): Likewise.
21688         (binaries-shared): Remove variable.
21689         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21690         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21691         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21692         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21693         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21694         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21695         * elf/Makefile (sln-modules): New variable.
21696         (extra-objs): Add $(sln-modules:=.o).
21697         (ldconfig-modules): Add static-stubs.
21698         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21699         * elf/static-stubs.c: New file.
21701         [BZ #14283]
21702         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21703         by 7 not 8 to examine high bit of fractional part.  Use volatile
21704         variables when splitting into final array of floats if
21705         __FLT_EVAL_METHOD__ != 0.
21706         * math/libm-test.inc (cos_test): Add another test.
21707         (sin_test): Likewise.
21708         * sysdeps/i386/fpu/libm-test-ulps: Update.
21710         [BZ #14273]
21711         * math/libm-test.inc (cosh_test): Add more tests.
21713         * version.h (RELEASE): Set to "development".
21714         (VERSION): Set to "2.16.90".
21716 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21718         * NEWS: Update copyright. Remove last-updated date.
21719         Mention math library bug fixes and timezone data changes.
21720         * README: Mention GNU/Hurd, x32, and HPPA support status.
21722 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21724         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21726 2012-06-27  Andreas Jaeger  <aj@suse.de>
21728         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21730 2012-06-25  Andreas Jaeger  <aj@suse.de>
21732         * sysdeps/s390/fpu/libm-test-ulps: Update.
21734 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21735             Thomas Schwinge  <thomas@codesourcery.com>
21737         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21738         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21739         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21740         fanotify_mark.
21742 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21744         * sysdeps/mach/start.c: Remove file.
21745         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21746         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21747         * sysdeps/sh/init-first.c: Likewise.
21749         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21750         registers for frame unwinding purposes, add CFI directives.
21751         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21752         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21753         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21754         Likewise.
21756         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21757         __fortify_fail returning.
21758         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21760         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21761         sysdeps/sh/____longjmp_chk.S.
21762         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21763         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21764         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21765         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21767         * sysdeps/sh/abort-instr.h: New file.
21768         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21769         process in case exit returns.
21771         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21772         initialize the GOT register before use.
21774         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21775         calculation of ARGC > 4.
21777         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21778         meaningful names to some local labels.
21780 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21781             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21783         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21784         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21785         (__arch_compare_and_exchange_val_16_acq): Likewise.
21786         (__arch_compare_and_exchange_val_32_acq): Likewise.
21787         (atomic_exchange_and_add): Fix gUSA sequence.
21788         (atomic_add): Likewise.
21789         (atomic_add_negative): Likewise.
21790         (atomic_add_zero): Likewise.
21791         (atomic_bit_test_set): Likewise.
21793 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21795         [BZ #13579]
21796         * include/link.h (struct link_map): Add l_free_initfini.
21797         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21798         l_initfini.
21799         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21800         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21801         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21802         set.
21804 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21806         * configure.in: Use AC_LANG_SOURCE.
21807         * configure: Regenerate.
21809 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21811         * configure.in (libc_cv_localstatedir): New substituted variable.
21812         * configure: Regenerated.
21813         * config.make.in (localstatedir): New variable, substituted from
21814         libc_cv_localstatedir.
21815         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21816         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21817         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21818         * sysdeps/gnu/configure: Regenerated.
21820 2012-06-21  Jeff Law  <law@redhat.com>
21822         [BZ #14277]
21823         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21824         free.  Simplify list management for _LIBC case.
21826 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21828         [BZ #14273]
21829         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21830         Clear sign bit of 64-bit integer value before comparing against
21831         overflow value.
21833         * sysdeps/mach/configure: Regenerated.
21835 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21837         [BZ #14278]
21838         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21840 2012-06-21  Jeff Law  <law@redhat.com>
21842         [BZ #13882]
21843         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21844         uint16_t for elements in the "seen" array to avoid char overflows.
21845         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21846         * elf/dl-open.c (dl_open_worker): Likewise.
21848 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21850         * scripts/list-sources.sh: Scan PORTS for translations.
21851         * po/libc.pot: Regenerated.
21853 2012-06-21  Andreas Jaeger  <aj@suse.de>
21855         [BZ #12194]
21856         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21857         warning.
21858         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21859         * bits/byteswap-16.h (__bswap_16): Likewise.
21860         * bits/byteswap.h (__bswap_constant_16): Likewise.
21862 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21864         [BZ #14117]
21865         * sysdeps/i386/fpu_control.h: Removed.
21866         * sysdeps/x86_64/fpu_control.h: Moved to ...
21867         * sysdeps/x86/fpu_control.h: Here.
21869         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21870         (_FPU_SETCW): Likewise.
21872 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21874         [BZ #14117]
21875         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21876         * sysdeps/x86/fpu/bits/mathinline.h: This.
21877         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21879         [BZ #14050]
21880         [BZ #14117]
21881         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21882         functions if __x86_64__ is defined.
21884 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21886         * string/endian.h: Add !__ASSEMBLER__ condition for including
21887         conversion interfaces.
21889 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21891         [BZ #14241]
21892         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21893         of ABS(x) in calculating zero to negative powers other than odd
21894         integers.
21895         * math/libm-test.inc (pow_test): Add more tests.
21897 2012-06-15  Andreas Jaeger  <aj@suse.de>
21899         * manual/contrib.texi (Contributors): Update entry of Liubov
21900         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21901         Machado Filho.
21903 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21905         * string/string.h: Add __wur to GNU version of strerror_r.
21907 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21909         [BZ #14229]
21910         * string/Makefile (tests): Add tst-strtok_r.
21911         * string/tst-strtok_r.c: New file.
21912         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21913         RAX_LP/RDX_LP on SAVE_PTR.
21915 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21917         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21919 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21921         * libm_test.inc (csqrt_test): Allow more spurious underflow
21922         exceptions.
21923         (j0_test): Likewise.
21924         (j1_test): Likewise.
21925         (y0_test): Likewise.
21926         (y1_test): Likewise.
21928 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21930         * po/Makefile (libc.pot): Use UTF-8 charset.
21932 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21934         [BZ #14210]
21935         Suppress sign-conversion warning from FD_SET.
21936         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21937         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21938         not unsigned long int.
21939         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21941 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21943         [BZ #14050]
21944         [BZ #14117]
21945         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21946         __extern_always_inline instead of __extern_inline.
21947         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21948         (__signbit): Likewise.
21949         (__signbitl): Support C++ namespace.
21950         (lrintf): New inline function.
21951         (lrint): Likewise.
21952         (llrintf): Likewise.
21953         (llrint): Likewise.
21954         (fmaxf): Likewise.
21955         (fmax): Likewise.
21956         (fminf): Likewise.
21957         (fmin): Likewise.
21958         (rint): Likewise.
21959         (rintf): Likewise.
21960         (ceil): Likewise.
21961         (ceilf): Likewise.
21962         (floor): Likewise.
21963         (floorf): Likewise.
21964         (nearbyint): Likewise.
21965         (nearbyintf): Likewise.
21967 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21969         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21970         non-default versions.
21972 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21974         [BZ #14218]
21975         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21977 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21979         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21980         (FE_UPWARD, FE_DOWNWARD): Don't define.
21981         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21982         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21984         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21985         reading it.
21986         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21987         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21989 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21991         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21992         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21993         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21994         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21996 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21998         [BZ #14117]
21999         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22000         * sysdeps/i386/fpu/Implies: New file.
22001         * sysdeps/x86_64/fpu/Implies: Likewise.
22002         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22003         * sysdeps/x86/fpu/bits/fenv.h: This.
22005         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22006         __SSE_MATH__.
22008 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22010         [BZ #14134]
22011         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22012         character 0xffff that matches the last element of the
22013         conversion table.
22015 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22017         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22018         fmodl commit.
22020 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22022         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22023         values higher than 25.6283.
22025 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22027         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22028         subnormal exponent extraction and add some __builtin_expect.
22029         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22030         Fix for subnormal mantissa calculation.
22032 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22034         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22035         cpu2 is -1 and errno is not ENOSYS.
22037 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22039         [BZ #14117]
22040         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22041         * sysdeps/x86/bits/string.h: This.
22042         * sysdeps/x86_64/bits/string.h: Removed.
22044         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22045         if not compiling for x86-64, but compiling for >= i486.
22047         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22048         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22050         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22051         New macro from Linux kernel 3.4.0.
22052         (FP_XSTATE_MAGIC2): Likewise.
22053         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22054         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22055         (struct _fpx_sw_bytes): New struct.
22056         (struct _xsave_hdr): Likewise.
22057         (struct _ymmh_state): Likewise.
22058         (struct _xstate): Likewise.
22060         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22061         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22062         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22063         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22064         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22065         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22067         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22068         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22069         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22070         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22071         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22072         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22074 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22076         [BZ #13743]
22077         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22078         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22079         (sysdep_headers): Include sys/platform/ppc.h.
22080         * sysdeps/powerpc/test-gettimebase.c: Test for
22081         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22082         * manual/Makefile (appendices): Include platform.texi.
22083         * manual/contrib.texi (Contributors): Update @node pointers.
22084         * manual/maint.texi (Maintenance): Likewise.
22085         (Platform): New node.
22086         * manual/platform.texi: New file.  Document the new features.
22088 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22089             Jakub Jelinek  <jakub@redhat.com>
22091         [BZ #14188]
22092         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22093         where __builtin_expect is unavailable.
22095 2012-06-03  David S. Miller  <davem@davemloft.net>
22097         * stdlib/longlong.h: Updated from GCC.
22099 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22101         [BZ #14042]
22102         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22103         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22104         __mcount_internal.
22105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22106         (GLIBC_2.16): Likewise.
22108 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22110         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22112 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22115         (default-abi): New variable.
22116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22117         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22118         variable.
22119         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22120         Likewise.
22121         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22122         Likewise.
22123         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22124         Likewise.
22126         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22127         definition.  Document in comment.
22129 2012-06-01  David S. Miller  <davem@davemloft.net>
22131         * stdlib/longlong.h: Updated from GCC.
22133 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22135         [BZ #14117]
22136         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22137         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22138         sys/debugreg.h sys/io.h here.
22139         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22140         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22141         sys/io.h.
22142         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22143         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22144         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22145         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22146         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22147         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22149         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22150         Define only if __x86_64__ is defined.
22152 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22154         [BZ #14048]
22155         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22156         Use int64_t for variable i.
22157         * math/libm-test.inc (fmod_test): Add more tests.
22159         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22160         z computation is not scheduled after fetestexcept.
22161         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22162         Use math_force_eval instead of asm to ensure calculation scheduled
22163         before exception test.
22164         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22165         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22167 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22169         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22170         computation is not scheduled after fetestexcept.
22172 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22174         [BZ #14117]
22175         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22176         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22178 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22180         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22181         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22183 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22185         [BZ #14117]
22186         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22187         <bits/wordsize.h>.
22188         (__WCHAR_MIN): Support __WORDSIZE == 64.
22189         (__WCHAR_MAX): Likewise.
22191         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22192         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22194         [BZ #14183]
22195         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22196         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22198         [BZ #14117]
22199         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22200         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22202         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22203         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22205         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22206         Defined to 1 if __x86_64__ isn't defined.
22207         (_STAT_VER_LINUX_OLD): New.
22208         (st_atime): Remove duplicate.
22209         (st_mtime): Likewise.
22210         (st_ctime): Likewise.
22212 2012-05-31  David S. Miller  <davem@davemloft.net>
22214         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22215         entries.
22217 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22219         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22220         gen-libm-test.pl.
22222         [BZ #14132]
22223         * elf/dl-reloc.c: Include <_itoa.h>.
22224         (_dl_reloc_bad_type): Remove use of INTUSE.
22225         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22226         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22227         * stdio-common/psiginfo.c (psiginfo): Likewise.
22228         * stdio-common/psignal.c (psignal): Likewise.
22229         * string/strsignal.c (strsignal): Likewise.
22230         * include/signal.h (_sys_siglist): Declare hidden proto.
22231         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22232         INTVARDEF with libc_hidden_data_def.
22233         * stdio-common/itoa-udigits.c: Likewise.
22234         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22235         (_itoa_lower_digits_internal): Remove declaration.
22236         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22237         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22238         (_sys_sigabbrev_internal): Remove aliases.
22239         (_sys_siglist): Define hidden alias.
22241 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22244         bits/sysctl.h.
22246 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22248         [BZ #14117]
22249         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22250         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22252         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22253         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22254         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22255         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22256         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22257         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22259         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22260         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22261         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22263         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22264         with __addr.
22265         (insw): Likewise.
22266         (insl): Likewise.
22267         (outsb): Likewise.
22268         (outsw): Likewise.
22269         (outsl): Likewise.
22271         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22272         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22273         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22275         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22276         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22277         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22278         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22279         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22280         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22282         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22283         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22285         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22286         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22288         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22289         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22290         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22292         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22293         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22294         to ...
22295         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22297         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22298         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22299         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22301         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22302         for x86-64.
22303         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22305 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22307         * math/math.h (M_El): Use two more decimal places.
22308         (M_LOG2El): Likewise.
22309         (M_LOG10El): Likewise.
22310         (M_LN2l): Likewise.
22311         (M_LN10l): Likewise.
22312         (M_PIl): Likewise.
22313         (M_PI_2l): Likewise.
22314         (M_PI_4l): Likewise.
22315         (M_1_PIl): Likewise.
22316         (M_2_PIl): Likewise.
22317         (M_2_SQRTPIl): Likewise.
22318         (M_SQRT2l): Likewise.
22319         (M_SQRT1_2l): Likewise.
22321 2012-05-31  David S. Miller  <davem@davemloft.net>
22323         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22324         values between float registers.
22325         * sysdeps/sparc/sparc64/memset.S: Likewise.
22326         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22328 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22330         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22331         -D_FORTIFY_SOURCE=1.
22332         (CPPFLAGS-tst-longjmp_chk.c): Define.
22333         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22334         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22335         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22336         CFLAGS-tst-wchar-h.c.
22338 2012-05-31  Marek Polacek  <polacek@redhat.com>
22340         [BZ #14132]
22341         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22342         __endmntent_internal): Remove declaration.
22343         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22344         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22345         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22347 2012-05-30  David S. Miller  <davem@davemloft.net>
22349         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22350         (___Q_simulate_exceptions): Use real FP ops rather than writing
22351         into the %fsr.
22352         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22353         Likewise.
22355 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22357         [BZ #14117]
22358         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22359         * sysdeps/x86/bits/xtitypes.h: This.
22361         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22362         * sysdeps/x86/bits/wordsize.h: This.
22364         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22365         * sysdeps/x86/bits/huge_vall.h: This.
22367         * sysdeps/i386/bits/select.h: Removed.
22368         * sysdeps/x86_64/bits/select.h: Renamed to ...
22369         * sysdeps/x86/bits/select.h: This.
22371         * sysdeps/i386/bits/setjmp.h: Removed.
22372         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22373         * sysdeps/x86/bits/setjmp.h: This.
22375         * sysdeps/i386/bits/mathdef.h: Removed.
22376         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22377         * sysdeps/x86/bits/mathdef.h: This.
22379 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22381         [BZ #14132]
22382         * include/sys/socket.h (__connect_internal)
22383         (__libc_sa_len_internal): Remove declaration.
22384         (__connect, __libc_sa_len): Declare hidden_proto.
22385         (SA_LEN): Remove use of INTUSE.
22386         * socket/connect.c: Add libc_hidden_def.
22387         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22388         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22389         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22390         alias.
22391         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22392         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22393         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22394         of adding _internal alias.
22396 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22398         [BZ #14117]
22399         * sysdeps/i386/bits/link.h: Removed.
22400         * sysdeps/i386/bits/linkmap.h: Likewise.
22401         * sysdeps/x86_64/bits/link.h: Renamed to ...
22402         * sysdeps/x86/bits/link.h: This.
22403         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22404         * sysdeps/x86/bits/linkmap.h: This.
22406         * sysdeps/i386/bits/endian.h: Removed.
22407         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22408         * sysdeps/x86/bits/endian.h: This.
22410         * sysdeps/i386/bits/byteswap.h: Removed.
22411         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22412         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22413         * sysdeps/x86/bits/byteswap.h: This.
22414         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22415         * sysdeps/x86/bits/byteswap-16.h: This.
22416         * sysdeps/i386/Implies: Add x86.
22417         * sysdeps/x86_64/Implies: Likewise.
22419 2012-05-30  David S. Miller  <davem@davemloft.net>
22421         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22422         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22423         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22424         (FP_TRAPPING_EXCEPTIONS): Define.
22425         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22426         (FP_TRAPPING_EXCEPTIONS): Define.
22427         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22428         subnormals only when inexact has been signalled or underflow
22429         exceptions are enabled.
22430         (_FP_PACK_CANONICAL): Likewise.
22432 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22434         [BZ #14183]
22435         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22436         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22438 2012-05-30  Richard Henderson  <rth@twiddle.net>
22440         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22441         with #ifndef NOT_IN_libc.
22443         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22444         marked to avoid plt entry.
22446 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22448         [BZ #14112]
22449         * Makeconfig (default-abi): New macro.
22450         (abi-includes): Likewise.
22451         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22452         $(abi-$(default-abi)-lib-soname) for soname if defined.
22453         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22454         abi-variants.
22455         * Makefile (installed-stubs): Likewise.
22456         * include/stubs-biarch.h: Removed.
22457         * scripts/lib-names.awk: Only handle one library at a time.
22458         * scripts/soversions.awk: Remove WORDSIZE support.
22459         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22460         entries.
22461         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22462         Removed.
22463         (syscall-list-default-condition): Likewise.
22464         (syscall-list-default-condition): Likewise.
22465         (syscall-list-includes): Likewise.
22466         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22467         syscall-list-* with abi-*.  Handle undefined abi-variants.
22468         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22469         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22470         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22471         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22472         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22473         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22474         Removed.
22475         (syscall-list-32-options): Likewise.
22476         (syscall-list-32-condition): Likewise.
22477         (syscall-list-64-options): Likewise.
22478         (syscall-list-64-condition): Likewise.
22479         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22480         macro.
22481         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22482         Renamed to ...
22483         (abi-*): This.
22484         (abi-64-ld-soname): New macro.
22485         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22486         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22487         Renamed to ...
22488         (abi-*): This.
22489         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22490         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22492 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22494         * sysdeps/unix/sysv/linux/kernel-features.h
22495         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22496         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22497         include <kernel-features.h>.
22498         [!__NR_ftruncate64]: Remove conditional code.
22499         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22500         [__NR_ftruncate64]: Make code unconditional.
22501         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22502         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22503         include <kernel-features.h>.
22504         [!__NR_ftruncate64]: Remove conditional code.
22505         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22506         [__NR_ftruncate64]: Make code unconditional.
22507         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22509         include <kernel-features.h>.
22510         [!__NR_ftruncate64]: Remove conditional code.
22511         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22512         [__NR_ftruncate64]: Make code unconditional.
22513         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22515         include <kernel-features.h>.
22516         [!__NR_ftruncate64]: Remove conditional code.
22517         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22518         [__NR_ftruncate64]: Make code unconditional.
22519         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22521         * configure.in (libc_cv_fpie): Weaken to a compile test using
22522         LIBC_TRY_CC_OPTION.
22523         * configure: Regenerated.
22525 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22531         Refreshed.
22532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22538         Refreshed.
22540 2012-05-27  David S. Miller  <davem@davemloft.net>
22542         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22543         (___Q_zero): New.
22544         (__Q_simulate_exceptions): Return void.  Change to simulate
22545         exceptions by writing into the %fsr.
22546         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22547         (__Qp_handle_exceptions): Likewise.
22548         (numbers): Delete.
22549         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22550         __Qp_handle_exceptions.
22551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22552         __Qp_handle_exceptions.
22553         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22554         as unused and give dummy FP_RND_NEAREST initializer.
22555         (FP_INHIBIT_RESULTS): Define.
22556         (___Q_simulate_exceptions): Update declaration.
22557         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22558         formatting.
22559         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22560         as unused and give dummy FP_RND_NEAREST initializer.
22561         (__Qp_handle_exceptions): Update declaration.
22562         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22563         formatting.
22565 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22567         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22568         the temporary FPU control word.
22569         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22570         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22571         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22572         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22573         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22574         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22575         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22576         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22577         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22578         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22579         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22581 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22583         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22584         fields.
22586 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22588         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22589         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22590         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22591         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22592         Likewise.
22593         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22594         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22595         Likewise.
22597 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22599         * po/h.po: Update from translation team.
22601 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22603         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22605         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22606         handling of denormals.
22607         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22608         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22609         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22610         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22612         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22613         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22614         Likewise.
22616 2012-05-26  Marek Polacek  <polacek@redhat.com>
22618         [BZ #14152]
22619         * math/libm-test.inc (fma_test): Don't always expect underflow
22620         exception.
22622 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22624         [BZ #12416]
22625         * elf/tst-execstack.c: Include stackinfo.h.
22626         (do_test): Adjust test case to ensure that pthread_getattr_np
22627         behaviour remains the same after marking stack executable.
22629 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22631         * sysdeps/unix/sysv/linux/kernel-features.h
22632         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22633         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22634         kernel-features.h.
22635         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22636         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22637         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22638         kernel-features.h.
22639         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22640         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22642 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22644         * configure.in: Define the default includes to being none.
22645         * configure: Regenerated.
22647 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22649         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22650         * sysdeps/x86_64/setjmp.S: Likewise.
22651         * sysdeps/i386/bsd-setjmp.S: Likewise.
22652         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22653         * sysdeps/i386/setjmp.S: Likewise.
22654         * sysdeps/i386/__longjmp.S: Likewise.
22655         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22656         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22658         * include/stap-probe.h: New file.
22659         * configure.in: Handle --enable-systemtap.
22660         * configure: Regenerated.
22661         * config.h.in (USE_STAP_PROBE): New #undef.
22662         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22663         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22664         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22666 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22668         [BZ #13717]
22669         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22670         to 2.4.0 where earlier.
22671         * sysdeps/unix/sysv/linux/configure: Regenerated.
22672         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22673         <kernel-features.h>.
22674         [__ASSUME_32BITUIDS]: Make code unconditional.
22675         [!__ASSUME_32BITUIDS]: Remove conditional code.
22676         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22677         <kernel-features.h>.
22678         [__ASSUME_32BITUIDS]: Make code unconditional.
22679         [!__ASSUME_32BITUIDS]: Remove conditional code.
22680         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22681         [__ASSUME_32BITUIDS]: Make code unconditional.
22682         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22683         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22684         <kernel-features.h>.
22685         [__ASSUME_32BITUIDS]: Make code unconditional.
22686         [!__ASSUME_32BITUIDS]: Remove conditional code.
22687         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22688         <kernel-features.h>.
22689         [__ASSUME_32BITUIDS]: Make code unconditional.
22690         [!__ASSUME_32BITUIDS]: Remove conditional code.
22691         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22692         <kernel-features.h>.
22693         [__ASSUME_32BITUIDS]: Make code unconditional.
22694         [!__ASSUME_32BITUIDS]: Remove conditional code.
22695         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22696         <kernel-features.h>.
22697         [__ASSUME_32BITUIDS]: Make code unconditional.
22698         [!__ASSUME_32BITUIDS]: Remove conditional code.
22699         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22700         <kernel-features.h>.
22701         [__ASSUME_32BITUIDS]: Make code unconditional.
22702         [!__ASSUME_32BITUIDS]: Remove conditional code.
22703         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22704         <kernel-features.h>.
22705         [__ASSUME_32BITUIDS]: Make code unconditional.
22706         [!__ASSUME_32BITUIDS]: Remove conditional code.
22707         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22708         <kernel-features.h>.
22709         [__ASSUME_32BITUIDS]: Make code unconditional.
22710         [!__ASSUME_32BITUIDS]: Remove conditional code.
22711         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22712         <kernel-features.h>.
22713         [__ASSUME_32BITUIDS]: Make code unconditional.
22714         [!__ASSUME_32BITUIDS]: Remove conditional code.
22715         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22716         <kernel-features.h>.
22717         [__ASSUME_32BITUIDS]: Make code unconditional.
22718         [!__ASSUME_32BITUIDS]: Remove conditional code.
22719         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22720         <kernel-features.h>.
22721         [__ASSUME_32BITUIDS]: Make code unconditional.
22722         [!__ASSUME_32BITUIDS]: Remove conditional code.
22723         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22724         <kernel-features.h>.
22725         [__NR_setresgid] (__setresgid): Do not declare.
22726         [__ASSUME_32BITUIDS]: Make code unconditional.
22727         [!__ASSUME_32BITUIDS]: Remove conditional code.
22728         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22729         <kernel-features.h>.
22730         [__NR_setresuid] (__setresuid): Do not declare.
22731         [__ASSUME_32BITUIDS]: Make code unconditional.
22732         [!__ASSUME_32BITUIDS]: Remove conditional code.
22733         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22734         <kernel-features.h>.
22735         [__ASSUME_32BITUIDS]: Make code unconditional.
22736         [!__ASSUME_32BITUIDS]: Remove conditional code.
22737         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22738         <kernel-features.h>.
22739         [__ASSUME_32BITUIDS]: Make code unconditional.
22740         [!__ASSUME_32BITUIDS]: Remove conditional code.
22741         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22742         <kernel-features.h>.
22743         [__ASSUME_32BITUIDS]: Make code unconditional.
22744         [!__ASSUME_32BITUIDS]: Remove conditional code.
22745         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22746         <kernel-features.h>.
22747         [__ASSUME_32BITUIDS]: Make code unconditional.
22748         [!__ASSUME_32BITUIDS]: Remove conditional code.
22749         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22750         <kernel-features.h>.
22751         [__ASSUME_32BITUIDS]: Make code unconditional.
22752         [!__ASSUME_32BITUIDS]: Remove conditional code.
22753         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22754         <kernel-features.h>.
22755         [__ASSUME_32BITUIDS]: Make code unconditional.
22756         [!__ASSUME_32BITUIDS]: Remove conditional code.
22757         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22758         <kernel-features.h>.
22759         [__ASSUME_32BITUIDS]: Make code unconditional.
22760         [!__ASSUME_32BITUIDS]: Remove conditional code.
22761         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22762         <kernel-features.h>.
22763         [__ASSUME_32BITUIDS]: Make code unconditional.
22764         [!__ASSUME_32BITUIDS]: Remove conditional code.
22765         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22766         <kernel-features.h>.
22767         [__ASSUME_32BITUIDS]: Make code unconditional.
22768         [!__ASSUME_32BITUIDS]: Remove conditional code.
22769         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22770         <kernel-features.h>.
22771         [__ASSUME_32BITUIDS]: Make code unconditional.
22772         [!__ASSUME_32BITUIDS]: Remove conditional code.
22773         * sysdeps/unix/sysv/linux/kernel-features.h
22774         (__ASSUME_SETRESUID_SYSCALL): Remove.
22775         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22776         (__ASSUME_32BITUIDS): Likewise.
22777         (__ASSUME_LDT_WORKS): Likewise.
22778         (__ASSUME_O_DIRECTORY): Likewise.
22779         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22780         architecture but not kernel version.
22781         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22782         (__ASSUME_MMAP2_SYSCALL): Likewise.
22783         (__ASSUME_STAT64_SYSCALL): Likewise.
22784         (__ASSUME_IPC64): Likewise.
22785         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22786         <kernel-features.h>.
22787         [__ASSUME_32BITUIDS]: Make code unconditional.
22788         [!__ASSUME_32BITUIDS]: Remove conditional code.
22789         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22790         <kernel-features.h>.
22791         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22792         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22793         132096]: Remove conditional code.
22794         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22795         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22796         <kernel-features.h>.
22797         [__ASSUME_32BITUIDS]: Make code unconditional.
22798         [!__ASSUME_32BITUIDS]: Remove conditional code.
22799         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22800         <kernel-features.h>.
22801         [__ASSUME_32BITUIDS]: Make code unconditional.
22802         [!__ASSUME_32BITUIDS]: Remove conditional code.
22803         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22804         <kernel-features.h>.
22805         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22806         unconditional.
22807         (__setresgid): Do not declare.
22808         [__ASSUME_32BITUIDS]: Make code unconditional.
22809         [!__ASSUME_32BITUIDS]: Remove conditional code.
22810         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22811         <kernel-features.h>.
22812         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22813         unconditional.
22814         (__setresuid): Do not declare.
22815         [__ASSUME_32BITUIDS]: Make code unconditional.
22816         [!__ASSUME_32BITUIDS]: Remove conditional code.
22817         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22818         <kernel-features.h>.
22819         [__ASSUME_32BITUIDS]: Make code unconditional.
22820         [!__ASSUME_32BITUIDS]: Remove conditional code.
22821         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22822         <kernel-features.h>.
22823         [__ASSUME_32BITUIDS]: Make code unconditional.
22824         [!__ASSUME_32BITUIDS]: Remove conditional code.
22826 2012-05-25  Richard Henderson  <rth@twiddle.net>
22828         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22829         dl_hwcap to ifunc resolver.
22830         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22831         elf_ifunc_invoke.
22832         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22833         dl_hwcap to ifunc resolver.
22834         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22836 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22838         [BZ #14153]
22839         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22840         for |x| <= 2**-26, not 2**-57.
22841         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22842         exception.
22844 2012-05-24  Jeff Law  <law@redhat.com>
22846         * stdio-common/Makefile (tests): Add bug25.
22847         * stdio-common/bug25.c: New test.
22849 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22851         [BZ #13576]
22852         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22853         multiple of MALLOC_ALIGNMENT in size.
22854         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22856 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22858         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22859         Require >= 256.
22860         (FILENAME_MAX): Use macro-int-constant.
22861         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22862         (_IOFBF): Use macro-int-constant.
22863         (_IOLBF): Likewise.
22864         (_IONBF): Likewise.
22865         (SEEK_CUR): Likewise.
22866         (SEEK_END): Likewise.
22867         (SEEK_SET): Likewise.
22868         (TMP_MAX): Likewise.
22869         (EOF): Use macro-int-constant.  Require < 0.
22870         (NULL): Use macro-constant.  Require == 0.
22871         (stdin): Require type to be FILE *.
22872         (stdout): Likewise.
22873         (stderr): Likewise.
22874         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22875         macro-int-constant.
22876         (EXIT_SUCCESS): Likewise.
22877         (NULL): Use macro-constant.  Require == 0.
22878         (RAND_MAX): Use macro-int-constant.
22879         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22880         [C99-based standards] (strtof): Require function.
22881         [C99-based standards] (strtold): Likewise.
22882         [C99-based standards] (strtoll): Likewise.
22883         [C99-based standards] (strtoull): Likewise.
22884         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22885         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22886         [ISO || ISO99 || ISO11] (math.h): Likewise.
22887         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22888         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22889         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22891 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22893         [BZ #14132]
22894         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22895         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22896         * intl/dgettext.c (DCGETTEXT): Likewise.
22897         * intl/gettext.c (DCGETTEXT): Likewise.
22898         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22899         * posix/regex_internal.h (gettext): Likewise.
22900         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22901         Remove declaration.
22902         * include/argz.h (__argz_count_internal)
22903         (__argz_stringify_internal): Remove declaration.
22904         (__argz_count, __argz_stringify): Declare hidden proto.
22905         * intl/dcgettext.c: Remove use of INTDEF.
22906         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22907         * string/argz-stringify.c: Likewise.
22908         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22909         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22910         Declare hidden proto.
22911         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22912         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22913         Declare hidden proto.
22914         * include/stdio.h (__asprintf_internal): Don't declare.
22915         (__asprintf): Don't define as macro.  Declare hidden proto.
22916         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22917         (__fsetlocking): Declare hidden proto.
22918         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22919         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22920         hidden proto.
22921         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22922         (_IO_setlinebuf): Remove use of INTUSE.
22923         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22924         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22925         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22926         Remove declaration.
22927         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22928         (_IO_do_flush): Remove use of INTUSE.
22929         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22930         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22931         (_IO_adjust_column, _IO_least_wmarker)
22932         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22933         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22934         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22935         (_IO_default_doallocate, _IO_wdefault_doallocate)
22936         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22937         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22938         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22939         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22940         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22941         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22942         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22943         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22944         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22945         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22946         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22947         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22948         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22949         proto.
22950         (_IO_flush_all_internal, _IO_adjust_column_internal)
22951         (_IO_default_uflow_internal, _IO_default_finish_internal)
22952         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22953         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22954         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22955         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22956         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22957         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22958         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22959         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22960         (_IO_file_close_internal, _IO_file_close_it_internal)
22961         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22962         (_IO_file_init_internal, _IO_file_attach_internal)
22963         (_IO_file_fopen_internal, _IO_file_read_internal)
22964         (_IO_file_sync_internal, _IO_file_seek_internal)
22965         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22966         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22967         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22968         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22969         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22970         (_IO_list_all_internal, _IO_link_in_internal)
22971         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22972         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22973         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22974         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22975         (_IO_do_write_internal, _IO_padn_internal)
22976         (_IO_getline_info_internal, _IO_getline_internal)
22977         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22978         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22979         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22980         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22981         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22982         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22983         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22984         with libc_hidden_ver, remove use of INTUSE.
22985         * libio/genops.c: Likewise.
22986         * libio/freopen.c: Likewise.
22987         * libio/freopen64.c: Likewise.
22988         * libio/iofclose.c: Likewise.
22989         * libio/iofdopen.c: Likewise.
22990         * libio/iofflush.c: Likewise.
22991         * libio/iofflush_u.c: Likewise.
22992         * libio/iofgets.c: Likewise.
22993         * libio/iofgets_u.c: Likewise.
22994         * libio/iofopen.c: Likewise.
22995         * libio/iofopncook.c: Likewise.
22996         * libio/iofread.c: Likewise.
22997         * libio/iofread_u.c: Likewise.
22998         * libio/ioftell.c: Likewise.
22999         * libio/iofwrite.c: Likewise.
23000         * libio/iogetline.c: Likewise.
23001         * libio/iogets.c: Likewise.
23002         * libio/iogetwline.c: Likewise.
23003         * libio/iopadn.c: Likewise.
23004         * libio/iopopen.c: Likewise.
23005         * libio/ioseekoff.c: Likewise.
23006         * libio/ioseekpos.c: Likewise.
23007         * libio/iosetbuffer.c: Likewise.
23008         * libio/iosetvbuf.c: Likewise.
23009         * libio/ioungetc.c: Likewise.
23010         * libio/ioungetwc.c: Likewise.
23011         * libio/iovdprintf.c: Likewise.
23012         * libio/iovsprintf.c: Likewise.
23013         * libio/iovsscanf.c: Likewise.
23014         * libio/memstream.c: Likewise.
23015         * libio/obprintf.c: Likewise.
23016         * libio/oldfileops.c: Likewise.
23017         * libio/oldiofclose.c: Likewise.
23018         * libio/oldiofdopen.c: Likewise.
23019         * libio/oldiofopen.c: Likewise.
23020         * libio/oldiopopen.c: Likewise.
23021         * libio/oldstdfiles.c: Likewise.
23022         * libio/putc.c: Likewise.
23023         * libio/setbuf.c: Likewise.
23024         * libio/setlinebuf.c: Likewise.
23025         * libio/stdfiles.c: Likewise.
23026         * libio/strops.c: Likewise.
23027         * libio/vasprintf.c: Likewise.
23028         * libio/vscanf.c: Likewise.
23029         * libio/vsnprintf.c: Likewise.
23030         * libio/vswprintf.c: Likewise.
23031         * libio/wfiledoalloc.c: Likewise.
23032         * libio/wfileops.c: Likewise.
23033         * libio/wgenops.c: Likewise.
23034         * libio/wmemstream.c: Likewise.
23035         * libio/wstrops.c: Likewise.
23036         * libio/__fpurge.c: Likewise.
23037         * libio/__fsetlocking.c: Likewise.
23038         * assert/assert.c: Likewise.
23039         * debug/fgets_chk.c: Likewise.
23040         * debug/fgets_u_chk.c: Likewise.
23041         * debug/fread_chk.c: Likewise.
23042         * debug/fread_u_chk.c: Likewise.
23043         * debug/gets_chk.c: Likewise.
23044         * debug/obprintf_chk.c: Likewise.
23045         * debug/vasprintf_chk.c: Likewise.
23046         * debug/vdprintf_chk.c: Likewise.
23047         * debug/vsnprintf_chk.c: Likewise.
23048         * debug/vsprintf_chk.c: Likewise.
23049         * malloc/mtrace.c: Likewise.
23050         * misc/error.c: Likewise.
23051         * misc/syslog.c: Likewise.
23052         * stdio-common/asprintf.c: Likewise.
23053         * stdio-common/fxprintf.c: Likewise.
23054         * stdio-common/getw.c: Likewise.
23055         * stdio-common/isoc99_fscanf.c: Likewise.
23056         * stdio-common/isoc99_scanf.c: Likewise.
23057         * stdio-common/isoc99_vfscanf.c: Likewise.
23058         * stdio-common/isoc99_vscanf.c: Likewise.
23059         * stdio-common/isoc99_vsscanf.c: Likewise.
23060         * stdio-common/printf-prs.c: Likewise.
23061         * stdio-common/printf_fp.c: Likewise.
23062         * stdio-common/printf_fphex.c: Likewise.
23063         * stdio-common/printf_size.c: Likewise.
23064         * stdio-common/putw.c: Likewise.
23065         * stdio-common/scanf.c: Likewise.
23066         * stdio-common/sprintf.c: Likewise.
23067         * stdio-common/tmpfile.c: Likewise.
23068         * stdio-common/vfprintf.c: Likewise.
23069         * stdio-common/vfscanf.c: Likewise.
23070         * stdlib/strfmon_l.c: Likewise.
23071         * sunrpc/openchild.c: Likewise.
23072         * sunrpc/xdr_stdio.c: Likewise.
23073         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23074         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23076 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23078         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23080         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23081         in the third column, to generate for the shared library an IFUNC
23082         that uses _dl_vdso_vsym.
23083         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23084         * Makeconfig (object-suffixes-noshared): New variable.
23086         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23087         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23088         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23089         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23091         [BZ #14132]
23092         * include/sys/time.h (__gettimeofday): Remove macro.
23093         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23094         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23095         Remove INTDEF.
23096         (__gettimeofday): Add libc_hidden_def.
23097         (gettimeofday): Add libc_hidden_weak.
23098         * sysdeps/mach/gettimeofday.c: Likewise.
23099         * sysdeps/posix/gettimeofday.c: Likewise.
23100         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23101         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23102         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23103         (__gettimeofday_internal): Remove strong_alias.
23104         (__gettimeofday): Add libc_hidden_def.
23105         (gettimeofday): Add libc_hidden_weak.
23106         * sysdeps/unix/syscalls.list (gettimeofday):
23107         Remove __gettimeofday_internal alias.
23109 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23110             H.J. Lu  <hongjiu.lu@intel.com>
23112         [BZ #12495]
23113         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23114         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23115         (largebin_index_32_big): New.
23116         (largebin_index): Use it for 16-byte alignment.
23117         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23118         correction with front_misalign.
23120 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23124         Likewise.
23125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23126         Likewise.
23127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23128         Likewise.
23129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23130         Likewise.
23131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23132         Likewise.
23133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23134         Likewise.
23135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23136         Likewise.
23137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23138         Likewise.
23139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23140         Likewise.
23141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23142         Likewise.
23143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23144         Likewise.
23145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23146         Likewise.
23148         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23149         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23151 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23153         [BZ #10846]
23154         [BZ #14036]
23155         * math/libm-test.inc (exp_test): Add test from bug 14036.
23156         (pow_test): Add test from bug 10846.
23158         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23159         and other flags.
23160         (special_function): Do not include flags in test name.
23161         (parse_args): Likewise.
23162         * sysdeps/i386/fpu/libm-test-ulps: Update.
23163         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23164         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23165         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23168         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23169         exceptions.
23170         * math/libm-test.inc ("Philosophy"): Update comment about
23171         exception testing.
23172         (UNDERFLOW_EXCEPTION): New macro.
23173         (UNDERFLOW_EXCEPTION_OK): Likewise.
23174         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23175         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23176         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23177         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23178         (INVALID_EXCEPTION_OK): Update value.
23179         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23180         (OVERFLOW_EXCEPTION_OK): Likewise.
23181         (IGNORE_ZERO_INF_SIGN): Likewise.
23182         (test_exceptions): Handle underflow exceptions.
23183         (acos_test): Update for underflow exception expectations.
23184         (cexp_test): Likewise.
23185         (clog_test): Likewise.
23186         (clog10_test): Likewise.
23187         (csqrt_test): Likewise.
23188         (ctan_test): Likewise.
23189         (ctanh_test): Likewise.
23190         (exp_test): Likewise.
23191         (exp10_test): Likewise.
23192         (exp2_test): Likewise.
23193         (expm1_test): Likewise.
23194         (fma_test): Likewise.
23195         (j0_test): Likewise.
23196         (jn_test): Likewise.
23197         (nexttoward_test): Likewise.
23198         (pow_test): Likewise.
23199         (scalbn_test): Likewise.
23200         (scalbln_test): Likewise.
23201         (tan_test): Likewise.
23202         (y1_test): Likewise.
23203         * sysdeps/i386/fpu/libm-test-ulps: Update.
23204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23206 2012-05-23  David S. Miller  <davem@davemloft.net>
23208         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23209         (__libc_sigaction): Remove unused local variables.
23211 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23213         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23215 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23217         mktime: avoid signed integer overflow
23218         * time/mktime.c (__mktime_internal): Do not mishandle the case
23219         where diff == INT_MIN.
23221         mktime: simplify computation of average
23222         * time/mktime.c (ranged_convert): Use new time_t_avg function
23223         instead of rolling our own (probably-slower) code.
23225         mktime: do not assume signed right shift propagates sign bit
23226         * time/mktime.c (isdst_differ): New static function.
23227         (__mktime_internal): No need to normalize tm_isdst now.
23228         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23229         tm_isdst values.
23231         mktime: merge another wrapv change from gnulib
23232         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23233         from some compilers.
23235         mktime: remove incorrect attempt at unusual arithmetics
23236         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23237         The code didn't really work on such machines anyway.
23238         (TYPE_MINIMUM): Assume two's complement.
23239         (twos_complement_arithmetic): Verify that long_int and time_t
23240         are two's complement (or unsigned, in the latter case).
23242         mktime: check signed shifts on long_int and time_t, too
23243         * time/mktime.c (SHR): Check that shifts work as desired
23244         on the types long_int and time_t too, as SHR is used on
23245         such types.
23247         mktime: do not assume 'long' is wide enough
23248         * time/mktime.c (verify): Move decl up.
23249         (long_int): New type.
23250         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23251         to remove assumption in the code that 'long' is wide enough to
23252         store year values.  This assumption is not true on x32 and on
23253         some non-glibc platforms.
23255         mktime: merge wrapv change from gnulib
23256         * time/mktime.c (WRAPV): New macro.
23257         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23258         (guess_time_tm, __mktime_internal): Do not assume that signed
23259         integer overflow wraps around; modern compilers generate code
23260         where this assumption is no longer valid.
23262 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23264         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23265         Replace "jmp L(pseudo_end)" with "ret".
23266         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23267         Likewise.
23269 2012-05-23  Andreas Jaeger  <aj@suse.de>
23271         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23272         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23274 2012-05-23  Andreas Jaeger  <aj@suse.de>
23275             Maximilian Attems  <max@stro.at>
23277         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23278         New macros.
23280 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23282         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23283         code so that pseudo_end is just ret and the stack pointer is
23284         correct also for static library in error case.
23286 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23288         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23289         move to syscalls.list.
23290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23295         * manual/install.texi (Running make install): Do not mention Linux
23296         kernel version for which pt_chown is not needed.
23297         (Linux): Do not mention problems with nscd with 2.0 kernels.
23298         * INSTALL: Regenerated.
23300 2012-05-23  Andreas Jaeger  <aj@suse.de>
23302         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23303         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23304         macro.
23305         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23306         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23307         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23308         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23309         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23310         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23311         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23312         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23313         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23314         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23315         * sysdeps/unix/sysv/linux/bits/in.h
23316         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23318 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23320         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23321         (PREPARE_VERSION): Just use assert instead, it will be elided
23322         under [NDEBUG] anyway.
23324 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23326         * sysdeps/unix/sysv/linux/Makefile: Include
23327         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23328         (sysdep_routines): Remove sysctl.
23329         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23330         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23331         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23332         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23333         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23335 2012-05-22  Andreas Jaeger  <aj@suse.de>
23337         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23338         that pseudo_end is just ret and the stack pointer is correct also
23339         for static library in error case.
23341 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23343         [BZ #14122]
23344         * nss/nsswitch.c (defconfig_entries): New variable.
23345         (__nss_database_lookup): Don't leak defconfig entries.
23346         (nss_parse_service_list): Don't leak on error paths.
23347         (free_database_entries): New function.
23348         (free_defconfig): New function.
23349         (free_mem): Move common code to free_database_entries.
23351 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23353         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23354         Add arch_prctl.
23355         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23357         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23358         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23360         New macro.
23361         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23362         (INTERNAL_SYSCALL_TYPES): Likewise.
23363         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23364         (LOAD_REGS_TYPES_[1-6]): Likewise.
23365         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23366         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23368 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23370         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23371         copysignl for GLIBC_2_0.
23372         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23373         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23374         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23375         logbl for GLIBC_2_0.
23376         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23377         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23379 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23381         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23382         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23384         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23385         Use "neg %eax".
23387         * time/mktime.c: Update copyright years.
23389 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23391         mktime: merge comment-quoting-style change from gnulib
23392         * time/mktime.c: Quote 'like this' in comments.
23393         The GNU coding standards suggest that we no longer quote `like this',
23394         as "`" and "'" are typically rendered asymmetrically nowadays.
23395         The typical gnulib style is to quote 'like this' when quoting
23396         code, and "like this" when quoting English.
23398         * time/mktime.c (compile-command): Add "-I.".
23400         mktime: merge mktime-internal.h change from gnulib
23401         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23403         mktime: merge time_r change from gnulib
23404         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23406         mktime: merge DEBUG change from gnulib
23407         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23408         case system <time.h> has a #define.
23410         mktime: merge <sys/types.h> change from gnulib
23411         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23412         since <time.t> is now guaranteed to define time_t.
23414         mktime: merge HAVE_CONFIG_H change from gnulib
23415         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23417 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23419         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23420         Use "neg %eax".
23422         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23423         __rlim_t cast.
23424         (struct rusage): Use anonymous union to pad each field to
23425         __syscall_slong_t.
23427 2012-05-21  David S. Miller  <davem@davemloft.net>
23429         * Makefules (o-iterator): Remove .s cases.
23430         (compile-command.s): Delete.
23431         (COMPILE.s): Delete.
23432         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23434 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23436         * configure.in (libc_cv_predef_stack_protector): Only consider
23437         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23438         * configure: Regenerated.
23440 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23442         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23443         New macro.  Use R*LP on int and pointer.
23444         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23445         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23446         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23447         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23449         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23450         [__WORDSIZE_TIME64_COMPAT32] instead of
23451         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23452         (struct utmp): Likewise.
23453         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23454         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23455         Renamed to ...
23456         (__WORDSIZE_TIME64_COMPAT32): This.
23457         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23458         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23459         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23460         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23461         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23462         (__WORDSIZE_TIME64_COMPAT32): New macro.
23464 2012-05-21  Andreas Jaeger  <aj@suse.de>
23466         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23467         only if [SHARED]. Add prototype for __wcschr_ia32.
23469 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23471         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23472         of %rbp unmolested in the jmp_buf while mangling the low bits.
23473         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23474         unmolested high bits of %rbp while demangling the low bits.
23475         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23477 2012-05-21  Andreas Jaeger  <aj@suse.de>
23479         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23480         * sunrpc/svc_simple.c: Use it for registerrpc.
23481         * sunrpc/xcrypt.c: Use it for passwd2des.
23483         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23485 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23487         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23488         Don't define if [__SYSCALL_WORDSIZE != 32].
23489         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23490         New macro.
23492 2012-05-21  Bruno Haible  <bruno@clisp.org>
23493             Andreas Jaeger  <aj@suse.de>
23495         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23496         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23497         inptr and inend for must_buffer_ch.
23498         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23499         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23500         * stdio-common/Makefile (tests): Remove bug15.
23501         (bug15-ENV): Remove macro.
23502         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23503         anymore.
23505 2012-05-19  Andreas Jaeger  <aj@suse.de>
23506             Roland McGrath  <roland@hack.frob.com>
23508         * manual/contrib.texi: Completely rewritten. It contains now an
23509         alphabetical list of contributors and their contributions.
23511 2012-05-21  Richard Henderson  <rth@twiddle.net>
23513         * misc/getauxval.c (__getauxval): Use unsigned long int.
23514         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23515         (getauxval): Use unsigned long int.
23517 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23519         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23521 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23523         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23524         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23525         __alignof__ (long double).
23527 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23531 2012-05-20  Richard Henderson  <rth@twiddle.net>
23533         * misc/getauxval.c: New file.
23534         * misc/sys/auxv.h: New file.
23535         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23536         (routines): Add getauxval.
23537         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23538         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23539         * elf/dl-sysdep.c (_dl_auxv): Remove.
23540         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23541         * elf/dl-support.c (_dl_auxv): New variable.
23542         (_dl_aux_init): Initialize it.
23543         * manual/startup.texi (Auxiliary Vector): New node.
23544         * sysdeps/generic/bits/hwcap.h: New file.
23545         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23546         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23547         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23548         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23549         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23550         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23552         Update.
23553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23556         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23562 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23566 2012-05-19  David S. Miller  <davem@davemloft.net>
23568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23570 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23572         [BZ #14123]
23573         * math/s_ccosh.c: Include <float.h>
23574         (__ccosh): Avoid internal overflow calculating sinh and cosh
23575         values before multiplying by sin and cos values.
23576         * math/s_ccoshf.c: Likewise.
23577         * math/s_ccoshl.c: Likewise.
23578         * math/s_csin.c: Likewise.
23579         * math/s_csinf.c: Likewise.
23580         * math/s_csinl.c: Likewise.
23581         * math/s_csinh.c: Likewise.
23582         * math/s_csinhf.c: Likewise.
23583         * math/s_csinhl.c: Likewise.
23584         * math/libm-test.inc (ccos_test): Add more tests.
23585         (ccosh_test): Likewise.
23586         (csin_test): Likewise.
23587         (csinh_test): Likewise.
23588         * sysdeps/i386/fpu/libm-test-ulps: Update.
23589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23591 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23593         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23594         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23596         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23598 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23600         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23601         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23602         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23603         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23604         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23605         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23606         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23607         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23608         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23609         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23610         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23611         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23612         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23613         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23614         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23615         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23616         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23617         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23618         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23619         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23620         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23621         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23622         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23623         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23624         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23625         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23626         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23627         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23628         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23629         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23630         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23632 2012-05-18  Andreas Jaeger  <aj@suse.de>
23634         * csu/.gitignore: Delete.
23636 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23638         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23639         (timex): Use __syscall_slong_t.
23641 2012-05-18  Andreas Jaeger  <aj@suse.de>
23642             Carlos O'Donell  <carlos_odonell@mentor.com>
23644         * manual/install.texi (Configuring and compiling): Update
23645         description about files modified in the source directory.
23646         * INSTALL: Regenerated.
23648 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23650         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23651         value.  Use "or" to set return value to -1.
23652         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23653         negate return value.
23655 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23657         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23658         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23659         failure if the compiler has Graphite support disabled.
23660         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23661         Likewise.
23662         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23663         CFLAGS-memmove.c): Likewise.
23664         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23665         Likewise.
23667 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23669         * sysdeps/x86_64/x32/_itoa.h: New file.
23671         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23672         getdents system call only if kernel and user dirents have the
23673         same d_ino and d_off.
23675         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23676         LLONG_MAX != LONG_MAX.
23677         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23678         (_fitoa_word): Likewise.
23680         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23681         years.
23682         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23683         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23684         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23686         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23687         include <bits/wordsize.h>.  Check __x86_64__ instead of
23688         __WORDSIZE.
23689         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23690         if __x86_64__ is defined.  Use anonymous union on fpstate.
23692         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23693         anonymous union.
23695 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23697         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23698         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23699         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23700         Refer to _rtld_local_ro instead of _rtld_global_ro.
23701         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23702         Likewise.
23703         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23704         Likewise.
23705         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23706         Likewise.
23707         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23708         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23709         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23711         * sysdeps/powerpc/powerpc32/dl-machine.c
23712         (__elf_machine_runtime_setup) [PROF]: Don't reference
23713         _dl_prof_resolve.
23715 2012-05-18  Andreas Jaeger  <aj@suse.de>
23717         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23718         function only available for GCCs before 3.4 since GCC 3.4
23719         introduced a builtin.
23720         (lrint): Likewise.
23721         (llrintf): Likewise.
23722         (llrint): Likewise.
23723         (fmaxf): Likewise.
23724         (fmax): Likewise.
23725         (fminf): Likewise.
23726         (fmin): Likewise.
23727         (rint): Likewise.
23728         (rintf): Likewise.
23729         (nearbyint): Likewise.
23730         (nearbyintf): Likewise.
23731         (ceil): Likewise.
23732         (ceilf): Likewise.
23733         (floor): Likewise.
23734         (floorf): Likewise.
23736 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23738         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23739         on both fields and cast pointer to __syscall_ulong_t.
23741         * bits/types.h (__fsword_t): New type.
23742         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23743         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23744         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23745         (__FSWORD_T_TYPE): Likewise.
23746         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23747         (__FSWORD_T_TYPE): Likewise.
23748         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23749         (__FSWORD_T_TYPE): Likewise.
23750         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23751         (__FSWORD_T_TYPE): Likewise.
23752         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23753         __SWORD_TYPE with __fsword_t.
23754         (statfs64): Likewise.
23756 2012-05-17  David S. Miller  <davem@davemloft.net>
23758         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23760 2012-05-17  Andreas Jaeger  <aj@suse.de>
23762         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23763         warning.
23765 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23767         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23769 2012-05-17  Andreas Jaeger  <aj@suse.de>
23771         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23772         when it is used.
23774 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23776         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23778 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23780         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23781         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23783 2012-05-17  Andreas Jaeger  <aj@suse.de>
23784             Carlos O'Donell  <carlos_odonell@mentor.com>
23786         [BZ #14059]
23787         * sysdeps/x86_64/multiarch/init-arch.h
23788         (bit_YMM_Usable): Rename to...
23789         (bit_AVX_Usable): ... this.
23790         (bit_FMA4_Usable): New macro.
23791         (bit_XMM_state): New macro.
23792         (bit_YMM_state): New macro.
23793         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23794         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23795         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23796         (CPUID_OSXSAVE): New macro.
23797         (CPUID_AVX): New macro.
23798         (CPUID_FMA4): New macro.
23799         (index_YMM_Usable): Rename to...
23800         (index_AVX_Usable): ... this.
23801         (HAS_AVX): Use HAS_ARCH_FEATURE.
23802         (HAS_FMA4): Likewise.
23803         (HAS_YMM_USABLE): Remove.
23804         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23805         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23806         are present.
23807         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23808         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23809         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23810         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23811         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23813 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23815         * math/libm-test.c: Support platforms without multiple rounding modes.
23816         * math/bug-nextafter.c: Support platforms without FP exceptions.
23817         * math/bug-nexttoward.c: Likewise.
23818         * math/test-fenv.c: Likewise.
23819         * math/test-misc.c: Likewise.
23820         * stdlib/bug-getcontext.c: Likewise.
23822 2012-05-17  Andreas Jaeger  <aj@suse.de>
23824         * manual/examples/search.c (critter_cmp): Change signature to
23825         avoid warnings.
23826         * manual/string.texi (Collation Functions): Likewise.
23828 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23830         * bits/types.h: Fold copyright years.
23831         * bits/typesizes.h: Likewise.
23832         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23833         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23834         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23835         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23836         * time/time.h: Likewise.
23838 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23840         [BZ #208]
23841         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23842         in instead of returning them.  Return void.
23843         (__libc_mallinfo): Accumulate over all arenas.
23844         (__malloc_stats): Adjust for change in int_mallinfo interface.
23846 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23848         [BZ #10375]
23849         * configure.in (NM): Add AC_CHECK_TOOL for it.
23850         (libc_extra_cflags): New substituted variable.
23851         Check for -fstack-protector being used implicitly.
23852         * configure: Regenerated.
23853         * config.make.in (config-extra-cflags): New variable,
23854         gets @libc_extra_cflags@.
23855         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23857         [BZ #10375]
23858         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23859         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23860         * configure: Regenerated.
23861         * config.make.in (CPPUNDEFS): New substituted variable.
23862         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23863         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23864         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23866 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23868         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23869         (mq_attr): Use __syscall_slong_t.
23871 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23873         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23874         Check __x86_64__ instead of __WORDSIZE.
23875         (_STAT_VER_LINUX): Likewise.
23876         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23877         __syscall_ulong_t and __syscall_slong_t.
23878         (stat64): Likewise.
23880 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23882         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23884 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23886         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23888 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23890         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23891         __syscall_ulong_t.
23893         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23894         include <bits/wordsize.h>.  Check __x86_64__ instead of
23895         __WORDSIZE.
23896         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23897         defined.
23898         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23900         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23901         include <bits/wordsize.h>.  Check __x86_64__ instead of
23902         __WORDSIZE.
23903         (user_regs_struct): Use "__extension__ unsigned long long"
23904         instead of "unsigned long" if __x86_64__ is defined.
23905         (user): Likewise.  Pad after pointer field if __ILP32__ is
23906         defined.
23908 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23910         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23911         versions 5 to 9.
23912         * configure: Regenerated.
23913         * manual/install.texi (texinfo): Increase version requirement to
23914         4.5 or later.
23915         * INSTALL: Regenerated.
23917         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23919 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23921         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23923         * sysdeps/x86_64/x32/ffs.c: New file.
23925         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23926         __syscall_ulong_t.
23927         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23928         defined.  Use __syscall_ulong_t.
23929         (shminfo): Use __syscall_ulong_t.
23930         (shm_info): Likewise.
23932         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23933         __syscall_ulong_t.
23935         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23936         <bits/wordsize.h>.
23937         (msgqnum_t): Use __syscall_ulong_t.
23938         (msglen_t): Likewise.
23939         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23940         __syscall_ulong_t.
23942         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23943         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23945         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23947         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23948         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23950         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23951         __syscall_slong_t.
23953         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23954         include <bits/wordsize.h>.  Check __x86_64__ instead of
23955         __WORDSIZE.
23957         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23958         "unsigned long long int" if __x86_64__ is defined.
23959         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23961         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23962         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23963         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23965         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23966         <stdint.h>.
23967         (GET_PC): Cast to uintptr_t first.
23968         (GET_FRAME): Likewise.
23969         (GET_STACK): Likewise.
23971         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23972         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23973         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23974         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23975         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23976         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23977         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23978         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23979         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23980         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23981         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23982         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23983         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23984         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23985         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23986         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23987         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23988         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23989         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23990         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23991         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23992         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23993         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23994         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23995         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23996         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23997         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23998         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23999         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24001 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24003         * Makerules (+depfiles): Also collect depfiles from .oS in
24004         $(extra-objs).
24005         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24006         .oS, $(libnldbl-routines)).
24008         * Makerules (native-compile-mkdep-flags): Define.
24009         * sunrpc/Makefile (extra-objs): Add $(addprefix
24010         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24011         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24012         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24013         calling $(make-target-directory).
24015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24017         * bits/types.h (__snseconds_t): Removed.
24018         * time/time.h (struct timespec): Replace __snseconds_t with
24019         __syscall_slong_t.
24020         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24021         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24022         Likewise.
24023         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24024         (__SNSECONDS_T_TYPE): Likewise.
24025         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24026         (__SNSECONDS_T_TYPE): Likewise.
24027         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24028         (__SNSECONDS_T_TYPE): Likewise.
24030 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24032         * sysdeps/mach/hurd/bits/typesizes.h
24033         (__SYSCALL_SLONG_TYPE): New macro.
24034         (__SYSCALL_ULONG_TYPE): Likewise.
24036 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24038         * bits/types.h (__syscall_slong_t): New type.
24039         (__syscall_ulong_t): Likewise.
24041         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24042         (__SYSCALL_ULONG_TYPE): Likewise.
24043         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24044         (__SYSCALL_SLONG_TYPE): Likewise.
24045         (__SYSCALL_ULONG_TYPE): Likewise.
24046         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24047         (__SYSCALL_SLONG_TYPE): Likewise.
24048         (__SYSCALL_ULONG_TYPE): Likewise.
24049         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24050         (__SYSCALL_SLONG_TYPE): Likewise.
24051         (__SYSCALL_ULONG_TYPE): Likewise.
24053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24055         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24056         Add sigaltstack-offsets.sym.
24057         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24058         <sigaltstack-offsets.h>.
24059         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24060         longjmp_msg pointer.
24061         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24062         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24063         signal stack.
24064         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24066 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24068         * elf/stackguard-macros.h: Remove file.
24069         * sysdeps/generic/stackguard-macros.h: New file.
24070         * sysdeps/i386/stackguard-macros.h: Likewise.
24071         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24072         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24073         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24074         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24075         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24076         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24077         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24078         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24079         <elf/stackguard-macros.h>.
24081         [BZ #14109]
24082         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24083         __aligned__ in attribute.
24084         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24085         (gregset_t): Likewise.
24087 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24089         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24090         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24091         * sysdeps/x86_64/x32/Implies-after: New file.
24093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24095         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24096         and access return value for _dl_profile_fixup.  Use R10_LP to
24097         load frame size.
24099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24101         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24103 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24105         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24106         * sysdeps/x86_64/x32/sysdep.h: New file.
24108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24110         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24111         * sysdeps/x86_64/setjmp.S: Likewise.
24113 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24115         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24116         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24117         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24118         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24119         remove unused global constant.
24121 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24123         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24124         include of <not-cancel.h>.
24126 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24128         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24130 2012-05-15  Jeff Law  <law@redhat.com>
24131             Andreas Jaeger  <aj@suse.de>
24133         [BZ #13594]
24134         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24135         out from...
24136         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24137         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24138         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24139         code changing __hst_map_handle.map.
24141 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24143         * configure.in (sysnames): Look for Implies-before and Implies-after
24144         files.
24145         * configure: Regenerated.
24147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24149         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24150         8-byte data alignment with LP_SIZE alignment.
24152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24154         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24155         into R10_LP.
24157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24159         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24163         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24164         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24165         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24166         Likewise.
24167         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24171         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24172         (stackinfo_sub_sp): Likewise.
24174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24176         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24177         RAX_LP.
24179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24181         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24182         into R*_LP.
24184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24186         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24187         sizes into R*_LP.
24189 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24191         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24195         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24196         into R11_LP and load __x86_64_shared_cache_size_half into
24197         R8_LP.
24199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24201         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24202         R8_LP.
24204 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24206         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24207         logb for POWER7.
24208         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24209         logbf for POWER7.
24210         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24211         logbl for POWER7.
24212         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24213         powerpc32/power7/fpu/s_logb.c via #include.
24214         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24215         powerpc32/power7/fpu/s_logbf.c via #include.
24216         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24217         powerpc32/power7/fpu/s_logbl.c via #include.
24219 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24221         * README.libm: Remove file.
24223 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24225         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24226         count for x32.  Use R*_LP and omit operand-size suffix.
24228 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24230         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24231         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24232         * sysdeps/x86_64/x32/shlib-versions: New file.
24234 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24236         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24237         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24238         Use _dl_fatal_printf instead.
24240 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24242         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24243         set if not set by the user.  Do not allow for being unset.
24244         * sysdeps/unix/sysv/linux/configure: Regenerated.
24246 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24248         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24249         the `q' suffix from lea and replace .quad with ASM_ADDR.
24251 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24253         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24254         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24255         instead of $17.
24256         (PTR_DEMANGLE): Likewise.
24258 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24260         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24261         (LP_OP): Likewise.
24262         (ASM_ADDR): Likewise.
24263         (RAX_LP): Likewise.
24264         (RBP_LP): Likewise.
24265         (RBX_LP): Likewise.
24266         (RCX_LP): Likewise.
24267         (RDI_LP): Likewise.
24268         (RSI_LP): Likewise.
24269         (RSP_LP): Likewise.
24270         (R8_LP): Likewise.
24271         (R9_LP): Likewise.
24272         (R10_LP): Likewise.
24273         (R10_LP): Likewise.
24274         (R11_LP): Likewise.
24275         (R12_LP): Likewise.
24276         (R13_LP): Likewise.
24277         (R14_LP): Likewise.
24278         (R15_LP): Likewise.
24280 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24282         * sysdeps/x86_64/x32/dl-machine.h: New file.
24284 2012-05-14  Andreas Jaeger  <aj@suse.de>
24286         * manual/Makefile (subdir): Remove export of subdir.
24287         (all): Remove target.
24288         (.PHONY): Remove all from list.
24289         (mkinstalldirs): Remove.
24290         (.PHONY): Remove installdirs from list.
24291         ($(inst_infodir)/libc.info): Use make-target-directory.
24292         (installdirs): Remove.
24293         (subdir_%): Remove.
24294         (glibc-targets): Remove.
24295         (lib): Remove.
24296         (stubs): Remove.
24297         ($(objpfx)stubs ../po/manual.pot): Remove.
24298         ($(objpfx)stamp%): Remove.
24299         (make-target-directory): Remove.
24300         (subdir_install): Remove.
24301         (routines): Remove.
24302         (aux): Remove.
24303         (sources): Remove.
24304         (objects): Remove.
24305         (headers): Remove.
24307         [BZ #13750]
24308         * manual/.gitignore: Remove, it's not needed anymore.
24309         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24310         all files in it.
24311         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24312         directory.
24313         (texis): Renamed to $(objpfx)texis.
24314         (texis-path): New, contains path to generated files.
24315         (chapters.%): Use texis-path for complete path, add extra argument
24316         libc-texinfo.sh.
24317         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24318         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24319         (summary,texi, stamp-summary): Use complete path of
24320         files. Generate files in build dir.
24321         (dir-add.texi): Build in build dir.
24322         (libm-err.texi,stamp-libm-err): Likewise.
24323         (version.texi, stamp-version): Likewise.
24324         (.%c.texi): Likewise.
24325         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24326         (mostlyclean): Remove target.
24327         (realclean): Remove target.
24328         (generated): Add new variable with contents from mostlyclean and
24329         realclean, remove entries duplicated in common-mostlyclean, add
24330         stamp-libm-err and stamp-version.
24331         (generated-dirs): Add libc directory.
24332         ($(inst_infodir)/libc.info): Install files from build dir.
24334         * manual/install.texi (Configuring and compiling): Adjust since
24335         the info files are not part of the tar ball anymore.
24337 2012-05-14  Andreas Jaeger  <aj@suse.de>
24339         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24340         variable.
24342 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24344         [BZ #13717]
24345         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24346         to 2.2.0 where earlier.
24347         * sysdeps/unix/sysv/linux/configure: Regenerated.
24348         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24349         Remove conditional code.
24350         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24351         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24352         Remove conditional code.
24353         [!__NR_lchown]: Likewise.
24354         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24355         [__NR_lchown]: Likewise.
24356         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24357         comment referencing __ASSUME_LCHOWN_SYSCALL.
24358         * sysdeps/unix/sysv/linux/i386/sigaction.c
24359         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24360         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24361         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24362         Remove conditional code.
24363         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24364         (__protocol_available): Remove #if 0 code.
24365         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24366         conditional code.
24367         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24368         * sysdeps/unix/sysv/linux/kernel-features.h
24369         (__ASSUME_GETCWD_SYSCALL): Don't define.
24370         (__ASSUME_REALTIME_SIGNALS): Likewise.
24371         (__ASSUME_PREAD_SYSCALL): Likewise.
24372         (__ASSUME_PWRITE_SYSCALL): Likewise.
24373         (__ASSUME_POLL_SYSCALL): Likewise.
24374         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24375         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24376         non-SPARC.
24377         (__ASSUME_SIOCGIFNAME): Don't define.
24378         (__ASSUME_MSG_NOSIGNAL): Likewise.
24379         (__ASSUME_SENDFILE): Define unconditionally.
24380         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24381         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24382         conditional code.
24383         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24384         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24385         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24386         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24387         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24388         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24389         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24391         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24392         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24394         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24395         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24397         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24398         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24400         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24401         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24403         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24404         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24406         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24407         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24409         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24410         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24412         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24413         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24414         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24415         Remove conditional code.
24416         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24417         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24418         Remove conditional code.
24419         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24420         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24421         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24422         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24423         Remove conditional code.
24424         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24425         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24426         Remove conditional code.
24427         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24428         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24429         Remove conditional code.
24430         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24431         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24432         Remove conditional code.
24433         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24434         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24435         Remove conditional code.
24436         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24437         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24438         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24439         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24440         * sysdeps/unix/sysv/linux/sigaction.c
24441         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24442         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24443         * sysdeps/unix/sysv/linux/sigpending.c
24444         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24445         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24446         * sysdeps/unix/sysv/linux/sigprocmask.c
24447         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24448         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24449         * sysdeps/unix/sysv/linux/sigsuspend.c
24450         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24451         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24452         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24453         (__libc_missing_rt_sigs): Remove.
24454         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24455         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24456         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24457         Remove conditional code.
24458         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24459         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24460         return 1.
24461         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24462         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24463         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24464         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24466 2012-05-14  Andreas Jaeger  <aj@suse.de>
24468         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24469         it's not used in glibc.
24470         (__coshm1): Likewise.
24471         (__acosh1p): Likewise.
24472         (__sgn): Likewise.
24474         * manual/string.texi (Copying and Concatenation): Add missing
24475         variable in concat example.
24476         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24478 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24480         [BZ #14103]
24481         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24482         __builtin_clzl with __builtin_clzll.
24484 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24486         [BZ #14104]
24487         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24488         libc_freeres_ptr.
24490 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24492         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24493         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24494         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24495         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24497 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24499         * NEWS: Update ia64 info.
24501 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24503         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24504         used as bcopy.
24506 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24508         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24509         * sysdeps/unix/syscalls.list (dup3): Likewise.
24510         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24511         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24513 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24515         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24516         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24518 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24520         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24521         thread pointer.
24522         (TLS_IE): Use mov/add instead of movq/addq to load thread
24523         pointer.
24524         (TLS_GD_PREFIX): New.
24525         (TLS_GD): Use it.
24527 2012-05-11  David S. Miller  <davem@davemloft.net>
24529         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24530         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24531         (_FPU_SETCW): Likewise.
24533 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24535         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24536         is 32-byte aligned.
24538 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24540         [BZ #11837]
24541         * iconvdata/gb18030.c: Update tables.
24542         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24543         characters specially.
24544         (BODY for TO_LOOP): Add encoding of missing ranges.
24546 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24548         [BZ #13673]
24549         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24550         * sysdeps/mach/hurd/dup3.c: Likewise.
24551         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24552         * sysdeps/powerpc/memmove.c:: Likewise.
24554 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24556         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24557         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24559 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24561         * elf/elf.h (R_X86_64_RELATIVE64): New.
24562         (R_X86_64_NUM): Updated.
24563         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24564         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24565         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24566         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24567         tst-quad1pie tst-quad2pie
24568         (modules-names): Add tst-quadmod1 tst-quadmod2.
24569         ($(objpfx)tst-quad1): New dependency.
24570         ($(objpfx)tst-quad2): Likewise.
24571         ($(objpfx)tst-quad1pie): Likewise.
24572         ($(objpfx)tst-quad2pie): Likewise.
24573         * sysdeps/x86_64/tst-quad1.c: New file.
24574         * sysdeps/x86_64/tst-quad1pie.c: New file.
24575         * sysdeps/x86_64/tst-quad2.c: Likewise.
24576         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24577         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24578         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24579         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24580         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24582 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24584         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24585         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24586         * streams/stropts.h (t_scalar_t): Define type.
24588         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24589         (_PATH_PRESERVE): Set to "/var/lib".
24590         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24592         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24593         instead of int.
24595         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24596         if __dir_mkfile succeeded.
24598         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24599         checking for _hurd_dtablesize.  Unlock it right after having
24600         finished _hurd_dtable allocation.
24602 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24604         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24605         * sysdeps/mach/hurd/configure: Regenerated.
24606         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24607         special-casing to...
24608         * sysdeps/gnu/configure.in: ... this new file.
24609         * sysdeps/unix/sysv/linux/configure: Regenerated.
24610         * sysdeps/gnu/configure: New generated file.
24612         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24613         for Linux: use nsec instead of usec, as well as:
24614         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24615         members of type struct timespec.
24616         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24617         New macros.
24618         (struct stat64): Likewise.
24619         (_STATBUF_ST_NSEC): New macro.
24620         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24622         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24623         __strtoul_internal rather than strtoul.
24625 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24627         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24628         and reject them.
24630 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24632         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24633         which preserves existing values.
24634         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24636 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24638         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24639         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24640         greater than FD_SETSIZE.
24642 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24644         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24645         allocated, call __vm_protect to finish enabling the existing space, and
24646         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24647         allocate the remainder.
24649 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24651         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24652         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24654 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24656         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24657         sysdeps/mach/hurd/readlink.c.
24659         * posix/tst-sysconf.c (posix_options): Only use
24660         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24661         _POSIX_SYNCHRONIZED_IO when they are defined
24662         * sysdeps/mach/hurd/bits/posix_opt.h:
24663         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24664         (_XOPEN_REALTIME): Undefine macro.
24665         (_XOPEN_REALTIME_THREADS): Undefine macro.
24666         (_XOPEN_SHM): Undefine macro.
24667         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24668         macro to -1.
24669         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24670         macro to -1.
24671         (_POSIX_ASYNC_IO): Undefine macro.
24672         (_POSIX_PRIORITIZED_IO): Undefine macro.
24673         (_POSIX_SPIN_LOCKS): Define macro to -1.
24675         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24676         SA_NODEFER, SA_RESETHAND.
24677         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24678         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24679         F_DUPFD_CLOEXEC.
24681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24683         * elf/Makefile (pldd-modules): Define unconditionally.
24685 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24687         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24689 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24691         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24692         Return ENOENT when name is empty.
24693         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24695 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24697         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24699         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24701 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24703         Fix mlock in all cases except non-readable pages.
24704         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24705         instead of VM_PROT_ALL as parameter to __vm_wire function.
24707         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24708         (__mkdir): When path is `/', just fail with EEXIST.
24709         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24711 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24713         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24714         <sys/uio.h> (for writev).
24715         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24716         and <sys/param.h> (for MIN).
24718 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24720         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24721         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24722         if interrupted.
24724 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24726         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24727         Depend on against $(link-rpcuserlibs).
24729 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24731         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24732         (__libc_stack_end): Do not use attribute_relro.
24733         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24734         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24735         to libthread-provided value.
24736         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24737         attribute_relro.
24739 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24741         [BZ #3748]
24742         * bits/libc-lock.h (__libc_once_get): New macro.
24743         * sysdeps/mach/bits/libc-lock.h: Likewise.
24744         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24745         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24746         instead of using implementation details.
24748         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24749         * libio/freopen.c: Likewise.
24750         * libio/freopen64.c: Likewise.
24751         * misc/syslog.c: Likewise.
24752         * nscd/connections.c: Likewise.
24753         * nscd/netgroupcache.c: Likewise.
24754         * sysdeps/posix/getcwd.c: Likewise.
24756 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24758         * math/w_ilogbf.c: Add #include <limits.h>.
24760 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24762         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24763         path instead of returning without unlocking.
24765         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24766         immediate-write ioctls.
24767         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24769 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24771         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24772         __builtin_frame_address instead of making assumptions about the
24773         location of the return address relative to DATA.  Force early load of
24774         the return address.
24775         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24776         __builtin_frame_address.
24778         dup3 for GNU Hurd.
24779         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24780         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24781         implement dup3 and do some further code clean-ups.
24782         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24783         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24785 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24787         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24789         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24790         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24791         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24792         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24793         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24794         d->port.lock.
24796         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24797         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24798         when handler == SIG_ERR, not when handler != SIG_ERR.
24800 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24802         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24803         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24804         definitions.
24806         accept4 for GNU Hurd.
24807         * include/sys/socket.h (__libc_accept4): New prototype.
24808         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24809         to implement __libc_accept4.
24810         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24811         __libc_accept4.
24812         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24814         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24815         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24816         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24817         signal-defines.sym.
24819 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24821         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24823 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24825         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24826         assertion on O_CLOEXEC flag.
24827         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24828         * hurd/intern-fd.c: Likewise.
24829         * hurd/port2fd.c: Likewise.
24831 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24833         [BZ #3906]
24834         * bits/in.h (IPV6_PKTINFO): Define new macro.
24835         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24837 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24839         [BZ #13954]
24840         [BZ #13955]
24841         [BZ #13956]
24842         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24843         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24844         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24845         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24846         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24847         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24848         * math/libm-test.inc (logb_test) : Additional logb tests.
24850 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24851             Andreas Jaeger  <aj@suse.de>
24853         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24854         * configure: Regenerated.
24855         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24856         * config.make.in (link-obsolete-rpc): New substituted variable.
24857         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24858         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24859         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24860         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24861         so that libc.a contains the symbols.
24862         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24863         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24864         * sunrpc/auth_none.c: Likewise.
24865         * sunrpc/auth_unix.c: Likewise.
24866         * sunrpc/authdes_prot.c: Likewise.
24867         * sunrpc/authuxprot.c: Likewise.
24868         * sunrpc/clnt_gen.c: Likewise.
24869         * sunrpc/clnt_perr.c: Likewise.
24870         * sunrpc/clnt_raw.c: Likewise.
24871         * sunrpc/clnt_simp.c: Likewise.
24872         * sunrpc/clnt_tcp.c: Likewise.
24873         * sunrpc/clnt_udp.c: Likewise.
24874         * sunrpc/clnt_unix.c: Likewise.
24875         * sunrpc/des_crypt.c: Likewise.
24876         * sunrpc/des_soft.c: Likewise.
24877         * sunrpc/get_myaddr.c: Likewise.
24878         * sunrpc/key_call.c: Likewise.
24879         * sunrpc/key_prot.c: Likewise.
24880         * sunrpc/netname.c: Likewise.
24881         * sunrpc/pm_getmaps.c: Likewise.
24882         * sunrpc/pm_getport.c: Likewise.
24883         * sunrpc/pmap_clnt.c: Likewise.
24884         * sunrpc/pmap_prot.c: Likewise.
24885         * sunrpc/pmap_prot2.c: Likewise.
24886         * sunrpc/pmap_rmt.c: Likewise.
24887         * sunrpc/publickey.c: Likewise.
24888         * sunrpc/rpc_cmsg.c: Likewise.
24889         * sunrpc/rpc_common.c: Likewise.
24890         * sunrpc/rpc_dtable.c: Likewise.
24891         * sunrpc/rpc_prot.c: Likewise.
24892         * sunrpc/rpc_thread.c: Likewise.
24893         * sunrpc/rtime.c: Likewise.
24894         * sunrpc/svc.c: Likewise.
24895         * sunrpc/svc_auth.c: Likewise.
24896         * sunrpc/svc_raw.c: Likewise.
24897         * sunrpc/svc_run.c: Likewise.
24898         * sunrpc/svc_tcp.c: Likewise.
24899         * sunrpc/svc_udp.c: Likewise.
24900         * sunrpc/svc_unix.c: Likewise.
24901         * sunrpc/svcauth_des.c: Likewise.
24902         * sunrpc/xcrypt.c: Likewise.
24903         * sunrpc/xdr.c: Likewise.
24904         * sunrpc/xdr_array.c: Likewise.
24905         * sunrpc/xdr_float.c: Likewise.
24906         * sunrpc/xdr_intXX_t.c: Likewise.
24907         * sunrpc/xdr_mem.c: Likewise.
24908         * sunrpc/xdr_rec.c: Likewise.
24909         * sunrpc/xdr_ref.c: Likewise.
24910         * sunrpc/xdr_sizeof.c: Likewise.
24911         * sunrpc/xdr_stdio.c: Likewise.
24913 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24915         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24916         change.  Update copyright years.
24918 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24920         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24922 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24923             Joseph Myers  <joseph@codesourcery.com>
24924             Paul Pluzhnikov  <ppluzhnikov@google.com>
24926         [BZ #14012]
24927         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24928         requiring rpcgen.
24929         [cross-compiling] (extra-libs): Likewise.
24930         [cross-compiling] (extra-libs-others): Likewise.
24931         [cross-compiling] (librpcsvc-routines): Likewise.
24932         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24933         [cross-compiling] (omit-deps): Likewise.
24934         (sunrpc-CPPFLAGS): New variable.
24935         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24936         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24937         (cross-rpcgen-objs): New variable.
24938         (extra-objs): Append $(cross-rpcgen-objs).
24939         ($(cross-rpcgen-objs)): New rule.
24940         ($(objpfx)cross-rpcgen): Likewise.
24941         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24942         comment.
24943         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24944         ($(objpfx)x%.stmp): Likewise.
24945         * sunrpc/proto.h [IS_IN_build] (_): Define.
24946         [IS_IN_build] (_libc_intl_domainname): Likewise.
24948 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24950         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24951         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24952         and R_X86_64_TPOFF64.
24954 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24956         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24957         sysdeps/unix/sysv/syscalls.list.
24958         (stime): Likewise.
24959         (utime): Likewise.
24960         * sysdeps/unix/sysv/syscalls.list: Remove file.
24962 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24964         [BZ #3440]
24965         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24966         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24967         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24968         (__LC_IDENTIFICATION): Make these macros useful in #if
24969         expressions, as required by C99.
24971 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24973         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24974         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24975         after this.
24977 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24979         * stdlib/longlong.h: Updated from GCC.
24981 2012-05-09  Andreas Jaeger  <aj@suse.de>
24983         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24984         default is first entry.
24985         (run_mode): Set type.
24986         (main): Remove informal message about syslog.
24987         (options): Fix typo.
24989         [BZ #14053]
24990         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24991         to asm.
24992         (lrint): Likewise.
24993         (llrintf): Likewise.
24994         (llrint): Likewise.
24995         (rint): Likewise.
24996         (rintf): Likewise.
24997         (nearbyint): Likewise.
24998         (nearbyintf): Likewise.
25000 2012-05-09  Andreas Jaeger  <aj@suse.de>
25001             Pedro Alves  <palves@redhat.com>
25003         * nscd/nscd.c (run_mode): Use enum.
25004         (main): Cleanup coding style issue.
25006 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25007             Andreas Jaeger  <aj@suse.de>
25009         * nscd/nscd.c (go_background): Replaced with...
25010         (run_mode): ... this.
25011         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25012         (options): Add -F --foreground.
25013         (main): Implement it.
25014         (parse_opt): Parse it.
25016 2012-05-09  Andreas Jaeger  <aj@suse.de>
25018         [BZ #14083]
25019         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25020         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25021         -Wconversion warning.
25022         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25023         Likewise.
25025 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25027         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25028         == 0.
25029         (LC_ALL): Use macro-int-constant.
25030         (LC_COLLATE): Likewise.
25031         (LC_CTYPE): Likewise.
25032         (LC_MESSAGES): Likewise.
25033         (LC_MONETARY): Likewise.
25034         (LC_NUMERIC): Likewise.
25035         (LC_TIME): Likewise.
25036         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25037         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25038         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25039         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25040         Specify type.
25041         [C99-based standards] (float_t): Expect type.
25042         [C99-based standards] (double_t): Expect type.
25043         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25044         type.
25045         [C99-based standards] (HUGE_VALL): Likewise.
25046         [C99-based standards] (INFINITY): Likewise.
25047         [C99-based standards] (NAN): Likewise.
25048         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25049         [C99-based standards] (FP_NAN): Likewise.
25050         [C99-based standards] (FP_NORMAL): Likewise.
25051         [C99-based standards] (FP_SUBNORMAL): Likewise.
25052         [C99-based standards] (FP_ZERO): Likewise.
25053         [C99-based standards] (FP_FAST_FMA): Use
25054         optional-macro-int-constant.  Specify type.  Require == 1.
25055         [C99-based standards] (FP_FAST_FMAF): Likewise.
25056         [C99-based standards] (FP_FAST_FMAL): Likewise.
25057         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25058         [C99-based standards] (FP_ILOGBNAN): Likewise.
25059         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25060         Specify type.
25061         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25062         [C99-based standards] (math_errhandling): Specify type.
25063         [ISO99 || ISO11] (signgam): Do not allow.
25064         [non-C99-based standards] (copysignf): Do not allow.
25065         [non-C99-based standards] (exp2f): Likewise.
25066         [non-C99-based standards] (log2f): Likewise.
25067         [non-C99-based standards] (modff): Allow.
25068         [non-C99-based standards] (erff): Do not allow.
25069         [non-C99-based standards] (erfcf): Likewise.
25070         [non-C99-based standards] (gammaf): Likewise.
25071         [non-C99-based standards] (hypotf): Likewise.
25072         [non-C99-based standards] (j0f): Likewise.
25073         [non-C99-based standards] (j1f): Likewise.
25074         [non-C99-based standards] (jnf): Likewise.
25075         [non-C99-based standards] (lgammaf): Likewise.
25076         [non-C99-based standards] (tgammaf): Likewise.
25077         [non-C99-based standards] (y0f): Likewise.
25078         [non-C99-based standards] (y1f): Likewise.
25079         [non-C99-based standards] (ynf): Likewise.
25080         [non-C99-based standards] (isnanf): Likewise.
25081         [non-C99-based standards] (acoshf): Likewise.
25082         [non-C99-based standards] (asinhf): Likewise.
25083         [non-C99-based standards] (atanhf): Likewise.
25084         [non-C99-based standards] (cbrtf): Likewise.
25085         [non-C99-based standards] (expm1f): Likewise.
25086         [non-C99-based standards] (ilogbf): Likewise.
25087         [non-C99-based standards] (log1pf): Likewise.
25088         [non-C99-based standards] (logbf): Likewise.
25089         [non-C99-based standards] (nextafterf): Likewise.
25090         [non-C99-based standards] (remainderf): Likewise.
25091         [non-C99-based standards] (rintf): Likewise.
25092         [non-C99-based standards] (scalbf): Likewise.
25093         [non-C99-based standards] (copysignl): Likewise.
25094         [non-C99-based standards] (exp2l): Likewise.
25095         [non-C99-based standards] (log2l): Likewise.
25096         [non-C99-based standards] (modfl): Allow.
25097         [non-C99-based standards] (erfl): Do not allow.
25098         [non-C99-based standards] (erfcl): Likewise.
25099         [non-C99-based standards] (gammal): Likewise.
25100         [non-C99-based standards] (hypotl): Likewise.
25101         [non-C99-based standards] (j0l): Likewise.
25102         [non-C99-based standards] (j1l): Likewise.
25103         [non-C99-based standards] (jnl): Likewise.
25104         [non-C99-based standards] (lgammal): Likewise.
25105         [non-C99-based standards] (tgammal): Likewise.
25106         [non-C99-based standards] (y0l): Likewise.
25107         [non-C99-based standards] (y1l): Likewise.
25108         [non-C99-based standards] (ynl): Likewise.
25109         [non-C99-based standards] (isnanl): Likewise.
25110         [non-C99-based standards] (acoshl): Likewise.
25111         [non-C99-based standards] (asinhl): Likewise.
25112         [non-C99-based standards] (atanhl): Likewise.
25113         [non-C99-based standards] (cbrtl): Likewise.
25114         [non-C99-based standards] (expm1l): Likewise.
25115         [non-C99-based standards] (ilogbl): Likewise.
25116         [non-C99-based standards] (log1pl): Likewise.
25117         [non-C99-based standards] (logbl): Likewise.
25118         [non-C99-based standards] (nextafterl): Likewise.
25119         [non-C99-based standards] (remainderl): Likewise.
25120         [non-C99-based standards] (rintl): Likewise.
25121         [non-C99-based standards] (scalbl): Likewise.
25122         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25123         [non-C99-based standards] (FP_*): Do not allow.
25124         [C99-based standards] (FP_*): Change to
25125         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25126         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25127         allow.
25128         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25129         (SIG_ERR): Likewise.
25130         [X/Open-based standards] (SIG_HOLD): Likewise.
25131         (SIG_IGN): Likewise.
25132         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25133         positive value.
25134         (SIGFPE): Likewise.
25135         (SIGILL): Likewise.
25136         (SIGINT): Likewise.
25137         (SIGSEGV): Likewise.
25138         (SIGTER): Likewise.
25139         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25140         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25141         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25142         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25143         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25144         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25145         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25146         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25147         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25148         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25149         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25150         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25151         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25152         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25153         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25154         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25155         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25156         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25157         [X/Open-based standards] (SIGTRAP): Likewise.
25158         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25159         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25160         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25161         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25162         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25163         allow.
25165 2012-05-08  Ian Wienand  <ianw@vmware.com>
25167         [BZ #14080]
25168         * time/tzset.c (__tzset_parse_tz): Update default rules for
25169         daylight time changes in the Energy Policy Act of 2005.
25171 2012-05-09  Andreas Jaeger  <aj@suse.de>
25173         [BZ #13983]
25174         * elf/ldconfig.c (parse_conf): Change string to make clear that
25175         ldconfig only issued a warning if ld.so.conf does not exist.
25177 2012-05-08  David S. Miller  <davem@davemloft.net>
25179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25180         movxtod instead of popping the value on the stack.
25182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25184 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25186         * config.h.in: Add HAVE_ARM_PCS_VFP.
25188 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25190         [BZ #13979]
25191         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25192         checking but the checks are disabled for any reason.
25194 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25196         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25197         and ELF64_R_TYPE with ELFW(R_TYPE).
25199 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25201         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25202         (ulimit): Likewise.
25204         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25205         (settimeofday): Likewise.
25207 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25209         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25210         a struct th_u2 inside the union, and move tu_block/tu_code into
25211         a new th_u3 union of tu_block/tu_code inside of that.  Move
25212         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25213         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25214         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25215         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25216         (th_stuff): Change to th_u1.tu_stuff.
25217         (th_data): Define.
25218         (th_msg): Change to th_u1.th_u2.tu_data.
25220 2012-05-07  David S. Miller  <davem@davemloft.net>
25222         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25224         [BZ #14074]
25225         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25226         (SETUP_PIC_REG): Use it.
25227         (SETUP_PIC_REG_LEAF): Use it.
25229 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25231         [BZ #13885]
25232         [BZ #13923]
25233         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25234         USE_AS_EXPM1L.
25235         (EXPL_FINITE): Likewise.
25236         (FLDLOG): Likewise.
25237         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25238         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25239         e_expl.S.
25240         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25241         USE_AS_EXPM1L.
25242         (EXPL_FINITE): Likewise.
25243         (FLDLOG): Likewise.
25244         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25245         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25246         e_expl.S.
25247         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25248         test of -max_value argument for long double.
25249         * sysdeps/i386/fpu/libm-test-ulps: Update.
25250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25252 2012-05-06  David S. Miller  <davem@davemloft.net>
25254         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25255         quad soft-float symbols whose references which are compiler
25256         generated.
25257         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25259 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25261         [BZ #13884]
25262         [BZ #13914]
25263         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25264         USE_AS_EXP10L.
25265         (EXPL_FINITE): Likewise.
25266         (FLDLOG): Likewise.
25267         (c0): Likewise.
25268         (c1): Likewise.
25269         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25270         Adjust comments for base varying.
25271         (__expl_finite): Change alias to EXPL_FINITE.
25272         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25273         e_expl.S.
25274         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25275         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25276         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25277         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25278         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25279         USE_AS_EXP10L.
25280         (EXPL_FINITE): Likewise.
25281         (FLDLOG): Likewise.
25282         (c0): Likewise.
25283         (c1): Likewise.
25284         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25285         Adjust comments for base varying.
25286         (__expl_finite): Change alias to EXPL_FINITE.
25287         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25288         tests for bugs.
25289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25291         [BZ #14064]
25292         * math/libm-test.inc (check_float_internal): Correct ulp
25293         calculation for subnormal expected results.
25295 2012-05-06  Andreas Jaeger  <aj@suse.de>
25297         * Makeconfig (+math-flags): New, set to -frounding-math.
25298         (+cflags): Add +math-flags so that all of glibc gets compiled with
25299         it.
25301         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25303 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25305         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25306         Disable one test.
25308         [BZ #13787]
25309         [BZ #13922]
25310         [BZ #14036]
25311         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25312         (__ieee754_expl): Allow for and saturate large arguments.
25313         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25314         (u_threshold): Likewise.
25315         (__exp): Call __ieee754_exp before checking for overflow and
25316         underflow.
25317         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25318         (u_threshold): Likewise.
25319         (__expf): Call __ieee754_expf before checking for overflow and
25320         underflow.
25321         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25322         (u_threshold): Likewise.
25323         (__expl): Call __ieee754_expl before checking for overflow and
25324         underflow.
25325         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25326         (__ieee754_expl): Allow for and saturate large arguments.
25327         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25328         missing overflow exception on overflow.
25329         (expm1_test): Do not allow missing overflow exception on overflow.
25331         * sysdeps/i386/fpu/e_expl.c: Move to ...
25332         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25333         rather than using inline asm.
25334         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25335         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25336         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25338         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25339         (nice): Likewise.
25340         (poll): Likewise.
25341         (signal): Likewise.
25342         (time): Likewise.
25343         (times): Likewise.
25345 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25347         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25348         sysdeps/unix/common/syscalls.list.
25349         (fchmod): Likewise.
25350         (fchown): Likewise.
25351         (ftruncate): Likewise.
25352         (getrusage): Likewise.
25353         (gettimeofday): Likewise.
25354         (setpgid): Likewise.
25355         (setregid): Likewise.
25356         (setreuid): Likewise.
25357         (sigaction): Likewise.
25358         (truncate): Likewise.
25359         (vhangup): Likewise.
25360         * sysdeps/unix/common/syscalls.list: Remove file.
25361         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25362         * sysdeps/unix/sysv/linux/Implies: Likewise.
25364 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25366         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25368         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25369         Moved to ...
25370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25371         Here.
25372         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25373         to ...
25374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25375         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25376         to ...
25377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25378         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25379         to ...
25380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25381         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25382         to ...
25383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25384         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25385         to ...
25386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25387         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25388         to ...
25389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25390         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25391         to ...
25392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25393         Here.
25394         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25395         to ...
25396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25397         Here.
25398         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25399         to ...
25400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25401         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25402         Moved to ...
25403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25404         Here.
25405         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25406         to ...
25407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25409 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25411         * sysdeps/unix/common/bits/dirent.h: Remove file.
25412         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25414         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25415         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25416         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25417         * sysdeps/unix/bsd/isatty.c: Likewise.
25418         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25419         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25420         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25422 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25424         [BZ #13563]
25425         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25426         long double comparison inaccuracies.
25427         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25430 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25432         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25433         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25435 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25437         [BZ #14049]
25438         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25439         nonzero digits before rounding a hex value.
25440         * stdlib/tst-strtod.c (tests): Add another test.
25442 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25444         * sysdeps/s390/fpu/libm-test-ulps: Update.
25446 2012-05-03  Andreas Jaeger  <aj@suse.de>
25448         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25449         does not get optimized out.
25450         (malloc_opt_barrier): New.
25452 2012-05-03  Andreas Jaeger  <aj@suse.de>
25453             Roland McGrath  <roland@hack.frob.com>
25455         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25456         intermediate file deletion.
25457         (generated): Add .symlist files.
25459 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25461         [BZ #13775]
25462         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25463         Redirect under this condition.
25464         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25465         [__USE_GNU] (__dprintf_chk): Not under this condition.
25466         [__USE_GNU] (__vdprintf_chk): Likewise.
25467         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25468         under this condition.
25469         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25470         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25471         [__USE_XOPEN2K8] (vdprintf): Likewise.
25472         [__USE_GNU] (__dprintf_chk): Not under this condition.
25473         [__USE_GNU] (__vdprintf_chk): Likewise.
25474         [__USE_GNU] (dprintf): Likewise.
25475         [__USE_GNU] (vdprintf): Likewise.
25477 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25479         * elf/Makefile (common-generated): Set this instead of generated for
25480         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25481         $(all-built-dso)-derived lists.
25483 2012-05-03  Andreas Jaeger  <aj@suse.de>
25485         * sysdeps/i386/fpu/libm-test-ulps: Update.
25487         * FAQ: Removed.
25488         * FAQ.in: Likewise.
25489         * scripts/gen-FAQ.pl: Likewise.
25490         * manual/install.texi (Installation): Point to online location of
25491         FAQ.
25492         * Makefile (files-for-dist): Remove FAQ.
25493         (FAQ): Remove.
25495 2012-05-02  Allan McRae  <allan@archlinux.org>
25497         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25498         (LDFLAGS-reldepmod5.so): Likewise.
25499         (LDFLAGS-reldep6mod1.so): Likewise.
25500         (LDFLAGS-reldep6mod4.so): Likewise.
25501         (LDFLAGS-reldep8mod3.so): Likewise.
25502         (LDFLAGS-unload4mod1.so): Likewise.
25503         (LDFLAGS-unload4mod2.so): Likewise.
25504         (LDFLAGS-tst-initorder): Likewise.
25505         (LDFLAGS-tst-initordera2.so): Likewise.
25506         (LDFLAGS-tst-initordera3.so): Likewise.
25507         (LDFLAGS-tst-initordera4.so): Likewise.
25508         (LDFLAGS-tst-initorderb2.so): Likewise.
25509         (LDFLAGS-noload): Likewise.
25510         (LDFLAGS-next): Likewise.
25511         (LDFLAGS-order2mod1.so): Likewise.
25512         (LDFLAGS-order2mod2.so): Likewise.
25513         (LDFLAGS-tst-initorder2): Likewise.
25514         (LDFLAGS-tst-initorder2a.so): Likewise.
25515         (LDFLAGS-tst-initorder2b.so): Likewise.
25516         (LDFLAGS-tst-initorder2c.so): Likewise.
25517         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25519 2012-05-02  David S. Miller  <davem@davemloft.net>
25521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25523 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25525         [BZ #14055]
25526         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25528 2012-05-02  Andreas Jaeger  <aj@suse.de>
25530         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25531         since we manipulate rounding mode.
25532         (CPPFLAGS-test-idouble.c): Likewise.
25533         (CPPFLAGS-test-ifloat.c): Likewise.
25534         (CFLAGS-test-ldouble.c): Likewise.
25535         (CFLAGS-test-double.c): Likewise.
25536         (CFLAGS-test-float.c): Likewise.
25537         (CFLAGS-test-misc.c): Likewise.
25538         (CFLAGS-test-test-fenv.c): Likewise.
25540 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25542         [BZ #2550]
25543         [BZ #2570]
25544         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25545         comparisons to determine direction to adjust input.
25547 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25549         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25550         output to the target.
25552         * scripts/localplt.awk: New file.
25553         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25554         (check-localplt-CFLAGS): Variable removed.
25555         ($(all-built-dso:=.jmprel)): New static pattern rule.
25556         (generated): Add those targets.
25557         (localplt-built-dso): New variable.
25558         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25560         * elf/check-localplt.c: File removed.
25562         * scripts/check-execstack.awk: New file.
25563         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25564         (check-execstack-CFLAGS): Variable removed.
25565         ($(objpfx)check-execstack.h): Target removed.
25566         ($(objpfx)execstack-default): New target.
25567         (generated): Add that instead of check-execstack.h.
25568         ($(all-built-dso:=.phdr)): New static pattern rule.
25569         (generated): Add those targets.
25570         * elf/check-execstack.c: File removed.
25572         * scripts/check-textrel.awk: New file.
25573         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25574         (check-textrel-CFLAGS): Variable removed.
25575         (all-built-dso): Use := to define.o
25576         ($(all-built-dso:=.dyn)): New static pattern rule.
25577         (generated): Add those targets.
25578         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25579         * config.make.in (READELF): New substituted variable.
25580         * elf/check-textrel.c: File removed.
25582 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25584         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25585         allow.
25586         * conform/data/ctype.h-data [C99-based standards] (isblank):
25587         Expect function.
25588         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25589         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25590         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25591         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25592         Specify type.  Require positive value.
25593         (EILSEQ): Likewise.
25594         (ERANGE): Likewise.
25595         [ISO || POSIX] (EILSEQ): Do not expect.
25596         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25597         Specify type.  Require positive value.
25598         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25599         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25600         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25601         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25602         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25603         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25604         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25605         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25606         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25607         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25608         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25609         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25610         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25611         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25612         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25613         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25614         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25615         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25616         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25617         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25618         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25619         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25620         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25621         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25622         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25623         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25624         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25625         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25626         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25627         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25628         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25629         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25630         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25631         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25632         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25633         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25634         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25635         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25636         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25637         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25638         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25639         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25640         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25641         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25642         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25643         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25644         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25645         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25646         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25647         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25648         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25649         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25650         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25651         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25652         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25653         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25654         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25655         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25656         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25657         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25658         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25659         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25660         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25661         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25662         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25663         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25664         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25665         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25666         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25667         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25668         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25669         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25670         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25671         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25672         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25673         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25674         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25675         Require >= 2.
25676         (FLT_ROUNDS): Expect as macro, not constant.
25677         (FLT_MANT_DIG): Use macro-int-constant.
25678         (DBL_MANT_DIG): Likewise.
25679         (LDBL_MANT_DIG): Likewise.
25680         (FLT_DIG): Likewise.
25681         (DBL_DIG): Likewise.
25682         (LDBL_DIG): Likewise.
25683         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25684         (DBL_MIN_EXP): Likewise.
25685         (LDBL_MIN_EXP): Likewise.
25686         (FLT_MAX_EXP): Use macro-int-constant.
25687         (DBL_MAX_EXP): Likewise.
25688         (LDBL_MAX_EXP): Likewise.
25689         (FLT_MAX_10_EXP): Likewise.
25690         (DBL_MAX_10_EXP): Likewise.
25691         (LDBL_MAX_10_EXP): Likewise.
25692         (FLT_MAX): Use macro-constant.
25693         (DBL_MAX): Likewise.
25694         (LDBL_MAX): Likewise.
25695         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25696         (DBL_EPSILON): Likewise.
25697         (LDBL_EPSILON): Likewise.
25698         (FLT_MIN): Likewise.
25699         (DBL_MIN): Likewise.
25700         (LDBL_MIN): Likewise.
25701         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25702         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25703         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25704         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25705         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25706         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25707         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25708         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25709         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25710         [ISO11] (FLT_TRUE_MIN): Likewise.
25711         [ISO11] (LDBL_TRUE_MIN): Likewise.
25712         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25713         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25714         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25715         (SCHAR_MAX): Likewise.
25716         (UCHAR_MAX): Likewise.
25717         (CHAR_MIN): Likewise.
25718         (CHAR_MAX): Likewise.
25719         (MB_LEN_MAX): Use macro-int-constant.
25720         (SHRT_MIN): Use macro-int-constant.  Specify type.
25721         (SHRT_MAX): Likewise.
25722         (USHRT_MAX): Likewise.
25723         (INT_MAX): Likewise.
25724         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25725         bound negative.
25726         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25727         bound with "U".
25728         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25729         bound with "L".
25730         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25731         bound negative.  Suffix upper bound with "L".
25732         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25733         bound with "UL".
25734         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25735         Specify type.
25736         [C99-based standards] (LLONG_MAX): Likewise.
25737         [C99-based standards] (ULLONG_MAX): Likewise.
25738         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25739         == 0.
25740         [ISO11] (max_align_t): Require type.
25741         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25743         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25744         from $CFLAGS, without defining away __attribute__ calls.
25745         (checknamespace): Use $CFLAGS_namespace.
25747         * conform/conformtest.pl (@keywords): Only include C99 keywords
25748         for standards based on C99 or C11.
25750         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25751         Disable tests.
25752         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25753         UNIX98]: Likewise.
25755         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25756         usability of symbols in #if.
25758         * conform/conformtest.pl: If macro or constant types start
25759         "promoted:", expect the symbol to be of the following type
25760         promoted by the integer promotions.
25762         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25763         in one place.  Also handle "macro-constant".
25765         * conform/conformtest.pl: Only accept expected macro values with
25766         "==".  Parse all "macro" lines in one place.
25767         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25769         * conform/conformtest.pl: Handle braced types on "constant" lines
25770         instead of handling "typed-constant".
25771         * conform/data/signal.h-data: Use "constant" instead of
25772         "typed-constant".
25774         * conform/conformtest.pl: Handle "optional-" at start of lines in
25775         one place rather than duplicating several cases.  Handle each
25776         format of "macro" line with initial "optional-".
25778         * conform/conformtest.pl: Only accept expected constant or
25779         optional-constant values with "==".  Parse all "constant" lines in
25780         one place.  Parse all "optional-constant" lines in one place.
25781         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25782         * conform/data/fmtmsg.h-data: Likewise.
25783         * conform/data/netinet/in.h-data: Likewise.
25784         * conform/data/tar.h-data: Likewise.
25785         * conform/data/limits.h-data: Use "==" form on "constant" and
25786         "optional-constant" lines.
25788         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25789         Use -std=c99 for XOPEN2K.
25790         (@knownproblems): Remove.
25791         (newtoken): Don't check %isknown.
25793         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25794         Do not expect macro.
25795         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25796         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25797         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25798         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25799         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25800         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25801         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25802         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25803         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25804         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25805         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25806         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25807         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25808         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25809         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25810         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25811         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25812         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25813         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25814         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25815         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25816         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25817         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25818         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25819         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25820         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25821         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25822         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25823         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25824         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25825         [XPG3] (acosh): Likewise.
25826         [XPG3] (asinh): Likewise.
25827         [XPG3] (atanh): Likewise.
25828         [XPG3] (cbrt): Likewise.
25829         [XPG3] (expm1): Likewise.
25830         [XPG3] (ilogb): Likewise.
25831         [XPG3] (log1p): Likewise.
25832         [XPG3] (logb): Likewise.
25833         [XPG3] (nextafter): Likewise.
25834         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25835         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25836         [XPG3] (remainder): Likewise.
25837         [XPG3] (rint): Likewise.
25838         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25839         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25840         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25841         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25842         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25843         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25844         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25845         [UNIX98 || XOPEN2K] (scalb): Expect.
25846         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25847         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25848         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25849         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25850         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25851         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25852         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25853         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25854         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25855         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25856         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25857         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25858         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25859         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25860         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25861         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25862         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25863         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25864         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25865         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25866         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25867         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25868         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25869         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25870         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25871         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25872         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25873         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25874         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25875         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25876         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25877         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25878         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25879         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25880         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25881         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25882         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25883         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25884         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25885         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25886         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25887         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25888         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25889         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25890         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25891         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25892         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25893         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25894         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25895         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25896         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25897         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25898         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25899         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25900         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25901         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25902         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25903         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25904         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25905         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25906         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25907         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25908         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25909         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25910         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25911         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25912         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25913         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25914         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25915         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25916         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25917         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25918         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25919         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25920         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25921         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25922         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25923         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25924         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25925         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25926         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25927         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25928         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25929         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25930         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25931         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25932         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25933         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25934         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25935         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25936         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25937         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25938         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25939         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25940         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25941         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25942         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25943         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25944         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25945         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25946         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25947         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25948         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25949         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25950         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25951         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25952         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25953         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25954         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25955         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25956         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25957         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25958         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25959         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25960         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25961         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25962         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25963         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25964         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25965         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25966         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25967         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25968         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25969         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25970         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25971         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25972         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25973         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25974         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25975         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25976         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25977         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25978         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25979         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25980         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25981         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25982         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25984         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25985         _XOPEN_SOURCE_EXTENDED for XPG4.
25987         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25989         * Makeconfig (localtime): Remove variable.
25990         (inst_localtime-file): Likewise.
25992 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25995         Update.
25996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25997         Update.
25998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25999         Update.
26000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26001         Update.
26002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26003         Update.
26004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26005         Update.
26006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26007         Update.
26008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26009         Update.
26010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26011         Update.
26013 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26015         [BZ #2550]
26016         [BZ #2570]
26017         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26018         comparisons to determine direction to adjust input.
26019         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26020         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26021         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26022         Likewise.
26023         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26024         Likewise.
26025         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26026         Likewise.
26027         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26028         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26029         Likewise.
26030         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26031         Likewise.
26032         * math/libm-test.inc (nexttoward_test): Add more tests.
26034 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26036         [BZ #14040]
26037         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26038         in version GLIBC_2.1, not GLIBC_2.0.
26039         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26040         Likewise.
26042 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26044         [BZ #13942]
26045         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26046         (1 - x) * (1 + x).
26047         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26048         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26049         * math/libm-test.inc (acos_test): Add more tests.
26050         (asin_test): Likewise.
26051         * sysdeps/i386/fpu/libm-test-ulps: Update.
26052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26054         [BZ #14034]
26055         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26056         of square root.
26057         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26058         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26059         * math/libm-test.inc (acos_test_tonearest): New function.
26060         (acos_test_towardzero): Likewise.
26061         (acos_test_downward): Likewise.
26062         (acos_test_upward): Likewise.
26063         (asin_test_tonearest): Likewise.
26064         (asin_test_towardzero): Likewise.
26065         (asin_test_downward): Likewise.
26066         (asin_test_upward): Likewise.
26067         (main): Call the new functions.
26068         * sysdeps/i386/fpu/libm-test-ulps: Update.
26069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26071         [BZ #13884]
26072         [BZ #13924]
26073         * math/e_exp10.c: Include <float.h>.
26074         (__ieee754_exp10): Handle underflow here rather than multiplying
26075         large negative argument by M_LN10.
26076         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26077         of __ieee754_expf.
26078         * math/e_exp10l.c: Include <float.h>.
26079         (__ieee754_exp10l): Handle underflow here rather than multiplying
26080         large negative argument by M_LN10l.
26081         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26082         spurious overflow exception on underflow.
26084 2012-04-29  Marek Polacek  <polacek@redhat.com>
26086         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26087         (__fortify_function): New macro.
26088         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26089         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26090         __extern_always_inline.
26091         * libio/bits/stdio2.h: Likewise.
26092         * libio/bits/stdio.h: Likewise.
26093         * string/string.h: Likewise.
26094         * string/bits/string3.h: Likewise.
26095         * include/stdio.h: Likewise.
26096         * stdlib/bits/stdlib.h: Likewise.
26097         * stdlib/stdlib.h: Likewise.
26098         * rt/bits/mqueue2.h: Likewise.
26099         * rt/mqueue.h: Likewise.
26100         * posix/bits/unistd.h: Likewise.
26101         * posix/unistd.h: Likewise.
26102         * io/bits/poll2.h: Likewise.
26103         * io/bits/fcntl2.h: Likewise.
26104         * io/fcntl.h: Likewise.
26105         * io/sys/poll.h: Likewise.
26106         * misc/bits/syslog.h: Likewise.
26107         * misc/bits/syslog-ldbl.h: Likewise.
26108         * misc/sys/syslog.h: Likewise.
26109         * socket/bits/socket2.h: Likewise.
26110         * socket/sys/socket.h: Likewise.
26111         * debug/tst-chk1.c: Likewise.
26112         * wcsmbs/bits/wchar2.h: Likewise.
26113         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26114         * wcsmbs/wchar.h: Likewise.
26116 2012-04-29  Andreas Jaeger  <aj@suse.de>
26118         * Makerules (tests): Remove enable-check-abi protection.
26119         (check-abi-warn): Remove.
26120         (check-abi-%): Remove check-abi-warn usage.
26122         * configure.in: Remove check-abi configure option.
26123         * configure: Regenerated.
26124         * config.make.in (enable-check-abi): Remove.
26126 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26128         [BZ #14033]
26129         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26130         double functions to double *_finite functions.
26132         [BZ #13941]
26133         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26134         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26135         LDBL_MIN_EXP.
26136         * stdio-common/Makefile (tests): Add tst-sprintf3.
26137         * stdio-common/tst-sprintf3.c: New file.
26139         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26140         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26142 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26144         * conform/conformtest.pl: Remove duplicate typed-constant
26145         handling.
26147 2012-04-28  David S. Miller  <davem@davemloft.net>
26149         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26150         (check-abi-%): Remove AWK script prerequisite and explicit
26151         abilist directory.
26152         (check-abi): Rewrite to just diff the symlist with the abilist.
26153         (config-tls, config-abi-config): Delete, no longer used.
26154         (update-abi-%): Remove AWK script and explicit abilist directory.
26155         (update-abi): Rewrite to simply compare and conditionally copy the
26156         symlist and the sysdep abilist file.  Remove update-abi-config
26157         checks.
26158         * abilist/ld.abilist: Remove.
26159         * abilist/libBrokenLocale.abilist: Remove.
26160         * abilist/libanl.abilist: Remove.
26161         * abilist/libcrypt.abilist: Remove.
26162         * abilist/libdl.abilist: Remove.
26163         * abilist/librt.abilist: Remove.
26164         * abilist/libthread_db.abilist: Remove.
26165         * abilist/libutil.abilist: Remove.
26166         * scripts/extract-abilist.awk: Remove.
26167         * scripts/merge-abilist.awk: Remove.
26168         * sysdeps/generic/libcidn.abilist: New file.
26169         * sysdeps/generic/libnss_compat.abilist: New file.
26170         * sysdeps/generic/libnss_db.abilist: New file.
26171         * sysdeps/generic/libnss_dns.abilist: New file.
26172         * sysdeps/generic/libnss_files.abilist: New file.
26173         * sysdeps/generic/libnss_hesiod.abilist: New file.
26174         * sysdeps/generic/libnss_nis.abilist: New file.
26175         * sysdeps/generic/libnss_nisplus.abilist: New file.
26176         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26177         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26178         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26179         file.
26180         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26181         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26182         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26183         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26184         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26185         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26186         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26187         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26188         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26189         file.
26190         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26191         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26192         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26193         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26194         file.
26195         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26196         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26197         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26198         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26199         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26200         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26201         file.
26202         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26203         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26204         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26205         file.
26206         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26208         New file.
26209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26210         New file.
26211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26212         New file.
26213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26214         New file.
26215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26216         New file.
26217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26218         New file.
26219         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26220         New file.
26221         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26222         New file.
26223         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26224         New file.
26225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26226         New file.
26227         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26228         New file.
26229         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26230         New file.
26231         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26232         New file.
26233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26234         file.
26235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26236         New file.
26237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26238         New file.
26239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26240         file.
26241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26242         New file.
26243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26244         New file.
26245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26246         file.
26247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26248         New file.
26249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26250         New file.
26251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26252         New file.
26253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26254         New file.
26255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26256         New file.
26257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26258         New file.
26259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26261         file.
26262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26263         New file.
26264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26265         file.
26266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26267         file.
26268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26269         file.
26270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26271         file.
26272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26273         file.
26274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26275         New file.
26276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26277         file.
26278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26279         file.
26280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26281         New file.
26282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26283         file.
26284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26286         file.
26287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26288         New file.
26289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26290         file.
26291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26292         file.
26293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26294         file.
26295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26296         file.
26297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26298         file.
26299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26300         New file.
26301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26302         file.
26303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26304         file.
26305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26306         New file.
26307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26308         file.
26309         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26310         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26311         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26312         file.
26313         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26314         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26315         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26316         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26317         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26318         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26319         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26320         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26321         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26322         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26325         file.
26326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26327         New file.
26328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26329         file.
26330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26331         file.
26332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26333         file.
26334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26335         file.
26336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26337         file.
26338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26339         New file.
26340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26341         New file.
26342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26343         file.
26344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26345         New file.
26346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26347         file.
26348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26350         file.
26351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26352         New file.
26353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26354         file.
26355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26356         file.
26357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26358         file.
26359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26360         file.
26361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26362         file.
26363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26364         New file.
26365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26366         New file.
26367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26368         file.
26369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26370         New file.
26371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26372         file.
26374 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26376         * conform/conformtest.pl: Fix typo in handling typed-constant from
26377         allow-header.
26379 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26381         * README: Cut down references to pre-2.6 Linux kernels and
26382         Linuxthreads.  Update lists of configurations in libc and ports
26383         and sort alphabetically.  Say "or newer" with Linux kernel version
26384         requirements.
26386         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26388 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26390         [BZ #887]
26391         * math/libm-test.inc (logb_test_downward): New test to expose
26392         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26393         rounding mode.
26395 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26397         [BZ #14027]
26398         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26399         to be done.
26400         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26401         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26403 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26405         * sysdeps/unix/i386/brk.S: Remove file.
26406         * sysdeps/unix/i386/dl-brk.S: Likewise.
26407         * sysdeps/unix/i386/pipe.S: Likewise.
26408         * sysdeps/unix/i386/sigreturn.S: Likewise.
26409         * sysdeps/unix/i386/syscall.S: Likewise.
26410         * sysdeps/unix/i386/vfork.S: Likewise.
26411         * sysdeps/unix/i386/wait.S: Likewise.
26413         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26414         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26416         * configure.in (arm*-none*): Do not allow without
26417         --enable-hacker-mode.
26418         (netbsd*): Remove case setting base_os.
26419         (386bsd*): Likewise.
26420         (freebsd*): Likewise.
26421         (bsdi*): Likewise.
26422         (osf*): Likewise.
26423         (sunos*): Likewise.
26424         (ultrix*): Likewise.
26425         (newsos*): Likewise.
26426         (dynix*): Likewise.
26427         (*bsd*): Likewise.
26428         (sysv*): Likewise.
26429         (isc*): Likewise.
26430         (esix*): Likewise.
26431         (sco*): Likewise.
26432         (minix*): Likewise.
26433         (irix4*): Likewise.
26434         (irix6*): Likewise.
26435         (solaris[2-9]*): Likewise.
26436         (none): Likewise.
26437         * configure: Regenerated.
26439 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26441         [BZ #11521]
26442         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26443         overflow or cancellation in calculating denominator.
26444         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26445         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26446         down expression to avoid unexpected rounding in newer GCCs.
26447         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26449 2012-04-26  David S. Miller  <davem@davemloft.net>
26451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26452         long-double compat symbols.
26453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26467 2012-04-25  David S. Miller  <davem@davemloft.net>
26469         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26470         HWCAP_* values only after the memory barriers have been defined.
26471         (atomic_full_barrier): Define.
26472         (atomic_read_barrier): Define.
26473         (atomic_write_barrier): Define.
26475 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26477         * shlib-versions: Add libgcc_s version information.
26478         * sysdeps/generic/libgcc_s.h: Remove.
26479         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26480         libgcc_s.h.
26481         * sysdeps/gnu/unwind-resume.c: Likewise.
26482         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26484 2012-04-25  David S. Miller  <davem@davemloft.net>
26486         * sysdeps/unix/sparc/brk.S: Delete.
26487         * sysdeps/unix/sparc/dl-brk.S: Delete.
26488         * sysdeps/unix/sparc/pipe.S: Delete.
26489         * sysdeps/unix/sparc/sysdep.S: Delete.
26490         * sysdeps/unix/sparc/sysdep.h: Delete.
26491         * sysdeps/unix/sparc/vfork.S: Delete.
26492         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26493         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26494         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26495         ret_ERRVAL, r0, r1, MOVE): Define.
26496         (JUMPTARGET): Remove.
26497         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26498         sysdeps/unix/sparc/sysdep.h
26499         (ENTRY, END): Remove.
26500         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26502 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26504         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26505         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26506         -DIS_IN_build.
26508         * timezone/README: Update upstream location and email address for
26509         tzcode and tzdata.
26510         * timezone/zdump.c: Update from tzcode 2012b.
26511         * timezone/zic.c: Likewise.
26513         * configure.in (libc_cv_as_needed): Remove test.
26514         * configure: Regenerated.
26515         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26516         conditional definition.
26517         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26518         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26519         * config.make.in (have-as-needed): Remove variable.
26521 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26522             Paul Pluzhnikov  <ppluzhnikov@google.com>
26524         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26525         strings correctly.
26527 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26529         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26530         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26531         * sysdeps/sh/strlen.S: Likewise.
26533 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26535         * sysdeps/unix/fork.S: Remove file.
26536         * sysdeps/unix/i386/fork.S: Likewise.
26537         * sysdeps/unix/sparc/fork.S: Likewise.
26539         * sysdeps/unix/system.c: Remove file.
26540         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26542         * sysdeps/unix/getegid.S: Remove file.
26543         * sysdeps/unix/geteuid.S: Likewise.
26545 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26547         * scripts/check-localplt.awk: New file.
26548         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26549         of diff.
26550         * scripts/data/localplt-generic.data: Add a comment.
26552         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26553         NODE when __dir_mkfile failed.
26554         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26555         Reported by Ludovic Courtès <ludo@gnu.org>.
26557 2012-04-24  Andreas Jaeger  <aj@suse.de>
26559         * Makerules (common-clean): Also remove gen-as-const-headers
26560         files.
26562 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26564         * Makerules (native-compile): Do not change working directory for
26565         build.  Use $(OUTPUT_OPTION) in command.
26566         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26568 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26570         [BZ #13886]
26571         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26572         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26573         * math/libm-test.inc (floor_test): Add more tests.
26574         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26576 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26578         * sysdeps/unix/getdents.c: Remove file.
26579         * sysdeps/unix/sysv/getdents.c: Likewise.
26580         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26582         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26583         sysdeps/unix/mman/syscalls.list.
26584         (mmap): Likewise.
26585         (mprotect): Likewise.
26586         (msync): Likewise.
26587         (munmap): Likewise.
26588         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26589         * sysdeps/unix/mman/syscalls.list: Remove.
26590         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26592         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26593         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26594         * configure: Regenerated.
26595         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26596         $(libgcc_s_suffix).
26597         * config.make.in (libgcc_s_suffix): Remove variable.
26599 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26601         * sysdeps/unix/sysv/gethostname.c: Move to ...
26602         * sysdeps/posix/gethostname.c: ... here.
26604         * sysdeps/unix/execve.S: Remove file.
26606         * sysdeps/unix/_exit.S: Remove file.
26608 2012-04-23  Andreas Jaeger  <aj@suse.de>
26610         [BZ #13739]
26611         * manual/Makefile: Remove make dist support, there's no
26612         need for a stand-alone documentation tar ball.
26613         (TEXI2DVI): Define always, it's not in Makeconfig.
26614         (dist): Removed.
26615         (tar-it): Removed.
26616         (edition): Removed.
26617         (glibc-doc-$(edition).tar): Removed
26618         (%.Z): Removed.
26619         (%.gz): Removed.
26620         (%.uu): Removed.
26621         (ETAGS): Remove, it's in Makeconfig.
26622         (move-if-change): Remove, it's in Makeconfig.
26624 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26626         [BZ #13970]
26627         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26628         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26629         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26630         (strtod_l, strtof_l, strtold_l): Remove __wur.
26631         It is not necessarily an error to ignore strtol's return value.
26632         One can reliably look at the stored endptr to decide whether
26633         the number had valid syntax.
26635 2012-04-21  Andreas Jaeger  <aj@suse.de>
26637         [BZ #13739]
26638         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26640 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26642         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26643         * sysdeps/unix/sysv/Versions: Remove file.
26645 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26647         [BZ #13927]
26648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26650 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26652         [BZ #7064]
26653         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26654         version from __vm86.
26656 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26658         * sysdeps/unix/common/lxstat.c: Remove file.
26659         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26661         * sysdeps/unix/sysv/Makefile: Remove file.
26663         * sysdeps/unix/sysv/direct.h: Remove file.
26665         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26666         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26667         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26668         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26669         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26670         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26671         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26673         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26675         * sysdeps/unix/xmknod.c: Remove file.
26676         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26678         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26680         * sysdeps/unix/sysv/i386/time.S: Remove file.
26682         * sysdeps/unix/fxstat.c: Remove file.
26683         * sysdeps/unix/xstat.c: Likewise.
26684         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26686         * sysdeps/unix/sysv/sigaction.c: Remove file.
26688         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26689         (sysdep_headers): Remove variable.
26690         [termio.h not in sysdep_headers] (generated): Likewise.
26691         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26692         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26693         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26694         * sysdeps/unix/sysv/tcflow.c: Likewise.
26695         * sysdeps/unix/sysv/tcflush.c: Likewise.
26696         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26697         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26698         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26699         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26700         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26702         * sysdeps/unix/siglist.c: Remove file.
26704         * sysdeps/unix/getppid.S: Remove file.
26706         * sysdeps/unix/mkdir.c: Remove file.
26707         * sysdeps/unix/rmdir.c: Likewise.
26709 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26711         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26712         ERR_MAX value.
26713         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26714         errlist-compat value.
26716 2012-04-18  David S. Miller  <davem@davemloft.net>
26718         * sysdeps/generic/memcopy.h (reg_char): Delete.
26719         * debug/strcat_chk.c: Use char, not reg_char.
26720         * debug/strcpy_chk.c: Likewise.
26721         * debug/strncat_chk.c: Likewise.
26722         * debug/strncpy_chk.c: Likewise.
26723         * string/memchr.c: Likewise.
26724         * string/memrchr.c: Likewise.
26725         * string/rawmemchr.c: Likewise.
26726         * string/strcat.c: Likewise.
26727         * string/strchr.c: Likewise.
26728         * string/strchrnul.c: Likewise.
26729         * string/strcmp.c: Likewise.
26730         * string/strcpy.c: Likewise.
26731         * string/strncat.c: Likewise.
26732         * string/strncmp.c: Likewise.
26733         * string/strncpy.c: Likewise.
26735 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26737         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26738         __builtin_memcopy is called when src and dest ranges are known to not
26739         overlap.
26741 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26743         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26744         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26745         fwd_align_merge macro call.
26746         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26747         bwd_align_merge macro call.
26748         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26750 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26752         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26753         bwd_align_merge macros.
26754         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26755         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26756         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26758 2012-04-18  David S. Miller  <davem@davemloft.net>
26760         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26762 2012-04-18  Andreas Jaeger  <aj@suse.de>
26764         [BZ# 6794]
26765         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26766         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26767         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26769         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26770         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26771         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26773         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26774         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26775         Adjust for changed ldbl-128 files.
26777         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26778         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26779         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26781 2012-04-17  David S. Miller  <davem@davemloft.net>
26783         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26785 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26787         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26788         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26789         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26790         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26791         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26792         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26794 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26796         [BZ #6794]
26797         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26798         * math/libm-test.inc: Add ilogb errno and exception tests.
26799         * math/w_ilogb.c: New file: ilogb wrapper.
26800         * math/w_ilogbf.c: New file: ilogbf wrapper.
26801         * math/w_ilogbl.c: New file: ilogbl wrapper.
26802         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26803         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26804         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26805         exception being thrown with 0.0 as argument.
26806         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26807         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26808         exception being thrown with 0.0 as argument.
26809         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26810         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26811         exception being thrown with 0.0 as argument.
26812         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26813         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26814         exception being thrown with 0.0 as argument.
26815         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26816         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26817         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26818         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26819         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26820         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26821         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26822         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26823         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26825 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26827         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26828         with altivec.
26830 2012-04-16  Marek Polacek  <polacek@redhat.com>
26832         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26834 2012-04-16  Marek Polacek  <polacek@redhat.com>
26836         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26837         operands of fdivp instruction.
26839 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26841         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26842         * elf/tst-auditmod3b.c: Likewise.
26843         * elf/tst-auditmod4b.c: Likewise.
26844         * elf/tst-auditmod5b.c: Likewise.
26845         * elf/tst-auditmod6b.c: Likewise.
26846         * elf/tst-auditmod6c.c: Likewise.
26847         * elf/tst-auditmod7b.c: Likewise.
26848         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26849         * sysdeps/x86_64/preconfigure.in: Likewise.
26850         * sysdeps/x86_64/preconfigure: Regenerated.
26852 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26854         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26855         __ILP32__.
26857 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26859         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26860         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26862 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26864         [BZ #13973]
26865         * locale/iso-639.def: Fix gl language name. Spotted by
26866         Yaron Shahrabani.
26868 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26870         [BZ #2074]
26871         * libio/libio.h (__io_write_fn): Update comment.
26873 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26875         [BZ #2074]
26876         * stdio.texi (Hook Functions): The user provided writer function
26877         is not allowed to return -1.
26879 2012-04-11  David S. Miller  <davem@davemloft.net>
26881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26883 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26885         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26886         Add a leading slash to rtkaio.
26888 2012-04-11  Jim Meyering  <meyering@redhat.com>
26890         [BZ #11959]
26891         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26892         It is not necessarily an error to ignore fwrite's return
26893         value.  One can reliably use ferror to test for errors after
26894         the fact.
26896 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26898         * bits/types.h (__snseconds_t): New type.
26899         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26901         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26902         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26903         (__SNSECONDS_T_TYPE): Likewise.
26904         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26905         (__SNSECONDS_T_TYPE): Likewise.
26906         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26907         (__SNSECONDS_T_TYPE): Likewise.
26909 2012-04-10  Andreas Jaeger  <aj@suse.de>
26911         [BZ #2636]
26912         * manual/time.texi (Processor Time): Return type of times is
26913         elapsed real time since an arbitrary point in the past.
26914         (CPU Time): Move CLK_TCK from here...
26915         (Processor Time): ...to here.  Correct description.
26916         * manual/conf.texi (Constants for Sysconf): Correct description of
26917         _SC_CLK_TCK.
26919 2012-04-10  David S. Miller  <davem@davemloft.net>
26921         [BZ #13967]
26922         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26923         where the is a gap between DT_REL(A) and DT_JMPREL.
26925 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26927         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26928         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26929         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26931 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26933         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26934         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26935         (dl_main): Handle --inhibit-cache.
26936         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26937         _dl_inhibit_cache.
26938         * elf/dl-load.c (_dl_map_object): Use it.
26939         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26941 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26943         [BZ #13872]
26944         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26945         (__ieee754_powl): Saturate large exponents rather than testing for
26946         overflow of y*log2(x).
26947         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26948         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26949         exceptions.
26951         [BZ #11521]
26952         * math/s_ctan.c: Include <float.h>.
26953         (__ctan): Avoid internal overflow or cancellation in calculating
26954         denominator.
26955         * math/s_ctanf.c: Likewise.
26956         * math/s_ctanl.c: Likewise.
26957         * math/s_ctanh.c: Likewise.
26958         * math/s_ctanhf.c: Likewise.
26959         * math/s_ctanhl.c: Likewise.
26960         * math/libm-test.inc (ctan_test): Add more tests.
26961         (ctanh_test): Likewise.
26962         * sysdeps/i386/fpu/libm-test-ulps: Update.
26963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26965 2012-04-09  Andreas Jaeger  <aj@suse.de>
26967         [BZ #6894]
26968         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26969         is an optional BSD extension.
26971         [BZ #10254]
26972         * manual/stdio.texi (Opening Streams): Document additional fopen
26973         parameters.
26975 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26977         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26978         %eax without telling the compiler.
26980 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26982         [BZ # 13963]
26983         * manual/install.texi: Use sourceware.org.
26985 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26987         [BZ #13873]
26988         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26989         (__ieee754_pow): Generate overflow and underflow using huge*huge
26990         and tiny*tiny rather than just returning constant infinity or zero
26991         for large exponents.
26992         * math/libm-test.inc (pow_test): Require overflow exceptions for
26993         applicable cases of large exponents.
26995         [BZ #706]
26996         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26997         (__ieee754_pow): Use iterative multiplication algorithm only for
26998         integer exponents with absolute value below 1024.  Check for odd
26999         integer exponents when using algorithm for real exponents.
27000         * math/libm-test.inc (pow_test): Add more tests.
27001         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27003 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27005         [BZ #13705]
27006         * math/libm-test.inc (exp_test): Do not allow overflow exception
27007         on underflow test.
27009 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27011         [BZ #13705]
27012         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27013         instead of __kernel_standard_f.
27015 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27017         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27018         * sysdeps/x86_64/memset_chk.S: Likewise.
27020 2012-04-08  Andreas Jaeger  <aj@suse.de>
27022         [BZ #10153]
27023         * manual/startup.texi (Environment Access): Describe return value
27024         for putenv and setenv.
27026         [BZ #6895]
27027         * manual/filesys.texi (Directory Entries): Add description for
27028         DT_LNK.
27030         [BZ #6890]
27031         * manual/filesys.texi (Directory Entries): Clarify that it's file
27032         system not operating system in the description of DT_UNKNOWN.
27034         [BZ #6578]
27035         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27037 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27039         [BZ #6649]
27040         * manual/llio.texi (Opening and Closing Files): Add cross
27041         reference to explain mode argument.
27043 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27045         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27046         * sysdeps/x86_64/memset_chk.S: Likewise.
27048 2012-04-07  David S. Miller  <davem@davemloft.net>
27050         * elf/elf.h (R_SPARC_WDISP10): Define.
27051         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27052         R_SPARC_SIZE32.
27053         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27054         R_SPARC_SIZE64 and R_SPARC_H34.
27056 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27058         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27059         conditions and remove no longer applicable assertion.
27061 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27063         * bits/byteswap.h: Include <features.h>.
27064         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27065         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27067 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27069         * bits/byteswap.h (__bswap_16): Removed.
27070         Include <bits/byteswap-16.h> to get __bswap_16.
27071         * sysdeps/i386/bits/byteswap.h: Likewise.
27072         * sysdeps/s390/bits/byteswap.h: Likewise.
27073         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27074         * bits/byteswap-16.h: New file.
27075         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27076         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27077         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27078         * string/Makefile (headers): Add bits/byteswap-16.h.
27080 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27082         [BZ #13895]
27083         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27084         extra indirection.
27085         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27086         * nss/tst-nss-static.c: New.
27088 2012-04-06  Robert Millan  <rmh@gnu.org>
27090         [BZ #6486]
27091         * manual/llio.texi (File Position Primitive): lseek
27092         refers to WHENCE when it really means OFFSET.
27094 2012-04-06  Andreas Jaeger  <aj@suse.de>
27096         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27097         strncmp declarations.
27099         * abilist/libc.abilist: Add __poll and __ppoll.
27101 2012-04-05  David S. Miller  <davem@davemloft.net>
27103         * scripts/check-local-headers.sh: Accept a host triplet in the
27104         path matched by the exclude regexp.
27106         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27107         definition.
27108         * sysdeps/powerpc/powerpc32/dl-machine.h
27109         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27110         * sysdeps/s390/s390-32/dl-machine.h
27111         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27112         * sysdeps/sparc/sparc32/dl-machine.h
27113         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27114         * sysdeps/sparc/sparc64/dl-machine.h
27115         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27117         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27118         lazy binding.
27119         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27120         undefined symbol errors.
27122         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27123         DT_NEEDED entries.
27125 2012-04-05  Michael Matz  <matz@suse.de>
27127         [BZ #13592]
27128         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27130 2012-04-05  Andreas Jaeger  <aj@suse.de>
27132         [BZ #13908]
27133         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27134         comment.
27136 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27138         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27139         which ROUND is no valid rounding mode.
27141 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27143         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27144         read again.
27145         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27147 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27149         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27150         an exception using FPU order intentionally.
27152 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27154         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27155         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27156         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27157         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27159 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27161         [BZ #12340]
27162         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27163         EINVAL when BUFLEN is too smal.
27165 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27167         [BZ #13553]
27168         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27169         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27171 2012-04-03  Andreas Jaeger  <aj@suse.de>
27173         [BZ #13938]
27174         * manual/setjmp.texi (System V contexts): Fix sentence.
27176         [BZ #13926]
27177         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27178         New macro for this case.
27179         [!__GNUC__] (__bswap_64): New inline function for this case.
27180         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27181         * bits/byteswap.h: Likewise.
27182         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27183         ull, guard with __GLIBC_HAVE_LONG_LONG.
27185         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27186         __GLIBC_HAVE_LONG_LONG.
27188         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27189         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27191 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27193         [BZ #13691]
27194         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27195         inptr and inend, rather than using last_ch.
27197 2012-04-02  David S. Miller  <davem@davemloft.net>
27199         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27200         * stdio-common/printf-parse.h (read_int): Change return type to
27201         'int', return -1 on INT_MAX overflow.
27202         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27203         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27204         overflows INT_MAX.  Check for overflow of in-format-string precision
27205         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27206         SIZE_MAX not INT_MAX for integer overflow test.
27207         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27208         skip the construct in the format string but do not record anything.
27209         * stdio-common/bug22.c: Adjust to test both width/prevision
27210         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27211         explicitly for proper errno values.
27213 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27215         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27216         CHAR_MAX.
27217         * string/test-strcmp.c [! WIDE]: Likewise.
27218         * time/tst-mktime2.c: Likewise for INT_MAX.
27219         * string/test-string.h: #include <sys/param.h> for MIN.
27221         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27222         * sysdeps/i386/init-first.c (init): Likewise.
27223         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27224         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27225         * sysdeps/sh/init-first.c (init): Likewise.
27227 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27229         * po/ru.po: Update from translation team.
27230         * po/vi.po: Likewise.
27232 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27234         * resolv/nss_dns/dns-host.c: Merge copyright years.
27236 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27238         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27239         Optimize memcpy with prefetch if
27240         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27241         src, dst pointers have unequal 16 byte alignments.
27243 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27245         [BZ #13928]
27246         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27247         from a CNAME entry and return the minimum ttl for the query.
27248         (gaih_getanswer_slice): Likewise.
27250 2012-03-30  Jeff Law  <law@redhat.com>
27252         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27253         due to long keys.
27254         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27255         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27257         * resolv/nss_dns/dns-host.c: Update copyright year.
27259 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27261         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27262         requests to save a system call.  Fix check that all bytes are sent.
27264         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27265         comments for sendmmsg.
27267 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27269         [BZ #13691]
27270         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27271         with only 1 character between 0x0041 and 0x01b0.
27272         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27273         * wcsmbs/tst-mbsnrtowcs.c: New file.
27275 2012-03-29  David S. Miller  <davem@davemloft.net>
27277         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27278         small copies by hand.
27280 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27282         [BZ #13761]
27283         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27284         _nss_compat_initgroups_dyn): Fall back to malloc/free
27285         for large group memberships.
27287 2012-03-28  David S. Miller  <davem@davemloft.net>
27289         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27290         that branches into memcpy.
27291         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27292         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27293         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27294         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27295         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27296         bits.
27297         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27298         implementation too.
27299         * sysdeps/sparc/mempcpy.S: New file.
27301         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27302         the IFUNC routine in the libc case.
27303         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27305         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27306         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27307         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27308         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27309         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27310         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27311         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27312         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27314         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27315         loop to 256 bytes instead of 64 bytes and fix test signedness.
27317         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27318         * sysdeps/sparc/sparc32/Makefile: rather than here...
27319         * sysdeps/sparc/sparc64/Makefile: and here.
27321 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27323         * malloc/mallocbug.c: Avoid warnings about unused variables.
27325 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27327         [BZ #13760]
27328         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27329         in the right place. Discard and retry query if response is
27330         larger than input buffer size.
27332 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27334         [BZ #369]
27335         [BZ #2678]
27336         [BZ #3866]
27337         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27338         x for large integer exponent.
27339         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27340         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27341         sign of result as needed afterwards.
27342         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27343         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27344         result for underflowing pow the same as for overflow.
27345         (__kernel_standard_l): Handle powl overflow and underflow here
27346         rather than calling __kernel_standard.
27347         * math/libm-test.inc (pow_test): Add more tests.
27349         [BZ #3868]
27350         [BZ #13879]
27351         [BZ #13910]
27352         [BZ #13911]
27353         [BZ #13912]
27354         [BZ #13913]
27355         [BZ #13915]
27356         [BZ #13916]
27357         [BZ #13917]
27358         [BZ #13918]
27359         [BZ #13919]
27360         [BZ #13920]
27361         [BZ #13921]
27362         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27363         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27364         (__kernel_standard_l): New function.
27365         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27366         __kernel_standard.
27367         * math/w_acosl.c (__acosl): Likewise.
27368         * math/w_asinl.c (__asinl): Likewise.
27369         * math/w_atan2l.c (__atan2l): Likewise.
27370         * math/w_atanhl.c (__atanhl): Likewise.
27371         * math/w_coshl.c (__coshl): Likewise.
27372         * math/w_exp10l.c (__exp10l): Likewise.
27373         * math/w_exp2l.c (__exp2l): Likewise.
27374         * math/w_fmodl.c (__fmodl): Likewise.
27375         * math/w_hypotl.c (__hypotl): Likewise.
27376         * math/w_j0l.c (__j0l, __y0l): Likewise.
27377         * math/w_j1l.c (__j1l, __y1l): Likewise.
27378         * math/w_jnl.c (__jnl, __ynl): Likewise.
27379         * math/w_lgammal.c (__lgammal): Likewise.
27380         * math/w_log10l.c (__log10l): Likewise.
27381         * math/w_log2l.c (__log2l): Likewise.
27382         * math/w_logl.c (__logl): Likewise.
27383         * math/w_powl.c (__powl): Likewise.
27384         * math/w_remainderl.c (__remainderl): Likewise.
27385         * math/w_scalbl.c (sysv_scalbl): Likewise.
27386         * math/w_sinhl.c (__sinhl): Likewise.
27387         * math/w_sqrtl.c (__sqrtl): Likewise.
27388         * math/w_tgammal.c (__tgammal): Likewise.
27389         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27390         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27391         * math/libm-test.inc (acos_test): Add more tests.
27392         (acosh_test): Likewise.
27393         (asin_test): Likewise.
27394         (atanh_test): Likewise.
27395         (exp_test): Likewise.
27396         (exp10_test): Likewise.
27397         (exp2_test): Likewise.
27398         (expm1_test): Likewise.
27399         (lgamma_test): Likewise.
27400         (log_test): Likewise.
27401         (log10_test): Likewise.
27402         (log1p_test): Likewise.
27403         (log2_test): Likewise.
27404         (pow_test): Do not allow some spurious overflow exceptions.
27405         (sqrt_test): Add more tests.
27406         (tgamma_test): Likewise.
27407         (y0_test): Likewise.
27408         (y1_test): Likewise.
27409         (yn_test): Likewise.
27411 2012-03-27  Anton Blanchard  <anton@samba.org>
27413         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27414         MAP_HUGETLB.
27415         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27416         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27417         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27419 2012-03-27  David S. Miller  <davem@davemloft.net>
27421         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27423         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27424         have-as-vis3 check.
27426 2012-03-27  Andreas Jaeger  <aj@suse.de>
27428         * sysdeps/x86_64/elf/configure.in: Moved to ...
27429         * sysdeps/x86_64/configure.in: ... here.
27430         * sysdeps/x86_64/elf/start.S: Moved to ...
27431         * sysdeps/x86_64/start.S: ... here.
27432         * sysdeps/x86_64/elf/configure: Delete.
27434         * sysdeps/x86_64/configure.in: Merge contents from
27435         sysdeps/i386/configure.in (without i686 check).
27437         * sysdeps/i386/elf/Versions: Merge into ...
27438         * sysdeps/i386/Versions: ... this.
27439         * sysdeps/i386/elf/Versions: Delete file.
27440         * sysdeps/i386/elf/start.S: Moved to ...
27441         * sysdeps/i386/start.S: ...here.
27442         * sysdeps/i386/elf/configure.in: Merge into...
27443         * sysdeps/i386/configure.in: ...here.
27444         * sysdeps/i386/elf/configure.in: Delete file.
27445         * sysdeps/i386/elf/configure: Delete file.
27447         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27448         * debug/backtracesyms.c: ... here.
27449         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27450         * debug/backtracesymsfd.c: ... here.
27451         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27452         * sysdeps/generic/ifunc-sel.h: ... here.
27454         * sysdeps/unix/i386/start.c: Delete file.
27455         * sysdeps/unix/sparc/start.c: Delete file.
27456         * sysdeps/unix/start.c: Delete file.
27458         * sysdeps/sh/elf/configure.in: Moved to ...
27459         * sysdeps/sh/configure.in: ... here.
27460         * sysdeps/sh/elf/start.S: Moved to ...
27461         * sysdeps/sh/start.S: ... here.
27462         * sysdeps/sh/elf/configure: Delete file.
27464         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27465         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27466         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27467         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27468         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27469         * sysdeps/powerpc/powerpc64/start.S: here.
27470         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27471         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27472         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27473         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27474         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27476         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27477         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27478         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27479         * sysdeps/powerpc/powerpc32/start.S: ... here.
27480         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27481         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27482         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27484         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27485         * sysdeps/powerpc/ifunc-sel.h: ... here.
27486         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27487         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27489         * sysdeps/sparc/elf/configure.in: Moved to ...
27490         * sysdeps/sparc/configure.in: ... here.
27491         * sysdeps/sparc/elf/configure: Delete file.
27492         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27493         * sysdeps/sparc/sparc32/start.S: ... here.
27494         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27495         * sysdeps/sparc/sparc64/start.S: ... here.
27496         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27497         * sysdeps/sparc/sparc32/Makefile: ... this.
27498         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27499         * sysdeps/sparc/sparc64/Makefile: ... this.
27501         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27502         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27503         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27504         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27505         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27506         * sysdeps/s390/s390-32/setjmp.S: ... here.
27507         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27508         * sysdeps/s390/s390-32/configure.in: ... here.
27509         * sysdeps/s390/s390-32/elf/configure: Delete file.
27510         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27511         * sysdeps/s390/s390-32/start.S: ... here.
27513         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27514         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27515         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27516         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27517         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27518         * sysdeps/s390/s390-64/setjmp.S: ... here.
27519         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27520         * sysdeps/s390/s390-64/configure.in: ... here
27521         * sysdeps/s390/s390-64/elf/configure: Delete file.
27522         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27523         * sysdeps/s390/s390-64/start.S: ... here.
27524         * sysdeps/s390/s390-64/elf/configure: Delete.
27526         * configure.in: Remove support for elf directories in sysdeps.
27528         * configure: Regenerated.
27529         * sysdeps/i386/configure: Regenerated.
27530         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27531         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27532         * sysdeps/s390/s390-32/configure: Regenerated.
27533         * sysdeps/s390/s390-64/configure: Regenerated.
27534         * sysdeps/sh/configure: Regenerated.
27535         * sysdeps/sparc/configure: Regenerated.
27536         * sysdeps/x86_64/configure: Regenerated.
27538 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27542         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27543         denormal result into account.
27545 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27547         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27548         Reported by Allan McRae <allan@archlinux.org>.
27550 2012-03-23  Jeff Law  <law@redhat.com>
27552         * nss/getnssent.c (__nss_getent): Fix typo.
27554 2012-03-23  David S. Miller  <davem@davemloft.net>
27556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27558 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27560         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27561         to pad to uint64_t for each field.
27562         (dl_tls_index): Replace unsigned long with uint64_t.
27564 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27565         Paul Pluzhnikov  <ppluzhnikov@google.com>
27567         [BZ #6528]
27568         * grp/Makefile (otherlibs): Don't set it.
27569         * inet/Makefile (otherlibs): Likewise.
27570         * login/Makefile (otherlibs): Likewise.
27571         * nscd/Makefile (otherlibs): Likewise.
27572         * posix/Makefile (otherlibs): Likewise.
27573         * pwd/Makefile (otherlibs): Likewise.
27574         * rt/Makefile (otherlibs): Likewise.
27575         * sunrpc/Makefile (otherlibs): Likewise.
27576         * nss/Makefile (otherlibs): Likewise.
27577         Add libnss_files to routines and static-only-routines.
27578         ($(objpfx)getent): Remove rule.
27579         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27580         static-only-routines.
27582 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27584         [BZ #13892]
27585         * math/s_cexp.c: Include <float.h>.
27586         (__cexp): Handle exp result overflowing not necessarily
27587         overflowing both real and imaginary parts of result.
27588         * math/s_cexpf.c: Likewise.
27589         * math/s_cexpl.c: Likewise.
27590         * math/libm-test.inc (cexp_test): Add more tests.
27591         * sysdeps/i386/fpu/libm-test-ulps: Update.
27592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27594 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27596         * include/link.h (ELFW): New macro.
27597         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27598         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27600 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27602         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27603         with uint64_t.
27605 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27607         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27608         declaration.
27609         (struct La_x32_retval): Likewise.
27611 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27613         * sysdeps/x86_64/preconfigure.in: New file.
27614         * sysdeps/x86_64/preconfigure: New generated file.
27616 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27618         [BZ #13824]
27619         * math/e_exp2l.c: Include <float.h>.
27620         (__ieee754_exp2l): Handle overflow and underflow cases
27621         separately.  Only pass fractional part of argument to
27622         __ieee754_expl.
27623         * math/libm-test.inc (exp2_test): Add more tests.
27625         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27626         negating x to take absolute value.
27627         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27628         Likewise.
27629         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27630         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27631         Likewise.
27632         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27633         computing low part if x was negated.
27634         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27636 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27638         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27639         la_x32_gnu_pltexit.
27640         (pltexit): Cast int_retval to ptrdiff_t.
27641         * elf/tst-auditmod3b.c: Likewise.
27642         * elf/tst-auditmod4b.c: Likewise.
27643         * elf/tst-auditmod5b.c: Likewise.
27644         * elf/tst-auditmod6b.c: Likewise.
27645         * elf/tst-auditmod6c.c: Likewise.
27646         * elf/tst-auditmod7b.c: Likewise.
27648         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27649         and x32_gnu_pltexit.
27651         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27652         __ELF_NATIVE_CLASS.
27653         (La_x32_regs): New macro.
27654         (La_x32_retval): Likewise.
27655         (la_x32_gnu_pltenter): New function prototype.
27656         (la_x32_gnu_pltexit): Likewise.
27658 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27660         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27661         exponent.
27663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27665         * configure.in (libc_cv_cc_nofma): Check for option to disable
27666         generation of FMA instructions.
27667         * configure: Regenerate.
27668         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27669         * sysdeps/ieee754/dbl-64/Makefile: New file.
27670         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27671         Remove brandred-fma4.
27672         (CFLAGS-brandred-fma4.c): Remove.
27673         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27674         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27675         define.
27676         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27677         define.
27679 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27681         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27682         LLONG_MAX != LONG_MAX.
27683         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27684         (_fitoa_word): Likewise.
27685         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27686         LLONG_MAX != LONG_MAX.
27687         * stdio-common/_itowa.h: Include <_itoa.h>.
27688         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27689         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27690         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27691         only if not defined.
27692         (_ITOA_WORD_TYPE): Likewise.
27693         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27694         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27696 2012-03-21  David S. Miller  <davem@davemloft.net>
27698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27700 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27702         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27703         of x86_64 when setting libc_cv_slibdir, libdir and
27704         libc_cv_localedir.
27705         * sysdeps/unix/sysv/linux/configure: Regenerated.
27707 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27709         * manual/lang.texi (Old Varargs): Remove section.
27710         (How Variadic): Update menu.
27711         (va_start): Do not mention varargs.h.
27713 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27714             Joseph Myers  <joseph@codesourcery.com>
27716         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27717         link test.
27718         * configure: Regenerated.
27720 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27722         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27723         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27724         conformtest.pl
27726 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27728         * NOTES: Remove.
27729         * Makefile (files-for-dist): Remove NOTES.
27730         (NOTES): Remove rule.
27731         * README: Don't refer to NOTES.
27732         * manual/creature.texi: Don't include macros.texi.
27733         * manual/intro.texi (creature.texi): Remove comment referring to
27734         NOTES.
27736         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27737         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27738         * configure: Regenerated.
27739         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27740         LIBC_TRY_CC_OPTION.
27741         (libc_cv_as_i686): Likewise.
27742         (libc_cv_cc_avx): Likewise.
27743         (libc_cv_cc_sse2avx): Likewise.
27744         (libc_cv_cc_fma4): Likewise.
27745         (libc_cv_cc_novzeroupper): Likewise.
27746         * sysdeps/i386/configure: Regenerated.
27748         [BZ #13883]
27749         * sysdeps/i386/fpu/s_cexp.S: Remove.
27750         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27751         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27752         * math/libm-test.inc (cexp_test): Add more tests.
27753         * sysdeps/i386/fpu/libm-test-ulps: Update.
27754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27756 2012-03-21  Allan McRae  <allan@archlinux.org>
27758         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27760 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27762         [BZ #13871]
27763         * math/w_exp2.c: Do not include <float.h>.
27764         (o_threshold, u_threshold): Remove.
27765         (__exp2): Calculate result before checking finiteness and calling
27766         __kernel_standard.
27767         * math/w_exp2f.c: Likewise.
27768         * math/w_exp2l.c: Likewise.
27769         * math/libm-test.inc (exp2_test): Require overflow exception for
27770         1e6 input.
27772         [BZ #3866]
27773         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27774         range of signed 64-bit integers before using fistpll.  Remove
27775         checks for whether integers fit in mantissa bits.
27776         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27777         the range of signed 32-bit integers before using fistpl.  Remove
27778         checks for whether integers fit in mantissa bits.
27779         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27780         (__ieee754_powl): Test for y outside the range of signed 64-bit
27781         integers before using fistpll.  Reduce 64-bit values to 63-bit
27782         ones as needed.
27783         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27784         divide-by-zero is raised for zero to large negative powers.
27785         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27786         (__ieee754_powl): Test for y outside the range of signed 64-bit
27787         integers before using fistpll.  Reduce 64-bit values to 63-bit
27788         ones as needed.
27789         * math/libm-test.inc (pow_test): Add more tests.
27791 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27793         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27794         <stdio-common/_itoa.h>.
27795         * debug/segfault.c: Likewise.
27796         * elf/dl-cache.c: Likewise.
27797         * elf/dl-minimal.c: Likewise.
27798         * elf/dl-misc.c: Likewise.
27799         * elf/dl-sysdep.c: Likewise.
27800         * elf/dl-version.c: Likewise.
27801         * elf/rtld.c: Likewise.
27802         * hurd/hurdsock.c: Likewise.
27803         * hurd/lookup-retry.c: Likewise.
27804         * malloc/malloc.c: Likewise.
27805         * malloc/mtrace.c: Likewise.
27806         * nscd/nscd_getgr_r.c: Likewise.
27807         * nscd/nscd_getpw_r.c: Likewise.
27808         * nscd/nscd_getserv_r.c: Likewise.
27809         * posix/getopt_init.c: Likewise.
27810         * posix/wordexp.c: Likewise.
27811         * stdio-common/_itoa.c: Likewise.
27812         * stdio-common/printf_fphex.c: Likewise.
27813         * stdio-common/vfprintf.c: Likewise.
27814         * string/_strerror.c: Likewise.
27815         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27816         * sysdeps/i386/i686/hp-timing.h: Likewise.
27817         * sysdeps/mach/_strerror.c: Likewise.
27818         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27819         * sysdeps/mach/hurd/sethostid.c: Likewise.
27820         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27821         * sysdeps/mach/xpg-strerror.c: Likewise.
27822         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27823         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27824         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27825         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27826         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27827         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27828         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27829         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27830         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27831         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27832         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27833         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27834         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27835         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27836         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27837         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27838         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27839         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27840         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27841         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27842         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27844         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27846         * stdio-common/_itoa.h: Moved to ...
27847         * sysdeps/generic/_itoa.h: Here.
27849         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27851         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27852         instead of "_itoa.h" and "_itowa.h".
27853         * stdio-common/vfprintf.: Likewise.
27855 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27857         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27858         <bits/wordsize.h>.
27859         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27860         (__signbit): Likwise.
27861         (llrintf): Likwise.
27862         (llrint): Likwise.
27864 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27866         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27867         __WORDSIZE != 64.
27869 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27871         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27872         OVERFLOW_EXCEPTION_OK.
27873         * math/libm-test.inc ("Philosophy"): Update comment about
27874         exception testing.
27875         (OVERFLOW_EXCEPTION): Define.
27876         (OVERFLOW_EXCEPTION_OK): Likewise.
27877         (INVALID_EXCEPTION_OK): Renumber.
27878         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27879         (IGNORE_ZERO_INF_SIGN): Likewise.
27880         (test_exceptions): Handle FE_OVERFLOW.
27881         (exp10_test): Expect overflow exceptions.
27882         (exp2_test): Likewise.
27883         (expm1_test): Likewise.
27884         (nextafter_test): Likewise.
27885         (pow_test): Likewise.
27886         (scalbn_test): Likewise.
27887         (scalbln_test): Likewise.
27889 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27891         * sysdeps/x86_64/bits/atomic.h
27892         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27893         64bit integer.
27894         (atomic_exchange_acq): Likewise.
27895         (__arch_exchange_and_add_body): Likewise.
27896         (__arch_add_body): Likewise.
27897         (atomic_add_negative): Likewise.
27898         (atomic_add_zero): Likewise.
27900 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27902         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27903         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27905 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27907         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27908         Check __x86_64__ instead of __WORDSIZE.
27910 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27912         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27914 2012-03-19  David S. Miller  <davem@davemloft.net>
27916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27918         * sysdeps/sparc/fpu/fenv_private.h: New file.
27919         * sysdeps/sparc/fpu/math_private.h: Use it.
27920         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27921         Remove.
27922         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27923         (libc_feholdexcept_setroundl): Remove.
27924         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27925         Remove.
27926         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27927         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27929 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27931         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27932         int64_t instead of long int.
27933         (INSERT_WORDS64): Likwise.
27935 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27937         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27938         _Unwind_GetCFA return to _Unwind_Ptr first.
27940 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27942         [BZ #13629]
27943         * math/s_clog.c: Include <float.h>.
27944         (__clog): Scale large or subnormal inputs.
27945         * math/s_clogf.c: Likewise.
27946         * math/s_clogl.c: Likewise.
27947         * math/s_clog10.c: Include <float.h>.
27948         (M_LOG10_2): Define.
27949         (__clog10): Scale large or subnormal inputs.
27950         * math/s_clog10f.c: Likewise.
27951         * math/s_clog10l.c: Likewise.
27952         * math/libm-test.inc (clog_test): Add more tests.
27953         (clog10_test): Likewise.
27954         * sysdeps/i386/fpu/libm-test-ulps: Update.
27955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27957         [BZ #11451]
27958         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27959         x and y.
27960         * math/libm-test.inc (atan2_test): Add another test.
27962         * Makerules (common-objdir-compile): Remove.
27963         * sysdeps/unix/Makefile (config-generated): Do not add
27964         $(unix-generated) to variable.
27965         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27966         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27967         Remove rule.
27968         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27969         Likewise.
27970         [generic bits/local_lim.h] (before-compile): Do not append to
27971         variable.
27972         [generic bits/local_lim.h] (common-generated): Likewise.
27973         [generic sys/param.h] (before-compile): Do not append to variable.
27974         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27975         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27976         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27977         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27978         include.
27979         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27980         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27981         [generic sys/param.h] ($(addprefix
27982         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27983         [generic sys/param.h] (common-generated): Do not append to
27984         variable.
27985         [generic sys/param.h] (sysdep_headers): Likewise.
27986         [generic bits/errno.h] (before-compile): Do not append to
27987         variable.
27988         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27989         rule.
27990         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27991         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27992         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27993         [generic bits/errno.h] (common-generated): Do not append to
27994         variable.
27995         [generic bits/ioctls.h] (before-compile): Do not append to
27996         variable.
27997         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27998         rule.
27999         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28000         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28001         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28002         rule.
28003         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28004         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28005         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28006         [generic bits/ioctls.h] (common-generated): Do not append to
28007         variable.
28008         [generic sys/syscall.h] (syscall.h): Remove variable.
28009         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28010         rule.
28011         [generic sys/syscall.h] (before-compile): Do not append to
28012         variable.
28013         [generic sys/syscall.h] (common-generated): Likewise.
28014         * sysdeps/unix/errnos-tmpl.c: Remove file.
28015         * sysdeps/unix/errnos.awk: Likewise.
28016         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28017         * sysdeps/unix/ioctls.awk: Likewise.
28018         * sysdeps/unix/mk-local_lim.c: Likewise.
28019         * sysdeps/unix/snarf-ioctls: Likewise.
28021 2012-03-19  Richard Henderson  <rth@twiddle.net>
28023         * sysdeps/i386/fpu/fenv_private.h: New file.
28024         * sysdeps/i386/fpu/math_private.h: Use it.
28025         (math_opt_barrier, math_force_eval): Remove.
28026         (libc_feholdexcept_setround_53bit): Remove.
28027         (libc_feupdateenv_53bit): Remove.
28028         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28029         (math_opt_barrier, math_force_eval): Remove.
28030         (libc_feholdexcept): Remove.
28031         (libc_feholdexcept_setround): Remove.
28032         (libc_fetestexcept, libc_fesetenv): Remove.
28033         (libc_feupdateenv_test): Remove.
28034         (libc_feupdateenv, libc_feholdsetround): Remove.
28035         (libc_feresetround): Remove.
28037         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28038         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28040         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28041         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28042         (libc_feupdateenv_testl): New.
28043         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28044         (libc_feupdateenv_testf): New.
28045         (libc_feupdateenv): Use libc_feupdateenv_test.
28046         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28047         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28049         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28050         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28051         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28052         (libc_feresetround_noex): New.
28053         (libc_feresetround_noexf): New.
28054         (libc_feresetround_noexl): New.
28055         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28056         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28057         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28058         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28059         SET_RESTORE_ROUND.
28060         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28061         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28062         (__cos): Likewise.
28063         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28064         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28065         SET_RESTORE_ROUND_NOEX.
28066         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28067         SET_RESTORE_ROUND_NOEXF.
28068         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28069         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28070         (libc_feholdsetroundf): New.
28071         (libc_feresetround, libc_feresetroundf): New.
28073         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28074         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28075         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28077         * sysdeps/generic/math_private.h: Include <fenv.h>.
28078         (default_libc_feholdexcept): New.
28079         (default_libc_feholdexcept_setround): New.
28080         (default_libc_fesetenv, default_libc_feupdateenv): New.
28081         (libc_feholdexcept): Only define if undefined.
28082         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28083         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28084         (libc_feholdexcept_setroundl): Likewise.
28085         (libc_feholdexcept_setround_53bit): Likewise.
28086         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28087         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28088         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28089         (libc_feupdateenv_53bit): Likewise.
28090         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28091         (libc_feholdexcept): Convert from macro to inline function.
28092         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28093         (libc_fesetenv, libc_feupdateenv): Likewise.
28095         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28096         not previously defined.
28097         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28098         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28099         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28100         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28101         * sysdeps/ieee754/flt-32/math_private.h: New file.
28102         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28103         math_private.h below SET_FLOAT_WORD.
28104         (__isnan, __isinf_ns, __finite): Remove.
28105         (__isnanf, __isinf_nsf, __finitef): Remove.
28107 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28111 2012-03-17  David S. Miller  <davem@davemloft.net>
28113         [BZ #6471]
28114         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28115         for 2.16.
28117 2012-03-16  David S. Miller  <davem@davemloft.net>
28119         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28120         warnings.
28122         [BZ #6471]
28123         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28124         properly.
28125         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28126         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28127         sysdep_routines when subdir is sysvipc.
28128         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28129         __getshmlba helper.
28131         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28133 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28135         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28136         [__LP64__].
28138 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28140         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28141         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28142         (__lround): Renamed to ...
28143         (__llround): This.  Replace long int with long long int.
28144         Define lround functions as aliases of llround functions.
28145         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28147 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28149         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28150         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28151         adresses to uintptr_t.  Replace "long int" and "unsigned long
28152         int" with "greg_t" on va_arg.
28154 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28156         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28157         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28159         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28160         Move e_machine check before EI_CLASS check.  Handle x32
28161         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28162         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28163         SKIP_EM_IA_64 and include
28164         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28166         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28167         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28168         (add_system_dir): New macro.
28170         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28171         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28173 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28175         [BZ #2551]
28176         [BZ #2552]
28177         [BZ #2553]
28178         [BZ #2554]
28179         [BZ #2562]
28180         [BZ #2563]
28181         [BZ #2565]
28182         [BZ #2566]
28183         [BZ #2576]
28184         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28185         (y0): Likewise.
28186         * math/w_j0f.c (j0f): Likewise.
28187         (y0f): Likewise.
28188         * math/w_j0l.c (__j0l): Likewise.
28189         (__y0l): Likewise.
28190         * math/w_j1.c (j1): Likewise.
28191         (y1): Likewise.
28192         * math/w_j1f.c (j1f): Likewise.
28193         (y1f): Likewise.
28194         * math/w_j1l.c (__j1l): Likewise.
28195         (__y1l): Likewise.
28196         * math/w_jn.c (jn): Likewise.
28197         (yn): Likewise.
28198         * math/w_jnf.c (jnf): Likewise.
28199         (ynf): Likewise.
28200         * math/w_jnl.c (__jnl): Likewise.
28201         (__ynl): Likewise.
28202         * math/libm-test.inc (j0_test): Add more tests.
28203         (j1_test): Likewise.
28204         (jn_test): Likewise.  Add trailing semicolon to existing test.
28205         (y0_test): Likewise.
28206         (y1_test): Likewise.
28207         * sysdeps/i386/fpu/libm-test-ulps: Update.
28208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28210         [BZ #13851]
28211         [BZ #13854]
28212         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28213         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28214         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28215         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28216         (__tanl): Set errno for infinite argument.
28217         * sysdeps/i386/fpu/mptan.c: Remove.
28218         * sysdeps/i386/fpu/s_tan.S: Likewise.
28219         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28220         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28221         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28222         * math/libm-test.inc (tan_test): Add more tests and enable more
28223         tests for double and long double.
28224         * sysdeps/i386/fpu/libm-test-ulps: Update.
28225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28227 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28229         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28230         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28232 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28234         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28235         * configure.in: Use it for both main tree and add-ons.
28236         * configure: Regenerated.
28238 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28240         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28242 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28244         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28245         in comment.
28247         [BZ #13851]
28248         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28249         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28250         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28251         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28252         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28253         infinite argument.
28254         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28255         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28256         != 0 for prec == 2.
28257         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28258         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28259         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28260         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28261         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28262         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28263         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28264         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28265         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28266         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28267         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28268         * math/libm-test.inc (cos_test): Add more tests and enable more
28269         tests for long double.
28270         (sin_test): Likewise.
28271         (sincos_test): Likewise.
28272         * sysdeps/i386/fpu/libm-test-ulps: Update.
28273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28275 2012-03-16  David S. Miller  <davem@davemloft.net>
28277         * sysdeps/sparc/fpu/math_private.h: New file.
28279 2012-03-15  David S. Miller  <davem@davemloft.net>
28281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28282         file.
28283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28285         file.
28286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28287         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28291         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28292         sysdep routines.
28293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28295         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28296         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28298         * sysdeps/sparc/sparc-ifunc.h: New file.
28299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28300         sparc-ifunc.h
28301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28303         Likewise.
28304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28305         Likewise.
28306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28310         Likewise.
28311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28316         Likewise.
28317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28318         Likewise.
28319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28323         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28324         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28325         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28326         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28327         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28328         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28329         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28330         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28331         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28333         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28334         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28335         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28336         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28337         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28338         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28339         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28340         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28341         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28342         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28344 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28346         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28347         scaling.
28348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28350 2012-03-15  Andreas Jaeger  <aj@suse.de>
28352         [BZ #13852]
28353         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28354         ieee754/flt-32 implementation for sin, cos and sincos.
28355         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28356         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28357         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28358         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28359         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28360         ieee754/flt-32 implementation for tan.
28362         * math/libm-test.inc (cos_test): Enable some large input tests for
28363         float as well
28364         (sin_test): Likewise.
28365         (sincos_test): Likewise.
28366         (tan_test): Add tests for large input.
28368         * sysdeps/i386/fpu/libm-test-ulps: Update.
28370 2012-03-15  Andreas Jaeger  <aj@suse.de>
28372         [BZ #13658]
28373         * math/libm-test.inc (cos_test): Add more test cases.
28374         (sin_test): Likewise.
28375         (sincos_test): Likewise.
28377 2012-03-15  Andreas Jaeger  <aj@suse.de>
28379         [BZ #13837]
28380         * math/libm-test.inc (cos_test): Add a test case for large input
28381         value.
28382         (sin_test): Likewise.
28383         (sincos_test): Likewise.
28385 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28386         Joseph Myers  <joseph@codesourcery.com>
28388         [BZ #13658]
28389         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28390         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28391         * sysdeps/i386/fpu/branred.c: Likewise.
28392         * sysdeps/i386/fpu/dosincos.c: Likewise.
28393         * sysdeps/i386/fpu/mpa.c: Likewise.
28394         * sysdeps/i386/fpu/s_cos.S: Likewise.
28395         * sysdeps/i386/fpu/s_sin.S: Likewise.
28396         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28397         * sysdeps/i386/fpu/sincos32.c: Likewise.
28399         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28400         Define.
28401         (libc_feupdateenv_53bit): Define.
28402         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28403         Define.
28404         (libc_feupdateenv_53bit): Define.
28406         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28407         53 bit (without extend i386 double precision).
28409         * math/libm-test.inc (sincos_test): Add tests for large input.
28410         (sin): Likewise.
28411         (cos): Likewise.
28413         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28415 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28419 2012-03-15  David S. Miller  <davem@davemloft.net>
28421         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28422         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28423         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28424         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28432         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28437         file.
28438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28440         file.
28441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28443         file.
28444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28446         file.
28447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28448         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28449         fmin/fmax sysdep routines.
28450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28452 2012-03-14  David S. Miller  <davem@davemloft.net>
28454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28457         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28458         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28459         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28460         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28461         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28462         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28469         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28470         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28471         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28472         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28473         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28474         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28475         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28476         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28477         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28478         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28479         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28480         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28481         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28482         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28483         routines.
28484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28485         file.
28486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28488         file.
28489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28491         file.
28492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28494         file.
28495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28497         file.
28498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28500         file.
28501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28502         file.
28503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28504         file.
28505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28506         file.
28507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28508         New file.
28509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28510         file.
28511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28512         file.
28513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28515         file.
28516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28518         file.
28519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28521         file.
28522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28524         VIS3 routines.
28526         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28527         New file.
28529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28531         * sysdeps/sparc/configure.in: New file.
28532         * sysdeps/sparc/configure: Generate.
28533         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28534         * configure: Regenerate.
28535         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28536         * config.make.in (have-as-vis3): New.
28537         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28538         available use -Av9d instead of -Av9a.
28539         * sysdeps/sparc/sparc64/Makefile: Likewise.
28540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28542         New file.
28543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28544         file.
28545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28546         New file.
28547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28548         file.
28549         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28550         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28551         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28552         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28553         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28555         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28556         fzeros/fnegs to load 0x80000000 into a float register instead of
28557         using the stack.
28558         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28560 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28562         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28563         bits/syscall.h.
28564         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28565         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28566         ($(inst_includedir)/bits/syscall.h): Remove rule.
28567         ($(objpfx)bits/syscall.d): Include instead of
28568         $(objpfx)syscall-list.d.
28569         (generated): Change syscall-list.h and syscall-list.d to
28570         bits/syscall.h and bits/syscall.d.
28572 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28574         [BZ #13846]
28575         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28577 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28579         [BZ #13841]
28580         * math/s_csqrt.c: Include <float.h>.
28581         (__csqrt): Scale large or subnormal inputs.
28582         * math/s_csqrtf.c: Likewise.
28583         * math/s_csqrtl.c: Likewise.
28584         * math/libm-test.inc (csqrt_test): Add more tests.
28585         * sysdeps/i386/fpu/libm-test-ulps: Update.
28586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28588         [BZ #13840]
28589         * math/libm-test.inc (hypot_test): Add more tests.
28591 2012-03-13  David S. Miller  <davem@davemloft.net>
28593         [BZ #13840]
28594         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28595         double-precision for the calculation instead of scaling.
28597 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28599         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28600         manipulate bits before adding and subtracting TWO52[sx].
28601         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28602         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28603         Likewise.
28604         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28606 2012-03-13  David S. Miller  <davem@davemloft.net>
28608         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28609         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28610         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28611         rtld-global-offsets.h
28612         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28614         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28615         large parameters.
28617         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28619         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28620         'err' in the ifdef scope in which it is actually used.
28622         * nss/nss_db/db-init.c: Include string.h
28624 2012-03-12  David S. Miller  <davem@davemloft.net>
28626         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28627         masking out of the most significant byte of random value used.
28628         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28629         Fix coding style in previous change.
28631         * sysdeps/unix/sysv/linux/kernel-features.h
28632         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28633         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28634         expression.
28635         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28636         later.
28638 2012-03-11  David S. Miller  <davem@davemloft.net>
28640         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28641         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28642         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28643         for 'resultvar' otherwise things get truncated on 64-bit.
28645         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28646         Fix masking out of the most significant byte of random value used.
28648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28650 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28654 2012-03-09  David S. Miller  <davem@davemloft.net>
28656         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28657         variables with appropriate CPP guards.
28658         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28659         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28660         on resulting framesize and the management of the outregs buffer for pltexit.
28661         Preserve floating point return values across _dl_call_pltexit call.
28662         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28663         framesize and the management of the outregs buffer for pltexit.
28664         Preserve floating point return values across _dl_call_pltexit
28665         call.
28666         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28667         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28668         (print_exit): Fix format string for return register value.
28670 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28672         * sunrpc/Makefile (others): Add rpcgen.
28673         ($(objpfx)rpcgen): Remove special build rule and dependency on
28674         libc.
28675         * sunrpc/rpcgen.c: New file.
28677 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28679         [BZ #13673]
28680         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28681         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28682         * sysdeps/i386/crti.S: Likewise.
28683         * sysdeps/i386/crtn.S: Likewise.
28684         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28685         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28686         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28687         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28688         * sysdeps/sh/crti.S: Likewise.
28689         * sysdeps/sh/crtn.S: Likewise.
28690         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28692         [BZ #13673]
28693         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28694         with URL.
28695         * locale/programs/locfile-kw.gperf: Likewise.
28696         * locale/programs/charmap-kw.h: Regenerated.
28697         * locale/programs/locfile-kw.h: Likewise.
28699         [BZ #13673]
28700         * intl/plural.y: Replace FSF snail mail address with URL.
28701         * intl/plural.c: Regenerated.
28703 2012-03-09  Richard Henderson  <rth@twiddle.net>
28705         * include/math_private.h: Remove file.
28706         * math/math_private.h: Move file ...
28707         * sysdeps/generic/math_private.h: ... here.
28709         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28710         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28711         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28713         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28714         and <math_private.h>.
28715         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28716         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28717         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28718         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28719         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28720         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28721         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28722         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28723         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28724         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28725         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28726         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28727         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28728         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28729         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28730         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28731         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28732         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28733         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28734         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28735         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28736         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28737         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28738         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28739         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28740         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28741         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28742         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28743         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28744         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28745         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28746         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28747         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28748         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28749         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28750         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28751         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28752         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28753         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28754         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28755         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28756         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28757         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28758         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28759         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28760         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28761         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28762         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28763         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28764         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28765         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28766         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28767         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28768         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28769         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28770         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28771         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28772         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28773         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28774         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28775         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28776         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28777         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28778         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28779         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28780         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28781         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28782         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28783         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28784         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28785         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28786         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28787         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28788         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28789         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28790         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28791         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28792         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28793         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28794         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28795         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28796         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28797         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28798         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28799         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28800         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28801         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28802         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28803         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28804         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28805         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28806         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28807         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28808         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28809         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28810         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28811         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28812         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28813         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28814         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28815         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28816         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28817         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28818         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28819         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28820         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28821         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28822         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28823         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28824         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28825         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28826         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28827         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28828         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28829         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28830         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28831         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28832         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28833         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28834         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28835         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28836         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28837         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28838         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28839         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28840         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28841         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28842         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28843         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28844         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28845         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28846         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28847         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28848         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28849         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28850         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28851         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28852         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28853         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28854         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28855         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28856         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28857         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28858         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28859         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28860         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28861         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28862         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28863         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28864         * sysdeps/ieee754/k_standard.c: Likewise.
28865         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28866         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28867         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28868         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28869         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28870         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28871         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28872         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28873         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28874         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28875         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28876         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28877         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28878         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28879         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28880         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28881         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28882         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28883         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28884         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28885         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28886         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28887         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28888         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28889         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28890         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28891         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28892         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28893         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28894         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28895         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28896         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28897         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28898         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28899         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28900         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28901         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28902         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28903         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28904         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28905         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28906         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28907         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28908         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28909         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28910         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28911         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28912         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28913         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28914         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28915         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28916         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28917         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28918         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28919         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28920         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28921         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28922         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28923         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28924         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28925         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28926         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28927         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28928         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28929         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28930         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28931         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28932         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28933         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28934         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28935         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28936         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28937         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28938         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28939         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28940         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28941         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28942         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28943         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28944         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28945         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28946         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28947         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28948         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28949         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28950         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28951         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28952         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28953         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28954         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28955         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28956         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28957         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28958         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28959         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28960         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28961         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28962         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28963         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28964         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28965         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28966         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28967         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28968         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28969         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28970         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28971         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28972         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28973         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28974         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28975         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28976         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28977         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28978         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28979         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28980         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28981         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28982         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28983         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28984         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28985         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28986         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28987         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28988         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28989         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28990         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28991         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28992         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28993         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28994         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28995         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28996         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28997         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28998         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28999         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29000         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29001         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29002         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29003         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29004         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29005         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29006         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29007         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29008         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29009         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29010         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29011         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29012         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29013         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29014         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29015         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29016         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29017         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29018         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29019         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29020         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29021         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29022         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29023         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29024         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29025         * sysdeps/ieee754/s_lib_version.c: Likewise.
29026         * sysdeps/ieee754/s_matherr.c: Likewise.
29027         * sysdeps/ieee754/s_signgam.c: Likewise.
29028         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29029         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29030         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29031         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29032         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29033         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29034         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29035         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29036         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29037         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29038         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29039         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29040         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29041         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29042         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29043         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29044         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29045         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29046         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29047         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29048         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29050 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29052         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29053         * sunrpc/rpc_main.c: Likewise.
29054         * sunrpc/rpc_svcout.c: Likewise.
29056 2012-03-09  David S. Miller  <davem@davemloft.net>
29058         * include/math_private.h: New file.
29060 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29062         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29063         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29064         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29065         from <bits/socket_type.h>.
29066         (enum __socket_type): Don't define here.
29067         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29069         bits/socket_type.h.
29071         [BZ #13566]
29072         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29073         checking __USE_GNU.
29075         * Makerules ($(inst_includedir)/%.h): New rule.
29076         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29077         (install-others): Remove variable setting.
29078         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29080 2012-03-08  Richard Henderson  <rth@twiddle.net>
29082         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29083         from macro to inline function; merge with the
29084         !__LIBC_INTERNAL_MATH_INLINES version.
29085         (__ieee754_sqrtf): Likewise.
29087         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29088         to inline function.
29089         (__rintf, __floor, __floorf): Likewise.
29091         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29092         macro to inline function.
29093         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29095         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29096         not <math/math_private.h>.
29098 2012-03-08  David S. Miller  <davem@davemloft.net>
29100         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29101         copyright year.
29102         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29104 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29106         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29107         normalization.
29108         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29109         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29111 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29113         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29114         be defined individually, they must be defined as a block.  Define
29115         S for printing a string instead of hidint the different by using a
29116         macro for adding the 'l'.
29117         * stdio-common/tst-fphex-wide.c: Adjust.
29119 2012-03-07  Marek Polacek  <polacek@redhat.com>
29121         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29123 2012-03-08  Marek Polacek  <polacek@redhat.com>
29125         [BZ #13806]
29126         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29127         * stdio-common/tst-fphex.c: Define a few macros to make the
29128         test reusable.  Use them.
29129         * stdio-common/tst-fphex-wide.c: New file.
29131 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29133         [BZ #6911]
29134         * manual/macros.texi (gnusystems): New macro.
29135         (nongnusystems): Likewise.
29136         (gnulinuxhurdsystems): Likewise.
29137         (gnuhurdsystems): Likewise..
29138         (gnulinuxsystems): Likewise.
29139         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29140         variants of the GNU system, not "GNU system".
29141         * manual/conf.texi: Likewise.
29142         * manual/errno.texi: Likewise.  Update example of errno macro
29143         expansion.
29144         * manual/filesys.texi: Likewise.
29145         (getumask): Document as specific to GNU/Hurd.
29146         * manual/install.texi: Likewise.  Reword some references to
29147         GNU/Linux.
29148         * manual/intro.texi: Likewise.
29149         * manual/io.texi: Likewise.
29150         (File Name Portability): Detail which constraints are inapplicable
29151         to all GNU systems and which are only inapplicable to GNU/Hurd.
29152         * manual/job.texi: Likewise.
29153         * manual/llio.texi: Likewise.
29154         (O_NOCTTY): Document as present on GNU/Linux.
29155         * manual/maint.texi: Likewise.
29156         * manual/memory.texi: Likewise.
29157         * manual/pattern.texi: Likewise.
29158         * manual/pipe.texi: Likewise.
29159         * manual/process.texi: Likewise.
29160         * manual/resource.texi: Likewise.
29161         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29162         child on GNU/Hurd.
29163         * manual/setjmp.texi: Likewise.
29164         * manual/signal.texi: Likewise.
29165         * manual/startup.texi: Likewise.
29166         * manual/stdio.texi: Likewise.
29167         * manual/terminal.texi: Likewise.
29168         (ONLCR): Document as POSIX.
29169         (OXTABS): Document availability on GNU/Linux as XTABS.
29170         (ONOEOT): Document availability separately from other bits.
29171         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29172         * manual/time.texi: Likewise.
29173         * manual/users.texi: Likewise.
29174         * INSTALL: Regenerated.
29175         * sysdeps/gnu/errlist.c: Regenerated.
29177         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29178         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29179         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29180         puts.
29181         * configure: Regenerated.
29183 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29185         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29186         default includes instead of AC_HEADER_CHECK.
29187         * sysdeps/i386/configure: Regenerated.
29189         [BZ #10716]
29190         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29191         * math/s_cacoshf.c (__cacoshf): Likewise.
29192         * math/s_cacoshl.c (__cacoshl): Likewise.
29193         * math/s_casinh.c (__casinh): Set signs of result from argument.
29194         * math/s_casinhf.c (__casinhf): Likewise.
29195         * math/s_casinhl.c (__casinhl): Likewise.
29196         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29197         (casinh_test): Add more tests.
29198         * sysdeps/i386/fpu/libm-test-ulps: Update.
29199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29201 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29203         * po/zh_TW.po: Update from translation team.
29205         * login/Makefile (distribute): Remove variable.
29206         * catgets/Makefile: Likewise.
29207         * mach/Makefile: Likewise.
29208         * malloc/Makefile: Likewise.
29209         * misc/Makefile: Likewise.
29210         * iconv/Makefile: Likewise.
29211         * nscd/Makefile: Likewise.
29212         * hurd/Makefile: Likewise.
29213         * manual/Makefile: Likewise.
29214         * locale/Makefile: Likewise.
29215         * intl/Makefile: Likewise.
29216         * conform/Makefile: Likewise.
29217         * nss/Makefile: Likewise.
29218         * time/Makefile: Likewise.
29219         * soft-fp/Makefile: Likewise.
29220         * dirent/Makefile: Likewise.
29221         * gmon/Makefile: Likewise.
29222         * po/Makefile: Likewise.
29223         * rt/Makefile: Likewise.
29224         * socket/Makefile: Likewise.
29225         * math/Makefile: Likewise.
29226         * signal/Makefile: Likewise.
29227         * debug/Makefile: Likewise.
29228         * elf/Makefile: Likewise.
29229         * timezone/Makefile: Likewise.
29230         * stdlib/Makefile: Likewise.
29231         * iconvdata/Makefile: Likewise.
29232         * sunrpc/Makefile: Likewise.
29233         * io/Makefile: Likewise.
29234         * argp/Makefile: Likewise.
29235         * inet/Makefile: Likewise.
29236         * hesiod/Makefile: Likewise.
29237         * grp/Makefile: Likewise.
29238         * csu/Makefile: Likewise.
29239         * wctype/Makefile: Likewise.
29240         * crypt/Makefile: Likewise.
29241         * libio/Makefile: Likewise.
29242         * string/Makefile: Likewise.
29243         * nis/Makefile: Likewise.
29244         * resolv/Makefile: Likewise.
29245         * stdio-common/Makefile: Likewise.
29246         * wcsmbs/Makefile: Likewise.
29247         * dlfcn/Makefile: Likewise.
29248         * posix/Makefile: Likewise.
29250         [BZ #6959]
29251         * timezone/Makefile: Don't install timezone files, just the programs
29252         and scripts.
29254 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29256         * nss/databases.def: Add missing gshadow entry.
29258         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29260 2012-03-06  Marek Polacek  <polacek@redhat.com>
29262         [BZ #13726]
29263         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29264         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29265         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29266         * stdio-common/tst-long-dbl-fphex.c: New file.
29268 2012-03-06  David S. Miller  <davem@davemloft.net>
29270         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29271         (set_obp_int): New function.
29272         (get_obp_int): New function.
29273         (__get_clockfreq_via_dev_openprom): Likewise.
29274         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29275         Avoid unused variable warnings on 'val' and use builtin_expect.
29276         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29277         __builtin_expect.
29278         (INLINE_CLONE_SYSCALL): Likewise.
29280 2012-03-05  David S. Miller  <davem@davemloft.net>
29282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29284 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29288         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29289         only for |x| >= 40.
29290         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29292 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29294         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29295         Replace gettimeofday with __vdso_gettimeofday.
29297         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29298         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29299         __vdso_clock_gettime and __vdso_getcpu.
29301         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29302         time with __vdso_time.
29304 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29306         * manual/lang.texi (size_t): Note types to which size_t may be
29307         equivalent with the GNU C Library, but do not describe when
29308         differences between them are significant.
29310 2012-03-05  Andreas Jaeger  <aj@suse.de>
29312         * sysdeps/i386/fpu/libm-test-ulps: Update.
29314 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29316         [BZ #3976]
29317         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29318         (__ieee754_pow): Save and restore rounding mode and use
29319         round-to-nearest for main computations.
29320         * math/libm-test.inc (pow_test_tonearest): New function.
29321         (pow_test_towardzero): Likewise.
29322         (pow_test_downward): Likewise.
29323         (pow_test_upward): Likewise.
29324         (main): Call the new functions.
29325         * sysdeps/i386/fpu/libm-test-ulps: Update.
29326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29328         [BZ #3976]
29329         * math/libm-test.inc (cosh_test_tonearest): New function.
29330         (cosh_test_towardzero): Likewise.
29331         (cosh_test_downward): Likewise.
29332         (cosh_test_upward): Likewise.
29333         (sinh_test_tonearest): Likewise.
29334         (sinh_test_towardzero): Likewise.
29335         (sinh_test_downward): Likewise.
29336         (sinh_test_upward): Likewise.
29337         (main): Call the new functions.
29338         * sysdeps/i386/fpu/libm-test-ulps: Update.
29339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29341 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29343         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29344         default stack guard is set in last bytes.
29345         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29347 2012-03-05  Kees Cook  <keescook@chromium.org>
29349         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29351         [BZ #13656]
29352         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29353         possibly allocate from heap instead of stack.
29354         * stdio-common/bug-vfprintf-nargs.c: New file.
29355         * stdio-common/Makefile (tests): Add nargs overflow test.
29357 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29361 2012-03-03  Marek Polacek  <polacek@redhat.com>
29363         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29364         * math/math_private.h: Likewise.
29365         * stdlib/tst-strtod.c: Likewise.
29366         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29367         * sysdeps/x86_64/bits/atomic.h: Likewise.
29369 2012-03-02  David S. Miller  <davem@davemloft.net>
29371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29375         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29376         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29377         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29378         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29380 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29382         [BZ #13792]
29383         * manual/examples/README: New file, says the example source files
29384         can be used under GPL>=2.
29385         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29386         line containing just "*/".
29387         * manual/examples/add.c: Add copyright header (GPL>=2).
29388         * manual/examples/argp-ex1.c: Likewise.
29389         * manual/examples/argp-ex2.c: Likewise.
29390         * manual/examples/argp-ex3.c: Likewise.
29391         * manual/examples/argp-ex4.c: Likewise.
29392         * manual/examples/atexit.c: Likewise.
29393         * manual/examples/db.c: Likewise.
29394         * manual/examples/dir.c: Likewise.
29395         * manual/examples/dir2.c: Likewise.
29396         * manual/examples/execinfo.c: Likewise.
29397         * manual/examples/filecli.c: Likewise.
29398         * manual/examples/filesrv.c: Likewise.
29399         * manual/examples/fmtmsgexpl.c: Likewise.
29400         * manual/examples/genpass.c: Likewise.
29401         * manual/examples/inetcli.c: Likewise.
29402         * manual/examples/inetsrv.c: Likewise.
29403         * manual/examples/isockad.c: Likewise.
29404         * manual/examples/longopt.c: Likewise.
29405         * manual/examples/memopen.c: Likewise.
29406         * manual/examples/memstrm.c: Likewise.
29407         * manual/examples/mkfsock.c: Likewise.
29408         * manual/examples/mkisock.c: Likewise.
29409         * manual/examples/mygetpass.c: Likewise.
29410         * manual/examples/pipe.c: Likewise.
29411         * manual/examples/popen.c: Likewise.
29412         * manual/examples/rprintf.c: Likewise.
29413         * manual/examples/search.c: Likewise.
29414         * manual/examples/select.c: Likewise.
29415         * manual/examples/setjmp.c: Likewise.
29416         * manual/examples/sigh1.c: Likewise.
29417         * manual/examples/sigusr.c: Likewise.
29418         * manual/examples/stpcpy.c: Likewise.
29419         * manual/examples/strdupa.c: Likewise.
29420         * manual/examples/strftim.c: Likewise.
29421         * manual/examples/strncat.c: Likewise.
29422         * manual/examples/subopt.c: Likewise.
29423         * manual/examples/swapcontext.c: Likewise.
29424         * manual/examples/termios.c: Likewise.
29425         * manual/examples/testopt.c: Likewise.
29426         * manual/examples/testpass.c: Likewise.
29427         * manual/examples/timeval_subtract.c: Likewise.
29429         [BZ #13792]
29430         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29431         function to ...
29432         * manual/timeval_subtract.c.texi: ... here, new file.
29434 2012-03-02  David S. Miller  <davem@davemloft.net>
29436         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29438 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29440         [BZ #3976]
29441         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29442         (__sin): Save and restore rounding mode and use round-to-nearest
29443         for all computations.
29444         (__cos): Save and restore rounding mode and use round-to-nearest
29445         for all computations.
29446         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29447         <fenv.h>.
29448         (tan): Save and restore rounding mode and use round-to-nearest for
29449         all computations.
29450         * math/libm-test.inc (cos_test_tonearest): New function.
29451         (cos_test_towardzero): Likewise.
29452         (cos_test_downward): Likewise.
29453         (cos_test_upward): Likewise.
29454         (sin_test_tonearest): Likewise.
29455         (sin_test_towardzero): Likewise.
29456         (sin_test_downward): Likewise.
29457         (sin_test_upward): Likewise.
29458         (tan_test_tonearest): Likewise.
29459         (tan_test_towardzero): Likewise.
29460         (tan_test_downward): Likewise.
29461         (tan_test_upward): Likewise.
29462         (main): Call the new functions.
29463         * sysdeps/i386/fpu/libm-test-ulps: Update.
29464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29466         [BZ #10135]
29467         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29468         small n, then large n, before computing and testing k+n.
29469         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29470         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29471         Likewise.
29472         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29473         Likewise.
29474         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29475         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29476         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29477         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29478         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29479         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29480         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29481         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29482         * math/libm-test.inc (scalbn_test): Add more tests.
29483         (scalbln_test): Likewise.
29485         * manual/filesys.texi (mode_t): Describe constraints on size and
29486         signedness, not exact equivalence to a particular type.
29487         (ino_t): Likewise.
29488         (ino64_t): Likewise.
29489         (dev_t): Likewise.
29490         (nlink_t): Likewise.
29491         (blkcnt_t): Likewise.
29492         (blkcnt64_t): Likewise.
29493         * manual/llio.texi (off_t): Likewise.
29495         [BZ #3976]
29496         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29497         (__ieee754_exp): Save and restore rounding mode and use
29498         round-to-nearest for all computations.
29499         * math/libm-test.inc (exp_test_tonearest): New function.
29500         (exp_test_towardzero): Likewise.
29501         (exp_test_downward): Likewise.
29502         (exp_test_upward): Likewise.
29503         (main): Call the new functions.
29504         * sysdeps/i386/fpu/libm-test-ulps: Update.
29505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29507 2012-03-01  Chris Demetriou  <cgd@google.com>
29509         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29510         have predictable order.
29512 2012-03-01  David S. Miller  <davem@davemloft.net>
29514         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29516         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29517         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29518         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29519         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29521         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29522         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29523         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29525         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29526         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29527         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29528         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29529         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29533         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29534         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29535         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29537         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29538         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29539         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29540         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29541         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29542         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29543         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29544         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29545         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29546         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29547         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29548         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29549         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29550         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29551         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29552         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29553         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29554         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29555         * sysdeps/sparc/elf/configure: Regenerated.
29557 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29559         * configure.in (AS, LD): Require binutils 2.20 or later.
29560         * configure: Regenerated.
29561         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29562         as required minimum version.
29563         * INSTALL: Regenerated.
29565         [BZ #2541]
29566         [BZ #4108]
29567         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29568         before squaring exponent.
29569         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29570         bottom long double and 27 bits of top long double before squaring
29571         exponent.
29572         * math/libm-test.inc (erfc_test): Add more tests.
29573         * sysdeps/i386/fpu/libm-test-ulps: Update.
29574         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29577 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29579         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29580         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29581         containing bit-fields.
29582         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29583         * soft-fp/single.h (_FP_UNION_S): Likewise.
29584         * soft-fp/double.h (_FP_UNION_D): Likewise.
29586 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29588         [BZ #13786]
29589         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29590         not include ../strcmp.S.
29591         [USE_AS_STRNCASECMP_L]: Likewise.
29592         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29593         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29594         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29595         (__strncasecmp_l_ia32): Define as alias to
29596         __strncasecmp_l_nonascii.
29598         [BZ #5794]
29599         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29600         * sysdeps/i386/fpu/libm-test-ulps: Update.
29601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29603         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29606 2012-02-29  Jeff Law  <law@redhat.com>
29608         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29609         out of bounds read.
29611 2012-02-29  Marek Polacek  <polacek@redhat.com>
29613         [BZ #13706]
29614         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29615         * elf/Makefile: Add rules to run tst-unused-dep.out.
29617 2012-02-28  David S. Miller  <davem@davemloft.net>
29619         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29620         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29621         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29622         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29623         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29624         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29626 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29628         * math/libm-test.inc (llround_test): Move one test from
29629         lround_test.  Use TEST_f_L in moved test.
29630         (lround_test): Move misplaced test to llround_test.  Add testcase
29631         from bug 2561.
29633 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29635         * sysdeps/x86_64/fpu/e_expf.S: New file.
29636         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29638 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29640         [BZ #13637]
29641         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29642         of remain_len that may cause incomplete multi-byte character and
29643         false match.
29644         * posix/bug-regex33.c: New file.
29645         * posix/Makefile (tests): Add bug-regex33.
29647 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29649         * manual/macros.texi: New file.
29650         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29651         * manual/libc.texinfo: Include macros.texi.
29652         * manual/creatute.texi: Likewise.
29653         * manual/install.texi: Likewise.
29654         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29655         @glibcadj{} in references to the GNU C Library.
29656         * manual/charset.texi: Likewise.
29657         * manual/conf.texi: Likewise.
29658         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29659         when not using those macros.
29660         * manual/creature.texi: Likewise.
29661         * manual/crypt.texi: Likewise.
29662         * manual/errno.texi: Likewise.
29663         * manual/filesys.texi: Likewise.
29664         * manual/header.texi: Likewise.
29665         * manual/install.texi: Likewise.
29666         * manual/intro.texi: Likewise.
29667         * manual/io.texi: Likewise.
29668         * manual/job.texi: Likewise.
29669         * manual/lang.texi: Likewise.
29670         * manual/libc.texiinfo: Likewise.
29671         * manual/llio.texi: Likewise.
29672         * manual/locale.texi: Likewise.
29673         * manual/maint.texi: Likewise.
29674         * manual/math.texi: Likewise.
29675         * manual/memory.texi: Likewise.
29676         * manual/message.texi: Likewise.
29677         * manual/nss.texi: Likewise.
29678         * manual/pattern.texi: Likewise.
29679         * manual/process.texi: Likewise.
29680         * manual/resource.texi: Likewise.
29681         * manual/search.texi: Likewise.
29682         * manual/setjmp.texi: Likewise.
29683         * manual/signal.texi: Likewise.
29684         * manual/socket.texi: Likewise.
29685         * manual/startup.texi: Likewise.
29686         * manual/stdio.texi: Likewise.
29687         * manual/string.texi: Likewise.
29688         * manual/sysinfo.texi: Likewise.
29689         * manual/syslog.texi: Likewise.
29690         * manual/terminal.texi: Likewise.
29691         * manual/time.texi: Likewise.
29692         * manual/users.texi: Likewise.
29693         * INSTALL: Regenerated.
29694         * NOTES: Regenerated.
29695         * sysdeps/gnu/errlist.c: Regenerated.
29697 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29699         * include/dirent.h: Include <dirstream.h> before
29700         <dirent/dirent.h>.
29702 2012-02-28  David S. Miller  <davem@davemloft.net>
29704         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29705         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29706         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29707         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29709 2012-02-27  David S. Miller  <davem@davemloft.net>
29711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29713         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29714         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29717         frame pointer instead of stack pointer relative arg slot.
29718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29719         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29720         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29722 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29724         [BZ #3992]
29725         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29727 2012-02-27  David S. Miller  <davem@davemloft.net>
29729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29733         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29734         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29735         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29736         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29738 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29740         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29741         later.  Allow versions 5-9.
29742         * configure: Regenerated.
29743         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29744         required minimum version and 4.6 as recommended version.  Do not
29745         mention bugs in GCC 2.7 and 2.8.
29746         * INSTALL: Regenerated.
29748 2012-02-27  David S. Miller  <davem@davemloft.net>
29750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29754         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29755         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29756         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29757         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29759         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29760         manipulate bits before adding and subtracting TWO112[sx].
29761         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29763 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29765         [BZ #13775]
29766         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29767         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29768         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29769         being in POSIX, because they are in 1003.1-2008.
29771         * rt/tst-aio.c: Include <fcntl.h>.
29772         * rt/tst-aio7.c: Likewise.
29773         * rt/tst-aio64.c: Likewise.
29775         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29777 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29779         * manual/install.texi (--with-headers): Describe headers as
29780         interface headers, not private headers.
29781         (Specific advice for GNU/Linux systems): Describe use of headers
29782         from "make headers_install", not private headers from older
29783         kernels.
29784         * INSTALL: Regenerated.
29785         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29786         Change to 2.6.19.
29787         * sysdeps/unix/sysv/linux/configure: Regenerated.
29789         * manual/llio.texi (fclean): Remove documentation.
29791         * manual/Makefile (libc-texi-generated): New variable.  Include
29792         version.texi.
29793         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29794         $(libc-texi-generated), not duplicated list of files.
29795         (version.texi, stamp-version): New rules.
29796         (realclean): Remove $(libc-texi-generated), not individual files
29797         from that list.  Do not remove dir-add.texinfo.
29798         * manual/libc.texinfo: Comment out uses of edition numbers and
29799         references to printed manual.  Remove last-updated dates.
29800         (EDITION): Comment out.
29801         (ISBN): Likewise.
29802         (VERSION, UPDATED): Remove.
29803         (version.texi): Include.
29805 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29807         * sysdeps/posix/spawni.c: Include <signal.h>.
29808         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29809         * sysdeps/pthread/aio_fsync.c: Likewise.
29811 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29813         * conform/Makefile (tests): Run only when not cross-compiling and
29814         when fast-check is not defined.
29816         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29817         * conform/data/limits.h-data: Fixes for POSIX2008.
29818         * conform/run-conformtest.sh: Run all tests.
29819         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29820         headers.
29821         * include/bits/dlfcn.h: Likewise.
29822         * include/langinfo.h: Likewise.
29823         * include/monetary.h: Likewise.
29824         * include/sys/poll.h: Likewise.
29826         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29827         for __USE_GNU.
29828         * posix/spawn.h: Define __need_sigset_t.
29829         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29830         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29831         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29832         to get sigevent_t only.
29833         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29834         only for __USE_GNU.
29835         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29836         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29837         process_vm_writev only for __USE_GNU.
29838         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29840         * conform/Makefile: For now ignore errors from run-conformtest.
29841         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29842         POSIX to avoid namespace pollution.  Don't prepend headers.
29843         * conform/data/aio.h-data: Fixes for POSIX testing.
29844         * conform/data/fcntl.h-data: Likewise.
29845         * conform/data/glob.h-data: Likewise.
29846         * conform/data/grp.h-data: Likewise.
29847         * conform/data/pthread.h-data: Likewise.
29848         * conform/data/pwd.h-data: Likewise.
29849         * conform/data/signal.h-data: Likewise.
29850         * conform/data/spawn.h-data: Likewise.
29851         * conform/data/stdio.h-data: Likewise.
29852         * conform/data/stdlib.h-data: Likewise.
29853         * conform/data/stropts.h-data: Likewise.
29854         * conform/data/sys/mman.h-data: Likewise.
29855         * conform/data/sys/stat.h-data: Likewise.
29856         * conform/data/sys/types.h-data: Likewise.
29857         * conform/data/sys/wait.h-data: Likewise.
29858         * conform/data/time.h-data: Likewise.
29859         * conform/data/unistd.h-data: Likewise.
29860         * conform/data/utime.h-data: Likewise.
29862         * io/sys/stat.h: fchmod was always in POSIX.
29863         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29864         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29865         * rt/aio.h: Define __need_timespec before including <time.h>.
29866         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29867         struct.  Add forward declaration of pthread_attr_t and use it in
29868         sigevent.
29869         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29870         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29871         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29872         always remove CLK_TCK definition.
29874 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29876         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29878 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29880         * conform/run-conformtest.sh: New file.
29881         * conform/Makefile: Run run-conformtest for tests.
29882         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29883         support.
29885         * conform/data/uchar.h-data: New file.
29886         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29887         * conform/data/arpa/inet.h-data: Likewise.
29888         * conform/data/assert.h-data: Likewise.
29889         * conform/data/complex.h-data: Likewise.
29890         * conform/data/cpio.h-data: Likewise.
29891         * conform/data/ctype.h-data: Likewise.
29892         * conform/data/dirent.h-data: Likewise.
29893         * conform/data/dlfcn.h-data: Likewise.
29894         * conform/data/errno.h-data: Likewise.
29895         * conform/data/fcntl.h-data: Likewise.
29896         * conform/data/float.h-data: Likewise.
29897         * conform/data/fmtmsg.h-data: Likewise.
29898         * conform/data/fnmatch.h-data: Likewise.
29899         * conform/data/ftw.h-data: Likewise.
29900         * conform/data/glob.h-data: Likewise.
29901         * conform/data/grp.h-data: Likewise.
29902         * conform/data/iconv.h-data: Likewise.
29903         * conform/data/inttypes.h-data: Likewise.
29904         * conform/data/langinfo.h-data: Likewise.
29905         * conform/data/libgen.h-data: Likewise.
29906         * conform/data/limits.h-data: Likewise.
29907         * conform/data/locale.h-data: Likewise.
29908         * conform/data/math.h-data: Likewise.
29909         * conform/data/monetary.h-data: Likewise.
29910         * conform/data/mqueue.h-data: Likewise.
29911         * conform/data/ndbm.h-data: Likewise.
29912         * conform/data/net/if.h-data: Likewise.
29913         * conform/data/netdb.h-data: Likewise.
29914         * conform/data/netinet/in.h-data: Likewise.
29915         * conform/data/nl_types.h-data: Likewise.
29916         * conform/data/poll.h-data: Likewise.
29917         * conform/data/pthread.h-data: Likewise.
29918         * conform/data/pwd.h-data: Likewise.
29919         * conform/data/regex.h-data: Likewise.
29920         * conform/data/sched.h-data: Likewise.
29921         * conform/data/search.h-data: Likewise.
29922         * conform/data/semaphore.h-data: Likewise.
29923         * conform/data/setjmp.h-data: Likewise.
29924         * conform/data/signal.h-data: Likewise.
29925         * conform/data/spawn.h-data: Likewise.
29926         * conform/data/stdarg.h-data: Likewise.
29927         * conform/data/stdio.h-data: Likewise.
29928         * conform/data/stdlib.h-data: Likewise.
29929         * conform/data/string.h-data: Likewise.
29930         * conform/data/strings.h-data: Likewise.
29931         * conform/data/stropts.h-data: Likewise.
29932         * conform/data/sys/ipc.h-data: Likewise.
29933         * conform/data/sys/mman.h-data: Likewise.
29934         * conform/data/sys/msg.h-data: Likewise.
29935         * conform/data/sys/resource.h-data: Likewise.
29936         * conform/data/sys/select.h-data: Likewise.
29937         * conform/data/sys/sem.h-data: Likewise.
29938         * conform/data/sys/shm.h-data: Likewise.
29939         * conform/data/sys/socket.h-data: Likewise.
29940         * conform/data/sys/stat.h-data: Likewise.
29941         * conform/data/sys/statvfs.h-data: Likewise.
29942         * conform/data/sys/time.h-data: Likewise.
29943         * conform/data/sys/timeb.h-data: Likewise.
29944         * conform/data/sys/times.h-data: Likewise.
29945         * conform/data/sys/types.h-data: Likewise.
29946         * conform/data/sys/uio.h-data: Likewise.
29947         * conform/data/sys/un.h-data: Likewise.
29948         * conform/data/sys/utsname.h-data: Likewise.
29949         * conform/data/sys/wait.h-data: Likewise.
29950         * conform/data/syslog.h-data: Likewise.
29951         * conform/data/tar.h-data: Likewise.
29952         * conform/data/termios.h-data: Likewise.
29953         * conform/data/utime.h-data: Likewise.
29954         * conform/data/utmpx.h-data: Likewise.
29955         * conform/data/varargs.h-data: Likewise.
29956         * conform/data/wchar.h-data: Likewise.
29957         * conform/data/wctype.h-data: Likewise.
29958         * conform/data/wordexp.h-data: Likewise.
29960         * include/stropts.h: New file.
29961         * include/uchar.h: New file.
29962         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29963         * include/assert.h: Likewise.
29964         * include/ctype.h: Likewise.
29965         * include/dirent.h: Likewise.
29966         * include/dlfcn.h: Likewise.
29967         * include/fcntl.h: Likewise.
29968         * include/fnmatch.h: Likewise.
29969         * include/glob.h: Likewise.
29970         * include/grp.h: Likewise.
29971         * include/libio.h: Likewise.
29972         * include/locale.h: Likewise.
29973         * include/math.h: Likewise.
29974         * include/net/if.h: Likewise.
29975         * include/netdb.h: Likewise.
29976         * include/netinet/in.h: Likewise.
29977         * include/pthread.h: Likewise.
29978         * include/pwd.h: Likewise.
29979         * include/regex.h: Likewise.
29980         * include/sched.h: Likewise.
29981         * include/search.h: Likewise.
29982         * include/setjmp.h: Likewise.
29983         * include/signal.h: Likewise.
29984         * include/stdio.h: Likewise.
29985         * include/stdlib.h: Likewise.
29986         * include/string.h: Likewise.
29987         * include/sys/cdefs.h: Likewise.
29988         * include/sys/mman.h: Likewise.
29989         * include/sys/msg.h: Likewise.
29990         * include/sys/resource.h: Likewise.
29991         * include/sys/select.h: Likewise.
29992         * include/sys/socket.h: Likewise.
29993         * include/sys/stat.h: Likewise.
29994         * include/sys/statvfs.h: Likewise.
29995         * include/sys/time.h: Likewise.
29996         * include/sys/times.h: Likewise.
29997         * include/sys/uio.h: Likewise.
29998         * include/sys/utsname.h: Likewise.
29999         * include/sys/wait.h: Likewise.
30000         * include/termios.h: Likewise.
30001         * include/time.h: Likewise.
30002         * include/ulimit.h: Likewise.
30003         * include/unistd.h: Likewise.
30004         * include/utime.h: Likewise.
30005         * include/wchar.h: Likewise.
30006         * include/wctype.h: Likewise.
30007         * include/wordexp.h: Likewise.
30009         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30011         * time/time.h: TIME_UTC must be a macro.
30012         Make timespec_get available for ISO C11 only as well.
30014 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30016         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30017         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30019 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30021         * configure.in: Use -o not -a in test for unsupported multi-arch.
30023 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30025         * manual/texinfo.tex: Update to version 2012-01-19.16.
30027 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30029         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30031 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30033         [BZ #13738]
30034         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30035         * manual/fdl-1.3.texi: New file.
30036         * manual/fdl-1.1.texi: File removed.
30038         [BZ #13738]
30039         * manual/libc.texinfo (FDL_VERSION): New @set.
30040         Use it for mention of FDL in cover text.
30041         (Documentation License): Use it in @include file name.
30043 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30044             Roland McGrath  <roland@hack.frob.com>
30046         [BZ #5461]
30047         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30048         not LONG_LONG_MAX and LONG_LONG_MIN.
30049         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30050         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30051         name.
30052         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30054 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30056         [BZ #2547]
30057         [BZ #11365]
30058         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30059         manipulate bits before adding and subtracting TWO23[sx].
30060         * math/libm-test.inc (nearbyint_test): Add more tests.
30062 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30064         [BZ #2548]
30065         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30066         bits before adding and subtracting TWO23[sx].
30067         * math/libm-test.inc (rint_test): Add more tests.
30068         (rint_test_tonearest): Likewise.
30069         (rint_test_towardzero): Likewise.
30070         (rint_test_downward): Likewise.
30071         (rint_test_upward: Likewise.
30073 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30075         [BZ #10110]
30076         * include/stdc-predef.h: New file.  Extracted from features.h.
30077         * include/features.h: Include stdc-predef.h.
30078         * Makefile (headers): Add stdc-predef.h.
30079         * CONFORMANCE (Compiler limitations): Update.
30081 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30083         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30085 2012-02-21  David S. Miller  <davem@davemloft.net>
30087         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30088         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30090 2012-02-20  David S. Miller  <davem@davemloft.net>
30092         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30093         using a normal save/restore sequence, rather than allocating a
30094         dummy stack frame just to store a frame pointer and restore.
30095         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30097 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30099         * manual/install.texi: Fix stray word in line-wrapped comment.
30101 2012-02-20  David S. Miller  <davem@davemloft.net>
30103         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30104         both binutils and gcc support GOTDATA.
30106         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30107         "rd %pc" in the PIC register setup sequences.
30109         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30110         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30111         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30112         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30113         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30114         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30115         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30116         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30117         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30118         (SYSCALL_ERROR_HANDLER): Likewise.
30119         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30120         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30121         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30122         (SYSCALL_ERROR_HANDLER): Likewise.
30124         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30125         (HAVE_GCC_GOTDATA): New.
30126         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30127         relocation support in both binutils and gcc.
30128         * sysdeps/sparc/elf/configure: Regenerate.
30130         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30131         * sysdeps/sparc/sparc32/elf/configure: Delete.
30132         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30133         * sysdeps/sparc/sparc64/elf/configure: Delete.
30134         * sysdeps/sparc/elf/configure.in: New file.
30135         * sysdeps/sparc/elf/configure: Generate.
30137         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30138         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30139         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30140         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30141         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30143 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30145         * manual/install.texi: Do not mention specific glibc version
30146         numbers.
30147         * manual/libc.texinfo (VERSION, UPDATED): Update.
30148         (@copying): Use @copyright{} and range of years.
30150 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30152         [BZ #13695]
30153         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30154         [crti.S not in sysdirs] (generated): Do not append.
30155         [crti.S not in sysdirs] (omit-deps): Likewise.
30156         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30157         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30158         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30159         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30160         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30161         Likewise.
30162         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30163         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30164         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30165         * csu/defs.awk: Remove file.
30166         * sysdeps/generic/initfini.c: Likewise.
30167         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30168         variable.
30169         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30170         Likewise.
30172 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30174         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30175         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30176         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30177         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30178         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30179         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30180         <bits/epoll.h>.
30181         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30182         (__EPOLL_PACKED): Define to empty if not defined by
30183         <bits/epoll.h>.
30184         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30185         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30186         bits/epoll.h.
30188 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30190         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30191         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30192         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30193         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30194         <bits/timerfd.h>.
30195         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30196         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30197         bits/timerfd.h.
30199 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30201         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30202         in C locale.
30203         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30204         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30205         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30208 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30210         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30211         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30213 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30215         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30216         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30217         defined.
30218         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30219         Likewise.
30220         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30221         entry for 2.16.
30223 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30225         * math/w_acos.c: Use non-signaling floating-point comparisons.
30226         * math/w_acosf.c: Likewise.
30227         * math/w_acosh.c: Likewise.
30228         * math/w_acoshf.c: Likewise.
30229         * math/w_acoshl.c: Likewise.
30230         * math/w_acosl.c: Likewise.
30231         * math/w_asin.c: Likewise.
30232         * math/w_asinf.c: Likewise.
30233         * math/w_asinl.c: Likewise.
30234         * math/w_atanh.c: Likewise.
30235         * math/w_atanhf.c: Likewise.
30236         * math/w_atanhl.c: Likewise.
30237         * math/w_exp2.c: Likewise.
30238         * math/w_exp2f.c: Likewise.
30239         * math/w_exp2l.c: Likewise.
30240         * math/w_j0.c: Likewise.
30241         * math/w_j0f.c: Likewise.
30242         * math/w_j0l.c: Likewise.
30243         * math/w_j1.c: Likewise.
30244         * math/w_j1f.c: Likewise.
30245         * math/w_j1l.c: Likewise.
30246         * math/w_jn.c: Likewise.
30247         * math/w_jnf.c: Likewise.
30248         * math/w_log.c: Likewise.
30249         * math/w_log10.c: Likewise.
30250         * math/w_log10f.c: Likewise.
30251         * math/w_log10l.c: Likewise.
30252         * math/w_log2.c: Likewise.
30253         * math/w_log2f.c: Likewise.
30254         * math/w_log2l.c: Likewise.
30255         * math/w_logf.c: Likewise.
30256         * math/w_logl.c: Likewise.
30257         * math/w_sqrt.c: Likewise.
30258         * math/w_sqrtf.c: Likewise.
30259         * math/w_sqrtl.c: Likewise.
30260         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30261         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30262         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30263         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30264         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30266 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30268         [BZ #9739]
30269         * manual/string.texi (strnlen): Use correct parameter name in
30270         equivalent expression.
30272 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30274         [BZ #11174]
30275         * manual/users.texi (seteuid): Consistently use neweuid for
30276         argument name.
30278 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30280         [BZ #13704]
30281         * manual/nss.texi (Services in the NSS configuration): Correct
30282         list of services in example configuration file.
30284 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30286         [BZ #11322]
30287         * manual/arith.texi: Remove statements about negative zero
30288         behaving identically to zero.
30290 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30292         [BZ #5993]
30293         * manual/install.texi: Do not document upgrading from libc5.
30295 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30297         [BZ #4596]
30298         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30300 2012-02-18  David S. Miller  <davem@davemloft.net>
30302         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30303         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30304         %o7 across the call.
30305         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30306         instead.
30307         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30308         SETUP_PIC_REG_LEAF.
30309         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30310         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30311         * sysdeps/sparc/crtn.S: Likewise.
30313 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30315         * aout/Makefile: Remove.
30317 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30319         [BZ #13058]
30320         * manual/examples/argp-ex1.c (main): Format definition in GNU
30321         style.
30322         * manual/examples/argp-ex2.c (main): Likewise.
30323         * manual/examples/argp-ex3.c (main): Likewise.
30324         * manual/examples/argp-ex4.c (main): Likewise.
30325         * manual/examples/longopt.c (main): Use new-style prototype
30326         definition.
30327         * manual/examples/strncat.c (main): Specify return type and use
30328         (void) for arguments.
30329         * manual/examples/subopt.c (main): Use char **argv argument.
30331 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30333         [BZ #5077]
30334         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30335         rounding modes.
30337 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30339         [BZ #6907]
30340         * manual/string.texi (strchr): Change when strchrnul is
30341         recommended.
30343 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30345         [BZ #174]
30346         * manual/locale.texi (setlocale): Document LOCPATH.
30348 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30350         [BZ #10210]
30351         * manual/process.texi (execle): Move @dots{} before last argument.
30353 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30355         [BZ #12047]
30356         * manual/charset.texi (Generic Charset Conversion): Fix typo
30357         (LC_TYPE -> LC_CTYPE).
30359 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30361         [BZ #5805]
30362         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30363         (scalbnf): Likewise.
30364         (scalbnl): Likewise.
30365         (scalbln): Likewise.
30366         (scalblnf): Likewise.
30367         (scalblnl): Likewise.
30368         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30369         (vwarnx): Likewise.
30370         (verr): Likewise.
30371         (verrx): Likewise.
30372         * manual/filesys.texi (telldir): Use braces around return type.
30373         * manual/llio.texi (mmap): Add space after comma.
30374         (mmap64): Likewise.
30375         * manual/math.texi (jn): Use @var{} on parameter names.
30376         (jnf): Likewise.
30377         (jnl): Likewise.
30378         (yn): Likewise.
30379         (ynf): Likewise.
30380         (ynl): Likewise.
30381         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30382         line.
30383         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30384         "...".
30385         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30386         (sched_get_priority_max): Likewise.
30387         * manual/signal.texi (sigvec): Add space after comma.
30388         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30389         names.
30390         (if_indextoname): Likewise.
30391         (if_freenameindex): Likewise.
30392         (sendto): Use ',' instead of '.' in prototype.
30393         * manual/startup.texi (syscall): Use @dots{} instead of literal
30394         "...".
30395         * manual/stdio.texi (__fpending): Separate initial words of
30396         paragraph from @deftypefun line.
30397         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30398         "...".
30399         (vsyslog): Use @var{} on parameter names.
30400         * manual/terminal.texi (stty): Use @var{} on parameter names.
30401         * manual/users.texi (getutmp): Use @var{} on parameter names.
30402         (getutmpx): Likewise.
30404 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30406         [BZ #6884]
30407         * manual/stdio.texi (fopen): Fix typos in description of
30408         ",ccs=STRING".
30410 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30412         [BZ #4026]
30413         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30414         get clock_id definition.
30416 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30418         [BZ #4822]
30419         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30420         (madvise): Cast every argument to void on its own.
30422 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30424         [BZ #9902]
30425         * manual/startup.texi (Exit Status): Fix typo.
30427 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30429         [BZ #10140]
30430         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30431         * manual/examples/argp-ex2.c: Likewise.
30432         * manual/examples/argp-ex3.c: Likewise.
30434 2012-02-16  Richard Henderson  <rth@redhat.com>
30436         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30437         * sysdeps/s390/s390-32/initfini.c: Remove.
30438         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30439         * sysdeps/s390/s390-64/initfini.c: Remove.
30441 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30443         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30444         compiler output for sysdeps/generic/initfini.c.
30445         * sysdeps/sh/elf/initfini.c: Remove file.
30447 2012-02-16  David S. Miller  <davem@davemloft.net>
30449         [BZ #11494]
30450         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30452         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30453         * sysdeps/sparc/crti.S: New file.
30454         * sysdeps/sparc/crtn.S: New file.
30455         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30456         * sysdeps/sparc/sparc64/Makefile: Likewise.
30458 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30460         [BZ #3335]
30461         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30463 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30465         [BZ #4822]
30466         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30468         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30469         (write, read, close): Likewise.
30470         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30472 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30474         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30475         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30476         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30477         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30478         <bits/signalfd.h>.
30479         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30480         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30481         bits/signalfd.h.
30483 2012-02-14  Marek Polacek  <polacek@redhat.com>
30485         * sysdeps/x86_64/crti.S: New file.
30486         * sysdeps/x86_64/crtn.S: New file.
30487         * sysdeps/x86_64/elf/initfini.c: Remove file.
30489 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30491         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30492         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30493         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30494         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30495         <bits/inotify.h>.
30496         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30497         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30498         bits/inotify.h.
30500 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30502         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30503         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30504         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30505         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30506         <bits/eventfd.h>.
30507         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30509         bits/eventfd.h.
30511 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30513         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30514         __feraiseexcept instead of feraiseexcept.
30516         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30517         nanosleep invocations.
30518         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30519         strings, and add error checking for a nanosleep invocations.
30521 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30523         Replace FSF snail mail address with URLs, as per GNU coding standards.
30524         Most of the snail mail addresses were wrong anyway, and omitting
30525         them makes the source code easier to maintain.  Almost all of the
30526         changes are to license notices and to locale LC_IDENTIFICATION
30527         addresses, except for this one:
30528         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30529         not its snail mail address.
30531 2012-02-09  Richard Henderson  <rth@twiddle.net>
30533         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30534         of kernel-features.h.
30536         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30538 2012-02-08  Marek Polacek  <polacek@redhat.com>
30540         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30541         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30542         * sysdeps/gnu/_G_config.h: Likewise.
30543         * sysdeps/generic/_G_config.h: Likewise.
30545 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30547         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30548         tests.
30549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30551         * sysdeps/powerpc/powerpc32/crti.S: New file.
30552         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30553         * sysdeps/powerpc/powerpc64/crti.S: New file.
30554         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30556         * Makeconfig (have-initfini): Don't set.
30557         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30558         * configure.in (nopic_initfini): Don't substitute.
30559         * config.h.in (HAVE_INITFINI): Don't #undef.
30560         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30561         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30563 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30565         Support crti.S and crtn.S provided directly by architectures.
30566         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30567         [crti.S in sysdirs] (omit-deps): Likewise.
30568         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30569         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30570         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30571         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30572         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30573         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30574         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30575         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30576         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30577         compiler output for sysdeps/generic/initfini.c.
30578         * sysdeps/i386/elf/Makefile: Remove file.
30579         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30581 2012-02-07  Marek Polacek  <polacek@redhat.com>
30583         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30584         * sysdeps/gnu/_G_config.h: Likewise.
30585         * sysdeps/mach/hurd/_G_config.h: Likewise.
30587 2012-02-07  Marek Polacek  <polacek@redhat.com>
30589         * math/Makefile (tests): Add tst-CMPLX2.
30590         * math/tst-CMPLX2.c: New file.
30592 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30594         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30596         * math/libm-test.inc (jn_test): Add missing L suffix.
30598 2012-02-06  Marek Polacek  <polacek@redhat.com>
30600         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30601         * sysdeps/i386/fpu/e_powf.S: Likewise.
30602         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30603         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30604         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30605         * sysdeps/i386/fpu/e_pow.S: Likewise.
30606         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30607         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30608         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30609         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30610         * sysdeps/i386/fpu/e_log2.S: Likewise.
30611         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30612         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30613         * sysdeps/i386/fpu/e_powl.S: Likewise.
30614         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30615         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30616         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30617         * sysdeps/i386/fpu/e_logl.S: Likewise.
30618         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30619         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30620         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30621         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30622         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30623         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30624         * sysdeps/i386/fpu/e_log.S: Likewise.
30625         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30626         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30627         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30628         * sysdeps/i386/fpu/e_logf.S: Likewise.
30629         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30630         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30631         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30632         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30633         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30634         * sysdeps/i386/fpu/e_log10.S: Likewise.
30635         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30636         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30637         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30638         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30639         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30640         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30641         * sysdeps/i386/asm-syntax.h: Likewise.
30642         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30643         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30644         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30645         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30646         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30647         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30648         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30649         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30650         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30651         * sysdeps/powerpc/sysdep.h: Likewise.
30652         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30653         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30655 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30657         [BZ #411]
30658         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30660 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30662         * sysdeps/i386/sysdep.h: Include <features.h>.
30663         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30664         version.
30666 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30668         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30669         Define.
30670         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30671         LOAD_PIC_REG_STR.
30673 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30675         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30676         (SETUP_PIC_REG): Use GET_PC_THUNK.
30677         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30678         macro.
30680 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30682         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30683         for non-PIC compilation.
30684         (SETUP_PIC_REG): Add .p2align directive.
30685         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30686         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30687         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30688         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30689         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30690         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30691         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30692         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30693         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30694         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30695         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30696         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30697         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30698         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30699         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30700         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30701         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30702         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30703         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30704         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30705         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30706         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30707         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30708         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30709         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30710         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30711         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30712         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30713         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30714         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30715         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30716         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30717         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30718         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30719         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30720         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30721         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30722         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30723         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30724         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30725         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30727 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30729         * math/tst-CMPLX.c: Include <stdio.h>.
30731 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30733         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30734         float.
30735         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30736         * sysdeps/sparc/bits/mathdef.h: Likewise.
30738 2012-01-31  Marek Polacek  <polacek@redhat.com>
30740         * libio/libio.h: Don't define _PARAMS.
30741         * locale/programs/config.h: Don't define PARAMS.
30742         * stdlib/strtol_l.c: Likewise.
30743         (__strtol_l): Remove PARAMS from the prototype.
30745 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30747         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30748         names.  Just use the correct names.  Remove unnecessary wrapper
30749         functions.
30750         * malloc/arena.c: Likewise.
30751         * malloc/hooks.c: Likewise.
30753         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30754         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30755         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30757 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30759         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30760         into tail calls.
30761         (update_get_addr): New function.
30762         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30763         GET_ADDR_MODULE parameter.
30765 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30767         * crypt/cert.c: Remove __STDC__ conditionals.
30768         * crypt/crypt-entry.c: Likewise.
30769         * crypt/crypt_util.c: Likewise.
30770         * libio/filedoalloc.c: Likewise.
30771         * libio/fileops.c: Likewise.
30772         * libio/genops.c: Likewise.
30773         * libio/iofclose.c: Likewise.
30774         * libio/iofdopen.c: Likewise.
30775         * libio/iofopen.c: Likewise.
30776         * libio/iofopen64.c: Likewise.
30777         * libio/iogetdelim.c: Likewise.
30778         * libio/iopopen.c: Likewise.
30779         * libio/obprintf.c: Likewise.
30780         * libio/oldfileops.c: Likewise.
30781         * libio/oldiofclose.c: Likewise.
30782         * libio/oldiofdopen.c: Likewise.
30783         * libio/oldiofopen.c: Likewise.
30784         * libio/oldiopopen.c: Likewise.
30785         * libio/wfiledoalloc.c: Likewise.
30786         * libio/wgenops.c: Likewise.
30787         * locale/programs/xmalloc.c: Likewise.
30788         * misc/syslog.c: Likewise.
30789         * stdio-common/xbug.c: Likewise.
30790         * string/memchr.c: Likewise.
30791         * string/memcmp.c: Likewise.
30792         * string/memrchr.c: Likewise.
30793         * string/rawmemchr.c: Likewise.
30794         * sysdeps/posix/getcwd.c: Likewise.
30795         * time/strftime_l.c: Likewise.
30797 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30799         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30800         * config.make.in (config-cflags-sse2avx): Define.
30801         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30802         Fix typo.
30804 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30806         * scripts/config.guess: Update from upstream config git repository.
30807         * scripts/config.sub: Likewise.
30809 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30811         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30812         (EM_NUM): Update.
30813         (R_TILEPRO_*, R_TILEGX_*): New macros.
30815         * scripts/firstversions.awk: Fix bug in version range handling.
30817         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30819         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30821         * include/sys/epoll.h: New file.
30822         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30823         libc_hidden_def.
30825 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30827         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30828         Avoid unnecessary __WORDSIZE == 64 test.
30829         (fmaxf): Use VEX format if possible.
30830         (fmax): Likewise.
30831         (fminf): Likewise.
30832         (fmin): Likewise.
30834         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30835         * math/math_private.h: Remove libc_fegetround* and
30836         libc_fesetround*.
30837         * sysdeps/i386/configure.in: Check for -msse2avx.
30838         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30839         also if SSE2AVX is defined.
30840         Remove libc_fegetround* and libc_fesetround*.
30841         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30842         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30843         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30844         of HAS_YMM_USABLE.
30845         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30846         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30847         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30848         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30849         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30851         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30853 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30855         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30856         size is not set.
30857         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30859 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30861         [BZ #13618]
30862         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30863         relocation.
30864         * Makeconfig (libm): Define.
30865         * elf/Makefile: Add rules to build and run tst-relsort1.
30866         * elf/tst-relsort1.c: New file.
30867         * elf/tst-relsort1mod1.c: New file.
30868         * elf/tst-relsort1mod2.c: New file.
30870 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30872         * math/s_ldexp.c: Remove __STDC__ conditionals.
30873         * math/s_ldexpf.c: Likewise.
30874         * math/s_ldexpl.c: Likewise.
30875         * math/s_nextafter.c: Likewise.
30876         * math/s_nexttowardf.c: Likewise.
30877         * math/s_significand.c: Likewise.
30878         * math/s_significandf.c: Likewise.
30879         * math/s_significandl.c: Likewise.
30880         * math/w_jnl.c: Likewise.
30881         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30882         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30883         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30884         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30885         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30886         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30887         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30888         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30889         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30890         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30891         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30892         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30893         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30894         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30895         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30896         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30897         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30898         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30899         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30900         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30901         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30902         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30903         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30904         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30905         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30906         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30907         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30908         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30909         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30910         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30911         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30912         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30913         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30914         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30915         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30916         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30917         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30918         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30919         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30920         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30921         * sysdeps/ieee754/k_standard.c: Likewise.
30922         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30923         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30924         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30925         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30926         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30927         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30928         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30929         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30930         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30931         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30932         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30933         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30934         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30935         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30936         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30937         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30938         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30939         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30940         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30941         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30942         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30943         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30944         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30945         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30946         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30947         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30948         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30949         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30950         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30951         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30952         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30953         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30954         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30955         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30956         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30957         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30958         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30959         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30960         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30961         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30962         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30963         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30964         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30965         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30966         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30967         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30968         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30969         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30970         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30971         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30972         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30973         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30974         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30975         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30976         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30977         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30978         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30979         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30980         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30981         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30982         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30983         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30984         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30985         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30986         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30987         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30988         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30989         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30990         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30991         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30992         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30993         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30994         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30995         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30996         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30997         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30998         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30999         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31000         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31001         * sysdeps/ieee754/s_matherr.c: Likewise.
31002         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31003         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31004         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31005         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31007 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31009         * crypt/md5.h: Remove __STDC__ conditionals.
31010         * libio/libioP.h: Likewise.
31011         * locale/programs/config.h: Likewise.
31012         * sysdeps/generic/sysdep.h: Likewise.
31013         * sysdeps/i386/asm-syntax.h: Likewise.
31014         * sysdeps/s390/asm-syntax.h: Likewise.
31015         * sysdeps/unix/sysdep.h: Likewise.
31016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31019 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31021         * libio/libio.h: Remove __STDC__ conditionals.
31022         * malloc/obstack.h: Likewise.
31023         * math/complex.h: Likewise.
31024         * math/math.h: Likewise.
31025         * sysdeps/generic/_G_config.h: Likewise.
31026         * sysdeps/gnu/_G_config.h: Likewise.
31027         * sysdeps/mach/hurd/_G_config.h: Likewise.
31028         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31029         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31030         * sysdeps/sparc/bits/mathdef.h: Likewise.
31032 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31034         [BZ #13583]
31035         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31036         Clean up HAS_* macros.
31037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31038         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31039         possible.
31040         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31041         HAS_AVX.
31042         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31043         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31044         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31045         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31046         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31048 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31050         * elf/tst-unique3.cc (gets): Remove declaration.
31051         * elf/tst-unique3lib.cc (gets): Likewise.
31052         * elf/tst-unique3lib2.cc (gets): Likewise.
31053         * elf/tst-unique4.cc (gets): Likewise.
31055 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31057         * include/stdio.h: Add C++ protection.  Add gets declarations and
31058         definitions.
31059         * debug/tst-chk1.c: Don't declare gets here.
31060         * stdio-common/tst-gets.c: Likewise.
31062 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31064         * posix/glob: Remove directory.
31066 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31068         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31070 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31072         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31073         of the non-standard EPFNOSUPPORT.
31075 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31077         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31078         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31079         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31081 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31083         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31085 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31087         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31088         transient errors.
31089         * nscd/grpcache.c (cache_addgr): Likewise.
31090         * nscd/hstcache.c (cache_addhst): Likewise.
31091         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31092         * nscd/pwdcache.c (cache_addpw): Likewise.
31093         * nscd/servicescache.c (cache_addserv): Likewise.
31095 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31097         * malloc/malloc.c: Various cleanups.
31098         * malloc/hooks.c: Likewise.
31100         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31101         * stdlib/bug-fmtmsg1.c: New file.
31103         * stdlib/fmtmsg.c (init): Add missing unlock.
31104         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31106 2012-01-12  Marek Polacek  <polacek@redhat.com>
31108         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31109         and _GNU_SOURCE.
31111 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31113         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31114         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31115         macro to ensure uniqueness of label name.
31116         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31117         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31119 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31121         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31123         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31124         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31125         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31126         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31128 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31130         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31132         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31133         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31134         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31136         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31138         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31139         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31140         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31141         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31143         * math/bits/math-finite.h: Add ldexp support.
31145 2012-01-10  Marek Polacek  <polacek@redhat.com>
31147         * locale/programs/localedef.h (show_archive_content): Add noreturn
31148         attribute.
31150 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31152         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31154 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31156         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31158         * io/Makefile (headers): Add bits/poll2.h.
31160 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31163         typo #include statement.
31165 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31167         * include/sys/cdefs.h: Define __attribute_alloc_size.
31168         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31169         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31170         * elf/pldd.c: Likewise.
31171         * iconv/iconv_charmap.c: Likewise.
31172         * iconv/iconvconfig.c: Likewise.
31173         * iconv/strtab.c: Likewise.
31174         * locale/programs/locale.c: Likewise.
31175         * locale/programs/localedef.h: Likewise.
31176         * locale/programs/simple-hash.c: Likewise.
31177         * nscd/nscd.h: Likewise.
31178         * nss/makedb.c: Likewise.
31179         * sysdeps/generic/ldconfig.h: Likewise.
31180         * locale/programs/localedef.c: Remove xmalloc prototype.
31181         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31183 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31185         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31186         appropriate.
31188 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31190         * math/Makefile (tests): Add tst-CMPLX.
31191         * math/tst-CMPLX.c: New file.
31193         * math/complex.h (CMPLXL): Fix typo.
31195         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31196         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31197         GLIBC_2.16.
31198         * debug/tst-chk1.c: Add poll and ppoll tests.
31199         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31200         * include/sys/poll.h: Add hidden proto for ppoll.
31201         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31202         * sysdeps/mach/hurd/ppoll.c: Likewise.
31203         * io/ppoll.c: Likewise.
31204         * debug/poll_chk.c: New file.
31205         * debug/ppoll_chk.c: New file.
31206         * include/bits/poll2.h: New file.
31207         * io/bits/poll2.h: New file.
31209         [BZ #1350]
31210         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31212         * configure.in: static is always set to yes.  Remove.
31213         * config.make.in: Don't set build-static.
31214         * Makeconfig: Remove use of build-static.
31215         * dlfcn/Makefile: Likewise.
31216         * elf/Makefile: Likewise.
31217         * math/Makefile: Likewise.
31218         * misc/Makefile: Likewise.
31219         * nptl/Makefile: Likewise.
31220         * sysdeps/mach/hurd/Makefile: Likewise.
31222         * configure.in: PWD_P is not used anymore.
31223         * config.make.in: Remove PWD_P entry.
31225         * configure.in: Remove last remnants of RANLIB.
31226         No need to check for signed size_t anymore.
31227         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31228         and IA-64.
31229         Remove __builtin_expect test because we require at least gcc 3.4.
31230         * aclocal.m4: Likewise.
31232         * wcsmbs/mbrtoc16.c: Implement using towc function.
31233         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31234         * wcsmbs/wcsmbsload.c: Likewise.
31235         * iconv/gconv_simple.c: Likewise.
31236         * iconv/gconv_int.h: Likewise.
31237         * iconv/gconv_builtin.h: Likewise.
31238         * iconv/iconv_prog.c: Remove CHAR16 handling.
31240         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31242         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31244         * configure.in: Remove --with-elf and --enable-bounded options.
31245         Dont set base_machine for ia64.  More non-ELF conditions removed.
31246         Remove testing and setting of leading underscore information.
31247         * config.make.in (build-bounded): Set to no.
31248         * config.h.in: Remove NO_UNDERSCORES entry.
31249         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31250         them.
31251         * csu/start.c: Remove !NO_UNDERSCORE code.
31252         * locale/localeinfo.h: Likewise.
31253         * sysdeps/generic/machine-gmon.h: Likewise.
31254         * sysdeps/generic/sysdep.h: Likewise.
31255         * sysdeps/i386/sysdep.h: Likewise.
31256         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31257         * sysdeps/mach/sysdep.h: Likewise.
31258         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31259         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31260         * sysdeps/sh/sysdep.h: Likewise.
31261         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31262         * sysdeps/unix/i386/sysdep.S: Likewise.
31263         * sysdeps/unix/sparc/start.c: Likewise.
31264         * sysdeps/unix/sparc/sysdep.S: Likewise.
31265         * sysdeps/unix/sparc/sysdep.h: Likewise.
31266         * sysdeps/unix/start.c: Likewise.
31267         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31268         * sysdeps/x86_64/sysdep.h: Likewise.
31270 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31272         [BZ #13553]
31273         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31274         for non-gcc.
31275         * argp/argp-fmtstream.h: Use const instead __const.
31276         * argp/argp.h: Likewise.
31277         * assert/assert.h: Likewise.
31278         * bits/fenv.h: Likewise.
31279         * bits/sched.h: Likewise.
31280         * bits/sigset.h: Likewise.
31281         * bits/sigthread.h: Likewise.
31282         * catgets/nl_types.h: Likewise.
31283         * conform/data/pthread.h-data: Likewise.
31284         * crypt/crypt-private.h: Likewise.
31285         * crypt/crypt.h: Likewise.
31286         * crypt/crypt_util.c: Likewise.
31287         * ctype/ctype.h: Likewise.
31288         * debug/execinfo.h: Likewise.
31289         * debug/mbsnrtowcs_chk.c: Likewise.
31290         * debug/mbsrtowcs_chk.c: Likewise.
31291         * debug/wcsnrtombs_chk.c: Likewise.
31292         * debug/wcsrtombs_chk.c: Likewise.
31293         * debug/wcstombs_chk.c: Likewise.
31294         * dirent/dirent.h: Likewise.
31295         * dlfcn/dlfcn.h: Likewise.
31296         * elf/neededtest4.c: Likewise.
31297         * grp/grp.h: Likewise.
31298         * gshadow/gshadow.h: Likewise.
31299         * iconv/gconv.h: Likewise.
31300         * iconv/gconv_int.h: Likewise.
31301         * iconv/gconv_simple.c: Likewise.
31302         * iconv/iconv.h: Likewise.
31303         * iconv/loop.c: Likewise.
31304         * iconv/skeleton.c: Likewise.
31305         * include/aio.h: Likewise.
31306         * include/aliases.h: Likewise.
31307         * include/argz.h: Likewise.
31308         * include/arpa/inet.h: Likewise.
31309         * include/assert.h: Likewise.
31310         * include/dirent.h: Likewise.
31311         * include/dlfcn.h: Likewise.
31312         * include/execinfo.h: Likewise.
31313         * include/fcntl.h: Likewise.
31314         * include/fenv.h: Likewise.
31315         * include/glob.h: Likewise.
31316         * include/grp.h: Likewise.
31317         * include/libintl.h: Likewise.
31318         * include/mntent.h: Likewise.
31319         * include/netdb.h: Likewise.
31320         * include/pwd.h: Likewise.
31321         * include/rpc/netdb.h: Likewise.
31322         * include/sched.h: Likewise.
31323         * include/search.h: Likewise.
31324         * include/shadow.h: Likewise.
31325         * include/signal.h: Likewise.
31326         * include/stdio.h: Likewise.
31327         * include/stdlib.h: Likewise.
31328         * include/string.h: Likewise.
31329         * include/sys/socket.h: Likewise.
31330         * include/sys/stat.h: Likewise.
31331         * include/sys/statfs.h: Likewise.
31332         * include/sys/statvfs.h: Likewise.
31333         * include/sys/syslog.h: Likewise.
31334         * include/sys/time.h: Likewise.
31335         * include/sys/uio.h: Likewise.
31336         * include/time.h: Likewise.
31337         * include/unistd.h: Likewise.
31338         * include/utmp.h: Likewise.
31339         * include/wchar.h: Likewise.
31340         * include/wctype.h: Likewise.
31341         * inet/aliases.h: Likewise.
31342         * inet/arpa/inet.h: Likewise.
31343         * inet/netinet/ether.h: Likewise.
31344         * inet/netinet/in.h: Likewise.
31345         * intl/libintl.h: Likewise.
31346         * io/bits/fcntl2.h: Likewise.
31347         * io/fcntl.h: Likewise.
31348         * io/ftw.h: Likewise.
31349         * io/sys/poll.h: Likewise.
31350         * io/sys/stat.h: Likewise.
31351         * io/sys/statfs.h: Likewise.
31352         * io/sys/statvfs.h: Likewise.
31353         * io/utime.h: Likewise.
31354         * libio/bits/stdio.h: Likewise.
31355         * libio/bits/stdio2.h: Likewise.
31356         * libio/libio.h: Likewise.
31357         * libio/libioP.h: Likewise.
31358         * libio/stdio.h: Likewise.
31359         * locale/lc-ctype.c: Likewise.
31360         * locale/locale.h: Likewise.
31361         * login/utmp.h: Likewise.
31362         * malloc/arena.c: Likewise.
31363         * malloc/malloc.c: Likewise.
31364         * malloc/malloc.h: Likewise.
31365         * malloc/mcheck.c: Likewise.
31366         * malloc/mtrace.c: Likewise.
31367         * math/bits/mathcalls.h: Likewise.
31368         * math/fenv.h: Likewise.
31369         * math/math_private.h: Likewise.
31370         * misc/bits/error.h: Likewise.
31371         * misc/bits/syslog.h: Likewise.
31372         * misc/err.h: Likewise.
31373         * misc/error.h: Likewise.
31374         * misc/fstab.h: Likewise.
31375         * misc/mntent.h: Likewise.
31376         * misc/regexp.h: Likewise.
31377         * misc/search.h: Likewise.
31378         * misc/sgtty.h: Likewise.
31379         * misc/sys/mman.h: Likewise.
31380         * misc/sys/syslog.h: Likewise.
31381         * misc/sys/uio.h: Likewise.
31382         * misc/sys/xattr.h: Likewise.
31383         * misc/ttyent.h: Likewise.
31384         * nis/rpcsvc/ypclnt.h: Likewise.
31385         * nss/nss.h: Likewise.
31386         * posix/bits/unistd.h: Likewise.
31387         * posix/fnmatch.h: Likewise.
31388         * posix/glob.h: Likewise.
31389         * posix/sched.h: Likewise.
31390         * posix/spawn.h: Likewise.
31391         * posix/sys/wait.h: Likewise.
31392         * posix/unistd.h: Likewise.
31393         * posix/wordexp.h: Likewise.
31394         * pwd/pwd.h: Likewise.
31395         * resolv/netdb.h: Likewise.
31396         * resource/sys/resource.h: Likewise.
31397         * rt/aio.h: Likewise.
31398         * rt/bits/mqueue2.h: Likewise.
31399         * rt/mqueue.h: Likewise.
31400         * shadow/shadow.h: Likewise.
31401         * signal/signal.h: Likewise.
31402         * socket/send.c: Likewise.
31403         * socket/sendto.c: Likewise.
31404         * socket/sys/socket.h: Likewise.
31405         * stdio-common/printf.h: Likewise.
31406         * stdlib/bits/stdlib.h: Likewise.
31407         * stdlib/fmtmsg.h: Likewise.
31408         * stdlib/monetary.h: Likewise.
31409         * stdlib/stdlib.h: Likewise.
31410         * stdlib/ucontext.h: Likewise.
31411         * streams/stropts.h: Likewise.
31412         * string/argz.h: Likewise.
31413         * string/bits/string2.h: Likewise.
31414         * string/string.h: Likewise.
31415         * string/strings.h: Likewise.
31416         * sunrpc/rpc/auth.h: Likewise.
31417         * sunrpc/rpc/auth_des.h: Likewise.
31418         * sunrpc/rpc/clnt.h: Likewise.
31419         * sunrpc/rpc/netdb.h: Likewise.
31420         * sunrpc/rpc/pmap_clnt.h: Likewise.
31421         * sunrpc/rpc/xdr.h: Likewise.
31422         * sysdeps/generic/inttypes.h: Likewise.
31423         * sysdeps/generic/net/if.h: Likewise.
31424         * sysdeps/generic/sys/swap.h: Likewise.
31425         * sysdeps/gnu/net/if.h: Likewise.
31426         * sysdeps/gnu/utmpx.h: Likewise.
31427         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31428         * sysdeps/i386/i486/bits/string.h: Likewise.
31429         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31430         * sysdeps/s390/bits/string.h: Likewise.
31431         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31432         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31433         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31434         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31435         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31436         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31437         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31438         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31439         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31440         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31441         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31442         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31443         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31444         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31445         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31446         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31447         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31448         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31449         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31450         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31451         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31452         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31453         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31454         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31455         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31456         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31457         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31458         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31459         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31460         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31461         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31462         * sysvipc/sys/ipc.h: Likewise.
31463         * sysvipc/sys/msg.h: Likewise.
31464         * sysvipc/sys/sem.h: Likewise.
31465         * sysvipc/sys/shm.h: Likewise.
31466         * termios/termios.h: Likewise.
31467         * time/sys/time.h: Likewise.
31468         * time/time.h: Likewise.
31469         * wcsmbs/bits/wchar2.h: Likewise.
31470         * wcsmbs/uchar.h: Likewise.
31471         * wcsmbs/wchar.h: Likewise.
31472         * wctype/wctype.h: Likewise.
31474         [BZ #13551]
31475         * Makeconfig: Remove all but ELF support including AIX support.
31476         * Makerules: Likewise.
31477         * config.h.in: Likewise.
31478         * config.make.in: Likewise.
31479         * configure: Likewise.
31480         * configure.in: Likewise.
31481         * csu/Makefile: Likewise.
31482         * csu/version.c: Likewise.
31483         * debug/Makefile: Likewise.
31484         * dlfcn/Makefile: Likewise.
31485         * elf/Makefile: Likewise.
31486         * extra-lib.mk: Likewise.
31487         * iconv/Makefile: Likewise.
31488         * include/libc-symbols.h: Likewise.
31489         * include/shlib-compat.h: Likewise.
31490         * resolv/Makefile: Likewise.
31491         * resolv/res_libc.c: Likewise.
31492         * rt/Makefile: Likewise.
31493         * sysdeps/i386/asm-syntax.h: Likewise.
31494         * sysdeps/i386/sysdep.h: Likewise.
31495         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31496         * sysdeps/mach/sysdep.h: Likewise.
31497         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31498         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31499         * sysdeps/s390/asm-syntax.h: Likewise.
31500         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31501         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31502         * sysdeps/sh/sysdep.h: Likewise.
31503         * sysdeps/unix/sparc/sysdep.h: Likewise.
31504         * sysdeps/wordsize-32/divdi3.c: Likewise.
31505         * sysdeps/x86_64/sysdep.h: Likewise.
31507         * argp/Versions: Remove _argp_unlock_xxx.
31509         [BZ #13559]
31510         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31511         * abilist/libBrokenLocale.abilist: Likewise.
31512         * abilist/libanl.abilist: Likewise.
31513         * abilist/libc.abilist: Likewise.
31514         * abilist/libcrypt.abilist: Likewise.
31515         * abilist/libdl.abilist: Likewise.
31516         * abilist/libm.abilist: Likewise.
31517         * abilist/libnsl.abilist: Likewise.
31518         * abilist/libpthread.abilist: Likewise.
31519         * abilist/libresolv.abilist: Likewise.
31520         * abilist/librt.abilist: Likewise.
31521         * abilist/libthread_db.abilist: Likewise.
31522         * abilist/libutil.abilist: Likewise.
31523         * abilist/libnss_db.abilist: New file.
31525         * scripts/abilist.awk: Add support for indirect functions.
31527         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31529         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31531         * shlib-versions: Remove entries for ports architectures.
31533         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31534         files in ports.
31535         * elf/stackguard-macros.h: Remove support for IA-64.
31536         * elf/tst-auditmod1.c: Likewise.
31537         * sysdeps/generic/ldsodefs.h: Likewise.
31539         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31540         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31541         configure files.
31543         [BZ #13552]
31544         * configure.in: Remove --enable-omitfp support.
31545         * FAQ.in: Adjust.
31546         * config.make.in: Likewise.
31547         * Makeconfig: Likewise.
31548         * manual/install.texi: Likewise.
31550         In case anyone cares, the IA-64 architecture could move to ports.
31551         * sysdeps/ia64/*: Removed.
31552         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31553         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31555         [BZ #13555]
31556         * configure.in: Remove entries for unsupported architectures.
31558         [BZ #13533]
31559         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31560         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31561         routines.
31562         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31563         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31564         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31565         fall back to using wcrtomb.
31566         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31567         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31568         renaming.
31569         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31570         * wcsmbs/tst-c16c32-1.c: New file.
31572         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31573         local variable.
31575         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31577         * elf/tst-unique3.cc: Add explicit declaration of gets.
31578         * elf/tst-unique3lib.cc: Likewise.
31579         * elf/tst-unique3lib2.cc: Likewise.
31580         * elf/tst-unique4.cc: Likewise.
31582         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31584 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31586         [BZ #13566]
31587         * assert/assert.h (static_assert): Don't define for C++.
31588         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31589         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31591 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31593         * iconv/loop.c (single loop): Fix assertion in storing of
31594         remaining bytes.
31596         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31598 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31600         * posix/getconf.c: Update copyright year.
31601         * nss/getent.c: Likewise.
31602         * nss/makedb.c: Likewise.
31603         * iconv/iconvconfig.c: Likewise.
31604         * iconv/iconv_prog.c: Likewise.
31605         * elf/ldconfig.c: Likewise.
31606         * elf/pldd.c: Likewise.
31607         * elf/sotruss.ksh: Likewise.
31608         * catgets/gencat.c: Likewise.
31609         * csu/version.c: Likewise.
31610         * elf/ldd.bash.in: Likewise.
31611         * elf/sprof.c (print_version): Likewise.
31612         * locale/programs/locale.c: Likewise.
31613         * locale/programs/localedef.c: Likewise.
31614         * login/programs/pt_chown.c: Likewise.
31615         * nscd/nscd.c (print_version): Likewise.
31616         * debug/xtrace.sh: Likewise.
31617         * malloc/memusage.sh: Likewise.
31618         * malloc/mtrace.pl: Likewise.
31619         * debug/catchsegv.sh: Likewise.
31621 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31623         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31624         pure attribute.
31626 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31628         [BZ #13533]
31629         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31630         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31631         transformations.
31632         * iconv/gconv_int.h: Likewise.
31633         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31634         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31635         from libc for GLIBC_2.16.
31636         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31637         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31638         * wcsmbs/uchar.h: Really define mbstate_t.
31639         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31640         * wcsmbs/c16rtomb.c: New file.
31641         * wcsmbs/mbrtoc16.c: New file.
31642         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31643         for C/POSIX locale.
31644         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31645         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31647         * wcsmbs/wchar.h: Add missing __restrict.
31649 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31651         [BZ #13532]
31652         * time/Makefile (routines): Add timespec_get.
31653         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31654         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31655         timespec for ISO C11.
31656         * time/timespec_get.c: New file.
31657         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31658         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31660         [BZ #13531]
31661         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31662         * stdlib/stdlib.h: Declare aligned_alloc.
31663         * Versions.def: Add GLIBC_2.16 for libc.
31664         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31666         [BZ 13527]
31667         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31668         ISO C11.
31670         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31671         code.
31673         [BZ #13528]
31674         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31676         [BZ #13529]
31677         * assert/assert.h (static_assert): Define.
31679         * version.h: Update for 2.16 development version.
31681         [BZ #13526]
31682         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31683         _ISOC11_SOURCE.
31685         * version.h (RELEASE): Bump for 2.15 release.
31686         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31688         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31689         Patch by Marek Polacek <mpolacek@redhat.com>.
31691         * bits/byteswap.h: Protect long long constants with __extension__.
31692         * sysdeps/i386/bits/byteswap.h: Likewise.
31693         * sysdeps/ia64/bits/byteswap.h: Likewise.
31694         * sysdeps/s390/bits/byteswap.h: Likewise.
31695         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31697 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31699         [BZ #13540]
31700         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31701         destination buffer.
31702         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31704 2011-12-23  Marek Polacek  <polacek@redhat.com>
31706         * elf/dl-addr.c (determine_info): Add inline keyword.
31707         * elf/tst-auditmod4b.c (check_avx): Likewise.
31708         * elf/tst-auditmod6b.c (check_avx): Likewise.
31709         * elf/tst-auditmod6c.c (check_avx): Likewise.
31710         * elf/tst-auditmod7b.c (check_avx): Likewise.
31712 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31714         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31715         !__SSE_MATH__.
31717 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31719         [BZ #13540]
31720         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31721         processing for last bytes.
31723 2011-08-06  Bruno Haible  <bruno@clisp.org>
31725         [BZ #13061]
31726         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31727         U+0385, not to U+1FEE.
31729         [BZ #13062]
31730         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31731         entry for U+00A5 U+0301.
31733 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31735         [BZ #13166]
31736         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31737         buffer for the output is too small.
31739         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31740         optimization.
31742         [BZ #13185]
31743         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31744         SSE flags if possible.
31746 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31748         [BZ #13540]
31749         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31750         processing for last bytes.
31752 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31754         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31755         (syscall-list-default-options, syscall-list-default-condition)
31756         (syscall-list-includes): Define.
31757         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31758         list of ABIs and options and #if conditions for each ABI.  Do not
31759         handle common syscalls between ABIs specially.
31760         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31761         Remove.
31762         (syscall-list-variants, syscall-list-32bit-options)
31763         (syscall-list-32bit-condition, syscall-list-64bit-options)
31764         (syscall-list-64bit-condition): Define.
31765         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31766         (syscall-list-variants, syscall-list-32bit-options)
31767         (syscall-list-32bit-condition, syscall-list-64bit-options)
31768         (syscall-list-64bit-condition): Define.
31769         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31770         Remove.
31771         (syscall-list-variants, syscall-list-32bit-options)
31772         (syscall-list-32bit-condition, syscall-list-64bit-options)
31773         (syscall-list-64bit-condition): Define.
31774         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31775         Remove.
31776         (syscall-list-variants, syscall-list-32bit-options)
31777         (syscall-list-32bit-condition, syscall-list-64bit-options)
31778         (syscall-list-64bit-condition): Define.
31780 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31782         * locale/iso-639.def: Add brx entry.
31784         [BZ #13328]
31785         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31786         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31788         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31789         __feraiseexcept_renamed.
31791 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31793         [BZ #13538]
31794         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31795         EPOLLET with unsigned values.
31796         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31797         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31799         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31800         to large cancellation.
31801         * math/s_cacoshf.c: Likewise.
31802         * math/s_cacoshl.c: Likewise.
31804 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31806         [BZ #13305]
31807         [BZ #12786]
31808         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31809         * math/s_cacoshf.c: Likewise.
31810         * math/s_cacoshl.c: Likewise.
31812 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31814         [BZ #13439]
31815         * iconv/gconv.h: Define __GCONV_SWAP.
31816         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31817         * iconvdata/utf-16.c: Likewise.
31818         * iconvdata/utf-32.c: Likewise.
31820 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31822         [BZ #13524]
31823         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31824         numerator after shifting it by one limb.
31826 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31828         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31829         under [__USE_EXTERN_INLINES].
31831 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31833         [BZ #13446]
31834         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31836 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31838         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31839         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31840         optimized code.
31841         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31842         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31843         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31844         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31845         for strncasecmp/strncasecmp_l compilation.
31846         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31847         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31849 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31851         [BZ #13484]
31852         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31853         of __asm__.
31855 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31857         [BZ #13506]
31858         * time/tzfile.c (__tzfile_read): Check values from file header.
31860 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31862         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31863         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31864         * powerpc/powerpc32/dl-start.S: Likewise.
31865         * powerpc/powerpc32/elf/start.S: Likewise.
31866         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31867         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31868         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31869         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31870         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31871         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31872         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31873         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31874         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31875         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31876         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31877         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31878         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31879         * powerpc/powerpc32/memset.S: Likewise.
31880         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31881         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31882         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31883         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31884         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31885         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31886         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31887         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31888         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31889         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31890         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31891         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31892         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31894 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31896         * math/libm-test.inc: Added more nearbyint tests.
31897         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31898         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31899         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31900         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31902 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31904         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31905         FD_CLOEXEC.
31907 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31909         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31910         Add wcscpy-ssse3 wcscpy-c.
31911         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31912         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31913         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31914         * sysdeps/x86_64/wcschr.S: New file.
31915         * sysdeps/x86_64/wcsrchr.S: New file.
31916         * string/test-strcmp.c: Remove checking of wcscmp function for
31917         wrong alignments.
31918         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31919         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31920         wcsrchr-sse2 wcsrchr-c.
31921         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31922         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31923         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31924         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31925         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31926         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31927         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31928         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31929         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31930         * wcsmbc/wcschr.c (WCSCHR): New macro.
31932 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31934         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31935         * wcsmbs/test-wcsrchr.c: New file.
31936         * string/test-strrchr.c: Add wcsrchr support.
31937         (WIDE): New macro.
31938         * wcsmbs/test-wcscpy.c: New file.
31939         * string/test-strcpy.c: Add wcscpy support.
31940         (WIDE): New macro.
31942 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31944         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31945         the inner loop.
31947 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31949         [BZ #13472]
31950         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31952 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31954         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31955         Minor optimizations.
31957         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31958         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31959         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31961 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31963         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31964         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31965         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31966         for gcc to avoid warnings.
31967         * inet/Makefile (tests): Add tst-checks.
31968         * inet/tst-checks.c: New file.
31970         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31971         warning.
31973         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31974         __wmemcmp_sse2.
31976         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31977         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31979         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31981 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31983         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31984         problem.
31986         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31988 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31990         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31991         conditional on GCC version.
31992         (__arch_compare_and_exchange_val_8_acq)
31993         (__arch_compare_and_exchange_val_16_acq)
31994         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31995         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31996         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31998 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32000         * sysdeps/sh/backtrace.c: New file.
32002 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32004         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32005         parenthesis.
32007 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32009         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32010         falling back to utime.
32012 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32014         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32015         expectations for float.
32017 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32019         * locale/weight.h (findidx): Add parameter len.
32020         * locale/weightwc.h (findidx): Likewise.
32021         * posix/fnmatch_loop.c (FCT): Adjust caller.
32022         * posix/regcomp.c (build_equiv_class): Likewise.
32023         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32024         * posix/regexec.c (check_node_accept_bytes): Likewise.
32025         * string/strcoll_l.c (STRCOLL): Likewise.
32026         * string/strxfrm_l.c (STRXFRM): Likewise.
32028 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32030         * Makefile.in: Remove CVSOPT handling.
32031         * configure.in: Remove use of AC_REVISION.
32032         * iconvdata/Makefile (distribute): No need to filter out CVS.
32033         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32034         handling.
32036 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32038         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32039         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32040         [USE_AS_STRNCASECMP_L]: Likewise.
32041         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32042         NO_TLS_DIRECT_SEG_REFS.
32043         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32044         Fix argument offsets for non-PIC.
32045         [USE_AS_STRNCASECMP_L]: Likewise.
32046         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32047         NO_TLS_DIRECT_SEG_REFS.
32049 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32051         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32052         O_CLOEXEC.
32053         * locale/loadlocale.c (_nl_load_locale): Likewise.
32055 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32057         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32058         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32059         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32060         (SYSCALL_GETTIME): Set errno on error.
32062         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32063         count references to noai6ai_cached.
32065 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32067         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32069         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32070         FD_CLOEXEC for /proc/self/maps.
32072         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32073         FD_CLOEXEC for /proc/meminfo.
32075         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32076         gai.conf.
32078         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32079         FD_CLOEXEC for given file.
32081         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32083         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32084         FD_CLOEXEC for /etc/hosts.
32085         (_gethtent): Likewise.
32087         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32089         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32090         cancellation and set FD_CLOEXEC for /etc/netgroup.
32092         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32093         reading /etc/publickey.
32095         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32096         allow cancellation when reading /etc/group.
32098         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32099         cancellation.
32100         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32102         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32103         when using data file.
32105         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32107         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32108         (write_nis_obj): Use "c" and "e" in fopen.
32110         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32112         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32114         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32116         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32118         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32119         locale.alias.
32121         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32123         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32125         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32127         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32128         file parsing and set FD_CLOEXEC.
32130 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32132         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32134 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32136         * malloc/arena.c (arena_get2): Don't call reused_arena when
32137         _int_new_arena failed.
32139 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32141         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32142         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32143         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32144         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32145         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32146         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32147         to compile strcasecmp and strncasecmp.
32148         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32149         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32151         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32153 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32155         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32156         locale-defines.sym to gen-as-const-headers.
32157         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32158         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32159         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32160         to compile strcasecmp and strncasecmp.
32161         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32162         strcasecmp_l and strncasecmp_l.
32163         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32164         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32165         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32166         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32167         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32168         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32169         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32170         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32171         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32172         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32173         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32175 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32177         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32178         result of SYSDEP_GETTIME_CPU to retval.
32179         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32180         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32182         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32183         variable.
32185         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32186         mantissa words.
32187         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32189         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32190         from unused variable.
32192         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32193         DWARF definitions.
32194         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32195         for assembling.
32197         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32198         over namespaces.
32200         * sunrpc/rpc_prot.c (rejected): Fix case value.
32202         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32203         unsigned long long int to avoid warnings in shift.
32205         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32206         of use of trans.
32207         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32208         variable tmp.
32210         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32211         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32212         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32214         * nis/nis_table.c (nis_list): Use variable of correct type for
32215         result of __follow_path call.
32217 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32219         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32220         of math functions ceil, trunc, floor, round, and sqrt, when
32221         avaliable on the platform.
32222         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32223         name clash.
32224         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32225         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32226         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32228 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32230         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32231         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32233 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32235         * include/unistd.h: Fix __readlink return type.
32236         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32238 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32240         * stdlib/ucontext.h: Undo last change for makecontext.
32242 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32244         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32246         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32247         * setjmp/setjmp.h: Mark functions as non-leaf.
32248         * setjmp/bits/setjmp2.h: Likewise.
32249         * stdlib/ucontext.h: Likewise.
32251 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32253         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32254         (reused_arena): Don't check arena limit.
32255         (arena_get2): Atomically check arena limit.
32257 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32259         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32260         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32262         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32263         instructions.
32265 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32267         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32268         handler when locking.
32270         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32271         Fix size of allocated buffer.
32273 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32275         [BZ #10103]
32276         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32277         declarations for long double functions.
32278         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32280         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32282 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32284         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32285         installed.
32287         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32288         is disabled.
32290 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32292         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32294 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32296         * include/alloca.h (stackinfo_alloca_round): Define.
32297         (extend_alloca): Use it.
32298         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32299         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32300         here.
32302         * scripts/check-local-headers.sh: Ignore libaudit.h.
32304         * nscd/Makefile (extra-objs): Make recursively expanded.
32306 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32308         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32309         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32311         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32312         * posix/tst-rfc3484-2.c: Likewise.
32313         * posix/tst-rfc3484-3.c: Likewise.
32315         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32316         process_vm_writev.
32317         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32318         process_vm_writev.
32319         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32320         process_vm_writev from libc using GLIBC_2.15 version.
32322         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32324 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32326         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32327         stack usage.
32329 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32331         [BZ #13367]
32332         * nss/getent.c (initgroups_keys): Show error message in case no group
32333         names are given.
32335         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32336         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32337         __bump_nl_timestamp.
32338         * nscd/connections (nscd_init): When host database is served open
32339         netlink socket and request notification about configuration changes.
32340         (main_loop_poll): Track netlink file descriptor and bump timestamp
32341         in case data becomes available.
32342         (main_loop_epoll): Likewise.
32343         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32344         (database_pers_head): Add extra_data fileds.
32345         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32346         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32347         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32348         Adjust caller.
32349         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32350         in6ai data, call __free_in6ai.
32351         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32352         Add -DHAVE_NETLINK.
32353         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32354         interface information.  Reuse previous data if netlink timestamp
32355         is not changed.
32356         (__bump_nl_timestamp): New function.
32357         (__free_in6ai): New function.
32359 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32361         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32362         close_not_cancel_no_status here.
32363         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32365 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32367         [BZ #13276]
32368         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32369         return value.
32371         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32372         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32373         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32375 2011-07-03  Andreas Jaeger  <aj@suse.de>
32377         [BZ #10709]
32378         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32379         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32380         * math/libm-test.inc (sin_test): Add test case.
32382 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32384         [BZ #13337]
32385         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32386         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32388         * elf/chroot_canon.c (chroot_canon): Cleanups.
32390         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32392         [BZ #13335]
32393         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32394         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32396         * string/test-strchr.c: Make usable for strchrnul testing.
32397         * string/test-strchrnul.c: New file.
32398         * string/Makefile (strop-tests): Add strchrnul.
32400         * po/it.po: Update from translation team.
32401         * po/es.po: Likewise.
32403 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32405         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32406         the three constants needed as parameters.  Drop the others.
32407         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32408         __m128i_strloadu_tolower.
32409         Create and initialize variable zero and use it in all the places
32410         where _mm_setzero_si128 was used.
32412         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32413         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32414         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32415         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32416         anymore.
32417         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32418         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32419         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32420         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32421         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32422         __mpranred, __mptan.
32423         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32424         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32425         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32426         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32427         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32428         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32429         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32430         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32431         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32433 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32435         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32436         redefine if SHARED.
32437         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32439         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32440         wide char related routines to wcsmbs subdir.
32442 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32444         [BZ #13344]
32445         * misc/sys/cdefs.h (__THROWNL): Define.
32446         * posix/unistd.h: Use __THREADNL instead of __THREAD
32447         for memory synchronization functions.
32449 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32451         [BZ #13349]
32452         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32453         doesn't exist.
32454         * manual/stdio.texi (Obstack Streams): Node removed.
32456 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32458         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32459         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32460         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32462         * math/math_private.h (math_force_eval): Allow non-addressable
32463         arguments.
32464         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32466 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32468         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32469         file is not needed.
32471         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32472         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32473         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32474         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32475         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32476         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32477         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32478         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32479         Add AVX variants.
32480         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32481         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32482         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32483         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32484         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32485         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32486         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32487         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32488         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32489         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32490         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32491         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32492         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32493         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32494         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32495         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32496         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32497         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32498         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32500         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32501         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32503         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32504         place.  Use VEX encoding when compiling for AVX.
32506 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32508         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32509         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32511         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32513 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32515         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32516         useless if() expression.
32517         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32518         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32519         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32520         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32521         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32522         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32523         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32524         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32525         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32526         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32527         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32528         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32529         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32530         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32531         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32532         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32533         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32534         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32535         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32537         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32539 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32541         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32542         condition.
32543         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32545 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32547         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32548         .text section.  Avoid duplicate constants.
32549         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32550         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32551         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32552         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32553         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32554         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32555         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32556         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32557         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32558         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32559         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32560         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32561         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32562         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32563         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32564         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32565         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32566         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32567         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32568         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32569         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32570         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32571         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32572         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32573         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32574         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32575         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32576         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32577         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32578         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32579         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32580         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32581         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32582         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32583         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32584         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32585         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32586         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32587         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32588         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32589         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32590         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32591         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32592         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32593         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32595 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32597         * sysdeps/x86_64/dla.h: Move to ...
32598         * sysdeps/x86_64/fpu/dla.h: ...here.
32599         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32600         situations.  Use __builtin_fma only for gcc 4.6 and up.
32602         * config.make.in: Add have-mfma4 entry.
32603         * configure.in: Substitute libc_cv_cc_fma4.
32604         * math/Makefile (dbl-only-routines): Add sincostab.
32605         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32606         Use __sincostab not sincos.
32607         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32608         name is a macro.
32609         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32610         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32611         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32612         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32613         using __copysign.
32614         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32615         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32616         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32617         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32618         and __inv.
32619         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32620         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32621         __copysign.
32622         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32623         define aliases when function name is a macro.
32624         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32625         sysdeps/ieee754/dbl-64/sincos.tbl.
32626         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32627         fma4-enabled routines.
32628         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32629         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32630         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32631         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32632         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32633         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32634         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32635         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32636         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32637         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32638         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32639         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32640         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32641         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32642         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32643         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32644         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32645         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32646         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32647         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32648         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32649         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32650         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32651         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32652         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32653         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32654         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32655         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32656         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32657         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32659         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32660         rename.
32661         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32662         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32663         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32664         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32665         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32666         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32667         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32668         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32670 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32672         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32674 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32676         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32678         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32679         prediction.
32680         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32682         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32683         Remove unused variable magic_bits.
32684         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32686         * string/strnlen.c: Define and use STRNLEN macro.
32687         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32688         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32689         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32690         * wcsmbs/wcslen.c: Define and use WCSLEN.
32691         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32692         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32693         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32694         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32695         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32696         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32697         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32699 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32701         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32702         strnlen-sse2-no-bsf.
32703         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32704         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32705         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32706         Add strnlen support.
32707         (USE_AS_STRNLEN): New macro.
32708         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32709         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32710         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32711         * sysdeps/x86_64/wcslen.S: New file.
32713 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32715         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32716         XMM-moves are used for copying on small sizes.
32718 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32720         * wcsmbs/Makefile (strop-tests): Add wcschr.
32721         * wcsmbs/test-wcschr.c: New file.
32722         * string/test-strchr.c: Update.
32723         Add wcschr support.
32724         (WIDE): New macro.
32726 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32728         * wcsmbs/Makefile (strop-tests): Add wcslen.
32729         * wcsmbs/test-wcslen.c: New file.
32730         * string/test-strlen.c: Update.
32731         Add wcslen support.
32732         (WIDE): New macro.
32734 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32736         * po/it.po: Update from translation team.
32738 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32740         * sysdeps/x86_64/wcscmp.S: Update.
32741         Fix wrong comparison semantics.
32742         wcscmp shall use signed comparison not unsigned.
32743         Don't use substraction to avoid overflow bug.
32744         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32745         * wcsmbc/wcscmp.c: Likewise.
32746         * string/test-strcmp.c: Likewise.
32747         Add new tests to check cases with negative values.
32749 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32751         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32752         * sysdeps/x86_64/dla.h: ...here.  New file.
32753         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32754         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32755         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32756         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32757         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32758         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32759         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32760         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32761         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32763 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32765         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32766         __ynl_finite aliases.
32768 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32772         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32773         define DLA_FMA.
32774         [DLA_FMA] (EMULV): Use DLA_FMA.
32775         [DLA_FMA] (MUL12): Use EMULV.
32776         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32777         that are not needed.
32778         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32779         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32780         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32781         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32782         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32783         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32784         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32786 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32788         * math/s_nan.c: Undef __nan.
32789         * math/s_nanf.c: Undef __nanf.
32790         * math/s_nanl.c: Undef __nanl.
32791         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32792         "math_private.h".
32794 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32796         * math/s_catan.c: Add branch predictions.
32797         * math/s_catanf.c: Likewise.
32798         * math/s_catanh.c: Likewise.
32799         * math/s_catanhf.c: Likewise.
32800         * math/s_catanhl.c: Likewise.
32801         * math/s_catanl.c: Likewise.
32802         * math/s_cexp.c: Likewise.
32803         * math/s_cexpf.c: Likewise.
32804         * math/s_cexpl.c: Likewise.
32805         * math/s_clog.c: Likewise.
32806         * math/s_clog10.c: Likewise.
32807         * math/s_clog10f.c: Likewise.
32808         * math/s_clog10l.c: Likewise.
32809         * math/s_clogf.c: Likewise.
32810         * math/s_clogl.c: Likewise.
32811         * math/s_csqrt.c: Likewise.
32812         * math/s_csqrtf.c: Likewise.
32813         * math/s_csqrtl.c: Likewise.
32814         * math/s_ctanf.c: Likewise.
32815         * math/s_ctanh.c: Likewise.
32816         * math/s_ctanhf.c: Likewise.
32817         * math/s_ctanhl.c: Likewise.
32818         * math/s_ctanl.c: Likewise.
32820         * math/math_private.h: Define __nan, __nanf, __nanl.
32821         * math/s_cacosh.c: Include <math_private.h>.
32822         * math/s_cacoshl.c: Likewise.
32823         * math/s_casinh.c: Likewise.
32824         * math/s_casinhf.c: Likewise.
32825         * math/s_casinhl.c: Likewise.
32826         * math/s_ccos.c: Rely entire on ccosh.
32827         * math/s_ccosf.c: Rely entire on ccoshf.
32828         * math/s_ccosl.c: Rely entirely on ccoshl.
32829         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32830         Remove tests for FE_INVALID.
32831         * math/s_ccoshf.c: Likewise.
32832         * math/s_ccoshl.c: Likewise.
32833         * math/s_csin.c: Likewise.
32834         * math/s_csinf.c: Likewise.
32835         * math/s_csinh.c Likewise.
32836         * math/s_csinhf.c: Likewise.
32837         * math/s_csinhl.c: Likewise.
32838         * math/s_csinl.c: Likewise.
32839         * math/s_ctan.c: Likewise.
32840         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32841         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32842         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32844 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32847         compilation problems.
32849         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32850         __builtin_expect.
32852 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32854         * sysdeps/i386/configure.in: Test for -mfma4 option.
32855         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32856         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32857         COMMON_CPUID_INDEX_80000001.
32858         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32859         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32860         use it if FMA3 is not supported.
32861         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32863         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32864         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32866 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32868         [BZ #12892]
32869         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32870         it would create a cycle with a link time dependency.
32872 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32874         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32875         instruction.
32876         * string/Makefile (strop-tests): Add rawmemchr.
32877         * string/test-rawmemchr.c: New file.
32879         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32880         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32881         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32882         when compiling str{,n}casecmp and when AVX is available.  Hook up
32883         new optimized code in initializers.
32885 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32887         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32888         __feraiseexcept instead of feraiseexcept.
32890 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32892         * math/math_private.h: Define defaults for libc_fetestexcept and
32893         libc_feupdateenv.
32894         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32895         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32896         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32897         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32898         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32899         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32900         libc_fetestexcept and libc_feupdateenv.
32902         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32903         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32904         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32905         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32906         libc_feholdexcept_setround.
32908         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32909         Add s_nearbyint-c and s_nearbyintf-c.
32910         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32911         nearbyintf inlines.
32912         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32913         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32914         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32915         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32917         * math/math_private.h: Define defaults for libc_fegetround,
32918         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32919         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32920         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32921         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32922         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32923         standard functions.
32924         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32925         Remove comments and hacks for old compiler versions.
32926         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32927         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32928         libc_feholdexceptl.
32930 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32932         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32933         (__feraiseexcept_renamed): Add __NTH.
32934         (feraiseexcept): Add __NTH.  Rename local variables to fix
32935         namespace violations.
32937 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32939         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32941         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32943         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32944         recently added interfaces.
32945         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32947         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32948         about macro parameter expansion.
32950         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32951         __NO_MATH_INLINES is defined.  Cleanups.
32953         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32954         and __floorf is target has SSE4.1.
32955         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32956         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32957         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32958         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32960         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32961         name.
32962         (floorf): Likewise.
32964         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32966 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32968         * misc/sys/cdefs.h: Fix last change.
32970         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32971         database lookup.
32973 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32975         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32977         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32978         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32979         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32980         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32981         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32982         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32983         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32984         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32985         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32986         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32987         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32988         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32989         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32990         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32991         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32992         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32993         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32994         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32995         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32996         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32997         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32998         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33000         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33001         ceil, ceilf, floor, floorf.
33003         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33004         Perform IRELATIVE relocations last.
33006         * elf/do-rel.h: Add another parameter nrelative, replacing the
33007         local variable with the same name.  Change name of the function
33008         to end in Rel or Rela (uppercase).
33009         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33010         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33011         elf_dynamic_do_##reloc function.
33013 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33015         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33016         is sufficient, at least on modern CPUs.
33018         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33020         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33021         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33023         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33024         __expl_finite.
33025         * math/bits/math-finite.h: Add entries for exp.
33026         * math/e_expl.c: Add __*_finite alias.
33027         * sysdeps/i386/fpu/e_exp.S: Likewise.
33028         * sysdeps/i386/fpu/e_expf.S: Likewise.
33029         * sysdeps/i386/fpu/e_expl.c: Likewise.
33030         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33031         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33032         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33033         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33034         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33035         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33036         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33038         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33039         is sufficient, at least on modern CPUs.
33041         * ctype/ctype-info.c (__ctype_init): Define.
33042         * include/ctype.h (__ctype_init): Declare.
33043         (__ctype_b_loc): The variable is always initialized.
33044         (__ctype_toupper_loc): Likewise.
33045         (__ctype_tolower_loc): Likewise.
33046         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33047         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33049 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33051         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33053         * configure.in: Also look in $cxxmachine/include for C++ system
33054         headers.
33056 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33058         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33059         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33060         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33061         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33062         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33063         (USE_AS_WMEMCMP): New macro.
33064         Fixing indents.
33065         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33066         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33067         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33068         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33069         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33070         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33071         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33072         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33073         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33074         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33075         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33076         (USE_AS_WMEMCMP): New macro.
33077         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33078         * sysdeps/string/test-memcmp.c: Update.
33079         Fix simple_wmemcmp.
33080         Add new tests.
33081         * wcsmbs/wmemcmp.c: Update.
33082         (WMEMCMP): New macro.
33083         Fix overflow bug.
33085 2011-10-12  Andreas Jaeger  <aj@suse.de>
33087         [BZ #13268]
33088         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33090 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33092         * libio/iofwide.c (do_length): Avoid warning.
33094         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33096 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33098         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33100         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33101         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33102         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33103         * sysdeps/i386/i686/fpu/e_log.S: New file.
33104         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33105         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33107         * ctype/ctype.h: Add support for inlined isXXX functions when
33108         compiling C++ code.
33110 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33112         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33114         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33116 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33118         [BZ #13291]
33119         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33121 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33123         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33124         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33125         feraiseexcept.
33127         * sysdeps/x86_64/memrchr.S: Check for zero size.
33129         * string/stratcliff.c: Add memrchr tests.
33131 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33133         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33134         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33135         rawmemchr-sse2 rawmemchr-sse2-bsf.
33136         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33137         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33138         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33139         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33140         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33141         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33142         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33143         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33144         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33145         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33146         * string/memrchr.c (MEMRCHR): New macro.
33148 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33150         Add integration with gcc's -ffinite-math-only and optimize wrapper
33151         functions in libm.
33152         * Versions.def: Define GLIBC_2.15 version for libm.
33153         * math/Makefile (headers): Add bits/math-finite.h.
33154         * math/bits/math-finite.h: New file.
33155         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33156         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33157         * math/e_acoshl.c: Add __*_finite alias.
33158         * math/e_acosl.c: Likewise.
33159         * math/e_asinl.c: Likewise.
33160         * math/e_atan2l.c: Likewise.
33161         * math/e_atanhl.c: Likewise.
33162         * math/e_coshl.c: Likewise.
33163         * math/e_exp10.c: Likewise.
33164         * math/e_exp10f.c: Likewise.
33165         * math/e_exp10l.c: Likewise.
33166         * math/e_exp2l.c: Likewise.
33167         * math/e_fmodl.c: Likewise.
33168         * math/e_gammal_r.c: Likewise.
33169         * math/e_hypotl.c: Likewise.
33170         * math/e_j0l.c: Likewise.
33171         * math/e_j1l.c: Likewise.
33172         * math/e_jnl.c: Likewise.
33173         * math/e_lgammal_r.c: Likewise.
33174         * math/e_log10l.c: Likewise.
33175         * math/e_log2l.c: Likewise.
33176         * math/e_logl.c: Likewise.
33177         * math/e_powl.c: Likewise.
33178         * math/e_sinhl.c: Likewise.
33179         * math/e_sqrtl.c: Likewise.
33180         * math/e_scalb.c: Completely rewritten and optimized.
33181         * math/e_scalbf.c: Likewise.
33182         * math/e_scalbl.c: Likewise.
33183         * math/w_acos.c: Likewise.
33184         * math/w_acosf.c: Likewise.
33185         * math/w_acosl.c: Likewise.
33186         * math/w_acosh.c: Likewise.
33187         * math/w_acoshf.c: Likewise.
33188         * math/w_acoshl.c: Likewise.
33189         * math/w_asin.c: Likewise.
33190         * math/w_asinf.c: Likewise.
33191         * math/w_asinl.c: Likewise.
33192         * math/w_atan2.c: Likewise.
33193         * math/w_atan2f.c: Likewise.
33194         * math/w_atan2l.c: Likewise.
33195         * math/w_atanh.c: Likewise.
33196         * math/w_atanhf.c: Likewise.
33197         * math/w_atanhl.c: Likewise.
33198         * math/w_exp10.c: Likewise.
33199         * math/w_exp10f.c: Likewise.
33200         * math/w_exp10l.c: Likewise.
33201         * math/w_fmod.c: Likewise.
33202         * math/w_fmodf.c: Likewise.
33203         * math/w_fmodl.c: Likewise.
33204         * math/w_j0.c: Likewise.
33205         * math/w_j0f.c: Likewise.
33206         * math/w_j0l.c: Likewise.
33207         * math/w_j1.c: Likewise.
33208         * math/w_j1f.c: Likewise.
33209         * math/w_j1l.c: Likewise.
33210         * math/w_jn.c: Likewise.
33211         * math/w_jnf.c: Likewise.
33212         * math/w_log.c: Likewise.
33213         * math/w_logf.c: Likewise.
33214         * math/w_logl.c: Likewise.
33215         * math/w_log10.c: Likewise.
33216         * math/w_log10f.c: Likewise.
33217         * math/w_log10l.c: Likewise.
33218         * math/w_log2.c: Likewise.
33219         * math/w_log2f.c: Likewise.
33220         * math/w_log2l.c: Likewise.
33221         * math/w_pow.c: Likewise.
33222         * math/w_powf.c: Likewise.
33223         * math/w_powl.c: Likewise.
33224         * math/w_remainder.c: Likewise.
33225         * math/w_remainderf.c: Likewise.
33226         * math/w_remainderl.c: Likewise.
33227         * math/w_scalb.c: Likewise.
33228         * math/w_scalbf.c: Likewise.
33229         * math/w_scalbl.c: Likewise.
33230         * math/w_sqrt.c: Likewise.
33231         * math/w_sqrtf.c: Likewise.
33232         * math/w_sqrtl.c: Likewise.
33233         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33234         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33235         used.
33236         * math/math_private.h: Declare __kernel_standard_f.
33237         * math/w_cosh.c: Remove cruft and optimize a bit.
33238         * math/w_coshf.c: Likewise.
33239         * math/w_coshl.c: Likewise.
33240         * math/w_exp2.c: Likewise.
33241         * math/w_exp2f.c: Likewise.
33242         * math/w_exp2l.c: Likewise.
33243         * math/w_hypot.c: Likewise.
33244         * math/w_hypotf.c: Likewise.
33245         * math/w_hypotl.c: Likewise.
33246         * math/w_lgamma.c: Likewise.
33247         * math/w_lgamma_r.c: Likewise.
33248         * math/w_lgammaf.c: Likewise.
33249         * math/w_lgammaf_r.c: Likewise.
33250         * math/w_lgammal.c: Likewise.
33251         * math/w_lgammal_r.c: Likewise.
33252         * math/w_sinh.c: Likewise.
33253         * math/w_sinhf.c: Likewise.
33254         * math/w_sinhl.c: Likewise.
33255         * math/w_tgamma.c: Likewise.
33256         * math/w_tgammaf.c: Likewise.
33257         * math/w_tgammal.c: Likewise.
33258         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33259         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33260         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33261         Minor optimizations.  Pretty printing.  Remove cruft.
33262         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33263         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33264         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33265         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33266         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33267         * sysdeps/i386/fpu/e_asin.S: Likewise.
33268         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33269         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33270         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33271         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33272         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33273         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33274         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33275         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33276         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33277         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33278         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33279         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33280         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33281         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33282         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33283         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33284         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33285         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33286         * sysdeps/i386/fpu/e_log.S: Likewise.
33287         * sysdeps/i386/fpu/e_log10.S: Likewise.
33288         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33289         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33290         * sysdeps/i386/fpu/e_log2.S: Likewise.
33291         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33292         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33293         * sysdeps/i386/fpu/e_logf.S: Likewise.
33294         * sysdeps/i386/fpu/e_logl.S: Likewise.
33295         * sysdeps/i386/fpu/e_pow.S: Likewise.
33296         * sysdeps/i386/fpu/e_powf.S: Likewise.
33297         * sysdeps/i386/fpu/e_powl.S: Likewise.
33298         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33299         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33300         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33301         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33302         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33303         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33304         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33305         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33306         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33307         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33308         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33309         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33310         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33311         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33312         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33313         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33314         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33315         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33316         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33317         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33318         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33319         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33320         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33321         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33322         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33323         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33324         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33325         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33326         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33327         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33328         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33329         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33330         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33331         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33332         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33333         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33334         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33335         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33336         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33337         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33338         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33339         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33340         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33341         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33342         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33343         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33344         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33345         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33346         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33347         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33348         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33349         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33350         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33351         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33352         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33353         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33354         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33355         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33356         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33357         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33358         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33359         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33360         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33361         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33362         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33363         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33364         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33365         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33366         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33367         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33368         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33369         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33370         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33371         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33372         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33373         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33374         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33375         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33376         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33377         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33378         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33379         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33380         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33381         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33382         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33383         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33384         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33385         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33386         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33387         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33388         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33389         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33390         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33391         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33392         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33393         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33394         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33395         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33396         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33397         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33398         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33399         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33400         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33401         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33402         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33403         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33404         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33405         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33406         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33407         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33408         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33409         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33410         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33411         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33412         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33413         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33414         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33415         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33416         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33417         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33418         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33419         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33420         (__isnanf): Likewise.
33421         (__isinf_ns): Likewise.
33422         (__isinf_nsf): Likewise.
33423         (__finite): Likewise.
33424         (__finitef): Likewise.
33425         (__ieee754_sqrt): Define as macro.
33426         (__ieee754_sqrtf): Define as macro.
33427         (__ieee754_sqrtl): Define as macro.
33428         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33429         inlined copy.
33430         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33431         __FINITE_MATH_ONLY__ consistent.
33432         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33434 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33436         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33437         of rawmemchr.
33439         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33441 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33443         * po/ja.po: Update from translation team.
33445 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33447         * locale/programs/locarchive.c (prepare_address_space): New function.
33448         (create_archive, enlarge_archive, open_archive): Use it.
33450         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33451         inside [SHARED], where it is used.
33453         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33455         * nss/getent.c (netgroup_keys): Remove unused variable.
33456         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33458 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33460         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33461         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33462         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33463         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33464         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33465         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33466         * math/Makefile (libm-calls): Add s_isinf_ns.
33467         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33468         * math/multc3.c: Likewise.
33469         * math/s_casin.c: Likewise.
33470         * math/s_casinf.c: Likewise.
33471         * math/s_casinl.c: Likewise.
33472         * math/s_ccos.c: Likewise.
33473         * math/s_ccosf.c: Likewise.
33474         * math/s_ccosl.c: Likewise.
33475         * math/s_ctan.c: Likewise.
33476         * math/s_ctanf.c: Likewise.
33477         * math/s_ctanh.c: Likewise.
33478         * math/s_ctanhf.c: Likewise.
33479         * math/s_ctanhl.c: Likewise.
33480         * math/s_ctanl.c: Likewise.
33481         * math/w_fmod.c: Likewise.
33482         * math/w_fmodf.c: Likewise.
33483         * math/w_fmodl.c: Likewise.
33484         * math/w_remainder.c: Likewise.
33485         * math/w_remainderf.c: Likewise.
33486         * math/w_remainderl.c: Likewise.
33487         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33488         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33489         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33490         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33491         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33492         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33493         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33494         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33496         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33497         of the number.
33498         * stdio-common/printf_fphex.c: Likewise.
33499         * stdio-common/printf_size.c: Likewise.
33501         * math/e_exp10.c: Include math_private.h using <...> not "...".
33502         * math/e_exp10f.c: Likewise.
33503         * math/e_exp10l.c: Likewise.
33504         * math/e_exp2l.c: Likewise.
33505         * math/e_j0l.c: Likewise.
33506         * math/e_j1l.c: Likewise.
33507         * math/e_jnl.c: Likewise.
33508         * math/e_lgammal_r.c: Likewise.
33509         * math/e_rem_pio2l.c: Likewise.
33510         * math/e_scalb.c: Likewise.
33511         * math/e_scalbf.c: Likewise.
33512         * math/e_scalbl.c: Likewise.
33513         * math/k_cosl.c: Likewise.
33514         * math/k_sinl.c: Likewise.
33515         * math/k_tanl.c: Likewise.
33516         * math/s_cacoshf.c: Likewise.
33517         * math/s_catan.c: Likewise.
33518         * math/s_catanf.c: Likewise.
33519         * math/s_catanh.c: Likewise.
33520         * math/s_catanhf.c: Likewise.
33521         * math/s_catanhl.c: Likewise.
33522         * math/s_catanl.c: Likewise.
33523         * math/s_ccosh.c: Likewise.
33524         * math/s_ccoshf.c: Likewise.
33525         * math/s_ccoshl.c: Likewise.
33526         * math/s_cexp.c: Likewise.
33527         * math/s_cexpf.c: Likewise.
33528         * math/s_cexpl.c: Likewise.
33529         * math/s_clog.c: Likewise.
33530         * math/s_clog10.c: Likewise.
33531         * math/s_clog10f.c: Likewise.
33532         * math/s_clog10l.c: Likewise.
33533         * math/s_clogf.c: Likewise.
33534         * math/s_clogl.c: Likewise.
33535         * math/s_csin.c: Likewise.
33536         * math/s_csinf.c: Likewise.
33537         * math/s_csinh.c: Likewise.
33538         * math/s_csinhf.c: Likewise.
33539         * math/s_csinhl.c: Likewise.
33540         * math/s_csinl.c: Likewise.
33541         * math/s_csqrt.c: Likewise.
33542         * math/s_csqrtf.c: Likewise.
33543         * math/s_csqrtl.c: Likewise.
33544         * math/s_ctan.c: Likewise.
33545         * math/s_ctanf.c: Likewise.
33546         * math/s_ctanh.c: Likewise.
33547         * math/s_ctanhf.c: Likewise.
33548         * math/s_ctanhl.c: Likewise.
33549         * math/s_ctanl.c: Likewise.
33550         * math/s_ldexp.c: Likewise.
33551         * math/s_ldexpf.c: Likewise.
33552         * math/s_ldexpl.c: Likewise.
33553         * math/s_significand.c: Likewise.
33554         * math/s_significandf.c: Likewise.
33555         * math/s_significandl.c: Likewise.
33556         * math/w_acos.c: Likewise.
33557         * math/w_acosf.c: Likewise.
33558         * math/w_acosh.c: Likewise.
33559         * math/w_acoshf.c: Likewise.
33560         * math/w_acoshl.c: Likewise.
33561         * math/w_acosl.c: Likewise.
33562         * math/w_asin.c: Likewise.
33563         * math/w_asinf.c: Likewise.
33564         * math/w_asinl.c: Likewise.
33565         * math/w_atan2.c: Likewise.
33566         * math/w_atan2f.c: Likewise.
33567         * math/w_atan2l.c: Likewise.
33568         * math/w_atanh.c: Likewise.
33569         * math/w_atanhf.c: Likewise.
33570         * math/w_atanhl.c: Likewise.
33571         * math/w_cosh.c: Likewise.
33572         * math/w_coshf.c: Likewise.
33573         * math/w_coshl.c: Likewise.
33574         * math/w_dremf.c: Likewise.
33575         * math/w_exp10.c: Likewise.
33576         * math/w_exp10f.c: Likewise.
33577         * math/w_exp10l.c: Likewise.
33578         * math/w_exp2.c: Likewise.
33579         * math/w_exp2f.c: Likewise.
33580         * math/w_fmod.c: Likewise.
33581         * math/w_fmodf.c: Likewise.
33582         * math/w_fmodl.c: Likewise.
33583         * math/w_hypot.c: Likewise.
33584         * math/w_hypotf.c: Likewise.
33585         * math/w_hypotl.c: Likewise.
33586         * math/w_j0.c: Likewise.
33587         * math/w_j0f.c: Likewise.
33588         * math/w_j0l.c: Likewise.
33589         * math/w_j1.c: Likewise.
33590         * math/w_j1f.c: Likewise.
33591         * math/w_j1l.c: Likewise.
33592         * math/w_jn.c: Likewise.
33593         * math/w_jnf.c: Likewise.
33594         * math/w_jnl.c: Likewise.
33595         * math/w_lgamma.c: Likewise.
33596         * math/w_lgamma_r.c: Likewise.
33597         * math/w_lgammaf.c: Likewise.
33598         * math/w_lgammaf_r.c: Likewise.
33599         * math/w_lgammal.c: Likewise.
33600         * math/w_lgammal_r.c: Likewise.
33601         * math/w_log.c: Likewise.
33602         * math/w_log10.c: Likewise.
33603         * math/w_log10f.c: Likewise.
33604         * math/w_log10l.c: Likewise.
33605         * math/w_log2.c: Likewise.
33606         * math/w_log2f.c: Likewise.
33607         * math/w_log2l.c: Likewise.
33608         * math/w_logf.c: Likewise.
33609         * math/w_logl.c: Likewise.
33610         * math/w_pow.c: Likewise.
33611         * math/w_powf.c: Likewise.
33612         * math/w_powl.c: Likewise.
33613         * math/w_remainder.c: Likewise.
33614         * math/w_remainderf.c: Likewise.
33615         * math/w_remainderl.c: Likewise.
33616         * math/w_scalb.c: Likewise.
33617         * math/w_scalbf.c: Likewise.
33618         * math/w_scalbl.c: Likewise.
33619         * math/w_sinh.c: Likewise.
33620         * math/w_sinhf.c: Likewise.
33621         * math/w_sinhl.c: Likewise.
33622         * math/w_sqrt.c: Likewise.
33623         * math/w_sqrtf.c: Likewise.
33624         * math/w_sqrtl.c: Likewise.
33625         * math/w_tgamma.c: Likewise.
33626         * math/w_tgammaf.c: Likewise.
33627         * math/w_tgammal.c: Likewise.
33629         * po/ja.po: Update from translation team.
33631 2011-09-29  Andreas Jaeger  <aj@suse.de>
33633         [BZ #13179]
33634         * sunrpc/netname.c (netname2host): Fix logic.
33636         [BZ #6779]
33637         [BZ #6783]
33638         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33639         correctly.
33640         * math/w_remainder.c (__remainder): Likewise.
33641         * math/w_remainderf.c (__remainderf): Likewise.
33642         * math/libm-test.inc (remainder_test): Add test cases.
33644 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33646         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33647         sdiv_qrnnd.
33649 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33651         * string/test-memcmp.c: Avoid unncessary #defines.
33652         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33654 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33656         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33657         Use new sse2 version for core i3 - i7 as it's faster
33658         than sse42 version.
33659         (bit_Prefer_PMINUB_for_stringop): New.
33660         * sysdeps/x86_64/rawmemchr.S: Update.
33661         Replace with faster SSE2 version.
33662         * sysdeps/x86_64/memrchr.S: New file.
33663         * sysdeps/x86_64/memchr.S: Update.
33664         Replace with faster SSE2 version.
33666 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33668         * elf/dl-load.c (lose): Add cast to avoid warning.
33670 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33672         * po/ca.po: Update from translation team.
33674         * inet/getnetgrent_r.c: Hook up nscd.
33675         * nscd/Makefile (routines): Add nscd_netgroup.
33676         (nscd-modules): Add netgroupcache.
33677         (CFLAGS-netgroupcache.c): Define.
33678         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33679         (cache_search): Add const to second parameter.
33680         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33681         INNETGR.
33682         (dbs): Add netgrdb entry.
33683         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33684         (verify_persistent_db): Handle netgrdb.
33685         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33686         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33687         GETFDNETGR.
33688         (netgroup_response_header): Define.
33689         (innetgroup_response_header): Define.
33690         (datahead): Add netgroup_response_header and innetgroup_response_header
33691         elements.
33692         * nscd/nscd.conf: Add entries for netgroup cache.
33693         * nscd/nscd.h (dbtype): Add netgrdb.
33694         (_PATH_NSCD_NETGROUP_DB): Define.
33695         (netgroup_iov_disabled): Declare.
33696         (xmalloc, xcalloc, xrealloc): Move declarations here.
33697         (cache_search): Adjust prototype.
33698         Add netgroup-related prototypes.
33699         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33700         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33701         (__nscd_innetgr): Declare.
33702         * nscd/selinux.c (perms): Use access_vector_t as element type and
33703         add netgroup-related initializers.
33704         * nscd/netgroupcache.c: New file.
33705         * nscd/nscd_netgroup.c: New file.
33706         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33707         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33708         For four parameters use innetgr.
33709         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33710         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33711         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33712         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33714         * nscd/connections.c (register_traced_file): Don't register file
33715         for disabled databases.
33717 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33719         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33721         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33722         from tree and freeing node.
33724 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33726         * nss/nsswitch.c (__nss_database_lookup): Handle
33727         nss_parse_service_list out of memory case.
33729 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33731         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33732         out of memory case.
33734 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33736         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33737         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33738         pass it down.
33739         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33740         elf_machine_rela, elf_machine_lazy_rel.
33741         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33742         (ELF_DYNAMIC_DO_REL): Likewise.
33743         (ELF_DYNAMIC_DO_RELA): Likewise.
33744         (ELF_DYNAMIC_RELOCATE): Likewise.
33745         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33746         to ELF_DYNAMIC_DO_REL.
33747         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33748         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33749         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33750         elf_machine_rela.
33751         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33752         skip_ifunc, don't call ifunc function if non-zero.
33753         (elf_machine_rela): Likewise.
33754         (elf_machine_lazy_rel): Likewise.
33755         (elf_machine_lazy_rela): Likewise.
33756         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33757         (elf_machine_lazy_rel): Likewise.
33758         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33759         Likewise.
33760         (elf_machine_lazy_rel): Likewise.
33761         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33762         Likewise.
33763         (elf_machine_lazy_rel): Likewise.
33764         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33765         (elf_machine_lazy_rel): Likewise.
33766         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33767         (elf_machine_lazy_rel): Likewise.
33768         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33769         (elf_machine_lazy_rel): Likewise.
33770         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33771         (elf_machine_lazy_rel): Likewise.
33772         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33773         (elf_machine_lazy_rel): Likewise.
33774         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33775         (elf_machine_lazy_rel): Likewise.
33777 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33779         * nss/nss_files/files-init.c (_nss_files_init): Use static
33780         initialization for all the *_traced_file variables.
33782 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33784         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33786 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33788         [BZ #13226]
33789         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33791 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33793         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33794         Reread the line before reparsing it.
33796 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33798         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33800 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33801             Maxim Kuvyrkov  <maxim@codesourcery.com>
33802             Joseph Myers  <joseph@codesourcery.com>
33804         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33805         if needed for __stack_chk_guard.
33807 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33809         * sysdeps/posix/spawni.c (script_execute): Always define it.
33810         It will be optimized away if unused.
33811         (maybe_script_execute): New function.
33812         (__spawni): Call it.
33814         * Makerules: Don't include tls.make.
33815         (config-tls): Always set to thread.
33816         * tls.make.c: File removed.
33818 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33820         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33821         * config.make.in (CPPFLAGS-config): New substituted variable.
33823 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33825         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33827         [BZ #13192]
33828         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33829         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33831 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33833         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33834         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33835         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33836         (CALL_FAIL): Likewise.
33837         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33838         (CALL_FAIL): Macro removed.
33839         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33841 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33843         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33844         for __FINITE_MATH_ONLY__ == 1.
33846 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33848         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33849         __ieee754_sqrt instead of sqrt.
33850         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33851         __ieee754_sqrtf instead of sqrtf.
33852         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33853         __floorf instead of floorf.
33854         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33855         __floorf, __truncf instead of floorf, truncf.
33857 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33859         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33861         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33862         __extern_always_inline.
33863         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33864         32-bit.
33866 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33868         * elf/rtld.c (dl_main): Also relocate in dependency order when
33869         doing symbol dependency testing.
33871 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33873         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33874         Always define `refsym'.
33876 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33878         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33879         (__FD_ELT): Renamed from __FDELT.
33880         * misc/bits/select2.h (__FD_ELT): Likewise.
33881         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33882         __FD_MASK instead of __FDELT, __FDMASK.
33883         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33884         Likewise.
33885         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33886         Likewise.
33888         * elf/Makefile (gen-ldd): Fix pattern.
33890         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33891         (init_tls): Likewise.
33893 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33895         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33897 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33899         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33900         `struct cmsghdr *' instead of `void *'.
33901         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33902         Likewise.
33904 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33906         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33907         if non-absolute.
33908         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33909         ldd_rewrite_script.
33911 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33913         * configure.in: Remove --with-tls option.
33914         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33915         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33916         out in case it is missing.
33917         * sysdeps/ia64/elf/configure.in: Likewise.
33918         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33919         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33920         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33921         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33922         * sysdeps/sh/elf/configure.in: Likewise.
33923         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33924         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33925         * sysdeps/x86_64/elf/configure.in: Likewise.
33926         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33927         * sysdeps/mach/hurd/tls.h: Likewise.
33929         [BZ #13067]
33930         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33932         [BZ #13090]
33933         * configure.in: Fix use of AC_INIT.
33935         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33937 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33939         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33940         __set_errno.
33941         * malloc/hooks.c: Likewise.
33943         [BZ #11929]
33944         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33945         variables statically.
33946         (narenas): Initialize.
33947         (list_lock): Initialize.
33948         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33949         initializtion of main_arena and list_lock.  Small cleanups.
33950         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33951         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33952         Add initializers to main_arena and mp_.
33953         (malloc_state): Remove pagesize member.  Change all users to use
33954         GLRO(dl_pagesize).
33956         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33957         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33958         is always initialized.
33960         * malloc/malloc.c: Removed unused configurations and dead code.
33961         * malloc/arena.c: Likewise.
33962         * malloc/hooks.c: Likewise.
33963         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33965         * include/tls.h: Removed.  USE___THREAD must always be defined.
33966         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33967         * elf/dl-libc.c: Likewise.
33968         * elf/dl-tsd.c: Likewise.
33969         * include/errno.h: Likewise.
33970         * include/netdb.h: Likewise.
33971         * include/resolv.h: Likewise.
33972         * inet/herrno-loc.c: Likewise.
33973         * inet/herrno.c: Likewise.
33974         * malloc/arena.c: Likewise.
33975         * malloc/hooks.c: Likewise.
33976         * malloc/malloc.c: Likewise.
33977         * resolv/res-state.c: Likewise.
33978         * resolv/res_libc.c: Likewise.
33979         * sysdeps/i386/dl-machine.h: Likewise.
33980         * sysdeps/ia64/dl-machine.h: Likewise.
33981         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33982         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33983         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33984         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33985         * sysdeps/sh/dl-machine.h: Likewise.
33986         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33987         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33988         * sysdeps/unix/i386/sysdep.S: Likewise.
33989         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33990         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33991         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33992         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33993         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33994         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33995         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33996         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33997         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33999         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34000         * sysdeps/x86_64/dl-machine.h: Likewise.
34001         * tls.make.c: Likewise.
34003         * configure.in: Remove --with-__thread option.  Make tests for
34004         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34005         tls_model attribute fail if no support is available.  Remove
34006         USE_IN_LIBIO.
34007         * Makeconfig: Adjust for dropped configure option.  All features are
34008         now mandatory.
34009         * Makerules: Likewise.
34010         * Versions.def: Likewise.
34011         * argp/argp-fmtstream.c: Likewise.
34012         * argp/argp-fmtstream.h: Likewise.
34013         * argp/argp-help.c: Likewise.
34014         * assert/assert.c: Likewise.
34015         * config.h.in: Likewise.
34016         * config.make.in: Likewise.
34017         * configure: Likewise.
34018         * configure.in: Likewise.
34019         * csu/Versions: Likewise.
34020         * csu/init.c: Likewise.
34021         * elf/tst-audit2.c: Likewise.
34022         * elf/tst-tls10.c: Likewise.
34023         * elf/tst-tls10.h: Likewise.
34024         * elf/tst-tls11.c: Likewise.
34025         * elf/tst-tls12.c: Likewise.
34026         * elf/tst-tls14.c: Likewise.
34027         * elf/tst-tlsmod11.c: Likewise.
34028         * elf/tst-tlsmod12.c: Likewise.
34029         * elf/tst-tlsmod13.c: Likewise.
34030         * elf/tst-tlsmod13a.c: Likewise.
34031         * elf/tst-tlsmod14a.c: Likewise.
34032         * elf/tst-tlsmod15b.c: Likewise.
34033         * elf/tst-tlsmod16a.c: Likewise.
34034         * elf/tst-tlsmod16b.c: Likewise.
34035         * elf/tst-tlsmod7.c: Likewise.
34036         * elf/tst-tlsmod8.c: Likewise.
34037         * elf/tst-tlsmod9.c: Likewise.
34038         * gmon/gmon.c: Likewise.
34039         * grp/fgetgrent_r.c: Likewise.
34040         * grp/putgrent.c: Likewise.
34041         * hurd/fopenport.c: Likewise.
34042         * include/libc-symbols.h: Likewise.
34043         * include/tls.h: Likewise.
34044         * intl/gettextP.h: Likewise.
34045         * intl/loadinfo.h: Likewise.
34046         * locale/global-locale.c: Likewise.
34047         * locale/localeinfo.h: Likewise.
34048         * mach/devstream.c: Likewise.
34049         * malloc/arena.c: Likewise.
34050         * malloc/set-freeres.c: Likewise.
34051         * misc/err.c: Likewise.
34052         * misc/getttyent.c: Likewise.
34053         * misc/mntent_r.c: Likewise.
34054         * posix/getopt.c: Likewise.
34055         * posix/wordexp.c: Likewise.
34056         * pwd/fgetpwent_r.c: Likewise.
34057         * resolv/Versions: Likewise.
34058         * resolv/res_hconf.c: Likewise.
34059         * shadow/fgetspent_r.c: Likewise.
34060         * shadow/putspent.c: Likewise.
34061         * stdio-common/printf_fphex.c: Likewise.
34062         * stdio-common/tmpfile.c: Likewise.
34063         * stdlib/abort.c: Likewise.
34064         * stdlib/fmtmsg.c: Likewise.
34065         * sunrpc/auth_unix.c: Likewise.
34066         * sunrpc/clnt_perr.c: Likewise.
34067         * sunrpc/clnt_tcp.c: Likewise.
34068         * sunrpc/clnt_udp.c: Likewise.
34069         * sunrpc/clnt_unix.c: Likewise.
34070         * sunrpc/openchild.c: Likewise.
34071         * sunrpc/svc_simple.c: Likewise.
34072         * sunrpc/svc_tcp.c: Likewise.
34073         * sunrpc/svc_udp.c: Likewise.
34074         * sunrpc/svc_unix.c: Likewise.
34075         * sunrpc/xdr.c: Likewise.
34076         * sunrpc/xdr_array.c: Likewise.
34077         * sunrpc/xdr_rec.c: Likewise.
34078         * sunrpc/xdr_ref.c: Likewise.
34079         * sunrpc/xdr_stdio.c: Likewise.
34081 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34083         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34085 2011-07-03  Andreas Jaeger  <aj@suse.de>
34087         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34088         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34089         regenerate with gen-libm-tests.pl.
34091 2010-05-12  Petr Baudis  <pasky@suse.cz>
34093         [BZ #11589]
34094         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34095         around j0() zero points by switching to j1().
34096         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34097         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34098         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34099         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34101 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34103         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34104         instead of 0.
34105         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34106         instead of 0.
34107         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34108         Patch in part by Pavel Roskin <proski@gnu.org>.
34110         [BZ #13138]
34111         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34112         realloc.
34113         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34114         Free memory block if necessary.
34116         [BZ #12847]
34117         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34118         be NULL.  Don't lock in this case.
34120 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34122         * elf/elf.h (ELFOSABI_GNU): New macro.
34123         (ELFOSABI_LINUX): Define to that.
34125 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34127         * string/strncat.c (strncat): Undef the symbol in case it has been
34128         defined in bits/string.h.
34130 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34132         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34134         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34135         link map.
34137 2011-08-17  Andreas Jaeger  <aj@suse.de>
34139         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34141 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34142             Ian Lance Taylor  <iant@google.com>
34144         * math/libm-test.inc (lround_test): New testcase.
34145         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34147 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34149         * Makefile: Remove support for automatic cvs check-ins.
34150         * Makerules: Likewise.
34151         * config.make.in: Likewise.
34152         * configure.in: Likewise.
34153         * intl/Makefile: Likewise.
34154         * locale/Makefile: Likewise.
34155         * po/Makefile: Likewise.
34156         * posix/Makefile: Likewise.
34157         * sysdeps/gnu/Makefile: Likewise.
34158         * sysdeps/mach/hurd/Makefile: Likewise.
34159         * sysdeps/sparc/sparc32/Makefile: Likewise.
34161         [BZ #13118]
34162         * posix/Makefile (bug-regex32-ENV): Define.
34163         Patch by John Stanley <jpsinthemix@verizon.net>.
34165         * misc/Makefile (headers): Add bits/select2.h.
34166         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34167         * misc/bits/select2.h: New file.
34168         * include/bits/select2.h: New file.
34169         * debug/Makefile (routines): Add fdelt_chk.
34170         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34171         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34172         FD_ISSET.
34173         * debug/fdelt_chk.c: New file.
34175         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34176         * wcsmbs/test-wmemcmp.c: Likewise.
34177         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34178         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34180 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34182         * string/Makefile (strop-tests): Add memcmp.
34183         * string/test-wmemcmp.c: New file.
34184         * string/test-memcmp.c: Add wmemcmp support.
34186 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34188         [BZ #13153]
34189         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34190         2011-07-19 change.
34192         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34193         garbage value in a __mach_port_mod_refs call in the cases of the
34194         task-self and thread-self ports.
34196 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34198         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34200 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34202         * elf/dl-load.c (lose): Check for non-null L.
34204 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34206         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34208         * elf/dl-libc.c (dlerror_run): Pass back error code from
34209         dl_catch_error.
34211         [BZ #13123]
34212         * elf/dl-load.c (lose): Free l_origin if it is valid.
34214         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34215         names.
34216         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34217         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34218         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34219         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34220         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34221         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34223 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34225         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34226         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34227         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34228         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34229         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34230         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34231         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34232         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34233         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34234         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34236 2011-08-15  Alan Modra  <amodra@gmail.com>
34238         [BZ #13092]
34239         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34240         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34241         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34242         ppc_mcount to static-only-routines.
34243         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34244         __mcount_internal.
34245         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34246         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34248 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34250         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34251         for finite and infinity parameters.
34253 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34255         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34256         and add nop instructions for throughput optimization.
34257         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34259 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34261         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34262         aligned copy for power7 with vector-scalar instructions.
34263         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34265 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34267         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34268         AVX check.
34270 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34272         [BZ #13144]
34273         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34274         last change.
34276 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34278         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34279         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34280         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34281         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34282         clock_gettime.
34284 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34286         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34287         Forgot to demangle the pointer.
34289         * sysdeps/i386/sysdep.h: Define atom_text_section.
34290         * sysdeps/x86_64/sysdep.h: Likewise.
34291         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34292         section with atom_text_section.
34293         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34294         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34295         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34296         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34297         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34299         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34300         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34301         already be defined.  Change to take two parameters and don't assign
34302         result to variable.  Adjust all users.
34303         Define INTERNAL_GETTIME if not already defined.
34304         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34305         call.
34306         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34307         HAVE_CLOCK_GETTIME_VSYSCALL.
34308         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34310         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34311         gettimeofday vsyscall, just use time.
34313 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34315         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34316         <errno.h>.
34318 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34320         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34321         syscall on x86-64.
34322         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34323         syscall.
34324         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34325         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34326         syscall if possible.
34328 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34330         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34331         e_ident.  Don't pass to find_mapsXX.
34332         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34334 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34337         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34338         * sysdeps/x86_64/multiarch/strchr.S: Update.
34339         Check bit_slow_BSF bit.
34340         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34341         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34342         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34344 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34346         [BZ #13134]
34347         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34348         before glibc 2.15.
34349         (tryshell): Define.
34350         (__spawni): Change last parameter to be flag.  Test
34351         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34352         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34353         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34354         * posix/spawni.c: Likewise.
34355         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34356         * posix/spawnp.c: Likewise.  Change normal version to use
34357         SPAWN_XFLAGS_USE_PATH.
34358         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34359         SPAWN_XFLAGS_TRY_SHELL.
34361         [BZ #13150]
34362         * posix/glob.h: Remove gcc 1.x support.
34364         [BZ #13068]
34365         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34367 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34369         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34370         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34371         strrchr-sse2-bsf
34372         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34373         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34374         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34375         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34376         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34377         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34379 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34381         * sysdeps/x86_64/wcscmp.S: New file.
34383         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34384         wcscmp-c wcscmp-sse2
34385         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34386         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34387         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34388         * wcsmbs/wcscmp.c: Allow renaming.
34390 2011-09-05  David S. Miller  <davem@davemloft.net>
34392         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34393         stack slot, rather than the struct return pointer slot.
34394         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34395         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34397         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34399 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34401         * po/ja.po: Update from translation team.
34403         [BZ #13144]
34404         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34405         kernel in 64-bit binaries.
34407 2011-09-01  David S. Miller  <davem@davemloft.net>
34409         * elf/elf.h (HWCAP_SPARC_*): Move to..
34410         * sysdeps/sparc/sysdep.h: this new file and add new values.
34411         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34412         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34413         _DL_HWCAP_COUNT to 24.
34414         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34415         entries.
34416         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34417         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34418         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34419         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34420         instead of magic constants.
34421         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34423 2011-08-31  David S. Miller  <davem@davemloft.net>
34425         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34426         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34427         Reimplement to do errno handling inline.
34428         (SYSCALL_ERROR_HANDLER): New macro.
34429         (__SYSCALL_STRING): Do not do errno handling in asm.
34430         (__CLONE_SYSCALL_STRING): Delete.
34431         (__INTERNAL_SYSCALL_STRING): Delete.
34432         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34433         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34434         (PSEUDO): Reimplement to do errno handling inline.
34435         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34436         (SYSCALL_ERROR_HANDLER): New macro.
34437         (__SYSCALL_STRING): Do not do errno handling in asm.
34438         (__CLONE_SYSCALL_STRING): Delete.
34439         (__INTERNAL_SYSCALL_STRING): Delete.
34440         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34441         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34442         i386.
34443         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34444         (inline_syscall*): Add 'err' argument.
34445         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34446         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34447         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34448         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34450         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34451         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34453 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34455         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34457 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34459         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34460         directive.
34462 2011-08-24  David S. Miller  <davem@davemloft.net>
34464         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34466 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34468         * elf/Makefile: Add rules to build and run unload8 test.
34469         * elf/unload8.c: New file.
34470         * elf/unload8mod1.c: New file.
34471         * elf/unload8mod1x.c: New file.
34472         * elf/unload8mod2.c: New file.
34473         * elf/unload8mod3.c: New file.
34475         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34476         it wasn't used.
34478 2011-08-23  David S. Miller  <davem@davemloft.net>
34480         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34481         subtract stack bias.
34482         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34483         %sp not %fp in calculations.
34484         (_JMPBUF_UNWINDS_ADJ): Likewise.
34486         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34487         (aio_suspend): Call it to force an exception region around the
34488         AIO_MISC_WAIT() invocation.
34490 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34492         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34493         backslash.
34495 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34497         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34498         protection macro.
34499         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34500         and <dl-machine.h>.
34501         (Elf64_FuncDesc): Remove.
34503 2011-08-22  David S. Miller  <davem@davemloft.net>
34505         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34506         sigaltstack check, add missing cfi directives.
34507         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34508         missing cfi directives, and sigaltstack handling.
34510 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34512         [BZ #11724]
34513         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34514         object is seen twice.
34515         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34517         * elf/Makefile (distribute): Add tst-initorder2.c.
34518         (tests): Add tst-initorder2.
34519         (modules-names): Add tst-initorder2a tst-initorder2b
34520         tst-initorder2c tst-initorder2d.  Add rules to build them.
34521         ($(objpfx)tst-initorder2.out): New rule.
34522         * elf/tst-initorder2.c: New file.
34523         * elf/tst-initorder2.exp: New file.
34525 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34527         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34529         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34530         dependencies back to end of function.
34532         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34533         $(elfobjdir)/ld.so.
34535 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34537         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34538         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34539         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34540         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34541         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34542         of __vdso_gettimeofday.
34543         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34544         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34545         attribute_hidden.
34546         (_libc_vdso_platform_setup): Remove initialization of
34547         __vdso_gettimeofday and __vdso_time.
34549 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34551         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34552         and fgetc_unlocked.
34553         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34554         getc_unlocked.
34556         * elf/dl-open.c (add_to_global): Report additions to the global scope
34557         for LD_DEBUG=scopes.
34558         (dl_open_worker): Also print scope of newly loaded dependencies.
34559         (_dl_show_scope): Indicate if there is no scope.
34561         [BZ #13114]
34562         * stdio-common/Makefile (tests): Add bug24.
34563         * stdio-common/bug24.c: New file.
34565 2011-08-19  Andreas Jaeger  <aj@suse.de>
34567         [BZ #13114]
34568         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34569         non-existant file when using close-on-exec mode.
34571 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34573         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34574         the very first instruction.
34576         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34577         the CFI state in the end.
34578         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34579         inclusion of dl-trampoline.h.
34580         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34582 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34584         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34585         expectations for long double.
34587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34588         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34590 2011-08-14  David S. Miller  <davem@davemloft.net>
34592         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34593         artificual limit depends upon the system page size.
34595 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34597         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34598         * resolv/Makefile: Define CFLAGS-libresolv.
34600 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34602         * nss/makedb.c (compute_tables): Make variables used in nested
34603         function static.
34605 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34607         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34608         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34609         if buffer was too small.
34611         * elf/pldd.c (main): Attach to all threads in the process.
34612         Rewrite /proc handling to use *at functions.
34614 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34616         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34617         specifies first scope to show.
34618         (dl_open_worker): Update callers.  Move printing scope of new
34619         object to before the relocation.
34620         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34621         * sysdeps/generic/ldsodefs.h: Update declaration.
34623         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34624         string for the scope number.
34626 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34628         * nscd/servicescache.c (cache_addserv): Make sure written is always
34629         initialized.
34631 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34633         * sysdeps/i386/i486/bits/atomic.h
34634         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34635         statement expression, so as to suppress "set but not used" warning.
34636         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34638         * string/strncat.c (STRNCAT): Use prototype definition.
34640         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34641         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34642         -Iprograms here.
34643         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34644         (localedef-modules): Add localedef.
34645         (locale-modules): Add locale.
34647         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34648         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34649         to avoid a warning.
34651 2011-08-14  David S. Miller  <davem@davemloft.net>
34653         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34654         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34656 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34658         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34659         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34660         * elf/rtld.c (dl_main): Set l_name of vDSO.
34661         Call _dl_show_scope when DL_DEBUG_SCOPES.
34662         (process_dl_debug): Recognize scopes flag and also set it for all.
34663         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34664         Declare _dl_show_scope.
34666         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34667         (do_dlopen): Pass caller_dlopen to dl_open.
34668         (__libc_dlopen_mode): Initialize caller_dlopen.
34670         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34671         of libc.  Make tolower call locale-independent.  Optimize a bit by
34672         using isdigit instead of isalnum.
34673         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34675 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34677         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34678         was a dependency or dynamically loaded.
34680 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34682         * intl/l10nflist.c: Allow architecture-specific pop function.
34683         * sysdeps/x86_64/l10nflist.c: New file.
34685         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34686         classification.
34688 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34690         * include/dirent.h: Add libc_hidden_proto for scandirat and
34691         scandirat64.  Don't declare __scandirat64.
34692         * dirent/scandirat.c: Add libc_hidden_def.
34693         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34694         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34696 2011-08-10  David S. Miller  <davem@davemloft.net>
34698         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34699         enum.
34700         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34701         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34702         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34704 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34706         * Versions.def [libc]: Add GLIBC_2.15.
34707         * dirent/Makefile (routines): Add scandirat and scandirat64.
34708         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34709         GLIBC_2.15.
34710         * dirent/dirent.h: Declare scandirat and scandirat64.
34711         * dirent/scandirat.c: New file.
34712         * dirent/scandirat64.c: New file.
34713         * sysdeps/wordsize-64/scandirat.c: New file.
34714         * sysdeps/wordsize-64/scandirat64.c: New file.
34715         * dirent/opendir.c: Define opendirat.
34716         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34717         using scandirat.
34718         * dirent/scandir64.c: Adjust for scandir.c change.
34719         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34720         __scandirat64, and __scandir_cancel_handler.
34721         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34722         additional parameter and use openat instead of open (outside of ld.so).
34723         Add new __opendir as wrapper around __opendirat.
34724         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34725         here without requiring old scandirat implementation.
34727 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34729         * dirent/scandir.c (cancel_handler): Renamed to
34730         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34731         defined.  Adjust users.
34732         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34733         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34735 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34737         * string/test-string.h (IMPL): Use __STRING to expand name and then
34738         stringify it.
34740         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34741         of cleanups.
34743 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34745         * string/Makefile: Update.
34746         (strop-tests): Append strncat.
34747         * string/test-wcscmp.c: New file.
34748         New comprehensive test for wcscmp.
34749         * string/test-strcmp.c: Update.
34750         (WIDE): New define.
34752 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34754         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34755         line.
34757 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34760         encoding to ACE if AI_IDN.
34762 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34764         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34765         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34767 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34769         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34770         Fix overflow bug in strncat.
34771         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34773         * string/test-strncat.c: Update.
34774         Add new tests for checking overflow bugs.
34776 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34778         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34779         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34780         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34781         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34782         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34783         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34784         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34785         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34786         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34788         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34789         (USE_AS_STRCAT): Define.
34790         Add strcat and strncat support.
34791         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34793 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34795         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34796         __n bigger than INT_MAX+1.
34797         (__strncmp_g): Likewise.
34799 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34801         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34802         * libio/stido.h: Likewise.
34804         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34805         (AF_NFC): Define.
34806         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34807         (AF_NFC): Define.
34809         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34810         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34811         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34812         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34813         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34815         [BZ #13021]
34816         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34817         installed.
34819         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34820         typo.
34821         (_dl_x86_64_save_sse): Likewise.
34823 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34825         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34826         OSXSAVE.
34827         (_dl_x86_64_save_sse): Likewise.
34829         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34831         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34833 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34835         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34836         change.
34837         (_dl_x86_64_save_sse): Use correct AVX check.
34839 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34841         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34842         bug in strncpy/strncat.
34843         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34845 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34847         * string/tester.c (test_strcat): Add tests for different alignments
34848         of source and destination.
34849         (test_strncat): Likewise.
34851 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34853         [BZ #12852]
34854         * posix/glob.c (glob): Check passed in values before using them in
34855         expressions to avoid some overflows.
34856         (glob_in_dir): Likewise.
34858         [BZ #13007]
34859         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34860         check for AVX enablement so that we don't crash with old kernels and
34861         new hardware.
34862         * elf/tst-audit4.c: Add same checks here.
34863         * elf/tst-audit6.c: Likewise.
34865         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34867 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34869         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34871 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34873         * po/cs.po: Update from translation team.
34874         * po/bg.po: Likewise.
34876 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34878         * misc/sys/cdefs.h: Add support for const attribute.
34879         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34880         to gnu_dev_{major,minor,makedev} functions.
34882 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34884         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34886 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34888         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34889         strlen results.
34891 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34893         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34894         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34895         register in order to avoid conflicts with the soft frame pointer
34896         being held in r11 when necessary.
34897         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34898         (INTERNAL_VSYSCALL_NCS): Likewise.
34900 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34902         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34903         * elf/dl-fini.c (_dl_fini): Adjust caller.
34904         * elf/dl-close.c (_dl_close_worker): Likewise.
34905         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34907 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34909         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34910         "aux_cache->nlibs < 0".
34912         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34913         in the reload-count case.
34915 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34917         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34918         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34919         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34920         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34921         * sysdeps/x86_64/multiarch/strcat.S: New file.
34922         * sysdeps/x86_64/multiarch/strncat.S: New file.
34923         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34924         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34925         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34926         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34927         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34928         (USE_AS_STRCAT): Define.
34929         Add strcat and strncat support.
34930         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34931         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34932         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34933         * string/strncat.c: Update.
34934         (USE_AS_STRNCAT): Define.
34935         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34936         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34937         and i7.
34938         * sysdeps/x86_64/multiarch/init-arch.h
34939         (bit_Prefer_PMINUB_for_stringop): New.
34940         (index_Prefer_PMINUB_for_stringop): Likewise.
34941         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34942         bit_Prefer_PMINUB_for_stringop.
34944 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34946         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34947         buffer64.
34948         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34949         of casting of buffer.
34950         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34951         buffer32 and buffer64.
34952         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34953         writes instead of casting of buffer.
34954         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34955         buffer32.
34956         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34957         casting of buffer.
34959 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34961         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34963 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34965         * nscd/nscd.c (termination_handler): Don't do anything for a database
34966         if it has not yet been initialized.
34968 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34970         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34972 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34974         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34976 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34978         * po/nl.po: Update from translation team.
34979         * po/sv.po: Likewise.
34981 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34983         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34984         now disallowed by GCC.
34986         * configure.in (use-default-link): Default to yes if a test -shared
34987         link meets our qualifications.
34988         * configure: Regenerated.
34990         * config.make.in (output-format): New variable.
34991         * configure.in: Check for ld --print-output-format support.
34992         * configure: Regenerated.
34993         * Makerules ($(common-objpfx)format.lds)
34994         [$(output-format) != unknown]: Just use $(output-format),
34995         instead of the linker-script munging.
34997 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34999         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35000         of $(common-objpfx)shlib.lds.
35001         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35003         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35004         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35006         * configure.in (-z relro check): Adjust test code to add a large
35007         writable data section after it.
35008         * configure: Regenerated.
35010 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35012         * configure.in (-z relro check): Fix test code to make the variable
35013         truly const.
35014         * configure: Regenerated.
35016 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35018         * nscd/nscd.h (struct traced_file): Define.
35019         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35020         elements.  Add traced_files.
35021         (inotify_fd): Declare.
35022         (register_traced_file): Declare.
35023         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35024         (inotify_fd): Export.
35025         (resolv_conf_descr): Remove.
35026         (nscd_init): Move inotify descriptor creation to main.
35027         Don't register files for notification here.
35028         (register_traced_file): New function.
35029         (invalidate_cache): Don't use reset_res to determine whether to call
35030         res_init, go through the list of registered files.
35031         (main_loop_poll): The inotify descriptors are now stored in the
35032         structures for the traced files.
35033         (main_loop_epoll): Likewise
35034         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35035         to __nss_disable_nscd.
35036         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35037         for a database anymore.  Check the records for all the registered
35038         files instead.
35039         * nss/Makefile (libnss_files-routines): Add files-init.
35040         (libnss_db-routines): Add db-init.
35041         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35042         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35043         * nss/nss_db/db-init.c: New file.
35044         * nss/nss_files/files-init.c: New file.
35045         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35046         __nss_lookup_function.
35047         (__nss_lookup_function): Call nss_load_library.
35048         (nss_load_all_libraries): New function.
35049         (__nss_disable_nscd): Take parameter with callback function for files
35050         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35051         used for the cached services.
35052         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35053         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35054         options for features to all the files in nscd.
35056         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35058 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35060         * csu/elf-init.c (__libc_csu_init): Comment typo.
35062 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35064         * po/pl.po: Update from translation team.
35065         * po/ja.po: Likewise.
35066         * po/ru.po: Likewise.
35067         * po/ko.po: Likewise.
35068         * po/fr.po: Likewise.
35070 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35072         * configure.in (.ctors/.dtors header and trailer check):
35073         Use an empirical test on a built program.
35074         * configure: Regenerated.
35076         * configure.in (-z relro check): Use an empirical test on a built DSO.
35077         Detect, but do not require, on ia64.
35078         * configure: Regenerated.
35080         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35081         Update tests that use readelf to use $READELF instead.
35082         * configure: Regenerated.
35084 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35086         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35087         if the result is not used.
35089 2011-07-05  Andreas Jaeger  <aj@suse.de>
35091         [BZ#9696]
35092         * stdlib/tst-strtod.c: Add testcase.
35094 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35096         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35097         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35098         The latter has a higher limit.  Take additional parameter to pass to
35099         the new function.
35100         (__pathconf): Pass file to __statfs_link_max.
35101         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35102         __statfs_link_max.
35103         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35104         __statfs_link_max.
35106         [BZ #12868]
35107         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35108         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35109         Handle Lustre.
35110         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35111         (__statfs_filesize_max): Likewise.
35112         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35114 2011-07-05  Andreas Jaeger  <aj@suse.de>
35116         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35118 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35120         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35121         `status' variable.
35122         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35123         Likewise.
35125 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35127         * Makefile (strop-tests): Add strncat.
35128         * string/test-strncat.c: New file.
35130 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35132         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35134 2011-06-21  Andreas Jaeger  <aj@suse.de>
35136         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35137         Copy rule from iconvdata/Makefile.
35139 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35141         [BZ #12922]
35142         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35143         but no long options are defined, just return 'W'.
35145 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35147         [BZ #9696]
35148         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35150 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35152         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35153         netgroups to read.
35154         (innetgr): Likewise.
35156 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35158         * config.make.in (install_root): Default to $(DESTDIR).
35160 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35162         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35164 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35166         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35168         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35169         containing directory rather than embedding absolute directory names.
35171         * scripts/check-local-headers.sh: Rewritten using awk.
35172         Match by word, not by line.  Print error messages for matches.
35173         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35175         * Makerules [shlib-lds-flags empty]:
35176         ($(common-objpfx)libc_pic.opts): New target.
35177         ($(common-objpfx)libc_pic.os.clean): New target.
35178         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35180         * config.make.in (OBJCOPY): New variable.
35181         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35182         * configure: Regenerated.
35184         * config.make.in (use-default-link): New variable.
35185         * configure.in (use_default_link): Grok --with-default-link to set it.
35186         * configure: Regenerated.
35187         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35188         (shlib-lds, shlib-lds-flags): Define to empty.
35190         * Makerules (shlib-lds): New variable.
35191         (shlib-lds-flags): New variable.
35192         (build-shlib, build-moduile, build-module-asneeded): Use it.
35193         ($(common-objpfx)libc.so): Use $(shlib-lds).
35194         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35195         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35197         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35198         DT_FLAGS/DT_FLAGS_1 with zero flags.
35200         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35201         linker script munging.
35203 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35205         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35206         as 128-bit value.
35207         * crypt/sha512.c (sha512_process_block): Perform total addition using
35208         128-bit if possible.
35209         (__sha512_finish_ctx): Likewise.
35210         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35211         as 64-bit value.
35212         * crypt/sha256.c (SWAP64): Define.
35213         (sha256_process_block): Perform total addition using 64-bit if
35214         possible.
35215         (__sha256_finish_ctx): Likewise.
35217 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35219         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35220         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35221         * nscd/hstcache.c (cache_addhst): Likewise.
35222         * nscd/grpcache.c (cache_addgr): Likewise.
35223         * nscd/aicache.c (addhstaiX): Likewise
35224         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35226 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35228         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35229         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35230         * nscd/hstcache.c (cache_addhst): Likewise.
35231         * nscd/grpcache.c (cache_addgr): Likewise.
35232         * nscd/aicache.c (addhstaiX): Likewise
35234 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35236         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35237         domain only when needed.
35239 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35241         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35242         is always restored.
35244 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35246         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35247         are re-adding the entry.
35248         * nscd/servicescache.c (cache_addserv): Likewise.
35250 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35252         * sysdeps/generic/dl-irel.h: fix protection against multiple
35253         inclusions.
35254         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35256 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35258         [BZ #12935]
35259         * malloc/memusage.sh: Fix quoting in message.
35260         * debug/xtrace.sh: Likewise.
35262         * configure.in: Remove support for --experimental-malloc option, make
35263         it the default.
35264         * config.make.in: Likewise.
35265         * malloc/Makefile: Likewise.
35267 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35269         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35270         two-byte characters.
35272 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35274         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35275         AC_CACHE_CHECK invocation.
35276         * configure: Regenerated.
35278         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35280 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35282         [BZ #12350]
35283         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35284         bit from old_res_options.
35286         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35288         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35289         value type for setfct.
35291 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35293         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35294         __gettimeofday instead of gettimeofday.
35296 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35298         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35300 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35302         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35304         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35305         info.
35307 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35310         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35311         strcpy-sse2-unaligned strncpy-sse2-unaligned
35312         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35313         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35314         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35315         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35316         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35317         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35318         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35319         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35320         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35321         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35322         (STRCPY): Support SSE2 and SSSE3 versions.
35324 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35326         [BZ #12874]
35327         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35328         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35329         kernels which artificially limit size of requests.
35331 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35333         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35334         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35335         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35336         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35337         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35338         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35339         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35340         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35341         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35342         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35343         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35344         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35345         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35346         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35347         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35348         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35349         Enable unaligned load optimization for Intel Core i3, i5 and i7
35350         processors.
35351         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35352         Define.
35353         (index_Fast_Unaligned_Load): Define.
35354         (HAS_FAST_UNALIGNED_LOAD): Define.
35356 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35358         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35360 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35362         [BZ #12907]
35363         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35364         until it is clear that the information is realy needed.
35365         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35367 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35371 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35373         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35374         /sys/devices/system/cpu/online if it is usable.
35376         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35377         reading the information from the /proc filesystem to once a second.
35379 2011-06-21  Andreas Jaeger  <aj@suse.de>
35381         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35382         NULL after inclusion of kernel headers.
35384 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35386         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35387         calls to internal_setent.
35389         [BZ #12885]
35390         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35391         addresses using gethostbyname4_r ignore IPv4 addresses.
35393         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35394         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35396         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35398 2011-06-20  David S. Miller  <davem@davemloft.net>
35400         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35401         inclusions.
35402         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35404         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35405         (elf_irel): Use it.
35406         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35407         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35408         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35409         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35410         * sysdeps/x86_64/dl-irel.h: Likewise.
35412         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35413         * elf/dl-sym.c: Likewise.
35415 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35417         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35418         need to dereference resplen2.
35420 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35422         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35424 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35426         * Makeconfig: Define vardbdir and inst_vardbdir.
35427         * nss/Makefile: Add rules to install db-Makefile.
35429         * nss/nss_db/db-XXX.c: Cleanup.
35431         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35432         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35433         GLIBC_PRIVATE.
35434         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35435         * nss/makedb.c: Implement -g option to specify that value strings
35436         are generated and should not be added to table iterated over for
35437         get*ent calls.
35438         * nss/nss_db/db-initgroups.c: New file.
35440         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35441         interface.
35443         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35444         (internal_getgrouplist): Adjust to name change.
35445         Update use_initgroups_entry if this is not the first call.
35446         * nss/databases.def: Add initgroups entry.
35448         * nss/makedb.c (compute_tables): Check result of multiple hash table
35449         sizes to minimize maximum chain length.
35451 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35453         * Versions.def: Add entry for libnss_db.
35454         * shlib-versions: Likewise.
35455         * nss/Makefile: Add rules to build libnss_db.
35456         * nss/Versions: Add libnss_db information.  Organize libnss_files
35457         entries better.
35458         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35459         makedb progra.  Some minor improvements to generate smaller files.
35460         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35461         here from...
35462         * nss/makedb.c: ...here.
35463         Improve database format to be smaller and require less memory at
35464         runtime.
35465         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35466         db anymore.
35467         * nss/nss_db/db-netgrp.c: Likewise.
35468         * nss/nss_db/db-open.c: Likewise.
35469         * nss/nss_files/flies-XXX.x: Adjust comments.
35470         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35471         * nss/nss_files/files-grp.c: Likewise.
35472         * nss/nss_files/files-hosts.c: Likewise.
35473         * nss/nss_files/files-network.c: Likewise.
35474         * nss/nss_files/files-proto.c: Likewise.
35475         * nss/nss_files/files-pwd.c: Likewise.
35476         * nss/nss_files/files-rpc.c: Likewise.
35477         * nss/nss_files/files-service.c: Likewise.
35478         * nss/nss_files/files-sgrp.c: Likewise.
35479         * nss/nss_files/files-spwd.c: Likewise.
35480         * nss/nss_db/db-alias.c: Removed.
35481         * nss/nss_db/dummy-db.h: Removed.
35483 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35485         * nss/makedb.c: Rewritten to not use database library.
35486         * nss/Makefile: Update to build new makedb program.
35488 2011-06-14  Andreas Jaeger  <aj@suse.de>
35490         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35491         memset declaration.
35493 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35495         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35496         tmpbuf.
35498 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35500         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35501         * elf/Makefile ($(objpfx)ld.so): Likewise.
35503         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35504         Don't list ld.so twice in dependencies.
35506         * posix/bug-regex31.c: Include <stdlib.h>.
35508         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35510         * nis/nss_compat/compat-spwd.c
35511         (getspent_next_nss_netgr): Remove unused variable.
35512         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35514         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35515         nonmembers" output to use the right array.
35517         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35519         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35521         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35522         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35523         * catgets/gencat.c (read_input_file): Likewise.
35524         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35526         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35527         variable definition inside #if's controlling its use.
35529         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35531         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35533         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35535         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35536         unreachable code.
35538         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35540         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35541         * configure: Regenerated.
35543         * Makerules: Revert last change.
35544         * elf/Makefile: Likewise.
35546 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35548         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35549         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35550         (reloc-link): Likewise.
35552 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35554         * elf/Makefile: Add rules to build pldd.
35555         * elf/pldd.c: New file.
35556         * elf/pldd-xx.c: New file.
35558 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35560         * version.h: Update for 2.15 development version.
35562 2011-06-07  David S. Miller  <davem@davemloft.net>
35564         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35565         ifuncs.
35566         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35567         elf_machine_lazy_rel): Likewise.
35568         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35569         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35570         elf_machine_lazy_rel): Likewise.
35571         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35572         dl_hwcap via passed in argument.
35573         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35574         Likewise.
35576 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35578         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35580 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35582         [BZ #12849]
35583         * manual/fdl-1.1.texi: New file, verbatim from:
35584         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35585         * manual/lgpl-2.1.texi: New file, verbatim from:
35586         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35587         * manual/Makefile (licenses): New variable, list those new file names.
35588         (texis): Use it.
35589         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35591         * manual/fdl.texi: File removed.
35592         * manual/lesser.texi: File removed.
35593         * manual/libc.texinfo (Copying, Documentation License):
35594         Use new @include file names, put @appendix directive before @include.
35596 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35598         [BZ #12841]
35599         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35600         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35601         (mq_open): Add __NTH.
35603 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35606         Assume Intel Core i3/i5/i7 processor if AVX is available.
35608 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35610         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35611         typo.
35613 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35615         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35616         memory.  Use alloca_account.  Fix memory leak when retrying.
35618 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35620         * version.h (RELEASE): Bump for 2.14 release.
35621         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35623         * config.make.in (RANLIB): Remove entry.
35625 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35627         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35628         (libc.pot): Work around missing support for .ksh extension in xgettext.
35630         [BZ #12684]
35631         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35632         if both request failed.
35633         (send_dg): In case of server errors clear resplen or *resplen2.
35635         [BZ #12454]
35636         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35637         when there are multiple maps.
35638         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35639         (_dl_fini): Remove test here.
35641         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35643 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35645         [BZ #12350]
35646         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35647         bit from old_res_options.
35648         (gaih_inet): Likewise.
35650         [BZ #11099]
35651         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35652         as signed.
35654         * resolv/res_init.c (res_setoptions): Make the code more compact.
35656         [BZ #11558]
35657         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35658         set RES_USEVC.
35660         [BZ #11634]
35661         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35663         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35665         [BZ #11781]
35666         * malloc/malloc.h: Declare malloc hook variables as volatile.
35668         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35669         in last patch.
35671         [BZ #11799]
35672         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35673         raise in the comment.
35674         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35675         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35676         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35678 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35680         [BZ #12811]
35681         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35682         grow the buffers more if it already has to be sufficient.
35683         (build_wcs_upper_buffer): Likewise.
35684         * posix/regexec.c (check_matching): Likewise.
35685         (clean_state_log_if_needed): Likewise.
35686         (extend_buffers): Don't enlarge buffers beyond size of the input
35687         buffer.
35688         Patches mostly by Emil Wojak <emil@wojak.eu>.
35689         * posix/bug-regex32.c: New file.
35690         * posix/Makefile (tests): Add bug-regex32.
35692         * locale/findlocale.c (_nl_find_locale): Return right away if
35693         _nl_explode_name failed.
35694         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35696         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35698         * debug/xtrace.sh: Unify messages.
35699         * malloc/memusage.sh: Likewise.
35701         [BZ #12813]
35702         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35703         time symbol from vDSO.  Substitute with vsyscall if not available.
35704         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35705         __vdso_time.
35707         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35708         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35709         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35710         Add sendmmsg and internal_sendmmsg.
35711         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35712         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35713         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35715         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35716         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35717         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35719 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35721         [BZ #12813]
35722         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35723         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35724         available.
35725         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35726         __vdso_getcpu.
35728         [BZ #12814]
35729         * iconvdata/Makefile (tests): Add bug-iconv9.
35730         * iconvdata/bug-iconv9.c: New file.
35732 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35734         [BZ #12814]
35735         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35737 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35739         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35740         (struct user_regs_struct): Change intcs field back to cs.
35742 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35744         * po/ja.po: Update from translation team.
35746 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35748         [BZ #12795]
35749         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35750         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35752 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35754         * stdlib/longlong.h: Update from GCC.
35756 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35758         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35759         parameter name.
35760         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35761         Add parameter name.
35762         (__sysconf): Pass it down.
35764 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35766         [BZ #12671]
35767         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35768         some situations.
35769         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35770         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35771         add in in __libc_use_alloca calls.  Adjust callers.
35772         (glob): Use malloc in some situations.
35774         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35775         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35776         pltexit.
35778 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35780         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35781         and CLOCK_BOOTTIME_ALARM.
35783         [BZ #12782]
35784         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35785         is returned.
35787         * string/_strerror.c (__strerror_r): Print negative errors as signed
35788         numbers.
35790         [BZ #12777]
35791         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35792         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35793         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35795         * configure.in: Fix typo in redirection and correct removal of test
35796         files in two cases.
35798         [BZ #12788]
35799         * locale/setlocale.c (new_composite_name): Fix test to check for
35800         identical name of all categories.
35802         [BZ #12792]
35803         * libio/filedoalloc.c (local_isatty): New function.
35804         (_IO_file_doallocate): Use local_isatty.
35805         * stdio-common/perror.c (perror): In case a new stream is used
35806         forward the stream error.
35807         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35808         error flag.
35810 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35812         [BZ #11869]
35813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35814         alloca.
35815         * include/alloca.h (extend_alloca_account): Define.
35817         [BZ #11857]
35818         * posix/regex.h: Fix comments with documentation of user-accessible
35819         fields after compilation and describe correct free'ing of pattern
35820         after re_compile_pattern.
35821         Patch by Reuben Thomas <rrt@sc3d.org>.
35823 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35825         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35826         and -mno-altivec to prevent the compiler from using Altivec and/or
35827         VSX instructions when the corresponding registers are not available.
35829 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35831         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35833 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35835         * libio/freopen.c (freopen): Use __dup2, not dup2.
35836         * libio/freopen64.c (freopen64): Likewise.
35838 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35840         [BZ #12775]
35841         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35842         * math/Makefile (tests): Add test-powl.
35843         (CFLAGS-test-powl.c): Define.
35844         * math/test-powl.c: New file.
35846 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35848         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35850 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35852         [BZ #11837]
35853         * iconvdata/gb18030.c: Update to GB18020-2005.
35855 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35857         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35858         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35859         Patch by Aharon Robbins <arnold@skeeve.com>.
35861         [BZ #11892]
35862         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35863         on the stack.
35865         [BZ #11895]
35866         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35867         through underflows.
35869         [BZ #12766]
35870         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35871         point to strings before performing equality test for error_one_per_line
35872         mode.
35874         [BZ #11697]
35875         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35877         [BZ #11820]
35878         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35879         (struct user_fpregs_struct): Avoid __uint*_t types.
35881         [BZ #6420]
35882         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35883         symbol info.  Use it instead of calling _dl_addr locally.
35884         (lock_and_info): New function.
35885         (tr_freehook): Call lock_and_info and pass symbol info as additional
35886         parameter to tr_where.
35887         (tr_mallochook): Likewise.
35888         (tr_reallochook): Likewise.
35889         (tr_memalignhook): Likewise.
35891         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35892         used and couldn't be at all thread-safe.
35894 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35896         * libio/freopen.c (freopen): Don't close old file descriptor
35897         before the new one is opened.  Instead dup the new file descriptor
35898         to the old one after the new stream is created.
35899         * libio/freopen64.c (freopen64): Likewise.
35900         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35901         * libio/fileops.c (_IO_new_file_close_it): Handle new
35902         _IO_FLAGS2_NOCLOSE flag.
35903         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35904         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35905         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35906         _IO_FLAGS2_NOCLOSE flag.
35907         * include/unistd.h: Add hidden_proto for dup3.
35908         Define __have_dup3.
35909         * io/dup3.c: Define hidden symbol.
35910         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35912         [BZ #7101]
35913         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35914         when an incomplete long option is used.
35915         * posix/tst-getopt_long1.c: New file.
35916         * posix/Makefile (tests): Add tst-getopt_long1.
35918         [BZ #10138]
35919         * scripts/config.guess: Update from autoconf-2.68.
35920         * scripts/config.sub: Likewise.
35922         [BZ #10157]
35923         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35924         tests into ...
35925         (has_cpuclock): ...this.  New function.
35926         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35927         macro here based on has_cpuclock code.
35929         [BZ #10149]
35930         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35931         First byte (not low byte) is now always NUL.
35932         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35934         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35935         Use non-cancelable interfaces.
35937         [BZ #9809]
35938         * locale/iso-639.def: Add entry for Sorani.
35940         [BZ #11901]
35941         * include/stdlib.h: Move include protection to the right place.
35942         Define abort_msg_s.  Declare __abort_msg with it.
35943         * stdlib/abort.c (__abort_msg): Adjust type.
35944         * assert/assert.c (__assert_fail_base): New function.  Majority
35945         of code from __assert_fail.  Allocate memory for __abort_msg with
35946         mmap.
35947         (__assert_fail): Now call __assert_fail_base.
35948         * assert/assert-perr.c: Remove bulk of implementation.  Use
35949         __assert_fail_base.
35950         * include/assert.hL Declare __assert_fail_base.
35951         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35952         mmap.
35953         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35955 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35957         [BZ #11952]
35958         [BZ #12453]
35959         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35960         until all modules are registered in the DTV.
35961         * elf/Makefile: Add rules to build and run tst-tls19.
35962         * elf/tst-tls19.c: New file.
35963         * elf/tst-tls19mod1.c: New file.
35964         * elf/tst-tls19mod2.c: New file.
35965         * elf/tst-tls19mod3.c: New file.
35966         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35968         [BZ #12083]
35969         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35970         correctly.
35972         [BZ #12601]
35973         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35974         two-byte sequence errors.
35975         * iconvdata/Makefile (tests): Add bug-iconv8.
35976         * iconvdata/bug-iconv8.c: New file.
35978         [BZ #12626]
35979         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35980         buf2 definition.
35982         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35984         [BZ #12432]
35985         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35986         (dummy_getcfa): New function.
35987         (init): Get _Unwind_GetCFA address, use dummy if not found.
35988         (backtrace_helper): In recursion check, also check whether CFA changes.
35989         (__backtrace): Completely initialize arg.
35991         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35992         storing incomplete byte sequence in state object.  Avoid testing for
35993         guaranteed too small input if we know there is enough data available.
35995 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35997         * Makeconfig (+link-pie): Indent.
35998         * Rules (binaries-pie): Define if $(have-fpie) and
35999         $(build-shared).
36000         (binaries-shared): Also filter out $(binaries-pie).
36001         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36002         * nscd/Makefile (others-pie): Add nscd.
36003         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36004         ($(objpfx)nscd): Remove command override.
36005         * login/Makefile (others-pie): Add pt_chown.
36006         ($(objpfx)pt_chown): Remove command override.
36007         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36008         remove command overrides.
36010 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36012         * libio/tst_putwc.c: Fix error messages.
36014         [BZ #12724]
36015         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36016         currently writing and seek to current position when not.
36017         * libio/Makefile (tests): Add bug-fclose1.
36018         * libio/bug-fclose1.c: New file.
36020 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36022         [BZ #12511]
36023         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36024         don't set DF_1_NODELETE here.
36025         (do_lookup_x): When entering new entry test for copy relocation
36026         and if necessary set DF_1_NODELETE flag.
36027         * elf/tst-unique4.cc: New file.
36028         * elf/tst-unique4.h: New file.
36029         * elf/tst-unique4lib.cc: New file.
36030         * elf/Makefile: Add rules to build and run tst-unique4.
36031         Patch by Piotr Bury <pbury@goahead.com>.
36033 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36035         [BZ #12052]
36036         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36038         [BZ #12625]
36039         * misc/mntent_r.c (addmntent): Flush the stream after the output
36041         [BZ #12393]
36042         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36043         (is_trusted_path_normalize): Skip initial colon.  Append slash
36044         to empty buffer.  Duplicate is_trusted_path code but allow
36045         constructed patch to be prefix.
36046         (is_dst): Allow $ORIGIN followed by /.
36047         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36048         Correct testing of result of is_trusted_path_normalize
36049         (decompose_rpath): Fix warning.
36051 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36053         [BZ #11257]
36054         * grp/initgroups.c (internal_getgrouplist): When we found the service
36055         list through the initgroups entry in nsswitch.conf do not always
36056         continue on a successful lookup.  Don't always use the
36057         __nss_group_database value if it is set.
36058         * nss/nsswitch.conf (initgroups): Change action for successful db
36059         lookup to continue for compatibility.
36061 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36063         [BZ #11532]
36064         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36065         and CP774 modules.
36066         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36067         and CP774 modules.
36068         * iconvdata/tst-tables.sh: Likewise.
36069         * iconvdata/cp770.c: New file.
36070         * iconvdata/cp771.c: New file.
36071         * iconvdata/cp772.c: New file.
36072         * iconvdata/cp773.c: New file.
36073         * iconvdata/cp774.c: New file.
36074         * iconvdata/testdata/CP770: New file.
36075         * iconvdata/testdata/CP770..UTF8: New file.
36076         * iconvdata/testdata/CP771: New file.
36077         * iconvdata/testdata/CP771..UTF8: New file.
36078         * iconvdata/testdata/CP772: New file.
36079         * iconvdata/testdata/CP772..UTF8: New file.
36080         * iconvdata/testdata/CP773: New file.
36081         * iconvdata/testdata/CP773..UTF8: New file.
36082         * iconvdata/testdata/CP774: New file.
36083         * iconvdata/testdata/CP774..UTF8: New file.
36085         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36086         END CHARMAP line.
36087         * iconvdata/gen-8bit-gap.sh: Likewise.
36088         * iconvdata/gen-8bit.sh: Likewise.
36090         * locale/iso-639.def: Add ary entry.
36092         [BZ #11258]
36093         * locale/C-translit.h.in: Add U20A1 transliteration.
36095         [BZ #12178]
36096         * locale/iso-639.def: Add wae entry.
36097         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36099         [BZ #12545]
36100         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36101         for n.
36103         [BZ #12711]
36104         * locale/C-translit.h.in: Add entry for U20B9.
36105         Patch by pravin.d.s@gmail.com.
36107 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36109         [BZ #12713]
36110         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36111         ENAMETOOLONG use generic getcwd.
36112         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36113         in rtld.  Use *stat64.
36114         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36115         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36116         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36117         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36118         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36119         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36120         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36121         __fstatat64 macros.
36122         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36123         * dirent/rewinddir.c: Add libc_hidden_def.
36124         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36125         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36127         * include/dirent.h (__alloc_dir): Add flags parameter.
36128         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36129         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36130         __alloc_dir.
36131         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36132         from fdopendir if O_CLOEXEC is already set.
36134 2011-03-15  Alan Modra  <amodra@gmail.com>
36136         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36137         l_tls_firstbyte_offset non-zero.  Save padding offset in
36138         l_tls_firstbyte_offset for later use.
36139         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36140         freeing static tls block.
36142 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36144         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36145         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36146         being defined by the kernel headers.
36148 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36150         [BZ #12734]
36151         * resolv/resolv.h: Define RES_NOTLDQUERY.
36152         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36153         no-tld-query and set RES_NOTLDQUERY.
36154         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36155         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36156         modern BIND to search name as TLD unless forbidden.
36158 2011-05-07  Petr Baudis  <pasky@suse.cz>
36159             Ulrich Drepper  <drepper@gmail.com>
36161         [BZ #12393]
36162         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36163         (is_trusted_path): ...to here.
36164         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36165         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36166         using is_trusted_path_normalize() in setuid scripts.
36168 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36170         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36171         __BEGIN/__END_DECLS.
36173 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36175         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36176         NSS_STATUS_NOTFOUND if no record was found.
36178 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36180         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36181         (headers-not-in-tirpc): Remove rpc/netdb.h
36182         * resolv/netdb.h: Revert last change.
36184 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36186         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36187         circular dependency between libgcc.a and libc.a.
36189 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36191         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36192         * nis/Makefile: Don't install rpcsvc/*.
36193         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36194         instead of <rpc/types.h>.
36195         (MAXHOSTNAMELEN): Define.
36197 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36199         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36201 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36203         [BZ #12714]
36204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36205         gethostbyname4_r when IPv6 results are possible.
36207 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36209         [BZ #12723]
36210         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36211         _PC_PIPE_BUF handling.
36213 2011-04-30  Bruno Haible  <bruno@clisp.org>
36215         [BZ #12717]
36216         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36217         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36218         to 'int'.
36219         * inet/getnameinfo.c (getnameinfo): Likewise.
36221 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36223         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36224         to groups setting in database lookup.
36225         * nss/nsswitch.conf: Add initgroups entry.
36227 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36229         [BZ #12685]
36230         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36231         mode string.
36232         Patch by Eric Blake <eblake@redhat.com>.
36234 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36236         * sunrpc/Makefile (need-export-routines): Add svc_run.
36237         (routines): Remove svc_run.
36238         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36239         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36240         * sunrpc/svc_run.c (svc_run): Likewise.
36241         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36243 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36245         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36246         problem in reallocation in last patch.
36248 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36250         * sunrpc/Makefile: Move inclusion of Rules.
36252 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36254         * nss/nss_files/files-initgroups.c: New file.
36255         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36256         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36257         _nss_files_initgroups_dyn.
36259 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36261         * elf/elf.h (R_ARM_IRELATIVE): Define.
36263 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36265         * po/ru.po: Update from translation team.
36267 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36269         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36270         dependencies.
36272 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36274         [BZ #12653]
36275         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36276         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36277         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36278         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36279         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36281 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36283         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36284         differing bytes.
36285         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36286         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36287         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36289 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36291         [BZ #12420]
36292         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36293         storing it.
36294         * stdlib/bug-getcontext.c: New file.
36295         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36297 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36299         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36300         instructions into .machine "z9-109".
36301         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36302         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36304 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36306         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36307         between environment variables and auxiliary vector.
36309 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36311         * Makefile: Add rules to build linkobj/libc.so.
36312         * include/libc-symbols.h: Define libc_hidden_nolink.
36313         * include/rpc/auth.h: Mark functions which are to be hidden.
36314         * include/rpc/auth_des.h: Likewise.
36315         * include/rpc/auth_unix.h: Likewise.
36316         * include/rpc/clnt.h: Likewise.
36317         * include/rpc/des_crypt.h: Likewise.
36318         * include/rpc/key_prot.h: Likewise.
36319         * include/rpc/pmap_clnt.h: Likewise.
36320         * include/rpc/pmap_prot.h: Likewise.
36321         * include/rpc/pmap_rmt.h: Likewise.
36322         * include/rpc/rpc_msg.h: Likewise.
36323         * include/rpc/svc.h: Likewise.
36324         * include/rpc/svc_auth.h: Likewise.
36325         * include/rpc/xdr.h: Likewise.
36326         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36327         * nss/Makefile: Likewise.
36328         * sunrpc/Makefile: Don't install headers.  Build library with normal
36329         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36330         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36331         for the compat linking library.  Remove use of INTDEF/INTUSE.
36332         * sunrpc/auth_none.c: Likewise.
36333         * sunrpc/auth_unix.c: Likewise.
36334         * sunrpc/authdes_prot.c: Likewise.
36335         * sunrpc/authuxprot.c: Likewise.
36336         * sunrpc/clnt_gen.c: Likewise.
36337         * sunrpc/clnt_perr.c: Likewise.
36338         * sunrpc/clnt_raw.c: Likewise.
36339         * sunrpc/clnt_simp.c: Likewise.
36340         * sunrpc/clnt_tcp.c: Likewise.
36341         * sunrpc/clnt_udp.c: Likewise.
36342         * sunrpc/clnt_unix.c: Likewise.
36343         * sunrpc/des_crypt.c: Likewise.
36344         * sunrpc/des_soft.c: Likewise.
36345         * sunrpc/get_myaddr.c: Likewise.
36346         * sunrpc/key_call.c: Likewise.
36347         * sunrpc/key_prot.c: Likewise.
36348         * sunrpc/netname.c: Likewise.
36349         * sunrpc/pm_getmaps.c: Likewise.
36350         * sunrpc/pm_getport.c: Likewise.
36351         * sunrpc/pmap_clnt.c: Likewise.
36352         * sunrpc/pmap_prot.c: Likewise.
36353         * sunrpc/pmap_prot2.c: Likewise.
36354         * sunrpc/pmap_rmt.c: Likewise.
36355         * sunrpc/publickey.c: Likewise.
36356         * sunrpc/rpc_cmsg.c: Likewise.
36357         * sunrpc/rpc_common.c: Likewise.
36358         * sunrpc/rpc_dtable.c: Likewise.
36359         * sunrpc/rpc_prot.c: Likewise.
36360         * sunrpc/rpc_thread.c: Likewise.
36361         * sunrpc/rtime.c: Likewise.
36362         * sunrpc/svc.c: Likewise.
36363         * sunrpc/svc_auth.c: Likewise.
36364         * sunrpc/svc_authux.c: Likewise.
36365         * sunrpc/svc_raw.c: Likewise.
36366         * sunrpc/svc_run.c: Likewise.
36367         * sunrpc/svc_simple.c: Likewise.
36368         * sunrpc/svc_tcp.c: Likewise.
36369         * sunrpc/svc_udp.c: Likewise.
36370         * sunrpc/svc_unix.c: Likewise.
36371         * sunrpc/svcauth_des.c: Likewise.
36372         * sunrpc/xcrypt.c: Likewise.
36373         * sunrpc/xdr.c: Likewise.
36374         * sunrpc/xdr_array.c: Likewise.
36375         * sunrpc/xdr_float.c: Likewise.
36376         * sunrpc/xdr_intXX_t.c: Likewise.
36377         * sunrpc/xdr_mem.c: Likewise.
36378         * sunrpc/xdr_rec.c: Likewise.
36379         * sunrpc/xdr_ref.c: Likewise.
36380         * sunrpc/xdr_sizeof.c: Likewise.
36381         * sunrpc/xdr_stdio.c: Likewise.
36383 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36385         [BZ #12650]
36386         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36387         * sysdeps/ia64/dl-tls.h: Likewise.
36388         * sysdeps/powerpc/dl-tls.h: Likewise.
36389         * sysdeps/s390/dl-tls.h: Likewise.
36390         * sysdeps/sh/dl-tls.h: Likewise.
36391         * sysdeps/sparc/dl-tls.h: Likewise.
36392         * sysdeps/x86_64/dl-tls.h: Likewise.
36393         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36395 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36397         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36398         rpath element also skip the following colon.
36399         (expand_dynamic_string_token): Add is_path parameter and pass
36400         down to DL_DST_REQUIRED and _dl_dst_substitute.
36401         (decompose_rpath): Call expand_dynamic_string_token with
36402         non-zero is_path.  Ignore empty rpaths.
36403         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36404         with zero is_path.
36406 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36409         Make cancelable.
36411 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36413         [BZ #12655]
36414         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36415         Patch by Filipe David Manana <fdmanana@apache.org>.
36417 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36419         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36420         Maintain aligned stack.
36421         (CHECK_RSP): Remove unused macro.
36423 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36425         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36426         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36428 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36430         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36432         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36434 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36436         [BZ #12518]
36437         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36438         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36439         * sysdeps/x86_64/memmove.c: New file.
36440         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36441         (memcpy): Renamed to ...
36442         (__new_memcpy): This.
36443         (memcpy): Provide GLIBC_2_14 memcpy.
36444         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36445         (memcpy): Provide GLIBC_2_2_5 memcpy.
36447 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36449         [BZ #12631]
36450         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36452 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36454         * misc/syncfs.c: New file.
36455         * misc/Makefile (routines): Add syncfs.
36456         * posix/unistd.h: Declare syncfs.
36457         * sysdeps/unix/syscalls.list: Add syncfs.
36459 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36461         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36462         open_by_handle_at.
36463         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36464         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36465         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36466         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36467         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36468         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36469         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36471 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36473         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36474         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36475         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36476         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36477         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36478         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36479         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36481         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36482         sync_file_range.c with -fexceptions.
36483         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36484         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36485         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36486         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36487         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36488         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36489         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36490         sync_file_range as cancellation point
36491         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36492         now a wrapper around __call_sync_file_range with cancellation handling.
36493         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36494         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36495         function name to __call_sync_file_range.
36496         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36497         Add call_sync_file_range.
36499 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36501         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36502         bits/timex.h.
36504 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36506         * iconv/iconv.h: Fix typo in comment.
36507         * io/fcntl.h: Likewise.
36508         * libio/stdio.h: Likewise.
36509         * posix/spawn.h: Likewise.
36510         * posix/unistd.h: Likewise.
36511         * stdlib/stdlib.h: Likewise.
36512         * time/time.h: Likewise.
36513         * wcsmbs/wchar.h: Likewise.
36515         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36516         open_by_handle): Add.
36517         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36518         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36519         Augment a few comments.
36520         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36521         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36522         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36523         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36524         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36525         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36526         open_by_handle.
36528         * io/fcntl.h (AT_EMPTY_PATH): Define.
36530 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36532         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36533         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36534         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36535         to...
36536         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36537         * Versions.def: Add GLIBC_2.14.
36538         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36539         Export.
36541 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36543         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36544         round counter.
36545         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36547 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36549         [BZ #12597]
36550         * string/test-strncmp.c (do_page_test): New function.
36551         (check2): Likewise.
36552         (test_main): Call check2.
36553         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36555 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36557         [BZ #12587]
36558         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36559         Handle cache information in CPU leaf 4.
36560         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36562 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36564         [BZ #12583]
36565         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36566         character representation.
36567         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36569 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36571         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36572         END(__isnan) to END(__isnanf) to match function entry point/label
36573         EALIGN(__isnanf,...).
36575 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36577         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36579 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36581         [BZ #12510]
36582         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36583         copy from the symbol referenced in the relocation to initialize the
36584         used variable.
36585         Patch by Piotr Bury <pbury@goahead.com>.
36586         * elf/Makefile: Add rules to build and tst-unique3.
36587         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36588         * elf/tst-unique3.cc: New file.
36589         * elf/tst-unique3.h: New file.
36590         * elf/tst-unique3lib.cc: New file.
36591         * elf/tst-unique3lib2.cc: New file.
36593         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36595 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36597         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36598         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36599         to _start.
36601 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36603         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36604         to-be-loaded object along a path to loader is ld.so.
36606 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36607             Ulrich Drepper  <drepper@gmail.com>
36609         * sysdeps/x86_64/memset.S: After aligning destination, code
36610         branches to different locations depending on the value of
36611         misalignment, when multiarch is enabled. Fix this.
36613 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36615         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36616         Set _x86_64_preferred_memory_instruction for AMD processsors.
36617         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36618         Set bit_Prefer_SSE_for_memop for AMD processors.
36620 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36622         * libio/fmemopen.c (fmemopen): Optimize a bit.
36624 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36626         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36628 2011-03-03  Roland McGrath  <roland@redhat.com>
36630         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36632 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36634         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36635         __bzero_ultra1 instead of __memset_ultra1.
36637 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36638             Ulrich Drepper  <drepper@gmail.com>
36640         [BZ #12509]
36641         * include/link.h (struct link_map): Add l_orig_initfini.
36642         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36643         returning unsuccessfully.
36644         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36645         close of a file loaded at startup, restore the original l_initfini
36646         list.
36647         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36648         list, store the pointer.
36649         * elf/Makefile ($(objpfx)noload-mem): New rule.
36650         (noload-ENV): Define.
36651         (tests): Add $(objpfx)noload-mem.
36652         * elf/noload.c: Include <memcheck.h>.
36653         (main): Call mtrace.  Close all opened handles.
36655 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36657         [BZ #12454]
36658         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36659         dependencies are missing.
36661 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36663         Fix __if_freereq crash: Unlike the generic version which uses free,
36664         Hurd needs munmap.
36665         * sysdeps/mach/hurd/ifreq.h: New file.
36667 2011-01-27  Petr Baudis  <pasky@suse.cz>
36668             Ulrich Drepper  <drepper@gmail.com>
36670         [BZ 12445]#
36671         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36672         to extend_alloca().
36673         * stdio-common/bug23.c: New file.
36674         * stdio-common/Makefile (tests): Add bug23.
36676 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36677             Ulrich Drepper  <drepper@gmail.com>
36679         [BZ #12489]
36680         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36681         before performing relro protection.  At old place add assertion
36682         to make sure nothing changed.
36684 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36685             Glauber de Oliveira Costa  <glommer@gmail.com>
36687         * elf/elf.h: Add new ARM TLS relocs.
36689 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36692         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36693         cast from r3.
36694         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36695         'tests' variable.
36696         * sysdeps/wordsize-64/tst-writev.c: New file.
36698 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36700         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36701         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36702         insns in _dl_start to prevent a TOC reference before relocs are
36703         resolved.
36705 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36707         [BZ #12469]
36708         * Makeconfig: Remove RANLIB definition.
36709         * Makerules: Don't use RANLIB.
36710         * aclocal.m4: Remove ranlib test.
36711         * configure.in: No need to check for ranlib.
36712         * elf/rtld-Rules: Don't use RANLIB.
36714 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36716         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36717         protection macro.
36718         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36719         inclusion protection macro.
36721         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36722         SIGRTMIN and SIGRTMAX and print information in that case only when
36723         SIGRTMIN is defined.
36725 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36727         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36728         arginfo fn returning -1.
36730         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36731         and thousands string is zero terminated.
36733 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36735         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36736         sysdeps/unix/sysv/linux/bits/socket.h.
36738 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36740         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36741         (__CPU_COUNT): Remove old macros.
36742         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36743         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36744         (__CPU_ALLOC, __CPU_FREE): Add macros.
36745         (__sched_cpualloc, __sched_cpufree): Add declarations.
36747 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36749         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36750         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36751         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36752         (readdhstai): Return value of addhstaiX call.
36753         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36754         (addgrbyX): Return value returned by cache_addgr.
36755         (readdgrbyname): Return value returned by addgrbyX.
36756         (readdgrbygid): Likewise.
36757         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36758         (addpwbyX): Return value returned by cache_addpw.
36759         (readdpwbyname): Return value returned by addhstbyX.
36760         (readdpwbyuid): Likewise.
36761         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36762         (addservbyX): Return value returned by cache_addserv.
36763         (readdservbyname): Return value returned by addservbyX:
36764         (readdservbyport): Likewise.
36765         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36766         (addhstbyX): Return value returned by cache_addhst.
36767         (readdhstbyname): Return value returned by addhstbyX.
36768         (readdhstbyaddr): Likewise.
36769         (readdhstbynamev6): Likewise.
36770         (readdhstbyaddrv6): Likewise.
36771         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36772         (readdinitgroups): Return value returned by addinitgroupsX.
36773         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36774         (prune_cache): Keep track of timeout value of re-added entries.
36775         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36776         * nscd/nscd.h: Adjust prototypes of readd* functions.
36778 2011-02-04  Roland McGrath  <roland@redhat.com>
36780         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36781         (nis_stats): Likewise.
36782         * nis/nis_modify.c (nis_modify): Likewise.
36783         * nis/nis_remove.c (nis_remove): Likewise.
36784         * nis/nis_add.c (nis_add): Likewise.
36786         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36788         * posix/fnmatch_loop.c: Add some consts.
36790         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36792 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36794         [BZ #12460]
36795         * config.make.in (config-cflags-novzeroupper): Define.
36796         * configure.in: Substitute libc_cv_cc_novzeroupper.
36797         * elf/Makefile (AVX-CFLAGS): Define.
36798         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36799         (CFLAGS-tst-auditmod4a.c): Likewise.
36800         (CFLAGS-tst-auditmod4b.c): Likewise.
36801         (CFLAGS-tst-auditmod6b.c): Likewise.
36802         (CFLAGS-tst-auditmod6c.c): Likewise.
36803         (CFLAGS-tst-auditmod7b.c): Likewise.
36804         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36806 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36808         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36809         function to the callback.
36810         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36812 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36814         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36815         of errno.
36817 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36819         [BZ #11724]
36820         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36821         of constructors.
36822         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36823         of destructors.
36824         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36826         [BZ #11724]
36827         * elf/Makefile: Add rules to build and run new test.
36828         * elf/tst-initorder.c: New file.
36829         * elf/tst-initorder.exp: New file.
36830         * elf/tst-initordera1.c: New file.
36831         * elf/tst-initordera2.c: New file.
36832         * elf/tst-initordera3.c: New file.
36833         * elf/tst-initordera4.c: New file.
36834         * elf/tst-initorderb1.c: New file.
36835         * elf/tst-initorderb2.c: New file.
36836         * elf/tst-order-a1.c: New file.
36837         * elf/tst-order-a2.c: New file.
36838         * elf/tst-order-a3.c: New file.
36839         * elf/tst-order-a4.c: New file.
36840         * elf/tst-order-b1.c: New file.
36841         * elf/tst-order-b2.c: New file.
36842         * elf/tst-order-main.c: New file.
36843         New test case by George Gensure <werkt0@gmail.com>.
36845 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36847         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36848         decoding ACE if AI_CANONIDN.
36850 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36852         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36854 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36856         * version.h (RELEASE): Bump for 2.13 release.
36857         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36859         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36861         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36862         MADV_NOHUGEPAGE.
36863         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36864         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36865         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36866         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36867         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36868         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36870         * posix/getconf.c: Update copyright year.
36871         * catgets/gencat.c: Likewise.
36872         * csu/version.c: Likewise.
36873         * debug/catchsegv.sh: Likewise.
36874         * debug/xtrace.sh: Likewise.
36875         * elf/ldconfig.c: Likewise.
36876         * elf/ldd.bash.in: Likewise.
36877         * elf/sprof.c (print_version): Likewise.
36878         * iconv/iconv_prog.c: Likewise.
36879         * iconv/iconvconfig.c: Likewise.
36880         * locale/programs/locale.c: Likewise.
36881         * locale/programs/localedef.c: Likewise.
36882         * malloc/memusage.sh: Likewise.
36883         * malloc/mtrace.pl: Likewise.
36884         * nscd/nscd.c (print_version): Likewise.
36885         * nss/getent.c: Likewise.
36887         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36888         PF_CAIF, and PF_ALG.
36889         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36891 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36893         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36894         (modules-names): Use them.
36895         (ifunc-test-modules, ifunc-pie-tests): Define.
36896         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36897         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36898         (test-extras): Likewise.
36899         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36900         $(compile-command.c).
36901         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36902         (all-built-dso): Define.
36903         (check-textrel.out, check-execstack.out): Depend on it.
36905         * configure.in: Don't override --enable-multi-arch.
36907 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36909         [BZ #6812]
36910         * nscd/hstcache.c (tryagain): Define.
36911         (cache_addhst): Return tryagain not notfound for temporary errors.
36912         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36913         failed.
36915 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36917         [BZ #10563]
36918         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36919         to make the syscall.
36920         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36922         [BZ #12378]
36923         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36924         and fall back to matching as normal character if the string ends before
36925         the matching ']' is found.  This is what POSIX requires.
36926         * posix/testfnm.c: Adjust test result.
36927         * posix/globtest.sh: Adjust test result.  Add new test.
36928         * posix/tst-fnmatch.input: Likewise.
36929         * posix/tst-fnmatch2.c: Add new test.
36931 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36933         * elf/Makefile (check-execstack): Revert last change.  Depend on
36934         check-execstack.h.
36935         (check-execstack.h): New target.
36936         (generated): Add check-execstack.h.
36937         * elf/check-execstack.c: Include "check-execstack.h".
36938         (main): Revert last change.
36939         (handle_file): Return zero if GNU_STACK is absent and
36940         DEFAULT_STACK_PERMS doesn't include PF_X.
36942 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36944         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36945         in child fails because the descriptor is already closed.
36946         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36947         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36948         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36950         [BZ #12397]
36951         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36952         syscall.
36954         [BZ #10484]
36955         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36956         temporary buffer used to handle multi lookups locally.
36957         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36959 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36961         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36962         loader is ld.so.
36964 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36966         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36967         alignment for SSE2.
36969 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36971         [BZ #12394]
36972         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36973         characters.  When rounding increased number of integer digits recompute
36974         number of groups.
36975         * stdio-common/tst-grouping.c: New file.
36976         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36978 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36980         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36981         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36983         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36984         void.
36985         * bits/select.h: Likewise.
36987 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36989         * po/ja.po: Update from translation team.
36991 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36993         [BZ #11155]
36994         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36995         implementation just like for lxstat, fxstatat, et al.
36997 2010-12-27  Jim Meyering  <meyering@redhat.com>
36999         [BZ #12348]
37000         * posix/regexec.c (build_trtable): Return failure indication upon
37001         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37003 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37005         [BZ #12201]
37006         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37007         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37008         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37009         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37011         [BZ #12207]
37012         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37014         [BZ #12204]
37015         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37016         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37018 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37020         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37021         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37022         script has SORT_BY_INIT_PRIORITY.
37023         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37024         NO_CTORS_DTORS_SECTIONS is defined.
37025         * elf/soinit.c: Likewise.
37026         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37027         NO_CTORS_DTORS_SECTIONS is defined.
37028         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37029         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37030         * sysdeps/sh/init-first.c: Likewise.
37031         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37033 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37035         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37036         always use the slow path.
37038 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37040         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37041         similar rule which adds the sysdep directories to the header search in
37042         order to pick up the correct platform stackinfo.h.
37043         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37044         perform test if it is, otherwise return successfully without testing.
37045         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37046         DEFAULT_STACK_PERMS define in stackinfo.h.
37047         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37048         defined in stackinfo.h.
37049         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37050         DEFAULT_STACK_PERMS defined in stackinfo.h.
37051         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37052         * sysdeps/ia64/stackinfo.h: Likewise.
37053         * sysdeps/s390/stackinfo.h: Likewise.
37054         * sysdeps/sh/stackinfo.h: Likewise.
37055         * sysdeps/sparc/stackinfo.h: Likewise.
37056         * sysdeps/x86_64/stackinfo.h: Likewise.
37057         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37058         PF_X for powerpc64.  Retain PF_X for powerpc32.
37060 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37062         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37063         accurately.
37064         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37065         GETDENTS_64BIT_ALIGNED.
37067 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37069         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37071 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37073         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37074         _GNU_SOURCE.
37076         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37077         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37078         Remove __restrict.
37079         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37080         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37082 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37084         [BZ #11655]
37085         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37086         are initialized.
37088 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37090         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37092 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37094         * po/it.po: Update from translation team.
37096 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37098         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37099         unused codes.
37101 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37103         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37105 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37107         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37108         specially.
37109         (gaih_getanswer_slice): Likewise.
37111 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37115 2010-05-31  Petr Baudis  <pasky@suse.cz>
37117         [BZ #11149]
37118         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37119         silently even in the chroot mode.
37121 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37123         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37124         last patch a bit.  Pretty printing
37126 2010-05-31  Petr Baudis <pasky@suse.cz>
37128         [BZ #10085]
37129         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37130         initialization of skip_initgroups_dyn.
37132 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37134         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37135         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37137 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37139         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37141 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37143         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37144         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37145         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37146         ($(objpfx)tst-fnmatch-mem): New rule.
37147         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37148         * posix/tst-fnmatch.c (main): Call mtrace.
37150 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37153         Support Intel processor model 6 and model 0x2c.
37155 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37157         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37158           signed comparison.
37160 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37162         [BZ #12205]
37163         * string/test-strncasecmp.c (check_result): New function.
37164         (do_one_test): Use it.
37165         (check1): New function.
37166         (test_main): Use it.
37167         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37168         Support strcasecmp and strncasecmp.
37170 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37172         [BZ #12194]
37173         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37174         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37176 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37178         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37179         IFUNC support.
37180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37181         memset-x86-64.
37182         * sysdeps/x86_64/multiarch/bzero.S: New file.
37183         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37184         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37185         * sysdeps/x86_64/multiarch/memset.S: New file.
37186         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37187         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37188         Set bit_Prefer_SSE_for_memop for Intel processors.
37189         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37190         Define.
37191         (index_Prefer_SSE_for_memop): Define.
37192         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37194 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37196         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37197         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37199 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37201         [BZ #12191]
37202         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37203         (__x86_64_raw_data_cache_size_half): Likewise.
37204         (__x86_64_raw_shared_cache_size): Likewise.
37205         (__x86_64_raw_shared_cache_size_half): Likewise.
37207         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37208         (__x86_64_raw_data_cache_size_half): Likewise.
37209         (__x86_64_raw_shared_cache_size): Likewise.
37210         (__x86_64_raw_shared_cache_size_half): Likewise.
37211         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37212         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37213         and __x86_64_raw_shared_cache_size_half.  Round
37214         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37215         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37216         to multiple of 256 bytes.
37218 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37220         [BZ #12167]
37221         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37222         of inacessible symlinks.  Verify result of symlink before returning it.
37223         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37224         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37226 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37228         * math/math.h (isinf): Fix typo in comment.
37230 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37232         * po/da.po: Update from translation team.
37234 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37236         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37237         is added to the list.
37239 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37240             Ulrich Drepper  <drepper@gmail.com>
37242         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37243         the global list here.  Move code to...
37244         (_dl_add_to_namespace_list): ...here.  New function.
37245         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37246         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37247         * elf/dl-load.c (lose): Don't remove the element from the list.
37248         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37249         (_dl_map_object): Likewise.
37251 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37253         [BZ #12159]
37254         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37255         into all bytes of SSE register.
37256         Patch by Richard Li <richardpku@gmail.com>.
37258 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37260         [BZ #12140]
37261         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37262         perturbing.
37264 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37266         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37267         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37268         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37269         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37271         submachine.
37272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37274 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37276         * include/dlfcn.h (__RTLD_SECURE): Define.
37277         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37278         mode & __RTLD_SECURE instead.
37279         (open_path): Rename preloaded parameter to secure.
37280         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37281         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37282         * elf/dl-deps.c (openaux): Likewise.
37283         * elf/rtld.c (struct map_args): Remove is_preloaded.
37284         (map_doit): Don't use it.
37285         (dl_main): Likewise.
37286         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37287         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37289 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37291         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37292         (sysd-rules-targets): Remove duplicates.
37293         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37294         rtld-%.$o dependency.
37296 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37298         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37299         _dl_map_object do it.
37301 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37303         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37304         fast fma builtins, define the macros in the C99 standard.
37305         (FP_FAST_FMAF): Likewise.
37306         (FP_FAST_FMAL): Likewise.
37307         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37309         * bits/mathdef.h: Update copyright year.
37310         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37312 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37314         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37315         builtins, define the macros in the C99 standard.
37316         (FP_FAST_FMAF): Likewise.
37317         (FP_FAST_FMAL): Likewise.
37318         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37319         multiply/add.
37320         (FP_FAST_FMAF): Likewise.
37322 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37324         [BZ #3268]
37325         * math/libm-test.inc (fma_test): Some new testcases.
37326         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37327         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37328         y and infinite z.  Do multiplication by C already in long double.
37329         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37330         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37331         y and infinite z.  Do bitwise or of inexact bit into u.d.
37332         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37333         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37334         * sysdeps/i386/fpu/s_fma.S: Removed.
37335         * sysdeps/i386/fpu/s_fmal.S: Removed.
37337 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37339         [BZ #3268]
37340         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37341         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37342         computation is not scheduled after fetestexcept.  Fix value
37343         of minimum denormal long double.
37345 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37347         [BZ #3268]
37348         * math/libm-test.inc (fma_test): Add some more tests.
37349         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37350         correctly.
37352 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37354         * scripts/data/localplt-s390-linux-gnu.data: New file.
37355         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37357 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37359         [BZ #3268]
37360         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37361         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37362         instead of dbl-64.
37363         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37364         inlines.
37365         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37366         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37367         if one of x and y is very large and the other is subnormal.
37368         * sysdeps/s390/fpu/s_fmaf.c: New file.
37369         * sysdeps/s390/fpu/s_fma.c: New file.
37370         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37371         * sysdeps/powerpc/fpu/s_fma.S: New file.
37372         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37373         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37374         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37376 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37378         [BZ #3268]
37379         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37380         fma tests.
37381         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37382         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37383         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37384         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37385         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37386         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37387         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37389 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37391         [BZ #12078]
37392         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37393         * posix/bug-regex31.input: Add test case.
37395 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37397         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37398         * posix/bug-regex31.input: New file.
37400         [BZ #12078]
37401         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37402         (parse_sub_exp): Fix last change, use postorder.
37404         * posix/bug-regex31.c: New file.
37405         * posix/Makefile: Add rules to build and run bug-regex31.
37407         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37409         [BZ #12078]
37410         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37412         [BZ #12108]
37413         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37414         to have entries in sys_siglist.
37416         [BZ #12093]
37417         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37418         be NULL.
37420 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37422         [BZ #3268]
37423         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37424         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37425         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37426         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37427         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37428         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37429         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37430         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37431         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37432         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37433         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37434         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37435         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37436         * math/ftestexcept.c (fetestexcept): Likewise.
37437         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37438         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37439         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37440         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37441         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37442         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37443         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37445 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37447         [BZ #12107]
37448         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37449         newline.
37451 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37453         * string/bug-strstr1.c: New file.
37454         * string/Makefile: Add rules to build and run bug-strstr1.
37456 2010-10-05  Eric Blake  <eblake@redhat.com>
37458         [BZ #12092]
37459         * string/str-two-way.h (two_way_long_needle): Always clear memory
37460         when skipping input due to the shift table.
37462 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37464         [BZ #12005]
37465         * malloc/mcheck.c: Handle large requests.
37467         [BZ #12077]
37468         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37469         for strncmp and strncasecmp.
37470         * string/stratcliff.c: Add tests for strcmp and strncmp.
37471         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37473 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37475         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37476         __set_fpscr.
37478 2010-09-30  Andreas Jaeger  <aj@suse.de>
37480         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37481         (CGROUP_SUPER_MAGIC): Define.
37482         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37483         Handle btrfs and cgroup file systems.
37484         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37485         Likewise.
37487 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37489         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37490         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37492 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37494         [BZ #12067]
37495         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37496         trying to locate the ELF header.
37498 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37500         [BZ #11611]
37501         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37502         Mask out sign-bit copies when constructing f_fsid.
37504 2010-09-24  Petr Baudis <pasky@suse.cz>
37506         * debug/stack_chk_fail_local.c: Add missing licence exception.
37507         * debug/warning-nop.c: Likewise.
37509 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37511         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37512         implementing getdents64 using getdents syscall, set d_type if
37513         __ASSUME_GETDENTS32_D_TYPE.
37515 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37517         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37518         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37520 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37522         [BZ #12037]
37523         * posix/unistd.h: Undo change of feature selection for ftruncate from
37524         2010-01-11.
37526 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37528         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37529         detection.
37531 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37533         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37534         fanotify_mark.
37535         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37537 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37539         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37540         variables after CHECK_SP call.
37541         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37543 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37544             Ulrich Drepper  <drepper@redhat.com>
37546         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37547         re-relocationg ld.so.
37548         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37549         _dl_init_paths call.
37550         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37551         here anymore.
37553 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37555         * resolv/res_init.c (__res_vinit): Count the default server we added.
37557 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37558             Ulrich Drepper  <drepper@redhat.com>
37560         [BZ #11968]
37561         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37562         (____longjmp_chk): Use %ebx for saving value across system call.
37563         Add unwind info.
37565 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37567         * manual/Makefile: Don't mix pattern rules with normal rules.
37569 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37571         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37572         operation.
37573         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37574         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37575         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37576         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37577         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37578         Likewise.
37580 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37582         [BZ #11979]
37583         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37584         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37586 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37588         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37589         * sysdeps/x86_64/addmul_1.S: Likewise.
37590         * sysdeps/x86_64/lshift.S: Likewise.
37591         * sysdeps/x86_64/mul_1.S: Likewise.
37592         * sysdeps/x86_64/rshift.S: Likewise.
37593         * sysdeps/x86_64/sub_n.S: Likewise.
37594         * sysdeps/x86_64/submul_1.S: Likewise.
37596 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37598         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37599         Define __sched_param instead of SCHED_* and sched_param when
37600         <bits/sched.h> is included with __need_schedparam defined.
37601         * bits/sched.h [__need_schedparam]
37602         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37603         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37604         (__defined_schedparam): Define to 1.
37605         (__sched_param): New structure, identical to sched_param.
37606         (__need_schedparam): Undefine.
37608 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37610         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37611         (epoll_create1): Declare.
37613         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37615 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37617         [BZ #7066]
37618         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37619         shifting retval into place.
37621 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37623         * nis/rpcsvc/nis.h: Update copyright notice.
37624         * nis/rpcsvc/nis.x: Likewise.
37625         * nis/rpcsvc/nis_callback.h: Likewise.
37626         * nis/rpcsvc/nis_callback.x: Likewise.
37627         * nis/rpcsvc/nis_object.x: Likewise.
37628         * nis/rpcsvc/nis_tags.h: Likewise.
37629         * nis/rpcsvc/yp.h: Likewise.
37630         * nis/rpcsvc/yp.x: Likewise.
37631         * nis/rpcsvc/ypupd.h: Likewise.
37632         * nis/yp_xdr.c: Likewise.
37633         * nis/ypupdate_xdr.c: Likewise.
37635         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37636         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37637         (pmap_getport): Use __libc_rpc_getport.
37638         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37639         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37640         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37642 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37645         fanotify_mark.
37647 2010-08-27  Roland McGrath  <roland@redhat.com>
37649         * sysdeps/i386/i686/multiarch/Makefile
37650         (CFLAGS-varshift.c): New variable.
37652 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37654         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37655         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37657         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37659         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37661 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37663         * sysdeps/x86_64/strlen.S: Unroll the loop.
37664         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37665         strlen-sse2 strlen-sse2-bsf.
37666         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37667         __strlen_no_bsf if bit_Slow_BSF is set.
37668         (__strlen_sse42): Removed.
37669         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37670         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37672 2010-08-25  Roland McGrath  <roland@redhat.com>
37674         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37675         * sysdeps/x86_64/multiarch/varshift.c: New file.
37676         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37677         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37678         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37679         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37681 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37683         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37684         strlen-sse2 strlen-sse2-bsf.
37685         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37686         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37687         (__strlen_sse2): Removed.
37688         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37689         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37690         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37691         bit_Slow_BSF for Atom.
37692         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37693         (index_Slow_BSF): Define.
37694         (HAS_SLOW_BSF): Define.
37696 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37698         [BZ #10851]
37699         * resolv/res_init.c (__res_vinit): When no server address at all
37700         is given default to loopback.
37702 2010-08-24  Roland McGrath  <roland@redhat.com>
37704         * configure.in: Remove config-name.h generation.
37705         * configure: Regenerated.
37706         * config-name.in: File removed.
37707         * scripts/config-uname.sh: New file.
37708         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37709         ($(objdir)config-name.h): New target.
37711         * sunrpc/rpc_parse.h: Avoid nested comment.
37713 2010-08-24  Richard Henderson  <rth@redhat.com>
37714             Ulrich Drepper  <drepper@redhat.com>
37715             H.J. Lu  <hongjiu.lu@intel.com>
37717         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37719         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37720         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37721         _mm_alignr_epi8 with _mm_loadu_si128.
37722         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37723         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37724         (__m128i_shift_right): Removed.
37725         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37726         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37727         * sysdeps/x86_64/multiarch/varshift.h: New file.
37728         * sysdeps/x86_64/multiarch/varshift.S: New file.
37730 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37732         * configure.in: Move assembler checks to before sysdep dir checking.
37734 2010-08-20  Petr Baudis  <pasky@suse.cz>
37736         * LICENSES: Sync the sunrpc license.
37738 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37740         * sunrpc/auth_des.c: Update copyright notice once again.
37741         * sunrpc/auth_none.c: Likewise.
37742         * sunrpc/auth_unix.c: Likewise.
37743         * sunrpc/authdes_prot.c: Likewise.
37744         * sunrpc/authuxprot.c: Likewise.
37745         * sunrpc/bindrsvprt.c: Likewise.
37746         * sunrpc/clnt_gen.c: Likewise.
37747         * sunrpc/clnt_perr.c: Likewise.
37748         * sunrpc/clnt_raw.c: Likewise.
37749         * sunrpc/clnt_simp.c: Likewise.
37750         * sunrpc/clnt_tcp.c: Likewise.
37751         * sunrpc/clnt_udp.c: Likewise.
37752         * sunrpc/clnt_unix.c: Likewise.
37753         * sunrpc/des_crypt.c: Likewise.
37754         * sunrpc/des_soft.c: Likewise.
37755         * sunrpc/get_myaddr.c: Likewise.
37756         * sunrpc/getrpcport.c: Likewise.
37757         * sunrpc/key_call.c: Likewise.
37758         * sunrpc/key_prot.c: Likewise.
37759         * sunrpc/openchild.c: Likewise.
37760         * sunrpc/pm_getmaps.c: Likewise.
37761         * sunrpc/pm_getport.c: Likewise.
37762         * sunrpc/pmap_clnt.c: Likewise.
37763         * sunrpc/pmap_prot.c: Likewise.
37764         * sunrpc/pmap_prot2.c: Likewise.
37765         * sunrpc/pmap_rmt.c: Likewise.
37766         * sunrpc/rpc/auth.h: Likewise.
37767         * sunrpc/rpc/auth_unix.h: Likewise.
37768         * sunrpc/rpc/clnt.h: Likewise.
37769         * sunrpc/rpc/des_crypt.h: Likewise.
37770         * sunrpc/rpc/key_prot.h: Likewise.
37771         * sunrpc/rpc/netdb.h: Likewise.
37772         * sunrpc/rpc/pmap_clnt.h: Likewise.
37773         * sunrpc/rpc/pmap_prot.h: Likewise.
37774         * sunrpc/rpc/pmap_rmt.h: Likewise.
37775         * sunrpc/rpc/rpc.h: Likewise.
37776         * sunrpc/rpc/rpc_des.h: Likewise.
37777         * sunrpc/rpc/rpc_msg.h: Likewise.
37778         * sunrpc/rpc/svc.h: Likewise.
37779         * sunrpc/rpc/svc_auth.h: Likewise.
37780         * sunrpc/rpc/types.h: Likewise.
37781         * sunrpc/rpc/xdr.h: Likewise.
37782         * sunrpc/rpc_clntout.c: Likewise.
37783         * sunrpc/rpc_cmsg.c: Likewise.
37784         * sunrpc/rpc_common.c: Likewise.
37785         * sunrpc/rpc_cout.c: Likewise.
37786         * sunrpc/rpc_dtable.c: Likewise.
37787         * sunrpc/rpc_hout.c: Likewise.
37788         * sunrpc/rpc_main.c: Likewise.
37789         * sunrpc/rpc_parse.c: Likewise.
37790         * sunrpc/rpc_parse.h: Likewise.
37791         * sunrpc/rpc_prot.c: Likewise.
37792         * sunrpc/rpc_sample.c: Likewise.
37793         * sunrpc/rpc_scan.c: Likewise.
37794         * sunrpc/rpc_scan.h: Likewise.
37795         * sunrpc/rpc_svcout.c: Likewise.
37796         * sunrpc/rpc_tblout.c: Likewise.
37797         * sunrpc/rpc_util.c: Likewise.
37798         * sunrpc/rpc_util.h: Likewise.
37799         * sunrpc/rpcinfo.c: Likewise.
37800         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37801         * sunrpc/rpcsvc/key_prot.x: Likewise.
37802         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37803         * sunrpc/rpcsvc/mount.x: Likewise.
37804         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37805         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37806         * sunrpc/rpcsvc/rex.x: Likewise.
37807         * sunrpc/rpcsvc/rstat.x: Likewise.
37808         * sunrpc/rpcsvc/rusers.x: Likewise.
37809         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37810         * sunrpc/rpcsvc/spray.x: Likewise.
37811         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37812         * sunrpc/rtime.c: Likewise.
37813         * sunrpc/svc.c: Likewise.
37814         * sunrpc/svc_auth.c: Likewise.
37815         * sunrpc/svc_authux.c: Likewise.
37816         * sunrpc/svc_raw.c: Likewise.
37817         * sunrpc/svc_run.c: Likewise.
37818         * sunrpc/svc_simple.c: Likewise.
37819         * sunrpc/svc_tcp.c: Likewise.
37820         * sunrpc/svc_udp.c: Likewise.
37821         * sunrpc/svc_unix.c: Likewise.
37822         * sunrpc/svcauth_des.c: Likewise.
37823         * sunrpc/xcrypt.c: Likewise.
37824         * sunrpc/xdr.c: Likewise.
37825         * sunrpc/xdr_array.c: Likewise.
37826         * sunrpc/xdr_float.c: Likewise.
37827         * sunrpc/xdr_mem.c: Likewise.
37828         * sunrpc/xdr_rec.c: Likewise.
37829         * sunrpc/xdr_ref.c: Likewise.
37830         * sunrpc/xdr_sizeof.c: Likewise.
37831         * sunrpc/xdr_stdio.c: Likewise.
37833         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37834         handling.
37836 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37838         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37840 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37842         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37843         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37844         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37845         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37846         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37847         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37848         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37849         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37850         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37851         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37852         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37853         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37854         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37855         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37857 2010-07-26  Anton Blanchard  <anton@samba.org>
37859         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37860         * malloc/arena.c (heap_trim): Likewise.
37862 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37864         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37865         here.  Not...
37866         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37867         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37869 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37871         * sysdeps/i386/elf/Makefile: New file.
37873 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37875         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37876         from fanotify_init.
37877         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37878         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37880 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37882         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37883         of strncasecmp_l.
37884         * sysdeps/multiarch/strcmp.S: Likewise.
37886 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37888         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37889         strncase_l-nonascii.
37890         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37891         Add strncase_l-ssse3.
37892         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37893         * sysdeps/x86_64/strcmp.S: Likewise.
37894         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37895         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37896         * sysdeps/x86_64/strncase.S: New file.
37897         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37898         * sysdeps/x86_64/strncase_l.S: New file.
37899         * string/Makefile (strop-tests): Add strncasecmp.
37900         * string/test-strncasecmp.c: New file.
37902         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37903         warning.
37905         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37906         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37908 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37910         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37912 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37914         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37915         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37916         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37918 2010-05-01  Alan Modra  <amodra@gmail.com>
37920         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37921         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37922         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37923         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37924         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37925         tidying.  Don't tail-call __sigjmp_save for static lib.
37926         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37927         save location.
37928         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37929         (CALL_MCOUNT): Add eh info, and nop after bl.
37930         (TAIL_CALL_SYSCALL_ERROR): New macro.
37931         (PSEUDO_RET): Use it.
37932         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37933         Correct save location of integer regs and cr.
37934         (_dl_profile_resolve): Correct cr save location.  Delete nops
37935         after bl when SHARED.  Reduce cfi size a little by better
37936         placement of cfi directives.
37937         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37938         make a stack frame.  Instead use parm save area as a temp.
37939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37940         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37942         Don't make a stack frame for parent, use parm save area.
37943         Increase child stack frame to 112 bytes.  Don't save unused reg,
37944         and adjust reg usage.  Set up cfi on error recovery and
37945         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37947         (__makecontext): Add dummy nop after jump to exit.
37948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37949         Use correct parm save area and cr save, reduce stack frame.
37950         Correct cfi for possible PSEUDO_RET frame setup.
37951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37952         Branch to local label emitted by PSEUDO_RET rather than
37953         __syscall_error.
37955 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37957         [BZ #11904]
37958         * locale/programs/locale.c (print_assignment): New function.
37959         (show_locale_vars): Use it.
37961 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37963         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37964         field.
37965         (struct statfs64): Likewise.
37966         (_STATFS_F_FLAGS): Define.
37967         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37968         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37969         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37970         (ST_VALID): Define locally.
37971         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37972         __statvfs_getflags, use the provided value.
37973         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37974         __ASSUME_STATFS_F_FLAGS.
37976         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37978         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37979         Add sys/fanotify.h.
37980         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37981         fanotify_mask for GLIBC_2.13.
37982         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37983         fanotify_init and fanotify_mark.
37984         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37985         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37987         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37988         Add prlimit.
37989         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37990         prlimit64 for GLIBC_2.13.
37991         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37992         prlimit64.
37993         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37994         syscall.
37995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37996         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37997         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37998         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37999         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38000         add prlimit alias.
38001         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38003         [BZ #11903]
38004         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38005         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38007         * nss/Makefile: Add rules to build and run tst-nss-test1.
38008         * shlib-versions: Add entry for libnss_test1.
38009         * nss/nss_test1.c: New file.
38010         * nss/tst-nss-test1.c: New file.
38012         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38013         (__nss_configure_lookup): Set appropriate entry in
38014         __nss_configure_lookup to true.
38015         * nss/nsswitch.h: Define enum with indeces of databases in
38016         databases and __nss_database_custom arrays.  Declare
38017         __nss_database_custom.
38018         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38019         to avoid using nscd when custom rules are installed.
38020         * nss/getXXbyYY_r.c: Likewise.
38021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38023         * nss/nss_files/files-parse.c: Whitespace fixes.
38025 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38027         [BZ #11883]
38028         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38029         * posix/fnmatch_loop.c: Likewise.
38031 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38033         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38034         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38035         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38036         * Versions.def [GLIBC_2.13]: Add.
38038 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38040         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38041         Also fail if tpwd after pwuid call is NULL.
38043 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38045         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38046         when converting to ms.
38048 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38050         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38051         EOPNOTSUPP errors with ENOTTY.
38052         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38053         EOPNOTSUPP errors with ENOTTY.
38055 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38057         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38058         Add strcasecmp_l-ssse3.
38059         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38060         strcasecmp.
38061         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38062         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38063         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38065 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38067         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38069         * string/Makefile (strop-tests): Add strcasecmp.
38070         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38071         strcasecmp_l-nonascii.
38072         (gen-as-const-headers): Add locale-defines.sym.
38073         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38074         * sysdeps/x86_64/strcasecmp.S: New file.
38075         * sysdeps/x86_64/strcasecmp_l.S: New file.
38076         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38077         * sysdeps/x86_64/locale-defines.sym: New file.
38078         * string/test-strcasecmp.c: New file.
38080         * string/test-strcasestr.c: Test both ends of the range of characters.
38081         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38083 2010-07-29  Roland McGrath  <roland@redhat.com>
38085         [BZ #11856]
38086         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38088 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38090         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38091         for ld.so.
38093 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38095         * manual/memory.texi (Malloc Tunable Parameters): Document
38096         M_PERTURB.
38098 2010-07-26  Roland McGrath  <roland@redhat.com>
38100         [BZ #11840]
38101         * configure.in (-fgnu89-inline check): Set and substitute
38102         gnu89_inline, not libc_cv_gnu89_inline.
38103         * configure: Regenerated.
38104         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38106 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38108         * string/test-strnlen.c: New file.
38109         * string/Makefile (strop-tests): Add strnlen.
38110         * string/tester.c (test_strnlen): Add a few more test cases.
38111         * string/tst-strlen.c: Better error reporting.
38113         * sysdeps/x86_64/strnlen.S: New file.
38115 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38117         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38118         lower-latency instructions.
38120 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38122         * string/test-strcasestr.c: New file.
38123         * string/test-strstr.c: New file.
38124         * string/Makefile (strop-tests): Add strstr and strcasestr.
38125         * string/str-two-way.h: Don't undefine MAX.
38126         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38128 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38130         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38131         strcasestr-nonascii.
38132         (CFLAGS-strcasestr-nonascii.c): Define.
38133         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38134         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38135         Remove unused attribute.
38137 2010-07-20  Roland McGrath  <roland@redhat.com>
38139         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38140         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38141         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38142         like LD_HWCAP_MASK can disable hwcaps.
38144 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38146         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38148 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38150         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38151         call in strcasestr.
38152         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38153         __strcasestr_sse42_nonascii.
38154         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38155         strcasestr-nonascii.c.
38156         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38158 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38160         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38161         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38162         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38163         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38165 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38167         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38168         fcntl.
38170 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38172         [BZ #11577]
38173         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38174         dl_signal_cerror.
38176 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38178         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38179         _PC_PIPE_BUF using F_GETPIPE_SZ.
38181 2010-07-05  Roland McGrath  <roland@redhat.com>
38183         * manual/arith.texi (Rounding Functions): Fix rint description
38184         implicit in round description.
38186 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38188         * elf/Makefile: Fix linking for a few tests to make recent linker
38189         happy.
38191 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38193         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38194         $(common-objpfx)libc_nonshared.a.
38196 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38198         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38199         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38200         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38201         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38202         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38203         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38204         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38205         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38220         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38221         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38222         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38223         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38224         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38225         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38226         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38227         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38228         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38229         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38230         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38231         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38247 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38249         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38250         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38251         * string/memmove.c (memmove): Renamed to ...
38252         (MEMMOVE): ...this.  Default to memmove.
38253         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38254         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38255         (END_CHK): Define.
38256         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38257         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38258         mempcpy-ssse3-back memmove-ssse3-back.
38259         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38260         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38261         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38262         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38263         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38264         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38265         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38266         * sysdeps/x86_64/multiarch/memmove.c: New file.
38267         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38268         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38269         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38270         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38271         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38272         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38273         Define.
38274         (index_Fast_Copy_Backward): Define.
38275         (HAS_ARCH_FEATURE): Define.
38276         (HAS_FAST_REP_STRING): Define.
38277         (HAS_FAST_COPY_BACKWARD): Define.
38279 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38281         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38282         Restore proper fallback handling.
38284 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38286         [BZ #11701]
38287         * posix/group_member.c (__group_member): Correct checking loop.
38289         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38290         OOM in getpwuid_r correctly.  Return error number when the caller
38291         should return, otherwise -1.
38292         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38293         call returning > 0 value.
38294         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38296 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38298         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38299         libc_nonshared.a from targets in modules-names.
38301 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38303         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38304         requires it.
38306 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38308         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38309         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38310         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38311         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38313 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38315         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38317 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38319         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38320         and F_GETPIPE_SZ.
38321         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38322         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38323         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38324         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38325         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38326         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38328 2010-06-14  Roland McGrath  <roland@redhat.com>
38330         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38332 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38334         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38335         __REDIRECT followed by __THROW.
38336         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38337         * posix/getopt.h (getopt): Likewise.
38339 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38341         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38342         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38343         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38344         in AT_FLAGS.
38345         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38346         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38348 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38350         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38352 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38354         [BZ #11640]
38355         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38356         Properly check family and model.
38358 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38360         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38362 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38364         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38366 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38368         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38369         symbol reference.
38371 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38373         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38374         symbol reference.
38376 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38378         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38379         and internal_recvmmsg.
38380         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38381         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38382         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38383         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38385         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38386         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38387         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38389 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38391         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38393 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38395         POWER7 optimizations.
38396         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38397         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38399 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38401         * version.h: Update for 2.13 development version.
38403 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38405         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38406         exceptions.  Return 0.
38408 2010-05-07  Roland McGrath  <roland@redhat.com>
38410         * elf/ldconfig.c (main): Add a const.
38412 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38414         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38415         (args_options): Add no-idn option.
38416         (ahosts_keys_int): Add idn_flags to ai_flags.
38417         (parse_option): Handle 'i' option to clear idn_flags.
38419         * malloc/malloc.c (_int_free): Possible race in the most recently
38420         added check.  Only act on the data if no current modification
38421         happened.
38423 See ChangeLog.17 for earlier changes.